Plaque It!
Sponsored by: Flash of Genius |
[0001] This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 11-373073, filed Dec. 28, 1999, the entire contents of which are incorporated herein by reference.
[0002] The present invention relates to a communication apparatus and a control method therefor and, more particularly, to a communication apparatus in which a communication channel and a control channel are exclusively assigned to a radio communication resource to be used, and a control method therefor.
[0003] Conventionally, in information processing apparatuses such as personal computers (PCs) and personal digital assistants (PDA), communication interfaces using infrared rays are used. According to IrDA as infrared communication standards, a search for a terminal in a communication zone is made every predetermined time interval before establishment of communication regardless of the state of the information processing apparatus. The time interval at which this terminal search is made is determined in advance, and a message for a terminal search is always broadcast every predetermined time interval even if the battery residual capacity becomes small.
[0004] Since a terminal as a communication partner is not always present in a communication zone, even if terminal search processing is indiscriminately performed every predetermined time interval, the communication partner may not be searched out. In this case, power is unnecessarily consumed. In a device that operates on a battery, in particular, if terminal search processing is indiscriminately performed every predetermined time interval, the battery driving time shortens accordingly.
[0005] In radio communication systems such as Bluetooth and HomeRF systems, which have recently received a great deal of attention, terminal search processing is generally performed every predetermined time interval. In these radio communication systems, a master can simultaneously connect to a plurality of slaves. For this reason, unlike IrDA, even if connection is being established, terminal search processing is periodically performed to search for a new terminal. In this case, since a communication channel for data transmission/reception and a control channel for terminal search processing or the like are exclusively assigned to a radio communication resource, if communication is being performed in performing terminal search processing, the communication is temporarily stopped. If, therefore, a terminal as a communication partner is not present in a communication zone, wasteful terminal search processing decreases the communication speed.
[0006] As described above, in the prior art, terminal search processing is performed every predetermined time interval, resulting in unnecessary consumption of power and a deterioration in communication processing performance.
[0007] Accordingly, it is an object of the present invention to provide a communication apparatus capable of improving communication performance and suppressing power consumption by dynamically optimizing parameters associated with connection control, and a control method therefor.
[0008] According to one aspect of the present invention, there is provided a communication apparatus in which a communication channel and a control channel are exclusively assigned to a radio communication resource to be used, the apparatus comprising: means for executing data transmission/reception using the communication channel; means for executing a control procedure required for establishment of a radio link using the control channel; means for monitoring a traffic of the communication channel; and means for dynamically controlling an execution timing or execution time interval of the control procedure on the basis of the traffic detected by the monitoring means.
[0009] According to another aspect of the present invention, there is provided a communication apparatus in which a communication channel and a control channel are exclusively assigned to a radio communication resource to be used, the apparatus comprising: means for executing data transmission/reception using the communication channel; means for executing a control procedure required for establishment of a radio link using the control channel; user interface means for setting preferentiality related to one of the data transmission/reception and the control procedure in accordance with a user operation; and means for controlling an execution timing or execution time interval of the control procedure on the basis of a setting result of the user interface means.
[0010] According to still another aspect of the present invention, there is provided a communication apparatus capable of being driven by a battery and simultaneously connecting to a plurality of remote terminals, the apparatus comprising: means for periodically executing transmission processing of a terminal search message for searching for a remote terminal or terminal search wait processing for detecting the terminal search message and responding thereto; means for detecting a residual capacity of the battery; and means for dynamically controlling an execution timing or executing time interval of the transmission processing of the terminal search message or the terminal search wait processing on the basis of a detection result of the detection means.
[0011] According to still another aspect of the present invention, there is provided a control method for a communication apparatus in which a communication channel and a control channel are exclusively assigned to a radio communication resource to be used, the method comprising the steps of: executing data transmission/reception using the communication channel and executing a control procedure required for establishment of a radio link using the control channel; monitoring a traffic of the communication channel; and dynamically controlling an execution timing or execution time interval of the control procedure on the basis of the traffic detected in the monitoring step.
[0012] According to still another aspect of the present invention, there is provided a control method for a communication apparatus in which a communication channel and a control channel are exclusively assigned to a radio communication resource to be used, the method comprising the steps of: executing data transmission/reception using the communication channel and executing a control procedure required for establishment of a radio link using the control channel; setting preferentiality related to one of the data transmission/reception and the control procedure in accordance with a user operation; and controlling an execution timing or execution time interval of the control procedure on the basis of a setting result in the setting step.
[0013] According to still another aspect of the present invention, there is provided a control method for a communication apparatus capable of being driven by a battery and simultaneously connecting to a plurality of remote terminals, the method comprising the steps of: detecting a residual capacity of the battery; and dynamically controlling an execution timing or execution time interval of transmission processing of a terminal search message for searching for a remote terminal or terminal search wait processing for detecting the terminal search message and responding to the message on the basis of a detection result in the detecting step.
[0014] Additional objects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out hereinafter.
[0015] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate presently preferred embodiments of the invention, and together with the general description given above and the detailed description of the preferred embodiments given below, serve to explain the principles of the invention.
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032] An embodiment of the present invention will be described below with reference to the views of the accompanying drawing.
[0033]
[0034] In the embodiment, there is provided a communication apparatus (information processing apparatus
[0035] The information processing apparatus
[0036] The PC
[0037] In the terminal search mode, a search is made for a terminal that is preset in a range (communication zone) where radio waves can reach, and processing for the acquisition of information necessary for connection is performed. In this terminal search mode, a terminal search message is broadcast. In the terminal search wait mode, the terminal search message transmitted from a remote terminal to search for a terminal is detected, and processing for transmitting a message responding to the detected message is performed. In this connection establishment request wait mode, the connection establishment request message transmitted from the remote terminal is detected, and processing for the establishment of connection in response to the detected message is performed.
[0038] A message in a control procedure (terminal search, terminal search wait, and connection establishment request wait) required for new radio link establishment is exchanged by using a control channel. Since a radio communication resource is exclusively used between this control channel and a communication channel for data transmission/reception, if communication is being performed in making a terminal search or the like, the communication (communication mode) is temporarily stopped. This embodiment has a control information communication timing control section for dynamically controlling the timing at which a control procedure (terminal search, terminal search wait, and connection establishment request wait) necessary for the establishment of a new radio link is executed and the time interval of the control procedure in accordance with the traffic state of a communication channel, the current power supply state, and the like. With this control section, parameters associated with connection control can be optimized.
[0039] The overall radio communication system of this embodiment will be briefly described next with reference to
[0040] The portable telephone
[0041] This portable telephone
[0042] The PC
[0043] The PC
[0044] The hardware and software arrangements of the PC
[0045] Arrangement of Personal Computer
[0046]
[0047] The PC
[0048] The antenna section
[0049] In the transmission mode, in a reverse procedure to that in the reception mode, the baseband section
[0050] The microphone/speaker section
[0051] The computer engine section
[0052]
[0053] On the radio communication module
[0054] The computer engine section
[0055] Arrangement of Portable Telephone
[0056]
[0057] As a radio communication module
[0058] The antenna section
[0059] In the transmission mode, in a reverse procedure to that in the reception mode, the baseband section
[0060] The portable telephone engine section
[0061] As a common section
[0062]
[0063] As shown in
[0064] In addition to the RF section
[0065] Optimization of Parameters for Connection Control
[0066] Parameter optimization processing which is a feature of this embodiment will be described by exemplifying the case wherein the Bluetooth technique as a 2.45-GHz band radio communication standard is used. Bluetooth specifications will be briefly described first.
[0067] The Bluetooth system uses a frequency hopping technique of performing packet transmission of data by TDD (Time Division Duplex) with one slot corresponding to 625 μs and a change in frequency in units of packets. By using the same frequency hopping sequence, a radio network called a piconet is formed between one master and a maximum of seven slaves to perform communication. Data channels (communication channels) include two types of channels, namely an asynchronous data channel (ACL) and synchronous speech channel (SCO). Data can be transmitted through one SCO at 64 kbps, and three SCOs can be simultaneously used.
[0068] According to the Bluetooth technique, if a terminal that wants to perform communication does not know the address of a remote terminal, Inquiry is executed to acquire information necessary for connection establishment (terminal search processing). This makes it possible to acquire the device addresses and clock information of all terminals that respond to the Inquiry. By using these pieces of information, connection can be actually established in the subsequent processing termed Page (connection establishment request processing). A given terminal that permits another terminal to search out (find) the given terminal itself performs Inquiry Scan (terminal search wait processing) to respond to an Inquiry message. A terminal in a connection establishment request wait state performs Page Scan (connection establishment request wait processing) to respond to Page.
[0069]
[0070] To execute Inquiry, the host
[0071] Max_Period_Length is defined to have a range of 3.84 sec to 83884.8 sec. Min_Period_Length is defined to have a range of 2.56 sec to
[0072] The link controller
[0073] As is obvious from the above description of the Bluetooth specifications, a great loss is caused in terms of performance and power consumption if the time intervals of Inquiry, Inquiry Scan, and Page Scan remain unchanged. A feature of this embodiment is that such time intervals are optimized in accordance with the state of a device and the state of connection.
[0074] The bus driver converts data from an upper protocol driver into Bluetooth data and controls a Bluetooth link.
[0075] An upper layer which is an upper protocol driver of a bus driver
[0076] The bus driver
[0077] Assume that no slot is available because of the establishment of a plurality of links, and a requested speed from the upper layer is high. In this case, the time interval of Inquiry Scan is set to be long, and Inquiry is not performed unless an application requests connection establishment. In addition, if no link is present, the time intervals of Inquiry Scan and Page Scan are minimized to allow Inquiry Scan and Page Scan to be performed most frequently or Inquiry is periodically performed to acquire information about terminals within the communication zone in advance.
[0078] By determining the timings and time intervals of Inquiry, Inquiry Scan, and Page Scan in accordance with the data traffic amount in this manner, the use of the radio communication resource is optimized, and the communication performance can be improved.
[0079] The flow chart of
[0080] First of all, a data traffic is monitored (step S
[0081] The flow chart of
[0082] First of all, a data traffic is monitored (step S
[0083] The control in
[0084] Second Example of Optimization of Parameters for Connection Control
[0085] The second example of optimization control processing of this embodiment will be described next. In the above case, optimization control is performed on the basis of a traffic state. In some case, the performance improves when control is performed in accordance with a user's use pattern. Assume that communication between PCs
[0086] Consider an application that performs communication upon establishing an ad hoc network by establishing a plurality of connections. In this case, a terminal that wants to join this network afterward must establish connection by performing Inquiry or Page with respect to the master of a piconet. In such an application model, the master should use available slots for Inquiry Scan and Page Scan as long as possible. The master of the piconet, however, serves as a server in this network. If many transmission requests are generated by the upper layer during communication with a plurality of slaves, a data overflow may occur in the bus driver
[0087] Such a problem is prevented as follows. When the user designates the execution of Inquiry Scan/Page Scan, the application temporarily stops communication if data is being transmitted, and communicates with the bus driver
[0088] A member join button is prepared on this window. Assume that a given terminal is to join the network. In this case, the user presses this member join button on an application on a terminal serving as a master in a piconet of the network. At the same time, the application temporarily stops data transmission at a proper timing to allow execution of Inquiry Scan/Pate Scan, or informs the lower bus driver
[0089] By setting the timing and time interval of Inquiry Scan/Page Scan in accordance with an explicit instruction from the user, a deterioration in communication performance which is not intended by the user can be prevented. In addition, since control suitable for the operation of an application is performed, the overall performance of the system improves.
[0090] In addition, a terminal serving as a master is preferably made to preferentially execute either radio link establishment processing or data communication processing in accordance with a user operation by using a user interface window like the one shown in
[0091] First of all, the mode selected by the user is “data communication stop”, “terminal search priority”, “data communication priority”, or “no terminal search” (steps S
[0092] If “data communication priority” is selected (YES in step S
[0093] With regard to the terminal that issues Inquiry, the time interval of Inquiry is variably controlled in accordance with the mode selected by the user. The time interval of Page Scan is also variably controlled by the same procedure as described above.
[0094] Third Example of Optimization of Parameters for Connection Control
[0095] The third example of the optimization control processing of this embodiment will be described next. In this example, it is discriminated whether the PC
[0096] A case wherein the bus driver
[0097] Assume that a capacity ratio (%) is to be calculated as a battery residual capacity. If the PC
[0098] InquiryScan_Interval/PageScan_Interval can be set in increments of 0.625 ms according to the specifications. The time interval of Inquiry Scan/Page Scan is calculated by 0.625×N. The default value of N is 2048, and the range of N is 18≦N≦4096.
[0099] An equation that shortens the time interval of Inquiry Scan/Page Scan as C increases, and vice versa is exemplified below.
[0100] If, however, C≦0.5,
[0101] If the battery residual capacity is 100%, the default value is 1.28 sec. If the battery residual capacity is 50% or less, the default value is 2.56 sec. The value calculated by such an equation is set as a parameter, and the HCI driver transmits the HCI command to the host controller
[0102] In addition, information indicating that the battery driving mode and external power supply driving mode are switched is preferably registered in the OS
[0103] Instead of a direct check on a power supply state by the bus driver
[0104] A procedure for performing optimization control processing in accordance with a power supply state will be described next with reference to the flow chart of
[0105] First of all, whether the current operating power supply is the battery or external AC power supply is determined by checking whether the external AC power supply is connected (step S
[0106] If no external AC power supply is connected and the PC
[0107] A similar procedure can be applied to Inquiry/Page Scan. In addition, Inquiry may be set to a mode of stopping periodical transmission when the battery residual capacity decreases below a predetermined value, and performing transmission only when a link request is received. The mode of performing transmission only when such a request is received can be applied to Inquiry Scan/Page Scan.
[0108] As described above, according to this embodiment, parameters for connection control can be optimized by dynamically controlling the execution timings and time intervals of Inquiry, Inquiry Scan, and Page Scan in accordance with a traffic state, user settings, and power supply state. This eliminates a waste of power and implements both an improvement in communication performance and connectability.
[0109] In this embodiment, parameter optimization control has been described above with particular emphasis on the PC
[0110] In this embodiment, control operations based on a traffic state, power supply state, and user settings have been separately described. However, a combination of these control operations can also be used. If, for example, the traffic is large, the time interval of connection control may be prolonged even in the AC power supply driving mode. In contrast to this, if the traffic is small, the time interval of connection control may be shortened even in the battery driving mode. In this manner, the time interval of connection control can be variously set in accordance with user settings.
[0111] As has been described in detail above, according to the present invention, parameters associated with connection control, e.g., the time interval of a terminal search and the time interval of terminal search wait processing, can be dynamically optimized, and hence an improvement in communication performance and suppression of power consumption can be realized.
[0112] Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.