Summary of the invention
The embodiment of the invention provides a kind of control method and device of wireless network access, can upgrade the incidence relation tabulation of current connection base station and wireless network access point.
The embodiment of the invention proposes control method and the device of another kind of wireless network access, can be based on above-mentioned tabulation, and automatic open wireless network access facility after the user enters fixing wireless network coverage area, thus simplify user's operation.
The embodiment of the invention provides a kind of control method of wireless network access, and the method comprises:
Receive the notice that the connection base station changes, described notice is indicated current connection base station;
According to the incidence relation tabulation of base station and wireless network access point, search the associated with wireless network access point of current connection base station;
If the associated with wireless network access point that does not find the associated with wireless network access point or find is not the current wireless network access point that has connected, in described tabulation, upgrade the incidence relation of current connection base station and the current wireless network access point that has been connected.
If current connecting wireless network access point in the present embodiment, then after receiving the notice that current connection base station changes, in tabulation, search first the associated with wireless network access point of current connection base station, if do not find the associated with wireless network access point, the associated with wireless network access point that perhaps finds is not the current wireless network access point that has connected, in the tabulation with current connection base station and the update of incidence relation of the current wireless network access point that has been connected, thus after entering again the coverage of the current wireless network access point that has connected next time, can be based on this automatic open wireless network access facility of tabulating.
More excellent, the incidence relation of described base station and wireless network access point is: the incidence relation of base station information and wireless network access point information;
The described associated with wireless network access point of searching current connection base station comprises:
From described notice, extract the information of current connection base station;
In described tabulation, search the base station information that is complementary with the current information that is connected the base station;
If find the described base station information that is complementary, in described tabulation, search the wireless network access point information related with the described base station information that is complementary.
More excellent, described base station information comprises: Base Station Identification and signal strength signal intensity;
The described base station information that is complementary with the current information that is connected the base station of searching in described tabulation comprises:
In described tabulation, search the Base Station Identification identical with the sign of current connection base station;
If find described identical Base Station Identification, determine whether the signal strength signal intensity of current connection base station is positioned between the setting district, between described setting district by described identical Base Station Identification in described tabulation centered by the related signal strength signal intensity;
If the signal strength signal intensity of current connection base station is positioned between described setting district, with described identical Base Station Identification and related signal strength signal intensity thereof as the base station information that is complementary with the current information that is connected the base station.
The embodiment of the invention provides a kind of control method of wireless network access, and the method comprises:
Receive the notice that the connection base station changes, described notice is indicated current connection base station;
According to the incidence relation tabulation of base station and wireless network access point, search the associated with wireless network access point of current connection base station;
If find described associated with wireless network access point, the open wireless network access facility.
Incidence relation according to base station and wireless network access point in the present embodiment is tabulated, when having related wireless network access point in current connection base station, the open wireless network access facility, so that enter behind the overlay area of fixing wireless network access point automatically open wireless network access facility the user, save the operation of the manually opened wireless network access function of user, simplified user's operation.
More excellent, the incidence relation of described base station and wireless network access point is: the incidence relation of base station information and wireless network access point information;
The described associated with wireless network access point of searching current connection base station comprises:
From described notice, extract the information of current connection base station;
In described tabulation, search the base station information that is complementary with the current information that is connected the base station;
If find the described base station information that is complementary, in described tabulation, search the wireless network access point information related with the described base station information that is complementary.
More excellent, described base station information comprises: Base Station Identification and signal strength signal intensity;
The described base station information that is complementary with the current information that is connected the base station of searching in described tabulation comprises:
In described tabulation, search the Base Station Identification identical with the sign of current connection base station;
If find described identical Base Station Identification, determine whether the signal strength signal intensity of current connection base station is positioned between the setting district, between described setting district by described identical Base Station Identification in described tabulation centered by the related signal strength signal intensity;
If the signal strength signal intensity of current connection base station is positioned between described setting district, with described identical Base Station Identification and related signal strength signal intensity thereof as the base station information that is complementary with the current information that is connected the base station.
More excellent, after the described open wireless network access facility, the method also comprises:
Detect the state that connects described associated with wireless network access point;
Detect and close the wireless network access function when being changed to off-state by connection status.
More excellent, described detecting when being changed to off-state by connection status closed the wireless network access function, comprising:
Detect and begin timing when being changed to off-state by connection status;
After timing reaches setting-up time, close the wireless network access function.
This preferred embodiment in, detect be changed to off-state with the associated with wireless network access point by connection status after, reach setting-up time in timing and just close the wireless network access function, can avoid like this user to enter associated with wireless network access point uncovered area in the short time when returning again, frequently switch wireless network access function.
The embodiment of the invention provides a kind of control device of wireless network access, and this device comprises:
Receiving element is used for receiving the notice that the connection base station changes, and described notice is indicated current connection base station;
Search the unit, be used for the incidence relation tabulation according to base station and wireless network access point, search the associated with wireless network access point of current connection base station;
The first control unit, be used for searching that the unit does not find the associated with wireless network access point or the associated with wireless network access point that finds when not being the current wireless network access point that has connected described, in described tabulation, upgrade the incidence relation of current connection base station and the current wireless network access point that has been connected.
More excellent, the incidence relation of described base station and wireless network access point is: the incidence relation of base station information and wireless network access point information;
The described unit of searching comprises:
Extraction module is used for from the information of the current connection of described notice extraction base station;
First searches module, is used for searching the base station information that is complementary with the current information that is connected the base station in described tabulation;
Second searches module, is used for searching the wireless network access point information related with the described base station information that is complementary in described tabulation when described first searches module searches to the described base station information that is complementary.
More excellent, described base station information comprises: Base Station Identification and signal strength signal intensity;
Described first searches module comprises:
Search submodule, be used for searching the Base Station Identification identical with the sign of current connection base station in described tabulation;
Determine submodule, be used for described when searching submodule and finding described identical Base Station Identification, whether the signal strength signal intensity of determining current connection base station is positioned between the setting district, between described setting district by described identical Base Station Identification in described tabulation centered by the related signal strength signal intensity; When the signal strength signal intensity in current connection base station is positioned between described setting district, with described identical Base Station Identification and related signal strength signal intensity thereof as the base station information that is complementary with the current information that is connected the base station.
The embodiment of the invention provides a kind of control device of wireless network access, and the method comprises:
Receiving element is used for receiving the notice that the connection base station changes, and described notice is indicated current connection base station;
Search the unit, be used for the incidence relation tabulation according to base station and wireless network access point, search the associated with wireless network access point of current connection base station;
The second control unit is used for when searching the unit and finding described associated with wireless network access point, opening the wireless network access function of terminal described.
More excellent, the incidence relation of described base station and wireless network access point is: the incidence relation of base station information and wireless network access point information;
The described unit of searching comprises:
Extraction module is used for from the information of the current connection of described notice extraction base station;
First searches module, is used for searching the base station information that is complementary with the current information that is connected the base station in described tabulation;
Second searches module, is used for searching the wireless network access point information related with the described base station information that is complementary in described tabulation when described first searches module searches to the described base station information that is complementary.
More excellent, described base station information comprises: Base Station Identification and signal strength signal intensity;
Described first searches module comprises:
Search submodule, be used for searching the Base Station Identification identical with the sign of current connection base station in described tabulation;
Determine submodule, be used for described when searching submodule and finding described identical Base Station Identification, whether the signal strength signal intensity of determining current connection base station is positioned between the setting district, between described setting district by described identical Base Station Identification in described tabulation centered by the related signal strength signal intensity; When the signal strength signal intensity in current connection base station is positioned between described setting district, with described identical Base Station Identification and related signal strength signal intensity thereof as the base station information that is complementary with the current information that is connected the base station.
More excellent, this device also comprises:
Detecting unit is for detection of the state that connects described associated with wireless network access point;
The 3rd control unit is used for detecting at described detecting unit and closes the wireless network access function when being changed to off-state by connection status.
More excellent, described the 3rd control unit comprises:
Timing module is used for detecting at described detecting unit and begins timing when being changed to off-state by connection status;
Control module after being used for described timing module timing and reaching setting-up time, is closed the wireless network access function.
The further feature of the embodiment of the invention and advantage will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the embodiment of the invention.The purpose of the embodiment of the invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Below by drawings and Examples, the technical scheme of the embodiment of the invention is described in further detail.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment is described, should be appreciated that preferred embodiment described herein only is used for the description and interpretation embodiment of the invention, is not intended to limit the present invention embodiment.
Usually behind the connecting wireless network access point, can record the information relevant with wireless network access point such as service set (SSID), media access control (MAC) address and password, if again enter into the overlay area of this wireless network access point, will automatically access this wireless network access point.Because it all is in comparatively fixing place that the most of the time user uses wireless network, for example family, office and the consumption place often gone, this access way provides users with the convenient.
The embodiment of the invention utilizes the user through the characteristics of the fixed-site connecting wireless network access point of being everlasting just, the wireless network access point that utilizes simultaneously fixed-site often with its near the base station have these characteristics of incidence relation, based on current connection base station, judge whether to enter the overlay area of the wireless network access point of fixed-site, thus automatic open wireless network access facility in entering this overlay area the time.
Embodiment one
Fig. 1 is the control method flow chart of the wireless network access that provides of the embodiment of the invention one, and this flow process comprises:
Step 11: receive the notice that the connection base station changes, described notice is indicated current connection base station;
Step 12: according to the incidence relation tabulation of base station and wireless network access point, search the associated with wireless network access point of current connection base station;
Step 13: if do not find the associated with wireless network access point or find the associated with wireless network access point be not the current wireless network access point that has connected, in described tabulation, upgrade the incidence relation of current connection base station and the current wireless network access point that has been connected.
As seen, if current connecting wireless network access point in the present embodiment one, then after receiving the notice that current connection base station changes, in tabulation, search first the associated with wireless network access point of current connection base station, if do not find the associated with wireless network access point, the associated with wireless network access point that perhaps finds is not the current wireless network access point that has connected, in the tabulation with current connection base station and the update of incidence relation of the current wireless network access point that has been connected, thus after entering again the coverage of the current wireless network access point that has connected next time, can be based on this automatic open wireless network access facility of tabulating.
Tabulation in the above-mentioned steps 12, its content acquiescence initial condition is empty.
The method that present embodiment one provides is applicable to following two kinds of scenes:
The first, user's first connection wireless network access point, this moment can be the update of incidence relation of current connection base station and the wireless network access point that has been connected in tabulate;
The second, the user connects certain wireless network access point again, but current connection base station is not to be to be recorded in base station related with this wireless network access point in the tabulation, this moment can be the update of incidence relation of current connection base station and the wireless network access point that has been connected in tabulate, and a visible wireless network access point may be related with a plurality of base stations.
Embodiment two
Fig. 2 is the control method flow chart of the wireless network access that provides of the embodiment of the invention two, and this flow process comprises:
Step 21: receive the notice that the connection base station changes, described notice is indicated current connection base station;
Step 22: according to the incidence relation tabulation of base station and wireless network access point, search the associated with wireless network access point of current connection base station;
Step 23: if find described associated with wireless network access point, open wireless network access facility.
As seen, incidence relation according to base station and wireless network access point in the present embodiment two is tabulated, when having related wireless network access point in current connection base station, the open wireless network access facility, so that enter behind the overlay area of fixing wireless network access point automatically open wireless network access facility the user, save the operation of the manually opened wireless network access function of user, simplified user's operation.
Embodiment three
The application scenarios of present embodiment three is as follows: wireless network access point is the Wi-Fi access point; The incidence relation of base station and Wi-Fi access point is the incidence relation of base station information and Wi-Fi access-in point information, and wherein base station information comprises Base Station Identification and signal strength signal intensity.
Carry out every control operation by the control device of wireless network access in the present embodiment three, the control device of wireless network access receives the notice that the connection base station changes from the basic communication device of terminal, and the Wi-Fi module switch Wi-Fi access function in the triggering terminal.The basis communication device can be known the base station that terminal connects, and sends the notice that described connection base station changes when changing in the base station that terminal connects.
Fig. 3 is the incidence relation schematic diagram of base station and Wi-Fi access point in the present embodiment three, can find out between fixing Wi-Fi access point and near the base station it, there is the relation that signal strength signal intensity and coverage can be associated of utilizing, can there be the base station of a plurality of associations in a Wi-Fi access point, for example there are two association base stations in the Wi-Fi access point in zone 1, and there is an association base station in the Wi-Fi access point in zone 2.
Fig. 4 is the control method flow chart of the wireless network access that provides of the embodiment of the invention three, and this flow process comprises:
Step 41: receive the notice that the connection base station changes, described notice is indicated current connection base station.
Step 42: in the incidence relation tabulation of base station and Wi-Fi access point, search the base station information that is complementary with the current information that is connected the base station.
In this step, the information of current connection base station is extracted from the notice of step 41.
When searching, can in tabulation, search first the Base Station Identification identical with the sign of current connection base station, if find identical Base Station Identification, whether the signal strength signal intensity of determining current connection base station is positioned between the setting district, between this setting district by the identical Base Station Identification that finds in tabulation centered by the related signal strength signal intensity, if the signal strength signal intensity of current connection base station is positioned between the setting district, with the identical Base Station Identification that finds and related signal strength signal intensity thereof as the base station information that is complementary with the current information that is connected the base station.
For example: current connection base station be designated 1526859, signal strength signal intensity is-80, if in tabulation, find identical Base Station Identification, and be positive and negative 30 interval centered by-89 between the setting district, the base station information that the identical Base Station Identification that then will find and related signal strength signal intensity thereof are complementary as the information of current connection base station.Border between above-mentioned setting district can be adjusted.
As interchangeable execution mode, base station information also can include only the sign of base station, if in tabulation, find the Base Station Identification identical with the sign of current connection base station, directly will this identical sign as the base station information that is complementary.
Step 43: in tabulation, search the related Wi-Fi access-in point information of the base station information that is complementary, suppose that here related Wi-Fi access point is Wi-Fi access point A.
Step 44: open the Wi-Fi access function.
Through above-mentioned steps 41 ~ 44, opened the Wi-Fi access function, will further be connected to Wi-Fi access point A based on this function.
Step 45: receive the notice that the connection base station changes, described notice is indicated current connection base station.
Step 46: the related Wi-Fi access point of searching current connection base station according to tabulation, if the related Wi-Fi access point that does not find related Wi-Fi access point or find is not the current Wi-Fi access point A that has connected, in tabulation, upgrade the incidence relation of current connection base station and Wi-Fi access point A.
Through above-mentioned steps 45 ~ 46, keep with situation that Wi-Fi access point A is connected under, if find that variation has occured in current connection base station and this base station is not related with Wi-Fi access point A in tabulation, the base station after the variation can be updated in the tabulation at this moment.
Step 47: detect to connect the state of Wi-Fi access point A, detect and begin timing when being changed to off-state by connection status.
Step 48: after timing reaches setting-up time, close the Wi-Fi access function.
Step 47 ~ 48 detect be changed to off-state with Wi-Fi access point A by connection status after, arrive setting-up time in timing and just close the Wi-Fi access function, can avoid like this user to enter Wi-Fi access point A uncovered area in the short time when returning again, frequently switch Wi-Fi access function.Certainly, as interchangeable execution mode, also can just close the Wi-Fi access function when being changed to off-state by connection status detecting.
Embodiment four
Fig. 5 is the structural representation of the control device of the wireless network access that provides of the embodiment of the invention four, and this device comprises receiving element 51, searches unit 52 and the first control unit 53.
Receiving element 51 is used for receiving the notice that the connection base station changes, and described notice is indicated current connection base station.
Search unit 52, be used for the incidence relation tabulation according to base station and wireless network access point, search the associated with wireless network access point of current connection base station.
The first control unit 53, be used for searching that unit 52 does not find the associated with wireless network access point or the associated with wireless network access point that finds when not being the current wireless network access point that has connected, in described tabulation, upgrade the incidence relation of current connection base station and the current wireless network access point that has been connected.
As seen, if current connecting wireless network access point in the present embodiment four, then after receiving the notice that current connection base station changes, in tabulation, search first the associated with wireless network access point of current connection base station, if do not find the associated with wireless network access point, the wireless network access point that perhaps finds is not the current wireless network access point that has connected, in the tabulation with current connection base station and the update of incidence relation of the current wireless network access point that has been connected, thus after entering again the coverage of the current wireless network access point that has connected next time, can be based on the automatic open wireless network access facility of the device among the following embodiment five.
Tabulation in the present embodiment four, its content acquiescence initial condition is empty.
Embodiment five
Fig. 6 is the structural representation of the control device of the wireless network access that provides of the embodiment of the invention four, and this device comprises: receiving element 61, search unit 62 and the second control unit 63.
Receiving element 61 is used for receiving the notice that the connection base station changes, and described notice is indicated current connection base station.
Search unit 62, be used for the incidence relation tabulation according to base station and wireless network access point, search the associated with wireless network access point of current connection base station.
The second control unit 63 is used for opening the wireless network access function of terminal when searching unit 62 and find described associated with wireless network access point.
As seen, incidence relation according to base station and wireless network access point in the present embodiment five is tabulated, when having related wireless network access point in current connection base station, the open wireless network access facility, so that enter behind the overlay area of fixing wireless network access point automatically open wireless network access facility the user, save the operation of the manually opened wireless network access function of user, simplified user's operation.
The control device of two wireless network accesses among above-described embodiment four and the embodiment five can be integrated in the device realizes that the below provides an example.
Embodiment six
The application scenarios of present embodiment six is as follows: wireless network access point is the Wi-Fi access point; The incidence relation of base station and Wi-Fi access point is the incidence relation of base station information and Wi-Fi access-in point information, and wherein base station information comprises Base Station Identification and signal strength signal intensity.
Fig. 7 is the structural representation of the control device of the wireless network access that provides of the embodiment of the invention seven, and this device comprises: receiving element 71, search unit 72, the first control unit 73, detecting unit 74, the second control unit 75, the 3rd control unit 76.
Receiving element 71 is used for receiving the notice that the connection base station changes, and described notice is indicated current connection base station.
Search unit 72, be used for the incidence relation tabulation according to base station and Wi-Fi access point, search the related Wi-Fi access point of current connection base station.
Optionally, searching unit 72 comprises: extraction module 721, first is searched module 722 and second and is searched module 723.
Extraction module 721 is used for from the information of the current connection of described notice extraction base station.
First searches module 722, is used for searching the base station information that is complementary with the current information that is connected the base station in described tabulation.
Second searches module 723, is used for searching module 722 when finding the described base station information that is complementary first, searches the Wi-Fi access-in point information related with the described base station information that is complementary in described tabulation.
Optionally, first search module 722 and comprise: search submodule 7221 and definite submodule 7222.
Search submodule 7221, be used for searching the Base Station Identification identical with the sign of current connection base station in described tabulation.
Determine submodule 7222, be used for described when searching submodule and finding described identical Base Station Identification, whether the signal strength signal intensity of determining current connection base station is positioned between the setting district, between described setting district by described identical Base Station Identification in described tabulation centered by the related signal strength signal intensity; When the signal strength signal intensity in current connection base station is positioned between described setting district, with described identical Base Station Identification and related signal strength signal intensity thereof as the base station information that is complementary with the current information that is connected the base station.
The first control unit 73, be used for searching that unit 72 does not find the Wi-Fi access point or the related Wi-Fi access point that finds when not being the current Wi-Fi access point that has connected, in described tabulation, upgrade the incidence relation of current connection base station and the current Wi-Fi access point that has been connected.
Detecting unit 74 is for detection of the state that connects described related Wi-Fi access point.
The second control unit 75 is used for detecting at detecting unit 74 and closes the Wi-Fi access function when being changed to off-state by connection status.
Optionally, the second control unit 75 comprises: timing module 751 and control module 752.
Timing module 751 is used for detecting at detecting unit 74 and begins timing when being changed to off-state by connection status.
Control module 752 after being used for timing module 751 timing and reaching setting-up time, is closed the Wi-Fi access function.
The 3rd control unit 76 is used for opening the Wi-Fi access function of terminal when searching unit 72 and find described related Wi-Fi access point.
Those skilled in the art should understand that the embodiment of the invention can be provided as method, system or computer program.Therefore, the embodiment of the invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the embodiment of the invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The embodiment of the invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the embodiment of the invention and not break away from the spirit and scope of the embodiment of the invention.Like this, if these of the embodiment of the invention are revised and modification belongs within the scope of claim and equivalent technologies thereof, then the embodiment of the invention also is intended to comprise these changes and modification interior.