CN109195203A - Method for parameter configuration, device, terminal and the storage medium of WLAN - Google Patents
Method for parameter configuration, device, terminal and the storage medium of WLAN Download PDFInfo
- Publication number
- CN109195203A CN109195203A CN201811231162.0A CN201811231162A CN109195203A CN 109195203 A CN109195203 A CN 109195203A CN 201811231162 A CN201811231162 A CN 201811231162A CN 109195203 A CN109195203 A CN 109195203A
- Authority
- CN
- China
- Prior art keywords
- wlan
- terminal
- channel
- parameter
- area
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application discloses a kind of method for parameter configuration of WLAN, device, terminal and storage mediums, belong to field of terminal technology.The described method includes: when the WLAN function of terminal is opened, determine the objective area that terminal is presently in, the corresponding target configuration parameter in objective area is obtained according to the first corresponding relationship, the WLAN channel parameter of terminal is set according to target configuration parameter, and WLAN channel parameter includes the channel limitation power of WLAN channel and WLAN channel;It enables the terminal to configure the WLAN channel and power that target area is supported by determining the objective area itself being presently in, so that terminal normally accesses WLAN.
Description
Technical field
The invention relates to wireless local area network technology field, in particular to a kind of parameter configuration side of WLAN
Method, device, terminal and storage medium.
Background technique
The WLAN (Wireless Local Area Network, WLAN) of country variant supports the WLAN used
Channel is different with power.
In the related technology, terminal obtains coding letter from mobile operator network by modem (English: Modem)
Breath, is arranged suitable WLAN channel and power by area indicated by the encoded information automatically.
Summary of the invention
The embodiment of the present application provides method for parameter configuration, device, terminal and the storage medium of a kind of WLAN, can
With for solve terminal certain areas cannot connect to local mobile operator network and lead to not it is adaptive differently
The problem of WLAN channel and power in area.Technical solution is as follows:
According to the embodiment of the present application in a first aspect, provide a kind of method for parameter configuration of WLAN, the side
Method includes:
When the WLAN function of terminal is opened, the objective area that the terminal is presently in is determined;
The corresponding target configuration parameter in the objective area, the first corresponding relationship packet are obtained according to the first corresponding relationship
The corresponding relationship between area and configuration parameter is included, the target configuration parameter is used to indicate what the objective area was supported
WLAN usage mode;
The WLAN channel parameter of the terminal is set according to the target configuration parameter, and the WLAN channel parameter includes
The channel of WLAN channel and the WLAN channel limits power.
According to the second aspect of the embodiment of the present application, a kind of parameter configuration device of WLAN, the dress are provided
It sets and includes:
Determining module, for determining the objective area that the terminal is presently in when the unlatching of the WLAN function of terminal;
Module is obtained, it is described for obtaining the corresponding target configuration parameter in the objective area according to the first corresponding relationship
First corresponding relationship includes the corresponding relationship between area and configuration parameter;
Setup module, for the WLAN channel parameter of the terminal, the WLAN to be arranged according to the target configuration parameter
The type of channel parameter includes the channel limitation power of WLAN channel and the WLAN channel.
According to the third aspect of the embodiment of the present application, a kind of terminal is provided, the terminal includes processor and memory,
It is stored at least one instruction in the memory, described instruction is loaded by the processor and executed to realize such as the application the
The method for parameter configuration of one side and its any WLAN of alternative embodiment.
According to the fourth aspect of the embodiment of the present application, a kind of computer readable storage medium, the storage medium are provided
In be stored at least one instruction, described instruction is loaded by processor and is executed to realize such as the application first aspect and its optional
The method for parameter configuration of any WLAN of embodiment.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
The embodiment of the present application is by determining the objective area that terminal is presently in, root when the unlatching of the WLAN function of terminal
The corresponding target configuration parameter in objective area is obtained according to the first corresponding relationship, is believed according to the WLAN that terminal is arranged in target configuration parameter
Road parameter, WLAN channel parameter include the channel limitation power of WLAN channel and WLAN channel;It enables the terminal to pass through determination
The objective area itself being presently in configures the WLAN channel parameter that target area is supported, i.e. terminal can adapt to automatically not
With the WLAN channel and power in area, so that terminal normally accesses WLAN.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of terminal provided by one exemplary embodiment of the application;
Fig. 2 is the flow chart of the method for parameter configuration for the WLAN that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart of the method for parameter configuration for the WLAN that another exemplary embodiment of the application provides;
Fig. 4 is the flow chart of the method for parameter configuration for the WLAN that another exemplary embodiment of the application provides;
Fig. 5 is the flow chart of the method for parameter configuration for the WLAN that another exemplary embodiment of the application provides;
Fig. 6 is the structural schematic diagram of the parameter configuration device for the WLAN that the application one embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
In the following description when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different attached drawings indicate same or similar
Element.Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application
Formula.On the contrary, they are only the device and side consistent with some aspects as detailed in the attached claim, the application
The example of method.
In the description of the present application, it is to be understood that term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In the description of the present application, it should be noted that unless otherwise specific regulation
And restriction, term " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection,
Or it is integrally connected;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, intermediary can also be passed through
It is indirectly connected.For the ordinary skill in the art, the tool of above-mentioned term in this application can be understood with concrete condition
Body meaning.In addition, unless otherwise indicated, " multiple " refer to two or more in the description of the present application."and/or" is retouched
The incidence relation of affiliated partner is stated, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A, together
When there are A and B, these three situations of individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Firstly, to the invention relates to some nouns explain:
Public land mobile network (Public Land Mobile Network, PLMN): ratified by government or government
Operator, for the network that the public provides land mobile business purpose and establishes and manages.PLMN includes Mobile Country Code MCC
(Mobile Country Code, MCC) and mobile network code (Mobile Network Code, MNC).For example, China
MCC is 460, and the MNC of network A is 00, and the MNC of network B is 01, then the PLMN of Chinese network A is 46000, Chinese network B
PLMN be 46001.
For terminal, it usually needs safeguard several different types of PLMN lists, include more in each PLMN list
A PLMN.PLMN list includes but is not limited to following several:
1, it registered PLMN (Registered PLMN, RPLMN): is registered before last time shutdown or off-grid for terminal
PLMN。
2, equivalent PLMN (Equivalent PLMN, EPLMN): to be in comparably with the currently selected PLMN of terminal
The PLMN of position, priority are identical.
3, equivalent local plmn (Equivalent Home PLMN, EHPLMN): for the PLMN currently selected with terminal
Local plmn in par.
4, Home PLMN (Home PLMN, HPLMN): the PLMN belonged to by terminal, the corresponding PLMN of a terminal.
The mobile use in the world on the Global Subscriber identification card (Universal Subscriber Identity Module, USIM) of terminal
Include in family identification code (International Mobile Subscriber Identification Number, IMSI)
MCC and MNC on MCC and MNC and HPLMN are consistent.
In the related technology, terminal obtains the encoded information for being used to indicate area by Modem from mobile operator network, leads to
It crosses the encoded information and suitable WLAN channel and power is set automatically.But some terminals lack worldwide roaming capabilities, certain
Area may not be able to be connected to local mobile operator network, and such terminal just can not correctly be arranged what this area was supported
WLAN channel and power, so as to influence terminal normal use WLAN.For this purpose, the embodiment of the present application provides one kind wirelessly
Method for parameter configuration, device, terminal and the storage medium of local area network, to solve the problems, such as present in above-mentioned the relevant technologies.This Shen
In the technical solution that please be provide, the WLAN that target area is supported is configured by determining the objective area that terminal is presently in and is believed
Road parameter enables the terminal to the WLAN channel and power that adapt to different regions automatically, so that terminal normally accesses wireless local area
Net.
Before the embodiment of the present application is explained, first the application scenarios of the embodiment of the present application are illustrated.
Fig. 1 shows the structural schematic diagram of terminal provided by one exemplary embodiment of the application.
The terminal 100 is the electronic equipment with WLAN access function.The terminal 100 is that there is the electronics of communication function to set
It is standby.For example, the terminal is mobile phone.
It optionally, include: processor 120 and memory 140 in the terminal 100.
Processor 120 may include one or more processing core.Processor 120 utilizes various interfaces and connection
Various pieces in entire terminal 100, by running or executing the instruction being stored in memory 140, program, code set or refer to
Collection is enabled, and calls the data being stored in memory 140, executes the various functions and processing data of terminal 100.Optionally,
Processor 120 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array
(Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic
Array, PLA) at least one of example, in hardware realize.Processor 120 can integrating central processor (Central
Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc.
One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for
The rendering and drafting of content to be shown needed for display screen;Modem is for handling wireless communication.On it is understood that
Stating modem can not also be integrated into processor 120, be realized separately through chip piece.
Memory 140 may include random access memory (Random Access Memory, RAM), also may include read-only
Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non-
transitory computer-readable storage medium).Memory 140 can be used for store instruction, program, generation
Code, code set or instruction set.Memory 140 may include storing program area and storage data area, wherein storing program area can store
Instruction for realizing operating system, the instruction at least one function (such as touch function, sound-playing function, image
Playing function etc.), for realizing instruction of following each embodiments of the method etc.;It is real that storage data area can store following each method
Apply the data etc. being related in example.
Referring to FIG. 2, the parameter configuration side of the WLAN provided it illustrates one exemplary embodiment of the application
The flow chart of method.The present embodiment is applied to illustrate in terminal shown in figure 1 with the method for parameter configuration of the WLAN
Explanation.The method for parameter configuration of the WLAN includes:
Step 201, when the WLAN function of terminal is opened, the objective area that terminal is presently in is determined.
WLAN function is also referred to as WLAN scanning function, and WLAN function is used to indicate the WLAN of terminal scanning side when opening.
Optionally, determine that the WLAN function of terminal is opened when terminal detects that WLAN opens the corresponding trigger action of entrance
It opens.
WLAN open entrance be can operational controls for start WLAN function.Schematically, WLAN opens the class of entrance
Type includes at least one of button, controllable entry, sliding block.
Optionally, trigger action is the user's operation for triggering starting WLAN function.Schematically, trigger action includes
Clicking operation, slide, pressing operation, the combination of any one or more in long press operation.
It should be noted that the embodiment of the present application is not limited the type of WLAN, only using WLAN as Wireless Fidelity
(Wireless Fidelity, WiFi) network illustrates.
Terminal determines the area that terminal is presently in by preset strategy, and the area that terminal is presently in is determined as target
Area.Terminal is thin by the correlation that preset strategy determines that the regional process that terminal is presently in can refer in following example
Section is not introduced first herein.
Optionally, region is divided according to one of country, province, city, county, township and village, below only with region
Divided according to country, i.e., region be country for be illustrated.
Step 202, the corresponding target configuration parameter in objective area, the first corresponding relationship packet are obtained according to the first corresponding relationship
The corresponding relationship between area and configuration parameter is included, target configuration parameter is used to indicate the WLAN user supported objective area
Formula.
The first corresponding relationship is previously stored in terminal, it is each that the first corresponding relationship is used to indicate multiple areas and multiple areas
Self-corresponding configuration parameter, the configuration parameter in each area are used to indicate the WLAN usage mode that area is supported.Optionally, often
The configuration parameter in a area includes multiple WLAN channels that this area is supported and the corresponding maximum hair of multiple WLAN channels
Penetrate power.
The maximum transmission power of WLAN channel is this area to the radiofrequency signal emission maximum loudness in the WLAN channel
Limits value.In one possible implementation, multiple areas are corresponding with the first of multiple corresponding configuration parameters in area
Relationship is as shown in Table 1.Wherein, the unit of maximum transmission power is dBm, and N/A indicates that this area does not support the WLAN channel.
Table one
Optionally, target configuration parameter includes the multiple target WLAN channels and multiple target WLAN that objective area is supported
The corresponding maximum transmission power of channel.After terminal determines the objective area itself being presently in, it is based on first pair
It should be related to and configuration parameter corresponding with objective area is determined as target configuration parameter.
Step 203, the WLAN channel parameter of terminal is set according to target configuration parameter, and WLAN channel parameter includes WLAN letter
The channel of road and WLAN channel limits power.
Optionally, the WLAN channel parameter of terminal is arranged according to target configuration parameter for terminal, comprising: believes the WLAN of terminal
Road parameter is set as target configuration parameter.
Optionally, multiple target WLAN channels that terminal is supported according to objective area included in target configuration parameter
With multiple corresponding maximum transmission power of target WLAN channel, objective area is set by the WLAN channel of terminal and is supported
Multiple target WLAN channels, be target by the limitation power setting of the channel of each WLAN channel in these targets WLAN channel
The maximum transmission power for the WLAN channel that area is supported.
Optionally, terminal is during the target WLAN in linking objective area, according to work in target WLAN channel
Transmission power sends signal, and operating emission power is less than the corresponding maximum transmission power of target WLAN channel.
Wherein, target WLAN is any one WLAN in objective area.
Optionally, after being provided with the WLAN channel parameter of terminal according to target configuration parameter, terminal is being set terminal
The WLAN channel selection target WLAN channel postponed is sent in mark WLAN channel according to the power for being less than maximum transmission power
Signal.
In conclusion what the present embodiment was supported by the objective area that determining terminal is presently in configure target area
WLAN channel parameter, WLAN channel parameter include the channel limitation power of WLAN channel and WLAN channel, are enabled the terminal to certainly
The dynamic WLAN channel and power for adapting to different regions, so that terminal normally accesses WLAN.
It should be noted that terminal determines that the mode for the objective area that terminal is presently in includes but is not limited to following several
Possible implementation.
In the first possible implementation, above-mentioned steps 201, which can be replaced, is implemented as the following steps, such as Fig. 3
It is shown:
Step 301, when the WLAN function of terminal is opened, the cell of terminal side is scanned for.
Optionally, before cell of the terminal to side scans for, terminal obtains preset 2nd PLIMN.Second
PLMN is any one network or other PLMN networks in RPLMN, EPLMN, EHPLMN or HPLMN, the embodiment of the present application
It is not limited.Optionally, the 2nd PLMN is that terminal default setting or terminal are true according to the priority of preset PLMN
The customized selection of fixed or user.
When the WLAN function of terminal is opened, Non-Access Stratum (Non-access stratum, NAS) layer of terminal is search
Second asks the feelings of PLMN to seek the WAS layer for being sent to mobile terminal, WAS layers of corresponding initiation cell searching, look for this second
Suitable cell under PLMN.Optionally, history frequency point is handed down to physical layer WAS layers, these are gone through by physical layer removal search
The maximum cell of signal strength under history frequency point.
The process that the WLAN function of terminal is opened can refer to the correlative detail in above-described embodiment, and details are not described herein.
Step 302, the first PLMN of the first community searched is obtained.
Terminal determines first community in the multiple cells searched, obtains the first PLMN of first community.
Optionally, terminal determines that first community includes: that terminal is multiple small by what is searched in the multiple cells searched
The maximum cell of signal strength is determined as first community in area, alternatively, terminal is big by signal quality in the multiple cells searched
It is determined as first community in the cell of quality threshold.Quality threshold is terminal default setting or the customized setting of user
, the present embodiment is not limited this.
The corresponding PLMN of each cell, terminal obtain the first of first community from the cell broadcast information of first community
PLMN。
Step 303, when the first PLMN of first community with prestore the 2nd PLMN difference when, obtain the in the first PLMN
One MCC.
Terminal judges whether the first PLMN of first community is identical as the 2nd PLMN prestored, then indicates currently to search if they are the same
The network that rope arrives is preset network, is adjusted without the WLAN channel parameter to terminal, and process is terminated.If first community
First PLMN is different from the 2nd PLMN prestored, then it represents that current search to network be not preset network, obtain first
The first MCC in PLMN.
First PLMN includes the first MCC and the first MNC.Terminal extracts the first MCC from the first PLMN.
Step 304, when the 2nd MCC difference in the first MCC and the 2nd PLMN, country indicated by the first MCC is true
It is set to objective area.
2nd PLMN includes the 2nd MCC and the 2nd MNC.2nd MCC is used to indicate preset country in the terminal.
Terminal obtains the 2nd MCC in the 2nd PLMN, judges whether the first MCC and the 2nd MCC are identical, then indicate if they are the same
The terminal still resides in preset country;Indicate that terminal is in roaming state if different, terminal has left preset country, eventually
Country indicated by first MCC is determined as objective area by end.
In conclusion the embodiment of the present application is also by when the unlatching of the WLAN function of terminal, to the cell of terminal side into
Row search enables the terminal to quickly and accurately determine the current institute of terminal according to the first MCC of the first community searched
The country at place, and then guarantee that terminal in time can adjust the WLAN channel parameter of terminal according to the country determined.
In second of possible implementation, above-mentioned steps 201 can be replaced and be implemented as the following steps: work as terminal
WLAN function open when, pass through Global Positioning System function obtain terminal geographical location information.According to third corresponding relationship
The corresponding area of geographical location information is determined as objective area, third corresponding relationship includes between geographical location information and area
Corresponding relationship.
The geographical location information is used to indicate geographical location locating for terminal.For example, the geographical location information is terminal institute
The longitude and latitude in the geographical location at place.
Optionally, global position system include the U.S. global positioning system (Global Positioning Syste m,
GPS), Chinese Beidou satellite navigation system, European GALILEO positioning system (English: Galileo), Russian Ge Luona
At least one of this system (English: GLONASS).
In conclusion the embodiment of the present application is also by when the unlatching of the WLAN function of terminal, to passing through global positioning system
Function obtains the geographical location information of terminal, enables the terminal to the corresponding area of the geographical location information that quickly will acquire really
It is set to objective area.
In the third possible implementation, above-mentioned steps 201, which can be replaced, is implemented as the following steps, such as Fig. 4
It is shown:
Step 401, when the WLAN function of terminal is opened, multiple WLAN channels in the first channel set are opened.
When the WLAN function of terminal is opened, terminal obtains the first channel set, includes multiple in first channel set
WLAN channel, terminal open at least two WLAN channels in the first channel set.
Multiple WLAN channels in first channel set can be terminal default setting, be also possible to that user is customized to be set
It sets.The present embodiment is not limited the channel number and channel quantity of WLAN channel in the first channel set.
It include multiple WLAN channels that channel utilization is greater than specified threshold, i.e. the first channel set in first channel set
In multiple corresponding channel utilizations of WLAN channel be all larger than specified threshold.
Optionally, channel utilization is that WLAN channel is averaged occupied degree.For example, the channel utilization of WLAN channel
Be 10%, then it represents that the channel is average in 10% time be it is occupied, that is, be in busy state, and average 90%
Time be it is not occupied, that is, be in idle condition.
Optionally, channel utilization is used to indicate the WLAN channel and is supported the probability used in multiple areas.WLAN letter
The channel utilization in road and the WLAN channel are supported the probability correlation used in multiple areas.That is WLAN channel
Channel utilization is higher, and it is higher which in multiple areas is supported the probability that uses.
Specified threshold can be terminal default setting, be also possible to the customized setting of user.
Since the WLAN channel that different regions are supported is different, but usually each area can generally be supported
Multiple WLAN channels of 2.4GHZ frequency range, therefore in one possible implementation, the first channel set includes 2.4GHZ frequency
At least two WLAN channels of section.
Step 402, pass through multiple available targeted wireless devices of WLAN channel search of unlatching.
Optionally, terminal obtains WiFi environmental information by the multiple WLAN channels opened, from the WiFi environment got
Available targeted wireless device is determined in information.
Optionally, which is used to indicate the coverage condition of terminal surrounding WiFi network.WiFi environmental information
Including at least one WiFi information.WiFi information is the information for distinguishing different WiFi networks.WiFi information generally comprises clothes
Be engaged in set identifier (Service Set Identifier, SSID), Basic Service Set Identification (Basic Service Set
Identifier, BSSID), encryption type and signal strength etc..Wherein, SSID is the title of WiFi network, and the title is not only
One, it can be for default value or by user's sets itself;BSSID is to provide the media access control of the wireless device of WiFi network
The address (Media Access Control, MAC), wireless device are wireless access point (Access Point, AP) equipment, the nothing
Line equipment can be wireless routing device;Signal strength is used to characterize the signal quality of WiFi network.
Step 403, when searching targeted wireless device, the net of background server corresponding with targeted wireless device is obtained
The address agreement (Internet Protocol, IP) interconnected between network.
When terminal searching is to available targeted wireless device, background server corresponding with targeted wireless device is determined,
Obtain the IP address of background server.
In order to enable the terminals to interact with server, in a kind of possible embodiment, installs and transport in terminal
Row has wireless network management application program, correspondingly, background server is the background server of wireless network application program.Eventually
End obtains the IP address of the background server by the wireless network management application program from background server.
Step 404, the corresponding area of IP address is determined as by target area, the second corresponding relationship according to the second corresponding relationship
Corresponding relationship between IP address and area including background server.
The second corresponding relationship being stored in terminal between the IP address of background server and area.Optionally, a ground
Area corresponds to multiple background servers, the corresponding area of a background server.
Terminal obtains the second corresponding relationship of storage, the IP for the background server that will acquire based on the second corresponding relationship
The corresponding area in location is determined as target area.
Step 405, when not searching targeted wireless device, multiple WLAN channels in second channel set are opened, after
Continuous the step of executing targeted wireless device available by the multiple WLAN channel search opened.
When terminal does not search available targeted wireless device, i.e., expression terminal seat area does not support the first channel set
Multiple WLAN channels in conjunction, therefore multiple WLAN channels in second channel set are opened, it continues to execute through the more of unlatching
The step of a WLAN channel search available targeted wireless device.
Wherein, intersection is not present in second channel set and the first channel set, the letter of WLAN channel in second channel set
Channel utilization of the road utilization rate less than WLAN channel in the first channel set.
Optionally, the channel utilization of any one WLAN channel is respectively less than in the first channel set in second channel set
The channel utilization of any one WLAN channel.
Schematically, when in the first channel set including multiple WLAN channel of the channel utilization greater than specified threshold,
It include multiple WLAN channels that channel utilization is less than specified threshold in second channel set.
Optionally, in second channel set WLAN channel channel number be greater than the first channel set in WLAN channel channel
Number.For example, when the first channel set includes at least two WLAN channels of 2.4GHZ frequency range, second channel set includes 5GHZ frequency
At least two WLAN channels of section.
Optionally, the letter of WLAN channel included by the first channel set and WLAN channel included by second channel set
Road quantity is identical, or is different.For example, the first channel set includes 10 WLAN channels of 2.4GHZ frequency range, second
Channel set includes 4 WLAN channels of 5GHZ frequency range, i.e. channel number is respectively 36,40,44 and 48 WLAN channel.
In conclusion the present embodiment is also by the way that when the unlatching of the WLAN function of terminal, terminal is opened in the first channel set
Multiple WLAN channels enable the terminal to basis by multiple available targeted wireless devices of WLAN channel search of unlatching
The IP address of the corresponding background server of the targeted wireless device searched determines the area that terminal is presently in, and improves target
The identification accuracy in area.
In 4th kind of possible implementation, above-mentioned steps 201, which can be replaced, is implemented as the following steps, such as Fig. 5
It is shown:
Step 501, when the WLAN function of terminal is opened and subscriber identification card (Subscriber is not present in terminal
Identification Module, SIM) when, to pop up box form display reminding information, prompt information is used to indicate input eventually
Hold the objective area being presently in.
Whether there is SIM in terminal detection terminal when the WLAN function of terminal is opened, if in terminal there are SIM if can be with
Objective area is determined using any one in the possible implementation of above-mentioned first three, it can be with if SIM is not present in terminal
Using any one in the possible implementation of above-mentioned first three and the 4th kind of possible implementation provided in this embodiment
Determine objective area.
Optionally, the terminal Overlapping display pop-up box on a user interface if SIM is not present in terminal is shown in the pop-up box
It is shown with prompt information, which is used to indicate the objective area that input terminal is presently in.
Optionally, confirmation control is also shown in the pop-up box, what confirmation control was intended to indicate that input completes instruction can
Operational controls.Schematically, the type for confirming control includes at least one of button, controllable entry, sliding block.
Step 502, the area of input is determined as objective area when receiving input and completing instruction.
Optionally, determine that receiving input completes when terminal, which detects, confirms the corresponding trigger action of control in pop-up box
Instruction, obtains the area of input, the area of input is determined as objective area.
Optionally, the corresponding trigger action of confirmation control includes clicking operation, slide, pressing operation, long press operation
In the combination of any one or more.
In conclusion the embodiment of the present application is also by obtaining when the WLAN function of terminal is opened and SIM is not present in terminal
The area for taking family input, is determined as objective area for the area of input, improves the identification accuracy of objective area, Jin Erbao
The accuracy of the WLAN channel parameter based on objective area setting is demonstrate,proved.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 6, it illustrates the knots of the parameter configuration device of the WLAN of the application one embodiment offer
Structure schematic diagram.The parameter configuration device of the WLAN can be by special hardware circuit, alternatively, software and hardware is implemented in combination with
As all or part of of the terminal in Fig. 1, the parameter configuration device of the WLAN comprises determining that module 610, obtains
Module 620 and setup module 630.
Determining module 610, for determining the mesh that terminal is presently in when the unlatching of the WLAN WLAN function of terminal
Mark area;
Module 620 is obtained, for obtaining the corresponding target configuration parameter in objective area according to the first corresponding relationship, first pair
It should be related to including the corresponding relationship between area and configuration parameter;
Setup module 630, for the WLAN channel parameter of terminal to be arranged according to target configuration parameter, WLAN channel parameter
Type includes the channel limitation power of WLAN channel and WLAN channel.
Optionally, target configuration parameter includes the multiple target WLAN channels and multiple target WLAN that objective area is supported
The corresponding maximum transmission power of channel;
Setup module 630 is also used to set target configuration parameter for the WLAN channel parameter of terminal.
Optionally, which further includes transmitting module.The transmitting module, for the target WLAN's in linking objective area
In the process, signal is sent according to operating emission power in target WLAN channel, operating emission power is less than target WLAN channel
Corresponding maximum transmission power.
Optionally, determining module 610 are also used to carry out the cell of terminal side when the WLAN function of terminal is opened
Search;
Obtain the first public land mobile network PLMN of the first community searched;
As the first PLMN of first community and the 2nd PLMN difference prestored, the first movement state in the first PLMN is obtained
Family code MCC;
When the 2nd MCC difference in the first MCC and the 2nd PLMN, country indicated by the first MCC is determined as target
Area.
Optionally, determining module 610 are also used to open when the WLAN function of terminal and there is no user identity to know in terminal
Not Ka SIM when, to pop up box form display reminding information, prompt information is with being used to indicate the target that input terminal is presently in
Area;
The area of input is determined as objective area when receiving input and completing instruction.
Optionally, determining module 610 are also used to open in the first channel set when the WLAN function of terminal is opened
Multiple WLAN channels;
Pass through multiple available targeted wireless devices of WLAN channel search of unlatching;
When searching targeted wireless device, obtain between the network of background server corresponding with targeted wireless device mutually
Protocol IP address even;
The corresponding area of IP address is determined as target area according to the second corresponding relationship, the second corresponding relationship includes backstage
Corresponding relationship between the IP address and area of server.
Optionally, determining module 610 are also used to when not searching targeted wireless device, are opened in second channel set
Multiple WLAN channels, the step of continuing to execute targeted wireless device available by multiple WLAN channel search of unlatching;
Wherein, intersection is not present in second channel set and the first channel set.
Correlative detail is in combination with referring to figs. 2 to embodiment of the method shown in fig. 5.Wherein it is determined that module 610 is also used to realize
Any other implicit or disclosed function relevant to step is determined in above method embodiment;It obtains module 620 and is also used to reality
Any other implicit or disclosed function relevant to obtaining step in existing above method embodiment;Setup module 630 is also used to
Realize any other implicit or disclosed function relevant to setting steps in above method embodiment.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional module
It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution,
The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition,
Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this
In repeat no more.
The application also provides a kind of computer-readable medium, is stored thereon with program instruction, and program instruction is held by processor
The method for parameter configuration for the WLAN that above-mentioned each embodiment of the method provides is realized when row.
Present invention also provides a kind of computer program products comprising instruction, when run on a computer, so that
Computer executes the method for parameter configuration of WLAN described in above-mentioned each embodiment.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing in the method for parameter configuration of the WLAN of above-described embodiment
All or part of the steps may be implemented by hardware, and relevant hardware can also be instructed to complete by program, the journey
Sequence can store in a kind of computer readable storage medium, and storage medium mentioned above can be read-only memory, disk
Or CD etc..The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (10)
1. a kind of method for parameter configuration of WLAN, which is characterized in that the described method includes:
When the WLAN WLAN function of terminal is opened, the objective area that the terminal is presently in is determined;
The corresponding target configuration parameter in the objective area is obtained according to the first corresponding relationship, first corresponding relationship includes ground
Corresponding relationship between area and configuration parameter, the target configuration parameter, which is used to indicate the WLAN that the objective area is supported, to be made
Use mode;
The WLAN channel parameter of the terminal is set according to the target configuration parameter, and the WLAN channel parameter includes WLAN letter
The channel of road and the WLAN channel limits power.
2. the method according to claim 1, wherein the target configuration parameter includes that the objective area is propped up
The multiple target WLAN channels and the multiple corresponding maximum transmission power of target WLAN channel held;
The WLAN channel parameter that the terminal is set according to the target configuration parameter, comprising:
The target configuration parameter is set by the WLAN channel parameter of the terminal.
3. according to the method described in claim 2, it is characterized in that, described be arranged the terminal according to the target configuration parameter
WLAN channel parameter after, further includes:
During connecting the target WLAN of the objective area, according to operating emission power in the target WLAN channel
Signal is sent, the operating emission power is less than the corresponding maximum transmission power of the target WLAN channel.
4. the method according to claim 1, wherein described when the WLAN WLAN function of terminal is opened
When, determine the objective area that the terminal is presently in, comprising:
When the WLAN function of the terminal is opened, the cell of the terminal side is scanned for;
Obtain the first public land mobile network PLMN of the first community searched;
As the first PLMN of the first community and the 2nd PLMN difference prestored, first obtained in the first PLMN is moved
Dynamic national code MCC;
It is when the 2nd MCC difference in the first MCC and the 2nd PLMN, country indicated by the first MCC is true
It is set to the objective area.
5. the method according to claim 1, wherein described when the WLAN WLAN function of terminal is opened
When, determine the objective area that the terminal is presently in, comprising:
When the WLAN function of terminal is opened and subscriber identification card SIM is not present in the terminal, with pop-up box shape
Formula display reminding information, the prompt information, which is used to indicate, inputs the objective area that the terminal is presently in;
The area of input is determined as the objective area when receiving input and completing instruction.
6. the method according to claim 1, wherein described when the WLAN WLAN function of terminal is opened
When, determine the objective area that the terminal is presently in, comprising:
When the WLAN function of terminal is opened, multiple WLAN channels in the first channel set are opened;
Pass through the multiple available targeted wireless device of WLAN channel search of unlatching;
When searching the targeted wireless device, obtain corresponding with targeted wireless device background server network it
Between the Protocol IP address that interconnects;
The corresponding area of the IP address is determined as the target area, second corresponding relationship according to the second corresponding relationship
Corresponding relationship between the IP address and the area including the background server.
7. according to the method described in claim 6, it is characterized in that, the method, further includes:
When not searching the targeted wireless device, multiple WLAN channels in second channel set are opened, are continued to execute logical
The step of crossing the multiple WLAN channel search available targeted wireless device opened;
Wherein, intersection, WLAN in the second channel set is not present in the second channel set and first channel set
The channel utilization of channel is less than the channel utilization of WLAN channel in first channel set.
8. a kind of parameter configuration device of WLAN, which is characterized in that described device includes:
Determining module, for determining the target that the terminal is presently in when the unlatching of the WLAN WLAN function of terminal
Area;
Module is obtained, for obtaining the corresponding target configuration parameter in the objective area according to the first corresponding relationship, described first
Corresponding relationship includes the corresponding relationship between area and configuration parameter;
Setup module, for the WLAN channel parameter of the terminal, the WLAN channel to be arranged according to the target configuration parameter
The type of parameter includes the channel limitation power of WLAN channel and the WLAN channel.
9. a kind of terminal, which is characterized in that the terminal includes processor, the memory that is connected with the processor, Yi Jicun
The program instruction on the memory is stored up, the processor is realized when executing described program instruction as claim 1 to 7 is any
The method for parameter configuration of the WLAN.
10. a kind of computer readable storage medium, which is characterized in that be stored thereon with program instruction, described program instruction is located
Manage the method for parameter configuration that the WLAN as described in claim 1 to 7 is any is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811231162.0A CN109195203A (en) | 2018-10-22 | 2018-10-22 | Method for parameter configuration, device, terminal and the storage medium of WLAN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811231162.0A CN109195203A (en) | 2018-10-22 | 2018-10-22 | Method for parameter configuration, device, terminal and the storage medium of WLAN |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109195203A true CN109195203A (en) | 2019-01-11 |
Family
ID=64942540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811231162.0A Pending CN109195203A (en) | 2018-10-22 | 2018-10-22 | Method for parameter configuration, device, terminal and the storage medium of WLAN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109195203A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113234A (en) * | 2019-05-14 | 2019-08-09 | 珠海格力电器股份有限公司 | The determination method and device of device parameter, household electrical appliance, electronic equipment |
CN110351812A (en) * | 2019-06-24 | 2019-10-18 | 惠州Tcl移动通信有限公司 | WIFI searches for network Poewr control method, mobile terminal and storage medium |
CN112042231A (en) * | 2019-02-20 | 2020-12-04 | 华为技术有限公司 | Method for acquiring information and terminal equipment |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150839A (en) * | 2006-09-20 | 2008-03-26 | 西门子(中国)有限公司 | Scanning method and system in WLAN |
CN101854673A (en) * | 2010-05-28 | 2010-10-06 | 杭州华三通信技术有限公司 | Self-adaptive wireless local area network (WLAN) channel and power control method and device |
CN102711084A (en) * | 2012-06-18 | 2012-10-03 | 杭州华三通信技术有限公司 | Method and device for realizing centralized control and multichannel deployment of stations (STA) |
CN103024887A (en) * | 2012-12-24 | 2013-04-03 | 广东欧珀移动通信有限公司 | WLAN (wireless local area network) channel and power distribution method and system for mobile terminal |
CN103338504A (en) * | 2013-06-21 | 2013-10-02 | 北京邮电大学 | Information channel and power combined self-configuration method for APs (Access Points) in wireless local area network |
CN103415049A (en) * | 2013-08-21 | 2013-11-27 | 宇龙计算机通信科技(深圳)有限公司 | Wireless communication method and wireless communication device |
CN103906272A (en) * | 2012-12-25 | 2014-07-02 | 华为终端有限公司 | Wireless local area network configuration method and wireless terminal |
CN104427507A (en) * | 2013-08-29 | 2015-03-18 | 华为终端有限公司 | Method for self-adaption of Wi-Fi channel range and wireless access equipment controller |
CN104469779A (en) * | 2013-09-16 | 2015-03-25 | 中兴通讯股份有限公司 | Wireless local area network channel adapting method and device and terminal |
CN105376757A (en) * | 2015-09-30 | 2016-03-02 | 青岛海信移动通信技术股份有限公司 | Mobile device Wi-Fi channel configuration method and device |
CN105392183A (en) * | 2014-09-05 | 2016-03-09 | 中兴通讯股份有限公司 | Parameter configuration method for wifi equipment, device, and terminal |
CN106341284A (en) * | 2016-11-16 | 2017-01-18 | 成都西加云杉科技有限公司 | Radio frequency parameter controlling method and device |
US20170188309A1 (en) * | 2013-12-16 | 2017-06-29 | Google Inc. | Remedying Power Drain via a Coverage Map |
CN107371219A (en) * | 2016-05-13 | 2017-11-21 | 华为终端(东莞)有限公司 | WiFi collocation methods, WiFi mobile terminals and WiFi equipment |
CN107517478A (en) * | 2017-09-27 | 2017-12-26 | 上海斐讯数据通信技术有限公司 | A kind of collocation method of router and router |
CN107925926A (en) * | 2015-09-02 | 2018-04-17 | 高通股份有限公司 | Multiple WI FI channels for intensive access point environment map |
-
2018
- 2018-10-22 CN CN201811231162.0A patent/CN109195203A/en active Pending
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150839A (en) * | 2006-09-20 | 2008-03-26 | 西门子(中国)有限公司 | Scanning method and system in WLAN |
CN101854673A (en) * | 2010-05-28 | 2010-10-06 | 杭州华三通信技术有限公司 | Self-adaptive wireless local area network (WLAN) channel and power control method and device |
CN102711084A (en) * | 2012-06-18 | 2012-10-03 | 杭州华三通信技术有限公司 | Method and device for realizing centralized control and multichannel deployment of stations (STA) |
CN103024887A (en) * | 2012-12-24 | 2013-04-03 | 广东欧珀移动通信有限公司 | WLAN (wireless local area network) channel and power distribution method and system for mobile terminal |
CN103906272A (en) * | 2012-12-25 | 2014-07-02 | 华为终端有限公司 | Wireless local area network configuration method and wireless terminal |
CN103338504A (en) * | 2013-06-21 | 2013-10-02 | 北京邮电大学 | Information channel and power combined self-configuration method for APs (Access Points) in wireless local area network |
CN103415049A (en) * | 2013-08-21 | 2013-11-27 | 宇龙计算机通信科技(深圳)有限公司 | Wireless communication method and wireless communication device |
CN104427507A (en) * | 2013-08-29 | 2015-03-18 | 华为终端有限公司 | Method for self-adaption of Wi-Fi channel range and wireless access equipment controller |
CN104469779A (en) * | 2013-09-16 | 2015-03-25 | 中兴通讯股份有限公司 | Wireless local area network channel adapting method and device and terminal |
US20170188309A1 (en) * | 2013-12-16 | 2017-06-29 | Google Inc. | Remedying Power Drain via a Coverage Map |
CN105392183A (en) * | 2014-09-05 | 2016-03-09 | 中兴通讯股份有限公司 | Parameter configuration method for wifi equipment, device, and terminal |
CN107925926A (en) * | 2015-09-02 | 2018-04-17 | 高通股份有限公司 | Multiple WI FI channels for intensive access point environment map |
CN105376757A (en) * | 2015-09-30 | 2016-03-02 | 青岛海信移动通信技术股份有限公司 | Mobile device Wi-Fi channel configuration method and device |
CN107371219A (en) * | 2016-05-13 | 2017-11-21 | 华为终端(东莞)有限公司 | WiFi collocation methods, WiFi mobile terminals and WiFi equipment |
CN106341284A (en) * | 2016-11-16 | 2017-01-18 | 成都西加云杉科技有限公司 | Radio frequency parameter controlling method and device |
CN107517478A (en) * | 2017-09-27 | 2017-12-26 | 上海斐讯数据通信技术有限公司 | A kind of collocation method of router and router |
Non-Patent Citations (2)
Title |
---|
赵培: "第8章第8.11.3节频率规划", 《室内无线通信技术》 * |
雷震甲: "第5章第(三)节IEEE802.11 WLAN体系结构第3小节 MAC管理子层", 《网络工程师考试精讲与精练》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112042231A (en) * | 2019-02-20 | 2020-12-04 | 华为技术有限公司 | Method for acquiring information and terminal equipment |
CN112042231B (en) * | 2019-02-20 | 2022-09-09 | 华为技术有限公司 | Method for acquiring information and terminal equipment |
CN110113234A (en) * | 2019-05-14 | 2019-08-09 | 珠海格力电器股份有限公司 | The determination method and device of device parameter, household electrical appliance, electronic equipment |
CN110113234B (en) * | 2019-05-14 | 2021-02-26 | 珠海格力电器股份有限公司 | Method and device for determining equipment parameters, household appliance and electronic equipment |
CN110351812A (en) * | 2019-06-24 | 2019-10-18 | 惠州Tcl移动通信有限公司 | WIFI searches for network Poewr control method, mobile terminal and storage medium |
CN110351812B (en) * | 2019-06-24 | 2021-10-22 | 惠州Tcl移动通信有限公司 | WIFI search network power control method, mobile terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11019512B2 (en) | Providing easy access to radio networks | |
CN105682015B (en) | A kind of method and apparatus for being used to set up wireless connection | |
CN104980993B (en) | Network access method, mobile communication terminal, network server and network access system | |
WO2016202264A1 (en) | Network access method and mobile communication terminal | |
WO2016173376A1 (en) | Network access method and mobile communications terminal | |
CN104902541B (en) | A kind of method for network access and mobile communication terminal | |
WO2020259306A1 (en) | Network search configuration method, registration method, apparatus, and system | |
US20170223620A1 (en) | Network access method and mobile communication terminal | |
US9992760B2 (en) | Method for updating RPLMN information and user equipment | |
EP3197213B1 (en) | Network access method and mobile communication terminal | |
CN104853404B (en) | A kind of method for network access and mobile communication terminal | |
CN104853411B (en) | A kind of method for network access and mobile communication terminal | |
WO2016173339A1 (en) | Network access method and mobile communication terminal | |
CN105393603A (en) | Method for selecting public land mobile network (PLMN), and apparatus and device thereof | |
CN108738104A (en) | A kind of method, terminal and network equipment for establishing local network connection | |
WO2009029157A1 (en) | System and method for mapping wireless access points | |
CN109195203A (en) | Method for parameter configuration, device, terminal and the storage medium of WLAN | |
US20220377659A1 (en) | Network Slice Aware Cell Selection | |
CN108966331A (en) | Cell registration method, apparatus, wireless routing device, terminal and storage medium | |
CN108093404A (en) | A kind of information processing method and device | |
CN112367625A (en) | Virtual card network-residing method and system, server, mobile terminal and storage medium | |
WO2016173338A1 (en) | Network access method and mobile communications terminal | |
CN105163275B (en) | A kind of data transmission method for uplink, relevant apparatus and system | |
WO2023207713A1 (en) | Wireless access processing method, information transmission method, and device | |
WO2020151622A1 (en) | Assessment method and apparatus for position recommendation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190111 |