CN106211202A - Wi-Fi configuration method based on hotspot and device - Google Patents

Wi-Fi configuration method based on hotspot and device Download PDF

Info

Publication number
CN106211202A
CN106211202A CN201510220976.4A CN201510220976A CN106211202A CN 106211202 A CN106211202 A CN 106211202A CN 201510220976 A CN201510220976 A CN 201510220976A CN 106211202 A CN106211202 A CN 106211202A
Authority
CN
China
Prior art keywords
focus
national code
code information
terminal
hotspot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510220976.4A
Other languages
Chinese (zh)
Inventor
卢金金
张跃龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510220976.4A priority Critical patent/CN106211202A/en
Priority to PCT/CN2015/089457 priority patent/WO2016173177A1/en
Publication of CN106211202A publication Critical patent/CN106211202A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of Wi-Fi configuration method based on hotspot, institute's the method includes: obtain the hot information that the focus that is currently accessed of terminal is corresponding;Obtain the current national code information in hot information;According to the current national code information obtained, the Wi-Fi parameter of configurating terminal.The present invention also provides for a kind of Wi-Fi based on hotspot and configures device.The present invention is when user's carried terminal roams at country variant, automatically go to obtain the correct Wi-Fi parameter of the country one belongs to, and the Wi-Fi parameter of the correct Wi-Fi parameter configuration terminal according to the country one belongs to obtained, meet the use demand of user, it is ensured that the safety of terminal and normal use.

Description

Wi-Fi configuration method based on hotspot and device
Technical field
The present invention relates to wireless communication technology field, particularly relate to a kind of Wi-Fi configuration method based on hotspot and device.
Background technology
Wi-Fi is wireless network access technology based on IEEE802.11 protocol issuance, it uses open to industry, science, medical science (Industrial Scientific Medical, ISM) frequency range, has the features such as high, simple, the low cost of network design of transfer rate.Although ISM band is at Radiocommunication Bureau of International Telecommunications Union (ITU Radio communication Sector, ITU-R) belong in defining and exempt from the Free License that applies for a license, can use without authorization, but during concrete deployment, country variant has different regulations to the frequency usage of ISM and the power of launching of subscriber equipment.Detailed content is referred to 802.11a/h/j/n agreement regulation.Various countries are bigger about Wi-Fi maximum transmission power also difference, such as, Wi-Fi equipment in Europe can use channel 13 (channel13), emission maximum 100mw power, if and this Wi-Fi equipment roams into China and is necessary for following Chinese law, maximum transmission power becomes 5mw from 100mw, and can only use the channel of 1 to 11.
The tightst due to global contact, user can frequently commute between every country, user is not likely to be familiar with relevant law and the environment of locality, in real time Wi-Fi parameter (channel and transmitting power etc.) is configured, so if user roams into other country, it is likely to occur Wi-Fi current operating channel and does not meets the problem of this state's law (such as when Japan, AP is operated in channel 184, after the U.S., channel1184 is illegal channel, forbid to use), cause user cannot normally connect and use Wi-Fi.
Foregoing is only used for auxiliary and understands technical scheme, does not represent and recognizes that foregoing is prior art.
Summary of the invention
Present invention is primarily targeted at a kind of Wi-Fi configuration method based on hotspot of offer and device, it is intended to solution terminal is when country variant roams, and Wi-Fi parameter cannot adjust automatically, causes user cannot normally connect and use the technical problem of Wi-Fi.
For achieving the above object, a kind of based on hotspot the Wi-Fi configuration method that the present invention provides, described Wi-Fi configuration method based on WAP includes:
Obtain the hot information that the focus that is currently accessed of terminal is corresponding;
Obtain the current national code information in described hot information;
According to the current national code information obtained, configure the Wi-Fi parameter of described terminal.
Preferably, the step of the hot information that described acquisition terminal is currently accessed focus is corresponding includes:
WLAN hot spot environment outside end of scan is to search for focus;
When the described focus searched is not for time empty, accesses the described focus searched, and obtain the hot information that the focus being currently accessed is corresponding.
Preferably, also include after the step with search focus of the WLAN hot spot environment outside described end of scan:
When the described focus searched is for time empty, continue executing with the WLAN hot spot environment outside described end of scan to search for the step of focus.
Preferably, described according to the current national code information obtained, the step of the Wi-Fi parameter configuring described terminal includes:
Judge that the national code information of described terminal storage is the most consistent with the current national code information of acquisition;
When the national code information of described terminal storage and the current national code information of acquisition are inconsistent, according to the current national code information obtained, configure the Wi-Fi parameter of described terminal.
Additionally, for achieving the above object, the present invention also provides for a kind of Wi-Fi based on hotspot and configures device, and described Wi-Fi based on hotspot configuration device includes:
Hot information acquisition module, for obtaining the hot information that focus that terminal is currently accessed is corresponding;
National code acquisition module, for obtaining the current national code information in described hot information;
Parameter configuration module, for according to the current national code information obtained, configuring the Wi-Fi parameter of described terminal.
Preferably, described hot information obtains and includes:
Scanning element, for the WLAN hot spot environment outside end of scan to search for focus;
Acquiring unit, for when the described focus searched is not for time empty, accessing the described focus searched, and obtain the hot information that the focus being currently accessed is corresponding.
Preferably, described acquiring unit is additionally operable to, when the described focus searched is for, time empty, pointing out the WLAN hot spot environment that described scanning element continues to scan on exterior of terminal to search for focus.
Preferably, described parameter configuration module includes:
Judging unit, for judging that the national code information of described terminal storage is the most consistent with the current national code information of acquisition;
Dispensing unit, for when the national code information of described terminal storage and the current national code information of acquisition are inconsistent, according to the current national code information obtained, configures the Wi-Fi parameter of described terminal.
The hot information that the present invention is corresponding by obtaining the focus that is currently accessed of terminal, then according to the hot information obtained, obtain the current national code information in this hot information, finally according to the current national code information obtained, configure the Wi-Fi parameter of described terminal, thus user's carried terminal is when country variant roams, automatically go to obtain the correct Wi-Fi parameter of the country one belongs to, and the Wi-Fi parameter of the correct Wi-Fi parameter configuration terminal according to the country one belongs to obtained, meet the use demand of user, it is ensured that the safety of terminal and normal use.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of present invention Wi-Fi configuration method based on hotspot first embodiment;
Fig. 2 is the refinement schematic flow sheet of the hot information obtaining the Wi-Fi Hotspot that terminal accesses in Fig. 1;
Fig. 3 is the schematic flow sheet of present invention Wi-Fi configuration method based on hotspot the second embodiment;
Fig. 4 is the schematic flow sheet of present invention Wi-Fi configuration method based on hotspot the 3rd embodiment;
Fig. 5 is the high-level schematic functional block diagram of present invention Wi-Fi based on hotspot configuration device first embodiment;
Fig. 6 is the refinement high-level schematic functional block diagram of hot information acquisition module in Fig. 5;
Fig. 7 a is the message format schematic diagram in IEEE 802.11 agreement;
Fig. 7 b is the form schematic diagram of Frame Control field in Fig. 7 a;
Fig. 8 is the refinement high-level schematic functional block diagram of parameter configuration module in Fig. 5.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In order to be better understood on present disclosure, the present invention first introduces the concept of WLAN channel list.WLAN (Wireless Local Area Networks, WLAN) channel list is the wireless channel that in law defined IEEE 802.11 consensus standard, wireless network should use;Here, described IEEE 802.11 consensus standard is (or referred to as Wi-Fi) that International Power electronic engineering association (IEEE, Institute of Electrical and Electronics Engineers) is formulated.802.11 agreement working groups have divided two independent frequency ranges in IEEE 802.11 consensus standard, including: 2.4GHz frequency range and 4.9/5.8GHz (being properly termed as 5GHz) frequency range;Each frequency range is divided into again some channels, and each country requires to formulate relevant law and policy to determine how these frequency ranges of use according to this country.Wherein, 4.9/5.8GHz frequency range is properly termed as 5GHz frequency range.Overwhelming majority of countries uses the industry of 2.4GHz, science, medical science (ISM, Industrial Scientific Medical) frequency range, but the channel that every country is supported or band number are different, as shown in Figure 1, the U.S. supports that channel 1-11, Japan support channel 1-13.And the ISM band of 5GHz is more complicated in the service condition of every country, as in figure 2 it is shown, Japan supports channel 184,188;The U.S. only supports channel 36,40,44,48,149,153,157,161,165, and other channel is defined as illegal or dynamic frequency selection (DFS, Dynamic Frequency Selection) channel;China only supports channel 149,153,157,161,165, and other channel is forbidden to take.More detailed content is referred to the regulation in the 802.11a/h/j/n consensus standard that IEEE formulates.
Can know from these descriptions, the channel of country variant support also differs, therefore, when user comes and goes between every country, if being unfamiliar with relevant law and the communication environment of every country, according to local law, radio communication channel cannot be configured in real time, communication inconvenience can be caused.
Based on this, in various embodiments of the present invention: monitor the national code information of current wlan network Wi-Fi Hotspot, according to the national code information of Wi-Fi Hotspot, the Wi-Fi parameter information of terminal is automatically configured.
The present invention provides a kind of Wi-Fi configuration method based on hotspot, as it is shown in figure 1, first embodiment of the invention proposes Wi-Fi configuration method based on hotspot, should Wi-Fi configuration method based on hotspot include:
Step S10, obtains the hot information that the focus that is currently accessed of terminal is corresponding;
Inquire about and connect the Wi-Fi Hotspot of terminal (such as mobile phone, mobile hotspot device etc.) place environment, such as user is in coffee shop with terminal, then inquire the focus that coffee shop provides the focus that this coffee shop upper offer is provided, obtain this coffee shop and the hot information of focus is provided.
Preferably, with reference to Fig. 2, step S10 includes:
Step S11, the WLAN hot spot environment outside end of scan is to search for focus;
Scanning WLAN hot spot environment, first obtains focus broadcast message, searches again for and obtain focus.The information of this focus relevant information (such as hotspot name, hot spot technology parameter etc.) that the focus that focus broadcast message is in WALN herein is broadcasted in network, preferably, focus in WLAN supports Hotspot2.0, clear in order to describe, herein below is all as a example by Hotspot2.0 focus.Hotspot 2.0 herein is the specification formulated by Wi-Fi Alliance, Wi-Fi Alliance and WiMAX association the public access Wi-Fi standard developed.Hotspot 2.0 is automatically obtained Wi-Fi network and finds, registers, configure and access network, it is provided that seamless automatic Wi-Fi identification and switching, it is allowed to mobile subscriber roams between networks.Alliance is roamed, just as roaming cellular based on Hotspot 2.0, increasing operator Wi-Fi.But unlike roaming cellular, Wi-Fi roaming can hotel and wired between, conference centre, department store and Mobile Network Operator, football pitch, coffee shop and have the place of Wi-Fi infrastructure and substantially can realize.User can in street, the other end in the even world, cities and towns realize roaming.
The WLAN hot spot environment that end of scan (terminal supports Hotspot2.0) is outside, WLAN is preferably Wi-Fi network, obtain the Hotspot2.0 focus broadcast message that in WLAN, Wi-Fi Hotspot sends, the hotspot list supporting Hotspot2.0 can be generated according to Hotspot2.0 focus broadcast message, i.e. search out in the environment and the Wi-Fi Hotspot of this CMT wireless network protocol adaptation in terminal.
Step S12, when the described focus searched is not for time empty, accesses the described focus searched, and obtains the hot information that the focus being currently accessed is corresponding.
When the Hotspot2.0 focus broadcast message obtained is not empty, Wi-Fi Hotspot corresponding in focus broadcast message can be accessed according to preset information, such as user's carried terminal is in hotel, the Hotspot2.0 focus broadcast message arrived when terminal scanning is not sky, and preset information is for limiting Wi-Fi Hotspot as user place hotel appointment focus, thus the Wi-Fi Hotspot (as hotel specifies focus) of correspondence it is linked in Hotspot2.0 focus broadcast message according to preset information, then obtain the hot information of the Wi-Fi Hotspot of access.
Step S20, obtains the current national code information in described hot information;
In Wi-Fi Hotspot, storage has hot information, according to Wi-Fi agreement, this hot information contains the corresponding title of Wi-Fi Hotspot, position, the national code information etc. of current national, according to the hot information obtained, obtain the current national code information in this hot information, the hot information that such as terminal obtains shows that Wi-Fi Hotspot the country one belongs to is China, and then obtains the national code information of China according to this hot information.National code information is used for identifying the country using radio frequency place, and it defines radiofrequency characteristics, such as power and the total number of channels that can be used for frame transmission.
Step S30, according to the current national code information obtained, configures the Wi-Fi parameter of described terminal.
Terminal, according to the current national code information obtained, searches the Wi-Fi parameter that current national code is corresponding in the most preset Wi-Fi chip, it is preferable that Wi-Fi parameter includes national code, channel and transmitting power.In actual application, such as: terminal roams into Japan from China, the Hotspot2.0 focus of Japan's deployment it is connected to by the Hotspot2.0 Station function of terminal, the national code of the Hotspot2.0 focus of contrast Japan and the national code of present terminal, be the relevant parameter that Japan Law specifies by the Wi-Fi parameter adjustment of terminal.
In the present embodiment, by obtaining the hot information of the Wi-Fi Hotspot that terminal accesses, then according to the hot information obtained, obtain the current national code information in this hot information, finally according to the current national code information obtained, configure the Wi-Fi parameter of described terminal, thus user's carried terminal is when country variant roams, automatically go to obtain the correct Wi-Fi parameter of the country one belongs to, and the Wi-Fi parameter of the correct Wi-Fi parameter configuration terminal according to the country one belongs to obtained, meet the use demand of user, it is ensured that the safety of terminal and normal use.
Preferably, with reference to Fig. 3, also include after step S11:
Step S13, when the described focus searched is for time empty, continues executing with the WLAN hot spot environment outside end of scan to search for the step of focus.
In the present embodiment, focus is preferably the focus supporting Hotspot2.0, when described focus broadcast message is empty, i.e. show not have near terminal seat available Wi-Fi Hotspot, terminal continues to scan on the WLAN hot spot environment of exterior of terminal, reacquisition focus broadcast message, to obtain focus, prevents from stopping the WLAN hot spot environment outside end of scan because accidentalia (such as unstable networks) interference does not scans focus.
Additionally, Wi-Fi is wireless network access technology based on IEEE802.11 protocol issuance, therefore the message format in IEEE once 802.11 agreement described herein, in order to be best understood from this programme.
IEEE 802.11 agreement specifies that 802.11 frames are divided into three parts: frame head (Mac header), frame entity (body), FCS territory.It is divided into MAC header, Frame Body and FCS, with reference to Fig. 7 a:
The beginning of all frames is all Frame Control (frame control) field of a length of two bytes, and Frame Control field includes following son field: Protocol, Type, Subtype, To DS, From DS, More fragments, More fragments, Retry, Power management, More data, Protected Frame.
The frame type of use it is used to specify with reference to Fig. 7 b and table 1:Type (type) and Subtype (subtype) field.In order to promote reliability, management functions that 802.11MAC is more built-in.Such as RTS/CTS operation and ACK (confirming, acknowledgment).The package of 802.11 WLANs is divided into three kinds: management frame, control frame and Frame.
Table 1
The national code information of Wi-Fi Hotspot is storable in managing in Beacon and the Probe response message in frame.
Further, step S30 includes:
Step S31, it is judged that the national code information of described terminal storage is the most consistent with the current national code information of acquisition;
Judge that the national code information of described terminal storage is the most consistent with the current national code information of acquisition, such as before terminal, the country one belongs to is China, being currently located country is Korea S, then the national code information of terminal storage is China national code information, the current national code information obtained is Korea National code information, now judge that the national code information of terminal storage is inconsistent with the current national code information of acquisition, need to be adjusted, perform step S32.
Step S32, when the national code information of described terminal storage and the current national code information of acquisition are inconsistent, according to the current national code information obtained, configures the Wi-Fi parameter of described terminal.
When the national code information of described terminal storage and the current national code information of acquisition are inconsistent, described current national code information updating is replaced the national code information of terminal storage, and according to the current national code information obtained, configure the Wi-Fi parameter of described terminal, make relevant Wi-Fi parameter come into force.
It is preferably based on first embodiment and proposes present invention Wi-Fi configuration method based on hotspot the 3rd embodiment, with reference to Fig. 4, also include after step S31:
Step S33, when the national code information of described terminal storage and the national code information of acquisition are consistent, keep the national code Information invariability of described terminal storage, and reacquires the hot information of the Wi-Fi Hotspot that terminal accesses.
Additionally, when the national code information of described terminal storage and the national code information of acquisition are consistent, terminal can not also make any process.
In the present embodiment, after getting current national code information, the current national code information of the national code information of terminal storage with acquisition is compared, when the national code information of terminal storage and the current national code information of acquisition are inconsistent, i.e. user's carried terminal has passed over national boundaries, then according to the current national code information obtained, configure the Wi-Fi parameter of described terminal;When the national code information of terminal storage and the national code information of acquisition are consistent, i.e. user's carried terminal does not crosses the boundary of a country, terminal there is no need to be updated its national code information stored, so, avoid terminal, when not crossing the boundary of a country, national code information is carried out unnecessary renewal, save system resource.
The present invention further provides a kind of Wi-Fi based on hotspot and configure device, should have Wi-Fi AP function and Wi-Fi Station function etc. by Wi-Fi based on hotspot configuration device simultaneously, and should Wi-Fi based on hotspot configuration device can be terminal, it is also possible to for parts of terminal inner.
With reference to Fig. 5, in the first embodiment of present invention Wi-Fi based on hotspot configuration device, this configuration device includes:
Hot information acquisition module 10, for obtaining the hot information of the corresponding focus that terminal is currently accessed;
Inquire about and connect the Wi-Fi Hotspot of terminal (such as mobile phone, mobile hotspot device etc.) place environment, such as user is in coffee shop with terminal, then inquire the focus that coffee shop provides the focus that this coffee shop upper offer is provided, obtain this coffee shop and the hot information of focus is provided.
Preferably, with reference to Fig. 6, described hot information acquisition module 10 includes:
Scanning element 11, for the WLAN hot spot environment outside end of scan to search for focus;
Scanning WLAN hot spot environment, first obtains focus broadcast message, searches again for and obtain focus.The information of this focus relevant information (such as hotspot name, hot spot technology parameter etc.) that the focus that focus broadcast message is in WALN herein is broadcasted in network, preferably, focus in WLAN supports Hotspot2.0, clear in order to describe, herein below is all as a example by Hotspot2.0 focus.Hotspot 2.0 herein is the specification formulated by Wi-Fi Alliance, Wi-Fi Alliance and WiMAX association the public access Wi-Fi standard developed.Hotspot 2.0 is automatically obtained Wi-Fi network and finds, registers, configure and access network, it is provided that seamless automatic Wi-Fi identification and switching, it is allowed to mobile subscriber roams between networks.Alliance is roamed, just as roaming cellular based on Hotspot 2.0, increasing operator Wi-Fi.But unlike roaming cellular, Wi-Fi roaming can hotel and wired between, conference centre, department store and Mobile Network Operator, football pitch, coffee shop and have the place of Wi-Fi infrastructure and substantially can realize.User can in street, the other end in the even world, cities and towns realize roaming.
The WLAN hot spot environment that end of scan (terminal supports Hotspot2.0) is outside, WLAN is preferably Wi-Fi network, obtain the Hotspot2.0 focus broadcast message that in WLAN, Wi-Fi Hotspot sends, the hotspot list supporting Hotspot2.0 can be generated according to Hotspot2.0 focus broadcast message, i.e. search out in the environment and the Wi-Fi Hotspot of this CMT wireless network protocol adaptation in terminal.
Acquiring unit 12, for when the described focus searched is not for time empty, accessing the described focus searched, and obtain the hot information that the focus being currently accessed is corresponding.
When the Hotspot2.0 focus broadcast message obtained is not empty, Wi-Fi Hotspot corresponding in focus broadcast message can be accessed according to preset information, such as user's carried terminal is in hotel, the Hotspot2.0 focus broadcast message arrived when terminal scanning is not sky, and preset information is for limiting Wi-Fi Hotspot as user place hotel appointment focus, thus the Wi-Fi Hotspot (as hotel specifies focus) of correspondence it is linked in Hotspot2.0 focus broadcast message according to preset information, then obtain the hot information of the Wi-Fi Hotspot of access.
National code acquisition module 20, for obtaining the current national code information in this hot information;
In Wi-Fi Hotspot, storage has hot information, according to Wi-Fi agreement, this hot information contains the corresponding title of Wi-Fi Hotspot, position, the national code information etc. of current national, according to the hot information obtained, obtain the current national code information in this hot information, the hot information that such as terminal obtains shows that Wi-Fi Hotspot the country one belongs to is China, and then obtains the national code information of China according to this hot information.National code information is used for identifying the country using radio frequency place, and it defines radiofrequency characteristics, such as power and the total number of channels that can be used for frame transmission.National code information is used for identifying the country using radio frequency place, and it defines radiofrequency characteristics, such as power and the total number of channels that can be used for frame transmission.
Parameter configuration module 30, for according to the current national code information obtained, configuring the Wi-Fi parameter of described terminal.
Terminal, according to the current national code information obtained, searches the Wi-Fi parameter that current national code is corresponding in the most preset Wi-Fi chip, it is preferable that Wi-Fi parameter includes national code, channel and transmitting power.In actual application, such as: terminal roams into Japan from China, the Hotspot2.0 focus of Japan's deployment it is connected to by the Hotspot2.0 Station function of terminal, the national code of the Hotspot2.0 focus of contrast Japan and the national code of present terminal, be the relevant parameter that Japan Law specifies by the Wi-Fi parameter adjustment of terminal.
In the present embodiment, by obtaining the hot information of the Wi-Fi Hotspot that terminal accesses, then according to the hot information obtained, obtain the current national code information in this hot information, finally according to the current national code information obtained, configure the Wi-Fi parameter of described terminal, thus user's carried terminal is when country variant roams, automatically go to obtain the correct Wi-Fi parameter of the country one belongs to, and the Wi-Fi parameter of the correct Wi-Fi parameter configuration terminal according to the country one belongs to obtained, meet the use demand of user, it is ensured that the safety of terminal and normal use.
Preferably, described intelligence acquiring unit 12 is additionally operable to, when the described focus searched is for, time empty, pointing out described scanning element 11 to continue executing with the WLAN hot spot environment outside end of scan to search for focus.
In the present embodiment, focus is preferably the focus supporting Hotspot2.0, when described focus broadcast message is empty, i.e. show not have near terminal seat available Wi-Fi Hotspot, terminal continues to scan on the WLAN hot spot environment of exterior of terminal, reacquisition focus broadcast message, to obtain focus, prevents from stopping the WLAN hot spot environment outside end of scan because accidentalia (such as unstable networks) interference does not scans focus.
Additionally, Wi-Fi is wireless network access technology based on IEEE802.11 protocol issuance, therefore the message format in IEEE once 802.11 agreement described herein, in order to be best understood from this programme.
IEEE 802.11 agreement specifies that 802.11 frames are divided into three parts: frame head (Mac header), frame entity (body), FCS territory.It is divided into MAC header, Frame Body and FCS, with reference to Fig. 7 a:
The beginning of all frames is all Frame Control (frame control) field of a length of two bytes, and Frame Control field includes following son field: Protocol, Type, Subtype, To DS, From DS, More fragments, More fragments, Retry, Power management, More data, Protected Frame.
The frame type of use it is used to specify with reference to Fig. 7 b and table 1:Type (type) and Subtype (subtype) field.In order to promote reliability, management functions that 802.11MAC is more built-in.Such as RTS/CTS operation and ACK (confirming, acknowledgment).The package of 802.11 WLANs is divided into three kinds: management frame, control frame and Frame.
Table 1
The national code information of Wi-Fi Hotspot is storable in managing in Beacon and the Probe response message in frame.
Further, with reference to Fig. 8, described parameter configuration module 30 includes:
Judging unit 31, for judging that the national code information of described terminal storage is the most consistent with the current national code information of acquisition;
Judge that the national code information of described terminal storage is the most consistent with the current national code information of acquisition, such as before terminal, the country one belongs to is China, being currently located country is Korea S, then the national code information of terminal storage is China national code information, the current national code information obtained is Korea National code information, now judging that the national code information of terminal storage is inconsistent with the current national code information of acquisition, need to be adjusted, prompting dispensing unit 32 works.
Dispensing unit 32, for when the national code information of described terminal storage and the current national code information of acquisition are inconsistent, according to the current national code information obtained, configures the Wi-Fi parameter of described terminal.
When the national code information of described terminal storage and the current national code information of acquisition are inconsistent, described current national code information updating is replaced the national code information of terminal storage, and according to the current national code information obtained, configure the Wi-Fi parameter of described terminal, make relevant Wi-Fi parameter come into force.
Preferably, described dispensing unit 32, it is additionally operable to when the national code information of described terminal storage and the current national code information of acquisition are consistent, keeps the national code Information invariability of described terminal storage, and point out described hot information acquisition module to reacquire the hot information of the Wi-Fi Hotspot that terminal accesses.Additionally, when the national code information of described terminal storage and the national code information of acquisition are consistent, terminal can not also make any process.
In the present embodiment, after getting current national code information, the current national code information of the national code information of terminal storage with acquisition is compared, when the national code information of terminal storage and the current national code information of acquisition are inconsistent, i.e. user's carried terminal has passed over national boundaries, then according to the current national code information obtained, configure the Wi-Fi parameter of described terminal;When the national code information of terminal storage and the national code information of acquisition are consistent, i.e. user's carried terminal does not crosses the boundary of a country, terminal there is no need to be updated its national code information stored, so, avoid terminal, when not crossing the boundary of a country, national code information is carried out unnecessary renewal, save system resource.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, the most in like manner it is included in the scope of patent protection of the present invention.

Claims (8)

1. a Wi-Fi configuration method based on hotspot, it is characterised in that described connect based on wireless The Wi-Fi configuration method of access point includes:
Obtain the hot information that the focus that is currently accessed of terminal is corresponding;
Obtain the current national code information in described hot information;
According to the current national code information obtained, configure the Wi-Fi parameter of described terminal.
2. Wi-Fi configuration method based on hotspot as claimed in claim 1, it is characterised in that The step of the hot information that focus that described acquisition terminal is currently accessed is corresponding includes:
WLAN hot spot environment outside end of scan is to search for focus;
When the described focus searched is not for time empty, accesses the described focus searched, and obtain current Hot information corresponding to focus accessed.
3. Wi-Fi configuration method based on hotspot as claimed in claim 2, it is characterised in that WLAN hot spot environment outside described end of scan also includes after the step with search focus:
When the described focus searched is for, time empty, continuing executing with the WLAN hot spot outside described end of scan Environment is to search for the step of focus.
4. Wi-Fi configuration method based on hotspot as claimed in claim 1, it is characterised in that Described according to the current national code information obtained, the step of the Wi-Fi parameter configuring described terminal includes:
Judge that the national code information of described terminal storage is the most consistent with the current national code information of acquisition;
When the national code information of described terminal storage and the current national code information of acquisition are inconsistent, according to The current national code information obtained, configures the Wi-Fi parameter of described terminal.
5. a Wi-Fi based on hotspot configures device, it is characterised in that described based on wireless heat The Wi-Fi configuration device of point includes:
Hot information acquisition module, for obtaining the hot information that focus that terminal is currently accessed is corresponding;
National code acquisition module, for obtaining the current national code information in described hot information;
Parameter configuration module, for according to the current national code information obtained, configuring the Wi-Fi of described terminal Parameter.
6. Wi-Fi based on hotspot as claimed in claim 5 configures device, it is characterised in that Described hot information obtains and includes:
Scanning element, for the WLAN hot spot environment outside end of scan to search for focus;
Acquiring unit, for when the described focus searched is not for time empty, accessing the described focus searched, And obtain the hot information that the focus being currently accessed is corresponding.
7. Wi-Fi based on hotspot as claimed in claim 6 configures device, it is characterised in that Described acquiring unit is additionally operable to, when the described focus searched is for, time empty, pointing out described scanning element to continue WLAN hot spot environment outside end of scan is to search for focus.
8. Wi-Fi based on hotspot as claimed in claim 5 configures device, it is characterised in that Described parameter configuration module includes:
Judging unit, the current national code letter of national code information with acquisition for judging described terminal storage Cease the most consistent;
Dispensing unit, is used for the current national code information of the national code information when described terminal storage and acquisition Time inconsistent, according to the current national code information obtained, configure the Wi-Fi parameter of described terminal.
CN201510220976.4A 2015-04-30 2015-04-30 Wi-Fi configuration method based on hotspot and device Pending CN106211202A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510220976.4A CN106211202A (en) 2015-04-30 2015-04-30 Wi-Fi configuration method based on hotspot and device
PCT/CN2015/089457 WO2016173177A1 (en) 2015-04-30 2015-09-11 Wireless-hotpot-based wi-fi configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510220976.4A CN106211202A (en) 2015-04-30 2015-04-30 Wi-Fi configuration method based on hotspot and device

Publications (1)

Publication Number Publication Date
CN106211202A true CN106211202A (en) 2016-12-07

Family

ID=57198075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510220976.4A Pending CN106211202A (en) 2015-04-30 2015-04-30 Wi-Fi configuration method based on hotspot and device

Country Status (2)

Country Link
CN (1) CN106211202A (en)
WO (1) WO2016173177A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848490A (en) * 2018-06-01 2018-11-20 Oppo(重庆)智能科技有限公司 A kind of method, mobile terminal and storage medium adjusting radio network information channel
CN109068346A (en) * 2018-08-27 2018-12-21 出门问问信息科技有限公司 A kind of method and device configuring WiFi parameter
CN109088781A (en) * 2018-10-26 2018-12-25 广东美的制冷设备有限公司 Configuration method, device and the intelligent appliance equipment of less radio-frequency parameter
CN111698340A (en) * 2020-04-23 2020-09-22 新华三技术有限公司 Wireless service providing method, device, electronic equipment and storage medium
CN111901813A (en) * 2020-08-11 2020-11-06 青岛海信电子产业控股股份有限公司 Network configuration method and equipment for customer premises equipment
CN114390528A (en) * 2022-01-29 2022-04-22 上海市共进通信技术有限公司 Method, device, processor and computer readable storage medium for dynamically setting WiFi6E country code

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107333325B (en) * 2017-07-26 2020-04-03 维沃移动通信有限公司 Network searching method and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060135067A1 (en) * 2004-12-20 2006-06-22 Dunko Gregory A Method and apparatus for configuring a WLAN
US8228865B2 (en) * 2006-04-07 2012-07-24 Qualcomm Incorporated Method and apparatus for operating in a wireless local area network based on information from a wireless wide area network
CN101854673B (en) * 2010-05-28 2013-06-05 杭州华三通信技术有限公司 Self-adaptive wireless local area network (WLAN) channel and power control method and device
CN104469779A (en) * 2013-09-16 2015-03-25 中兴通讯股份有限公司 Wireless local area network channel adapting method and device and terminal
JP6118457B2 (en) * 2014-05-05 2017-04-19 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Wi-Fi network connection method, Wi-Fi controller, and Wi-Fi apparatus
CN104125624B (en) * 2014-06-16 2019-04-23 联想(北京)有限公司 A kind of information processing method and electronic equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848490A (en) * 2018-06-01 2018-11-20 Oppo(重庆)智能科技有限公司 A kind of method, mobile terminal and storage medium adjusting radio network information channel
CN109068346A (en) * 2018-08-27 2018-12-21 出门问问信息科技有限公司 A kind of method and device configuring WiFi parameter
CN109068346B (en) * 2018-08-27 2021-09-14 出门问问信息科技有限公司 Method and device for configuring WiFi parameters
CN109088781A (en) * 2018-10-26 2018-12-25 广东美的制冷设备有限公司 Configuration method, device and the intelligent appliance equipment of less radio-frequency parameter
CN111698340A (en) * 2020-04-23 2020-09-22 新华三技术有限公司 Wireless service providing method, device, electronic equipment and storage medium
CN111901813A (en) * 2020-08-11 2020-11-06 青岛海信电子产业控股股份有限公司 Network configuration method and equipment for customer premises equipment
CN114390528A (en) * 2022-01-29 2022-04-22 上海市共进通信技术有限公司 Method, device, processor and computer readable storage medium for dynamically setting WiFi6E country code

Also Published As

Publication number Publication date
WO2016173177A1 (en) 2016-11-03

Similar Documents

Publication Publication Date Title
CN106211202A (en) Wi-Fi configuration method based on hotspot and device
US8060084B2 (en) Network selection scheme using a roaming broker (RB)
KR101796120B1 (en) Network architecture enabling a mobile terminal to roam into a wireless local area network
CN111480371B (en) Low-power fast intelligent scanning communication device and access point
JP5405298B2 (en) System, apparatus and method for indicating preferred access points and service providers
US8818449B2 (en) Method and device for network selection in multiple access technologies
AU2006201730B2 (en) Network selection scheme using a roaming broker (RB)
CA2628808C (en) Apparatus, and associated method, for facilitating reconnection of a wireless device to a network
KR101760631B1 (en) Managing selection of wlan
US8818359B2 (en) Method and apparatus for using a radio access technology in a mobile station employing a removable memory device
US20070004408A1 (en) System and method for managing forbidden network lists on a wireless user equipment (UE) device
EP2853117A1 (en) A mobile station and a wireless access point and methods therein in a wireless communications network
AU2006201729B2 (en) System and method for providing a network advertisement information via a network advertisement broker (NAB)
US20060098610A1 (en) Method for providing a mobile station with seamless coverage in a 2G/3G communication network and a WLAN
JP5257459B2 (en) Control method of network selection by home operator of dual user equipment
EP2945432B1 (en) Network selection method and user equipment
CN103686770B (en) A kind of detection of WLAN and Notification Method, device and system
KR101697206B1 (en) Handover system and method between different multiple networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161207

WD01 Invention patent application deemed withdrawn after publication