This application claims priority to Japanese Patent Application NO.: 2003-389428, filed on Nov. 19, 2003, which is incorporated herein by reference.
The present application relates to a background scan method, and more specifically, to a background scan method for use in searching an access point of a wireless LAN other than the one being used in communication.
Wireless LAN access points (AP) are being set up in public spaces and stores to allow general customers to receive various services.
An apparatus to access an AP in a wireless LAN is often a portable information processing device (hereinafter, referred to as station) such as a PC and a PDA, having functionality to search for a connectable AP other than the one with which the device is currently communicating. The search function is provided as a means for checking other channels, without disconnecting the link in communication and for performing smooth reconnection and roaming during link fragmentation.
This processing is referred to as a background scan, and can be done in a way that the station 11 performs the processing under its own control or in a way that the station 11 performs the processing based on an instruction from the upper level device such as an OS 14. In the background scan in which the station 11 performs under its own control, the station checks a status of communication traffic of its own without influencing its own communication. Further, in the background scan in which the station 11 performs based on an instruction from the upper level device such as the OS 14, the station 11 performs the background scan based on the background scan instruction issued from the OS 14 for a predetermined interval, e.g., every 1 minute. This background scan should be performed even when communication traffic of the station 11 is heavy.
Next, operations in the background scan processing that the station performs based on the prior art will be described with reference to the timing chart shown in
In
For the following 800 ms designated as T3, the station 11 performs its own communication, and for the following 100 ms designated as T4, performs a processing to check whether or not there exists another AP that uses a CH, which is different from the one used in time T2, in the same manner described above.
The station 11 performs the foregoing processing repetitively to check, for each CH in which an AP is available, an existence of the AP that uses the CH. This processing is typically performed for all CHs in the 2.4 GHz range and all CHs in the 5.0 GHz range.
Next, operations in the background scan processing that the station performs based on the prior art will be described with reference to the flowchart shown in
(1) Before starting the background scan, the station first stores CH information on a link, with which the station itself is currently communicating, into an internal buffer, and sets the CH number n, in which the search is performed, to an initial value (steps 601 and 602).
(2) Next, for the CHn set in the step 602, the station checks whether or not there exists another AP and stores information of the checked result into the internal buffer, as described above (steps 603 and 604).
(3) Next, the station updates the checking CH number n to n+1, and resumes its own communication using the CH of the link which was using in the station itself and was stored in the step 601 (steps 605 and 606).
(4) The station determines whether or not the check is completed for all CHs while keeps performing its communication in the step 606. If the check is not completed, the station returns to the step 603 and repeats the processing until the check for all CHs is completed. If the check for all CHs is completed, the station reports information of the checked result stored in the internal buffer to the OS and finishes the processing (steps 607 and 608).
In general, the background scan for all CHs takes a long time, e.g., 18 seconds. For this reason, in the conventional background scan method, when the traffic for its own communication is heavy, if there is a background scan instruction, there is a problem in that information being communicated with can be confused over images, in particular, animations, while the background scan is performed.
Further, one of the prior art relating to the background scan is disclosed in Japanese Unexamined Patent Application Publication No. 2001-94572.
A background scan method is described in which the time needed for one background scan is reduced with less impact on the communication the station performs.
According to an aspect of the method, there is provided a background scanning method in which a station, during communication with an AP of a wireless LAN, searches another for other APs, the method comprising: a step of dividing CHs available to the AP into a plurality of groups; for CHs being included in one group, a step of checking whether or not there exists an AP that uses each of the CHs included in one group, based on an instruction of a background scan from an OS, supervisory program, or the like, which may be embodied as instructions stored in volatile or non-volatile computer memory and executed by a processor; and for CHs being included in the next group, a step of checking whether or not there exists an AP that uses each of the CHs included in the next group, based on the next instruction of a background scan, in which the steps are performed repetitively.
Further, according to another aspect of the method, the step of dividing CHs into the plurality of groups may be performed including CHs in the 2.4 GHz range and CHs in the 5.0 GHz range or the step of dividing CHs into the plurality of groups may be performed such that CHs having a high probability, which can be allocated to closely located APs, are gathered into one group.
Moreover, according to still another aspect of the method, an initial background scan is performed for CHs in a group comprising the CH with which the station itself is communicating.
Exemplary embodiments may be better understood with reference to the drawings, but these embodiments are not intended to be of a limiting nature. Like numbered elements in the same or different drawings perform equivalent functions.
According to an embodiment of the method, instead of checking for all CHs whether or not there exists another AP for each CH based on one background scan instruction from an OS or the like, a station divides CHs, in which APs may be available, into a plurality of groups and checks for CHs included in one group to determine whether or not there exists another AP for each CH, based on one background scan instruction from the OS or the like. (The term OS is meant to convey that a stored set of computer instructions or program intended to be executed by a microprocessor, or the like, provides at least the basis for the background scan instruction, dependent on other state information of the device, and any external stimuli that may be provided thereto, and that a result of the background scan may be received by the OS and processed further to determine a subsequent course of action. Other programs may be required for the overall function of the method. Other terms that may be used to describe such a set of instructions are supervisory program, application program, user program, and the like. The program may also perform or control other functions. The term OS will be used to describe all of these in a generic fashion.) Further description of dividing CHs into the plurality of groups will be found below. A case in which the number of CHs included in one group is 4 is described. However, the determination how many CHs are included in one group, and the composition of each group may be arbitrarily set.
In
The method can reduce the time required for one background scan through the processing described above, so that the background scan can be performed without producing a negative impact on the communication of the station.
The operations in the background scan processing performed in the station will be described with reference to the flowchart shown in
(1) Before starting the background scan, the station first stores CH information relating to a link with which the station itself is currently communicating into an internal buffer, and selects a CH number n, for which the search is to be performed, and a group table numbered m that includes the CH number. Here, the CH number n is a CH number of a record stored in the beginning of the selected group table (steps 201 and 202).
(2) For the CHn set in the step 202, the station checks whether or not another AP exists and stores the result into the internal buffer (steps 203 and 204).
(3) The station updates the checking CH number n to n+1, in other words, the station updates the CH number by one for the next record of the selected group table, and resumes communication using the link CH that was being used by the station and was stored in the step 201 (steps 205 and 206).
(4) The station keeps performing its own communication at the step 206 and then determines whether or not the check for all CHs in the group table is completed. If it is not completed, the station returns to the step 203 and repeats the processing until the check for the all CHs in the group table is completed (step 207).
(5) From the determination of the step 207, when the check for all CHs in the group table is completed, the station updates the group table number m to m+1, and while reporting to the OS information of the checked result stored in the buffer, it keeps performs its own communication until the next background scan instruction is received from the OS (steps 208 and 209).
(6) When the next background scan instruction is received from the OS, the station determines whether or not the processing for all CHs in the group table is completed by the preceding background scan. If it is not completed, the station returns to STEP 203 and performs the processing for the CH in the next group table updated in the step 208. Further, when the processing for all group tables is completed, the station returns to the step 201 and repeats the processing again (step 210).
An approach to grouping the CHs which may be available to the AP into a plurality of groups will now be described.
For CHs that can be allocated to the 2.4 GHz range, there may exist 14 channels of CH1 to CH14. However, it may be difficult for the closely arranged APs to use the adjacent CHs because the spectrums may be overlapped. For this reason, typically, the adjacent CHs may not be allocated to the closely arranged APs. Therefore, groups of CHs in which CH1, CH6 or CH11 are combined, or other groups of CHs in which CH2, CH7 or CH12 are combined can be allocated, for example. That is, the number of APs having the overlapped service areas among the APs using the 2.4 GHz range may typically 3. This may be substantially true for the 5.0 GHz range.
Further, taking into account the method of allocating CHs into the APs as described above, the method groups CHs, and for each group, stores CHs belonging to the group in the group table, such that the background scan may be efficiently performed.
An example of a construction of group tables in which the CH numbers are stored in
As shown in
In the above-mentioned processing of the flowchart shown in
Further, for the processing shown in
Since the group table is selected in such a manner, when there is another AP closely located to the AP that performs current communication, it is quite probable that another AP uses a CH which may be stored in the same group table, as described above. Therefore, an existence of another AP that can be communicated with may be promptly detectable. Thus, when it is difficult to communicate using the CH used in the current communication, a connection link may be rapidly established with a new AP.
While an embodiment of the method has been described in connection with Japanese domestic environment, the table allocations may correspond to WWR (world wide roaming). In this case, the group table shown in
Further, for the processing illustrated in
This reduces the time required for one background scan based on the instruction from the OS, so that the background scan can be performed with less impact on the communication function of the station.
It would be understood by persons skilled in the art that the frequency bands used to illustrate the method represent existing radio frequency allocations. The assignment of radio frequency bands may change due to administrative actions, and may vary from country-to-country or even within a country by geographical area, and the method may be adapted to encompass these changes.
Although more than one frequency band is used to illustrate the method, the method is equally applicable to CHs contained in a single frequency band.
Although the present invention has been explained by way of the embodiments described above, it should be understood to the ordinary skilled person in the art that the invention is not limited to the embodiments, but rather that various changes or modifications thereof are possible without departing from the spirit of the invention. Accordingly, the scope of the invention shall be determined only by the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2003-389428 | Nov 2003 | JP | national |