The present invention relates to a radio communication apparatus and a priority change method.
With a conventional wireless LAN (Wireless Local Area Network: WLAN) system, a method in which a radio communication apparatus selects and connects with an AP that has a better communication state from among multiple access points (Access Point: AP) has been proposed.
For example, in a WLAN system, a radio communication apparatus holds a profile (or a connection profile) that includes information used to establish communication with an AP. In a profile held in a radio communication apparatus, for example, BSSID (Basic Service Set Identifier) to identify each AP, ESSID (Extended Service Set Identifier) to identify a network (service area) formed with one or multiple APs, an authentication system such as WPA (Wi-Fi Protocol Access) or WPA2, or information to show a state of connection (“connected” or “disconnected”) between an AP and a radio communication apparatus, are included. A radio communication apparatus searches for APs corresponding to the profiles held in the apparatus, selects the profile of the destination AP from among the profiles of connectable APs, establishes connection based on the selected profile.
As one method to search for an AP, there is a search method by active scanning. In active scanning, a radio communication apparatus searches for a connectable AP by carrying out broadcast transmission of a search request (probe request) that includes, for example, BSSID of an AP to search for or ESSID, and receiving a search response (probe response) from the AR Also, the radio communication apparatus sequentially searches for APs corresponding to the profiles held in the apparatus.
For example, a radio communication apparatus, such as a mobile telephone terminal or a WLAN terminal, is frequently used on moving to several places, so that it is necessary to register many profiles to establish communication with many APs. Thus, the radio communication apparatus is required to perform the above AP search as many times as the number of the profiles held in the apparatus (the number of registered APs), so that the time to search for APs becomes longer.
As an AP search method to shorten the AP search time, there is a method of determining the priorities on a search to multiple profiles held in a radio communication apparatus (see, for example, patent literature 1 and patent literature 2). From among the profiles that the radio communication apparatus holds, the apparatus selects the profiles in order from the profile having the highest priority, and searches for the APs corresponding to the selected profiles. By this means, for an AP that has a higher priority, the radio communication apparatus can determine at earlier timing whether or not it is able to connect with. The priorities upon a search are determined based on communication evaluation information, including, for example, the signal power of an AP (signal level), how much an AP battery remains, how often an AP is used, the security robustness of the authentication system provided in that AP, or the place where the radio communication apparatus is located.
To further shorten the AP search time, studies are underway to allow a radio communication apparatus to change the priorities of the profiles held in the radio communication apparatus, according to the situation of the place where the apparatus is located and the destination AP (see, for example, patent literature 3). Specifically, a radio communication apparatus changes the priority of the profile of each AP by user's manual operation.
When the connection with an AP is manually established, the radio communication apparatus connects with the AP corresponding to the profile that is selected by input operation, from among the profiles held in the apparatus. When changing the priorities upon a search for the above mentioned AP, according to the selected destination AP, a radio communication apparatus changes the priorities of the profiles held in the apparatus by input operation. Thus with the radio communication apparatus, users are required to separately perform both input operations of selecting the destination AP and changing the priorities of the profiles, and it is troublesome.
It is therefore an object of the present invention to provide a radio communication apparatus and a priority change method which can change the priorities of the profiles of APs without user's operation.
The radio communication apparatus of the present invention employs a configuration having: a holding section which holds profiles including necessary information to establish a connection with a communication device and in which priorities of individual communication devices upon a search are set; a selecting section which selects a profile of the communication device which establishes a connection with the radio communication apparatus among the profiles held in holding section; and a changing section which changes a priority of the selected profile to the highest in the profiles of the communication devices which are able to connect with the radio communication apparatus among the profiles held in the holding section.
The priority change method of the present invention holds profiles which include information required to establish a connection with a communication device and in which priorities of individual communication devices are set, selects the profile of the communication device which establishes a connection with the radio communication apparatus among the profiles held in a holding section, and changes the priority of the selected profile to the highest in the profiles of the communication devices which are able to connect with the radio communication apparatus among the profiles held in the holding section.
The present invention can change the priorities of the profiles of APs without user's operation.
Hereinafter, embodiments of the present invention will be explained in detail with reference to the accompanying drawings.
Control section 102 controls to search for and connect with the destination AP based on the profiles held in holding section 101. Specifically, control section 102 commands communication section 103 to search for an AP, from among the profiles held in holding section 101, in descending order from the AP corresponding to the profile having highest priority. Control section 102 outputs the information showing the result to search for an AP (as to, for example, which APs are connectable or not connectable) input from communication section 103, to access destination selection section 104 and change section 107.
Control section 102 controls a connection with an AP according to the access destination selecting result showing the destination AP that is input from access destination selection section 104. Specifically, control section 102 selects the profile of the destination AP shown in the access destination selecting result from among the profiles held in holding section 101. Based on the selected profile, control section 102 commands communication section 103 to connect with the destination AP.
Communication section 103 searches for and, connects with an AP based on a WLAN protocol, according to the command from control section 102. Communication section 103 outputs to control section 102 the information showing the AP search result or the state of connection (communication state).
Access destination selection section 104 has communication information showing section 105 and selection section 106 inside. Communication information showing section 105 of access destination selection section 104 shows the information which is input from control section 102 and shows each AP search result (as to, for example, which APs are connectable or not connectable), for example, on a display.
Selection section 106 of access destination selection section 104 selects the profile of the destination AP by input operation, based on the information shown at communication information showing section 105. Selection section 106 outputs the access destination selecting result showing the profile of the selected destination AP to control section 102 and change section 107.
Change section 107 changes the priorities of the profiles held in holding section 101, based on the access destination selecting result input from selection section 106 of access destination selection section 104. Specifically, change section 107 changes, as the highest, the priority of the profile (the profile selected at selection section 106) of the destination AP that is shown in the access destination selecting result, in the profiles of the APs (including the destination AP) that are connectable with the apparatus among the profiles held in holding section 101. Change section 107 commands holding section 101 to change the priority of the profile.
Next, a priority change process of a profile in control section 107 of radio communication apparatus 100 according to the present embodiment will be described in detail. Hereinafter, priority change methods 1-3 in change section 107 will be explained in detail respectively.
In the change methods 1-3 below, holding section 101 of radio communication apparatus 100 (WLAN terminal) holds the profiles of AP1 (profile ID: “office 1”), AP2 (profile ID: “office 2”), AP3 (profile ID: “home 1”), and AP4 (profile ID: “home 2”) shown in
Radio communication apparatus 100 (WLAN terminal) searches for APs in descending order of the priorities of the profiles, from AP 3 (profile ID: home 1) having the highest priority to the AP (profile ID: outdoors, but not shown) having the lowest priority. In this case, in the radio communication system shown in
Change section 107 according to change methods 1-3 below changes the priority of the profile of the AP (destination AP) selected in selection section 106, to the highest priority, in the profiles of APs (including the selected AP) that are connectable with the apparatus among the profiles held in holding section 101.
<Change Method 1>
In the present change method, change section 107 maintains the relationship of priorities of between the profile of an AP selected at selection section 106 and an AP profiles that are unable to connect with the apparatus.
In step (hereinafter “ST”) 11 in
In ST13, change section 107 determines whether or not the priority of the profile that the destination AP shown in the access destination selecting result obtained at ST11, is the highest, among the priorities of the profiles held in holding section 101.
When the priority of the profile of the destination AP is the highest among the priorities of the profiles held in holding section 101 (ST13: YES), change section 107 does not do anything and ends the process.
On the other hand, when the priority of the profile of the destination AP is not the highest among the priorities of the profiles held in holding section 101 (ST13: NO), in ST14, change section 107 changes the priority of the profile of the destination AR
Next, the details of change process of a profile in ST14 shown in
In
In ST24, change section 107 compares the priority of the profile (the profile of the destination AP) Ps obtained in ST21, and the priority of profile Pi (the profile obtained in processes in ST23 or ST28). When the priority of profile Pi is equal to or lower than the priority of profile Ps (ST24: NO), the step moves to ST27.
When the priority of profile Pi is higher than the priority of the profile (ST24: YES), in ST25, change section 107 determines whether or not it is possible to connect with the AP corresponding to profile Pi, based on the search result obtained in ST12 shown in
When it is possible to connect with the AP corresponding to profile Pi (ST25: YES), in ST26, change section 107 makes the priority of profile Pi lower than the priority of profile Ps. In other words, change section 107 makes the priority of profile Ps higher than the priority of profile Pi.
In ST27, change section 107 determines whether or not index i is equal to or lower than h. When index i is equal to or lower than h (ST27: YES), change section 107 increments index i such as i=i+1 (ST28) and moves the process to ST24. When index i is higher than h (ST27: NO), change section 107 returns to the process shown in
Thus, change section 107 makes the priorities of profiles Pi of all connectable APs other than the destination AP lower than the priority of the profile of the destination AP. In other words, change section 107 makes the priority of profile Ps of the destination AP the highest among the profiles of connectable APs. However, change section 107 keeps, in ST25, the priority of profile Ps of the destination AP selected at selection section 106 lower than the priorities of the profiles that are unable to connect with the apparatus and that have higher priorities than profile Ps. Thus, the priority relationship between profile Ps of the destination AP and the profiles of APs that are unable to connect with the apparatus is maintained.
Next, a specific example of the priority change process of the profile in change section 107 will be described. Here, among the profiles shown in the left side of
Thus, as shown in the right side of
Here, for example, in the left side of
Thus, according to the present change method, for example, radio communication apparatus 100 preferentially searches for the APs that had higher priorities before the priorities of the profiles have been changed, even when the APs (AP (“home 1”) and AP (“home 2”) in
According to the present change method, only by selecting the destination AP, radio communication apparatus 100 automatically changes the priority of the profile held in holding section 101.
<Change Method 2>
With the present change method, change section 107 makes the priority of the profile of AP selected at selection section 106 the highest in all the profiles held in holding section 101.
Although the flow of priority change process of the profile in change section 107 according to the present change method is the same as the flow of the process of change method 1 shown in
In
Next, a specific example of the priority change process of the profile in change section 107 will be described. Here, as in change method 1, among the profiles shown in the left side of
As shown in the right side of
Thus, according to the present change method, for example, radio communication apparatus 100 can quickly perform a re-search for the destination AP (the AP (“outdoors”) in
According to the present change method, as in change method 1, only by selecting the destination AP, radio communication apparatus 100 can automatically change the priorities of the profiles held in holding section 101.
<Change Method 3>
In the present change method, change section 107 changes the priority of the profile of the selected AP higher than the priorities of the profiles of the APs that are unable to connect with the apparatus and that are assigned lower priorities than the profiles of APs that are able to connect with the apparatus.
Although the flow of priority change process of the profile in change section 107 according to the present change method is the same as the process of change method 1 shown in
Thus, in
Next, a specific example of the priority change process of the profile in change section 107 will be described. Here, as in change method 1, among the profiles shown in the left side of
As shown in the right side of
Before changing the priorities (the left side of
In other words, the profile of the highest priority among the profiles of connectable APs (the AP (“office 1”) shown in the left side of
By this means, according to the present change method, when an AP search is repeated in the same communication environment (for example, when the communication environment is unstable), radio communication apparatus 100 can search for the selected AP (the AP (“outdoors”) in
As shown in the left side of
By this means, according to the present change method, as in change method 1, radio communication apparatus 100 can search preferentially for the AP having higher priority before changing the priorities of the profiles, for example, even when the unconnectable APs (AP (“home 1”) and AP (“home 2”) in
According to the present change method, as in change method 1, only by selecting the destination AP, radio communication apparatus 100 can automatically change the priorities of the profiles held in holding section 101.
Profile priority change methods 1-3 of the priority in change section 107 have been explained in detail above.
Therefore, according to the present embodiment, by selecting the destination AP the radio communication apparatus can automatically change the priorities of the profiles held in the apparatus. Thus, the present embodiment can change the priorities of the profiles without user's operation.
Profile priority change method in change section 107 is not limited to have to be fixed between priority change methods 1-3 in advance, but it is equally possible to switch the priority change method according to the user's choice.
It is equally possible that communication section 103 outputs information including, for example, field intensity of an AP or communication speed as communication state, change section 107 determines the stability of communication environment based on the communication state and switches the priority change method between priority change methods 1-3.
By this means, it is always possible to shorten the AP search time whether communication is stable or unstable.
In the present embodiment, after changing the priority of the profile of the destination AP, when the connection with the destination AP is disconnected, the radio communication apparatus returns the priority of the profile of the destination AP to the priority before changing.
The details will be described below.
Time measurement section 201 of radio communication apparatus 200 (
Change section 107 receives as input a connecting state notice from control section 102. Change section 107 saves the priorities of the current profiles held in holding section 101, before changing the priority of the profile of the AP (the destination AP) selected at selection section 106 as embodiment 1. Change section 107 changes the priority of the profile of the destination AP as embodiment 1. Change section 107 outputs this connecting state notice to time measurement section 201, after changing the priority of the profile of the destination AP and when the connecting state notice showing that the connecting state is “disconnected” is received as input. Change section 107 commands holding section 101 to return the priority of the profile of the destination AP to the priority before changing (the saved priority), when lapse time information is input from time measurement section 201 (that is, when a predetermined time has passed from the time when a connecting state notice (“disconnected”) was input).
Holding section 101 puts (that is, resumes) the priorities back to the priorities of the profiles before changing according to a command from change section 107, and by this means updates the holding profile.
Next, a priority change (recovery) process of a profile in control section 107 of radio communication apparatus 200 according to the present embodiment will be described in detail.
In
When a connecting state notice obtained in ST42 shows “connected” (ST43: NO), change section 107 does not do anything and repeats the decision of ST43. On the other hand, when a connecting state notice obtained in ST42 shows “disconnected” (ST43: YES), in ST44, change section 107 recovers the priority of the profile held in holding section 101 to the priority (the priority before changing) that is saved in ST41.
Next, the details of change process of the APs in ST44 shown in
In ST51, by outputting a connecting state notice showing that a connecting state is “connected,” change section 107 allows time measurement section 201 to start to measure the passing time from the time when a connecting state becomes “connected.”
Until the predetermined time passes from the time when a connecting state becomes “connected” (ST52: NO), change section 107 does not do anything. On the other hand, when the predetermined time has been passed from the time when a connecting state becomes “disconnected” (ST52: YES), that is, when lapse time information is input from time measurement section 201, in ST53, change section 107 returns the priorities of the profiles held in holding section 101, to the priorities saved in ST41 shown in
For example, a case will be explained where radio communication apparatus 200 connects with an AP on a temporary basis, that is, where the priority of the profile of a selected destination AP is temporarily increased. Radio communication apparatus 200 changes the priority of the profile of the destination AP as embodiment 1, so that it is possible to shorten the time for searching for the destination AP even if the connection with the destination AP is disconnected. After disconnected with the destination AP, when a predetermined time has passed, that is, when the connection with the destination AP is considered to end, radio communication apparatus 200 automatically recovers the priority of the profile to the state before changing. Thus, even when connected with an AP on a temporary basis, only by selecting an AP by input operation, radio communication apparatus 200 can automatically perform to change the profile or to recover the profile.
For example, when the communication environment is unstable, it is equally possible to combine change method 2 of embodiment 1 and the present embodiment. By this means, radio communication apparatus 200 can minimize the time to search for the destination AP even if the connection with the destination AP is disconnected, and can automatically return the priorities of the profiles when the connection with the destination AP ends.
Therefore, according to the present embodiment, as embodiment 1, by selecting the destination AP, the radio communication apparatus can automatically change the priority of the profiles held in the apparatus, and after disconnected, can automatically return the priorities of the profiles before changing. Thus, the present embodiment can change and recover the priorities of the profile without user's operation.
The present embodiment has explained a case where, when a predetermined time has been passed from the time when the connection with the destination AP is disconnected, radio communication apparatus 200 automatically returns the priorities of the profiles held in holding section 101 to the priorities before changing. However, with the present invention, when the connection with the destination AP is disconnected, radio communication apparatus 200 may select by input operation whether or not to return the priorities of the profiles held in holding section 101 to the priorities before changing. Specifically, as shown in
In embodiment 2, when the connection with the destination AP is disconnected manually (manual disconnection), that is, when the connection with the destination AP is disconnected by user's input operation, the radio communication apparatus is not likely to immediately re-search for the AP to resume the connection with this destination AR By contrast with this, when the connection with the destination AP is disconnected automatically (automatic disconnection), for example, when the connection with the destination AP is disconnected due to unstable communication environment, the radio communication apparatus is likely to re-search for the AP to resume the connection with this destination AP soon.
Thus, when the connection with the destination AP is disconnected manually, at the same time on disconnecting manually, the radio communication apparatus according to the present embodiment recovers the priorities of the profiles held in holding section 101 to the profiles before changing. On the other hand, when the connection with the destination AP is disconnected automatically, as embodiment 2, after the predetermined time has been passed from the time on disconnecting automatically, change section 107 recovers the priorities of the profiles held in holding section 101 to the profiles before changing.
The details will be described below.
Disconnecting operation input section 301 of radio communication apparatus 300 (
When receiving as input a command to disconnect from disconnecting operation input section 301, control section 102 commands to communication section 103 to disconnect the connection with the destination AP. Control section 102 outputs to change section 107 a connecting state notice including information that shows whether the connection with the destination AP is disconnected manually or automatically.
Before changing the priority of the profile of the AP (destination AP) selected at selection section 106 as embodiment 1, change section 107 saves the priorities of the current profiles held in holding section 101. After changing the priority of the profile of the destination AP, when a connecting state notice showing that a connecting state is “manual disconnection” is input, change section 107 immediately returns the priority of the profile of the destination AP to the priority before changing (the priority of the saved profile). That is, when the connection with the destination AP is disconnected manually (ST71 shown in
On the other hand, when, after changing the priority of the profile of the destination AP, a connecting state notice showing that a connecting state is “automatic disconnection” is input (ST71 shown in
For example, a case will be explained where radio communication apparatus 300 connects with an AP on a temporary basis, that is, where the priority of the profile of the selected destination AP is temporarily increased. Here, when ending the connection with an AP, radio communication apparatus 300 disconnects (manual disconnection) the connection with the AP by input operation and at the same time returns the priority of the profile to the priority before changing. That is, in the case of manual disconnection, radio communication apparatus 300 determines that it is unlikely to re-search for the disconnected AP and returns the priorities of the profiles to the priorities before changing. By this means, radio communication apparatus 300 can immediately perform an AP search based on the priorities of the profiles before changing (that is, the normal priority).
Therefore, according to the present embodiment, the radio communication apparatus controls the timing to recover the priorities of the profiles held in the apparatus, according to whether the connection with an AP is disconnected manually or automatically. By this means, in the case of manual disconnection, that is, when an AP re-search is not likely to be performed soon, it is possible to immediately return the priorities of the profiles to the original priorities, and the radio communication apparatus can search for an AP by using the original priorities (the priorities based on communication evaluation information). In the case of automatic disconnection, that is, when an unexpected disconnection is produced and an AP re-search is likely to be performed soon, the priorities of the profile after changing is maintained during a predetermined time, so that the radio communication apparatus can shorten the time for searching for the destination AP as embodiment 2.
With the present embodiment, the radio communication apparatus shows to change the priority of the profile, when the priority of the profile of the selected AP (the destination AP) is changed.
The details will be described below.
Priority changing status showing section 401 of radio communication apparatus 400 (
For example, a case will be described where, among AP1-AP4 shown in
After a command to change the priority of the profile of AP2 (“office 2”) is input from change section 107, for example, as shown in
As shown in
As shown in
Therefore, according to the present embodiment, the radio communication apparatus can show a user a state in which an AP is selected on a temporary basis and temporarily has a higher priority. For example, the radio communication apparatus shows that the priority of the profile is changed, so that the user can easily determines an operation, such as, whether to change the priority of the profile to the one before changing, or to save the priority after changing.
Embodiments of the present invention have been explained above.
The above embodiment describes a case where a WLAN terminal connects with an AP as one example. However, the present invention is by no means limited to a case where a WLAN terminal connects with an AP, and it is equally possible to implement the present invention with the radio communication apparatuses other than WLAN, in a case where, for example, a terminal that is capable of Bluetooth (registered trademark) communication connects with surrounding communication devices.
The above embodiment has described a case where a radio communication apparatus (WLAN terminal) searches for an AP based on the priorities of AP profiles. However, the present invention does not limit to the priorities of AP profiles, but based on, for example, the field intensity of an AP, the speed that an AP communicates, and the encrypted robustness of an AP, a radio communication apparatus may search for an AP.
The disclosure of Japanese Patent Application No. 2009-032923, filed on Feb. 16, 2009, including the specification, drawings and abstract, is incorporated herein by reference in its entirety.
The present invention is applicable to, for example, a mobile communication system.
Number | Date | Country | Kind |
---|---|---|---|
2009-032923 | Feb 2009 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2009/006045 | 11/12/2009 | WO | 00 | 8/11/2011 |