CN107172702A - The method of adjustment and device of mobile terminal and its WiFi transmission powers - Google Patents
The method of adjustment and device of mobile terminal and its WiFi transmission powers Download PDFInfo
- Publication number
- CN107172702A CN107172702A CN201710349283.4A CN201710349283A CN107172702A CN 107172702 A CN107172702 A CN 107172702A CN 201710349283 A CN201710349283 A CN 201710349283A CN 107172702 A CN107172702 A CN 107172702A
- Authority
- CN
- China
- Prior art keywords
- wifi
- transmission power
- wifi transmission
- power levels
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/24—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
- H04W52/245—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/22—TPC being performed according to specific parameters taking into account previous information or commands
- H04W52/228—TPC being performed according to specific parameters taking into account previous information or commands using past power values or information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/28—TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission
- H04W52/283—Power depending on the position of the mobile
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/24—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
- H04W52/241—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account channel quality metrics, e.g. SIR, SNR, CIR, Eb/lo
Abstract
Present invention is disclosed a kind of mobile terminal and its method for adjustment and device of WiFi transmission powers, method includes:The optimization table of acquisition for mobile terminal WiFi transmission powers, wherein the optimization table includes:Positional information, Wi-Fi hotspot information, signal transmission rate, the mapping table of WiFi transmission power optimization range values;Set up and be connected according to the first transmission power with the first signal transmission rate with the first Wi-Fi hotspot;The optimization table of the WiFi transmission powers is inquired about, the first signal transmission rate and WiFi transmission power optimization range values at the first Wi-Fi hotspot position is obtained;Connection is re-established with the first Wi-Fi hotspot according to institute WiFi transmission power optimization range values with the first signal transmission rate to get after optimization table corresponding with positional information, select appropriate WiFi transmission powers to re-establish with the first Wi-Fi hotspot in WiFi transmission power optimization range values to be connected, reduce the power consumption of mobile terminal.
Description
Technical field
The present invention relates to communication field, the adjustment side of a kind of mobile terminal and its WiFi transmission powers is especially related to
Method and device.
Background technology
With the high speed development of electronic technology, the mobile terminal such as mobile phone, tablet personal computer, palm PC is increasingly popularized,
It is increasingly becoming a part indispensable in people's life.Current WiFi (Wireless Fidelity, WLAN) technology
Widely used in the terminal, the mode surfed the Net using WiFi is favored by more and more users.
Generally, it is with certain transmission rate that data are incoming after mobile terminal detects the WiFi signal of Wi-Fi hotspot
To WIFI hot spot, and transmission power due to terminal is one-to-one with transmission rate, after transmission rate is determined, eventually
End is carried out data transmission with fixed transmission power.And in the prior art, in the range of certain transmission rate, the transmitting of terminal
Power is all identical.In fact, transmission rate means more greatly network environment more preferably, loss of signal is smaller, therefore required transmitting
Power is smaller.The corresponding transmission power and corresponding transmission power is identical during smaller transmission rate so when transmission rate is larger
In the case of, data are imparted to equivalent to some power are wasted by Wi-Fi hotspot with larger transmission rate, movement is increased
The power consumption of terminal.
The content of the invention
The mobile terminal and its WiFi that the main object of the present invention is attached wifi hotspot to provide a kind of low-power consumption are sent out
Penetrate the method for adjustment and device of power.
In order to realize foregoing invention purpose, the present invention proposes a kind of method of adjustment of WiFi transmission powers, including:
The optimization table of acquisition for mobile terminal WiFi transmission powers, wherein the optimization table includes:Positional information, Wi-Fi hotspot
Information, signal transmission rate, the mapping table of WiFi transmission power optimization range values;
Set up and be connected according to the first transmission power with the first signal transmission rate with the first Wi-Fi hotspot;
The optimization table of the WiFi transmission powers is inquired about, the first signal transmission rate at the first Wi-Fi hotspot position is obtained
With WiFi transmission power optimization range values;
Re-established with the first Wi-Fi hotspot with the first signal transmission rate according to institute WiFi transmission power optimization range values
Connection.
Further, the WiFi module of mobile terminal configuration first and the second WiFi module;It is described hot with the first WIFI
O'clock with the first signal transmission rate according to the first transmission power set up connect the step of, including:
By first WiFi module and the first WIFI hot spot with the first signal transmission rate according to the first transmission power
Set up connection.
Further, it is described to be optimized with the first WIFI hot spot with the first signal transmission rate according to the WiFi transmission powers
The step of value range re-establishes connection, including:
Searched by second WiFi module in the WiFi transmission powers optimization range value to the first WiFi
When focus transmits data, signal quality minimum WiFi transmission power levels up to standard;
Close the first WiFi module, by second WiFi module using the minimum WiFi transmission power levels with it is described
First Wi-Fi hotspot carries out data transmission;Or, the transmission power adjustment of the first WiFi module is launched for the minimum WiFi
Power carries out data transmission with first Wi-Fi hotspot, and closes the second WiFi module;Or, by the first WiFi module and
The transmission power of two WiFi modules is adjusted to the minimum WiFi transmission powers simultaneously and carried out data transmission with the Wi-Fi hotspot.
The present invention also provides a kind of mobile terminal, including processor and memory;
WiFi hairs any one of adjusting apparatus execution of the memory for storing WiFi transmission powers is above-mentioned
Penetrate the program of the adjustment adjusting method of power;
The processor is configurable for performing the program stored in the memory.
The mobile terminal of the present invention and its method for adjustment and device of WiFi transmission powers, get corresponding with positional information
Optimization table after, select appropriate WiFi transmission powers to be built again with the first Wi-Fi hotspot in WiFi transmission power optimization range values
Vertical connection, reduces the power consumption of mobile terminal.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method for adjustment of the WiFi transmission powers of one embodiment of the invention;
Fig. 2 is the structural schematic block diagram of the adjusting apparatus of the WiFi transmission powers of one embodiment of the invention;
Fig. 3 is the structural schematic block diagram of first connection unit of one embodiment of the invention;
Fig. 4 is the structural schematic block diagram of second connection unit of one embodiment of the invention;
Fig. 5 is the structural schematic block diagram of the lookup subelement of one embodiment of the invention;
Fig. 6 is the structural schematic block diagram of the adjusting apparatus of the WiFi transmission powers of one embodiment of the invention;
Fig. 7 is the structural schematic block diagram of the mobile terminal of one embodiment of the invention.
Aggregate embodiment is described further by the realization, functional characteristics and advantage of the object of the invention referring to the drawings.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Reference picture 1, the embodiment of the present invention provides a kind of method of adjustment of WiFi transmission powers, including step:
S1, acquisition for mobile terminal WiFi transmission powers optimization table, wherein the optimization table includes:Positional information, WiFi
Hot information, signal transmission rate, the mapping table of WiFi transmission power optimization range values;
S2, with the first Wi-Fi hotspot with the first signal transmission rate according to the first transmission power set up be connected;
S3, the inquiry WiFi transmission powers optimization table, obtain the first signal transmission at the first Wi-Fi hotspot position
Speed and WiFi transmission power optimization range values;
S4, built again according to institute WiFi transmission power optimization range values with the first signal transmission rate with the first Wi-Fi hotspot
Vertical connection.
As described in above-mentioned step S1, above-mentioned mobile terminal is that mobile phone, intelligent watch, tablet personal computer etc. can connect WiFi
The electronic equipment of focus.The optimization table of above-mentioned WiFi transmission powers is the optimization table pre-set, and it is default in the terminal,
After the positional information that the alignment system of mobile terminal is obtained is matched with the positional information in optimization table, i.e., it can call alignment system
Also include Wi-Fi hotspot information, signal transmission rate, WiFi transmitting work(in the obtained corresponding optimization table of positional information, optimization table
Rate optimization range value etc., wherein each parameter is into corresponding relation, e.g., a certain positional information fixes the Wi-Fi hotspot letter that correspondence is specified
Breath, signal transmission rate, WiFi transmission power optimization range values etc..Above-mentioned WiFi transmission powers optimization range value is at one
Under signal transmission rate, the set for the WiFi transmission power levels that may be used, usually user are in advance to WiFi transmission powers
Value is rule of thumb or certain rule is classified, i.e., the one multiple WiFi transmission power levels of signal transmission rate correspondence, and this is multiple
WiFi transmission power levels are that can form a WiFi transmission power optimization range value, such as signal transmission rate is 2Mbps, and its is right
The WiFi transmission power levels answered can include 18dBm, 16dBm, 14dBm, wherein WiFi transmission power levels 18dBm, 16dBm,
14dBm is the WiFi transmission power optimization range value that correspondence signal transmission rate is 2Mbps.
, can be with the first letter after mobile terminal detects the WiFi signal of the first Wi-Fi hotspot as described in above-mentioned step S2
Number transmission rate transfers data to the first Wi-Fi hotspot, and data transfer needs mobile terminal to enter with corresponding first transmission power
Row data transfer.Mobile terminal typically can maintain transmission power higher level under specified protocol speed, to ensure number
According to the signal quality of transmission.
As described in above-mentioned step S3 and S4, adaptation is mainly searched in the optimization table of correspondence position information and current mobile
The first signal transmission rate and WiFi transmission power optimization range values of terminal, then in WiFi transmission power optimization range values
An appropriate WiFi transmission power is selected, is reconnected with the first Wi-Fi hotspot, to reduce the consumption of WiFi transmission powers.
In the present embodiment, the above-mentioned WiFi module of mobile terminal configuration first and the second WiFi module;Described and the first WIFI
Focus sets up the step S2 of connection with the first signal transmission rate according to the first transmission power, including:
S21, by first WiFi module and the first WIFI hot spot with the first signal transmission rate according to first transmitting
Power sets up connection.
As described in above-mentioned step S21, i.e., when described mobile terminal and the first WIFI hot spot First Contact Connections, only pass through first
WiFi module is connected with the first WIFI hot spot, and without using the second WiFi module, the second WiFi module is used for during following
Carry out searching signal quality minimum WiFi transmission power levels up to standard.
It is described above that work(is launched according to the WiFi with the first signal transmission rate with the first WIFI hot spot in the present embodiment
Rate optimization range value re-establishes the step S4 of connection, including:
S41, searched in the WiFi transmission powers optimization range value to the first WiFi by second WiFi module
When focus transmits data, signal quality minimum WiFi transmission power levels up to standard;
S42, close the first WiFi module, by second WiFi module using the minimum WiFi transmission power levels with
First Wi-Fi hotspot carries out data transmission;Or, it is the minimum WiFi by the transmission power adjustment of the first WiFi module
Transmission power carries out data transmission with first Wi-Fi hotspot, and closes the second WiFi module;Or, by the first WiFi module
The minimum WiFi transmission powers and Wi-Fi hotspot progress data are adjusted to simultaneously with the transmission power of the second WiFi module
Transmission.
As described in above-mentioned step S41, above-mentioned signal quality be react user browse network whether a smooth parameter,
Signal quality is higher, and user's browse network is more smooth, conversely, getting over interim card during user's browse network.Such as, sometimes, user
The full trellis state of WiFi signal, but still compare interim card when browsing webpage, and WiFi signal is in less than trellis state, but browse
Still than smoother during webpage, when illustrating the full lattice of WiFi signal, its signal quality is not high, and WiFi signal is in less than trellis
During state, its signal quality is higher.So, as long as it is up to standard to ensure signal quality, you can meet the demand of user, in the case,
WiFi transmission power levels are lower, and consumption energy consumption is fewer.Second WiFi module searches guarantor in WiFi transmission power optimization range values
Signal quality minimum WiFi transmission power levels up to standard are demonstrate,proved, it will necessarily be tested one by one in search procedure, when test two
During the adjacent WiFi transmission power levels of individual size, wherein launching data, its signal using a less WiFi transmission power level
Quality dissatisfaction, launches data its signal qualitys using a larger WiFi transmission power level up to standard, then illustrates that the two are big
In small adjacent WiFi transmission power levels, larger WiFi transmission power levels are above-mentioned minimum WiFi transmission power levels.If only
There is the second WiFi module, and during without above-mentioned first WiFi module, testing above-mentioned less WiFi transmission power levels or less than stating
During less WiFi transmission power levels, its signal quality is not up to standard, will necessarily influence the use of user, and set in the present embodiment
Above-mentioned first WiFi module, user using above-mentioned mobile terminal when, will not because of the second WiFi module test be less than it is above-mentioned most
Cause signal quality not up to standard during the WiFi transmission powers of small WiFi transmission power levels and cause and browse the phenomenons such as webpage interim card.
As described in above-mentioned step S42, when the second WiFi module finds the minimum WiFi that signal quality can be supported up to standard
Transmission power level, now, mobile terminal can both be sent out by the first WiFi module or the second WiFi module with above-mentioned minimum WiFi
Penetrate performance number transmission signal.The WiFi transmission powers of first WiFi module can directly be adjusted to above-mentioned minimum WiFi transmittings by it
Performance number carries out transmission signal, and now the second WiFi module can be closed, to save the energy;Or, the first WiFi module is closed
Close, data biography is directly carried out with first Wi-Fi hotspot using the minimum WiFi transmission power levels by the second WiFi module
It is defeated etc..After the signal transmission rate that data are transmitted with the first Wi-Fi hotspot changes, the WiFi module do not opened starts, in repetition
The step of stating step S41-S42, to determine the corresponding minimum WiFi transmission powers of signal transmission rate after correspondence change again
Value.In other embodiments, the transmission power of the first WiFi module and the second WiFi module can also be simultaneously adjusted to described
Minimum WiFi transmission powers carry out data transmission with the Wi-Fi hotspot.When the signal that data are transmitted with the first Wi-Fi hotspot is transmitted
After speed changes, a WiFi module keeps higher transmission power, and another then starts to repeat the above steps S41-S42's
Step.
In the present embodiment, selected above by the second WiFi module in the WiFi transmission powers optimization range value to
When one Wi-Fi hotspot transmits data, the step S41 of signal quality minimum WiFi transmission power levels up to standard, including:
S411, second WiFi module in the WiFi transmission powers optimization range value according to preset rules selection at
The corresponding WiFi transmission powers of middle WiFi transmission power levels in middle part carry out data transmission with first Wi-Fi hotspot;Its
In, each WiFi transmission power levels are arranged according to order from big to small or from small to large in the WiFi transmission powers optimization range value
Row;
Whether the signal quality of data transfer is up to standard between S412, the second WiFi module of detection and the first Wi-Fi hotspot;
If S413, up to standard, in the middle WiFi transmission power levels, and the WiFi transmission powers optimization range value
In be less than the middle WiFi transmission power levels in search the minimum WiFi transmission power levels;
If S414, below standard, the middle WiFi transmittings work(is more than in the WiFi transmission powers optimization range value
The minimum WiFi transmission power levels are searched in rate value.
As described in above-mentioned step S411 to S414, the WiFi transmission power levels in above-mentioned WiFi transmission powers optimization range value
It can typically be arranged according to order from big to small or from small to large, to facilitate which the second WiFi module orderly tests out
WiFi transmission power levels are above-mentioned minimum WiFi transmission power levels.The WiFi at the middle part of above-mentioned WiFi transmission powers optimization range value
It is located in transmission power level, as WiFi transmission powers optimization range value in whole WiFi transmission power levels, it is big close to median
Small WiFi transmission power levels.Such as, at least provided with three WiFi transmission powers in above-mentioned WiFi transmission powers optimization range value
Value;So, when the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value is odd number, the centre
WiFi transmission power levels is are in the WiFi transmission power levels of middle in the WiFi transmission powers optimization range value, specifically
Ground, WiFi transmission power optimization ranges value includes 18dBm, 16dBm, 14dBm, and wherein 16dBm is WiFi transmission powers optimization model
Enclose the WiFi transmission power levels at the middle part of value.The middle WiFi at middle part is in selection WiFi transmission power optimization range values first
The corresponding WiFi transmission powers of transmission power level carry out data transmission with first Wi-Fi hotspot, can be by WiFi transmission powers
Each WiFi transmission powers in optimization range value are split, to determine the interval residing for above-mentioned minimum WiFi transmission power levels,
Such as, when carrying out transmitting data using above-mentioned middle WiFi transmission power levels, signal quality is up to standard, then illustrates above-mentioned minimum
WiFi transmission power levels are less than institute in above-mentioned middle WiFi transmission power levels, and the WiFi transmission powers optimization range value
In the first interval for stating middle WiFi transmission power levels, then described in next being searched directly in above-mentioned first interval most
Small WiFi transmission power levels, improve the speed searched;If carrying out transmitting data using above-mentioned middle WiFi transmission power levels
When, signal quality is below standard, then illustrates that above-mentioned minimum WiFi transmission power levels are in the WiFi transmission powers optimization range value
In be more than the middle WiFi transmission power levels second area in, then next directly can be looked into above-mentioned second interval
The minimum WiFi transmission power levels are looked for, the speed searched is improved.
In the present embodiment, at least provided with three WiFi transmission power levels in above-mentioned WiFi transmission powers optimization range value;When
The quantity of WiFi transmission power levels is even number, and the letter of the first WiFi module currently in the WiFi transmission powers optimization range value
Number quality is more than/when being equal to default first threshold, the middle WiFi transmission power levels are excellent in the WiFi transmission powers
Change a WiFi transmission power level relatively small in two WiFi transmission power levels in middle in value range.
Above-mentioned first threshold is a signal quality criterion value, if between the first WiFi module and the first Wi-Fi hotspot
Current signal quality be more than/be equal to default first threshold, then illustrate that the signal quality of present data transmission is relatively good, herein
In the case of kind, barrier of data transfer etc. is less, so selecting in the WiFi transmission powers optimization range value in center
Between two WiFi transmission power levels in a relatively small WiFi transmission power level as middle WiFi transmission power levels, can
The speed for searching minimum WiFi transmission powers can be improved more close to above-mentioned minimum WiFi transmission powers.
In another embodiment, at least provided with three WiFi transmission powers in above-mentioned WiFi transmission powers optimization range value
Value;When WiFi transmission power levels in the WiFi transmission powers optimization range value quantity be even number, and the first WiFi module work as
When preceding signal quality is less than default first threshold, the middle WiFi transmission power levels are excellent in the WiFi transmission powers
Change a WiFi transmission power level relatively large in two WiFi transmission power levels in middle in value range.
Above-mentioned first threshold is a signal quality criterion value, if the current signal quality of the first WiFi module is big
In/be equal to default first threshold, then illustrate that the signal quality of present data transmission is relatively good, in this case, data are passed
Defeated barrier etc. is more, so selecting two WiFi in middle in the WiFi transmission powers optimization range value to launch
A relatively large WiFi transmission power level, may be more close to upper as middle WiFi transmission power levels in performance number
Minimum WiFi transmission powers are stated, the speed for searching minimum WiFi transmission powers is improved.
In the present embodiment, if above-mentioned up to standard, in the middle WiFi transmission power levels, and the WiFi transmission powers
It is less than the step S413 that the minimum WiFi transmission power levels are searched in the middle WiFi transmission power levels in optimization range value,
Including:
S4131, travel through be less than the middle WiFi transmitting work(in the WiFi transmission powers optimization range value from big to small
The WiFi transmission power levels of rate value, and using the WiFi transmission power levels traversed as first object performance number, will be described
First object performance number is used as the performance number that data are transmitted to first Wi-Fi hotspot;
Whether S4132, signal quality when judging WiFi transmission powers for the first object performance number are up to standard;
S4133, if so, then continue travel through, if it is not, then using the upper WiFi transmission power level traversed as to
First Wi-Fi hotspot transmits the minimum WiFi transmission power levels of data.
As described in above-mentioned step S4131, S4132 and S4133, because launching number using above-mentioned middle WiFi transmission power levels
According to, its signal quality is up to standard, illustrates the not necessarily above-mentioned minimum WiFi transmission power levels of above-mentioned middle WiFi transmission power levels,
So traveling through the WiFi for being less than the middle WiFi transmission power levels in the WiFi transmission powers optimization range value from big to small
Transmission power level, if the current corresponding signal quality of WiFi transmission power levels is up to standard, uses next WiFi transmission powers
Value transmitting data, such as corresponding signal quality of next WiFi transmission power levels is not up to standard, then assert above-mentioned current WiFi hairs
Performance number is penetrated for above-mentioned minimum WiFi transmission power levels, otherwise, continues to travel through, searching above-mentioned minimum WiFi transmission power levels can be more
It is fast.In one embodiment, WiFi transmission powers optimization range value include 18dBm, 17dBm, 16dBm, 15dBm,
14dBm, its middle WiFi transmission power level is 16dBm, if launch data using 16dBm, signal quality is up to standard, then first surveys
15dBm transmitting data are tried, if launch data using 15dBm, signal quality is up to standard, then continue to test 14dBm transmitting data, if
When launching data using 15dBm, signal quality is below standard, then judges 16dBm as above-mentioned minimum WiFi transmission power levels.
In the present embodiment, if above-mentioned below standard, in the WiFi transmission powers optimization range value be more than it is described in
Between the step S414 of the minimum WiFi transmission power levels is searched in WiFi transmission power levels, including:
S4141, travel through be more than the middle WiFi transmitting work(in the WiFi transmission powers optimization range value from small to large
The WiFi transmission power levels of rate value, and using the WiFi transmission power levels traversed as the second target power value, will be described
Second target power value is used as the performance number that data are transmitted to first Wi-Fi hotspot;
Whether S4142, signal quality when judging WiFi transmission powers for second target power value are up to standard;
S4143, if so, then judging second target power value as the minimum WiFi transmission power levels;If it is not, then after
Continuous traversal.
As described in above-mentioned step S4141, S4142 and S4143, because launching number using above-mentioned middle WiFi transmission power levels
According to, its signal quality is below standard, and it is not necessarily above-mentioned minimum WiFi transmission power levels to illustrate above-mentioned middle WiFi transmission power levels,
So traveling through the WiFi for being more than the middle WiFi transmission power levels in the WiFi transmission powers optimization range value from small to large
Transmission power level, if the current corresponding signal quality of WiFi transmission power levels is below standard, work(is launched using next WiFi
Rate value launches data, and such as corresponding signal quality of next WiFi transmission power levels is up to standard, then assert above-mentioned current WiFi hairs
Performance number is penetrated for above-mentioned minimum WiFi transmission power levels, otherwise, continues to travel through.In one embodiment, WiFi transmission powers
Optimization range value includes 18dBm, 17dBm, 16dBm, 15dBm, 14dBm, and its middle WiFi transmission power level is 16dBm, if
When launching data using 16dBm, signal quality is below standard, then first test 17dBm launches data, if using 17dBm to launch data
When, signal quality is up to standard, then judges 17dBm as above-mentioned minimum WiFi transmission power levels, if launch data using 17dBm, letter
Number quality is below standard, then continues to test 18dBm transmitting data.
In the present embodiment, the signal quality of data transfer is between the above-mentioned WiFi module of detection second and the first Wi-Fi hotspot
No step S412 up to standard, including:
S4121, detection second WiFi module transmit the signal to noise ratio of data to the first Wi-Fi hotspot;
If S4122, the signal to noise ratio are more than default snr threshold, judge that the signal quality is up to standard.
As described in above-mentioned step S4121 and S4122, above-mentioned signal to noise ratio (SNR or S/N:Signal-Noise Ratio) be
Measure a key technical indexes of communication system communication reliability, refer in an electronic equipment or system signal with
The ratio of noise, its measurement unit is dB, be can be calculated by formula 10lg (Ps/Pn), wherein Ps and Pn be respectively signal and
The effective power of noise.The ratio of voltage magnitude is can be converted into electronic system:20lg (Vs/Vn), Vs and Vn distinguish
For signal and " virtual value " of noise voltage.From above-mentioned two formula, signal to noise ratio is higher, illustrates that signal quality is higher.It is logical
Signal to noise ratio gauge signal quality is crossed, acquisition for mobile terminal transmits the intensity level of the signal of data, Yi Jijian to the first Wi-Fi hotspot
Noise intensity (generally white noise) is surveyed, both ratio is signal to noise ratio.Above-mentioned snr threshold is generally an empirical value,
The operator of the corresponding application program of the method for adjustment of operator or WiFi transmission powers of mobile terminal can preselect setting, its meeting
Set according to substantial amounts of test result, certainly, the snr threshold can also be User Defined, such as, user in order to
More preferable network experience is obtained, what is set is higher, and user can be set relatively to more save energy consumption
It is low.
In another embodiment, between the above-mentioned WiFi module of detection second and the first Wi-Fi hotspot data transfer signal matter
Amount whether step S412 up to standard, including:
S4123, detection second WiFi module transmit the frame losing number of the signal of data to first Wi-Fi hotspot;
If S4124, the frame losing number are less than default frame losing number threshold value, judge that the signal quality is up to standard.
As described in above-mentioned step S4123 and S4124, data are that unit is transmitted with frame (Frame) on network.
" frame " data are made up of frame head and frame data two parts.Wherein, the positioning of frame head including recipient's host-physical address and its
Its network information, and region frame data is then containing a data volume.For the data volume in read data frame, two communication equipments it
Between must use identical communication protocol.For example, the communication protocol that internet is used is Internet protocol (IP agreement).IP data
Body includes data field two parts of data volume head and data volume.Data volume head includes IP source address, IP destination addresses, and
Other information, and the data field of data volume then include User Data Protocol (UDP), transmission control protocol (TCP), and contain into
The other informations such as the packet of journey information and real data.Therefore the equipment in internet just can mutually be led to by IP agreement
Letter.In the present embodiment, mobile terminal utilizes 802.11 nets in probe requests thereby (Probe Request) frame scan region
Network, receiving the work station of Probe Request frames can first judge that can other side add network.When mobile terminal supports the network institute
It is required that all data rates when, with service set (SSID:Service Set Identity) show to be intended to add the network.
Receive Probe Request frames work station will with Probe Response frame responses, wherein, SSID be used for indicate affiliated net
The MAC Address of network, i.e., the APN that we see before Wi-Fi connection.In another embodiment, mobile terminal is to surrounding
A Probe Request frame is broadcasted, the first WIFI hot spot is received after the probe request to a Probe of mobile terminal time
Respon frames, the frame losing number of the Probe Request frames of terminal transmission is got by the Probe Respon frames, and due to moving
Dynamic terminal transmits the signal quality parameter and the inversely proportional relation of frame losing number of data to the first WIFI hot spot, therefore, works as frame losing
When number is bigger, signal quality is poorer, and corresponding signal quality parameter is smaller.
In another embodiment, between the above-mentioned WiFi module of detection second and the first Wi-Fi hotspot data transfer signal matter
Amount whether step S412 up to standard, including:
S4125, the parameter for continuously acquiring multiple representation signal quality, and calculate multiple representation signal quality parameter it is flat
Average;
If S4126, the draw value are more than the parameter threshold of default representation signal quality, the signal quality is judged
It is up to standard.
As described in above-mentioned step S4125 and S4126, signal quality parameter such as signal to noise ratio etc. is influenceed by factors such as environment,
That is the value of the signal quality parameter detected every time can be variant, but may change within the scope of one.In identical
Multiple signal quality parameters are detected under transmission rate, average value is calculated.For example, the letter detected by 5 times under same speed
Number mass parameter gets 5 signal quality parameters a, b, c, d, the e changed within the specific limits, by average value f=(a+b+c+
D+e)/5 as the signal quality parameter under the speed.Judge that whether up to standard signal quality the degree of accuracy be relatively reasonable, follow-up
In step, the above-mentioned minimum WiFi transmission power levels being more adapted to can be found.
It is above-mentioned excellent according to the WiFi transmission powers with the first signal transmission rate with the first Wi-Fi hotspot in the present embodiment
Change value range is re-established after the step S4 of connection, including:
S5, hand over when the mobile terminal enters the second Wi-Fi hotspot radiation scope and the first Wi-Fi hotspot radiation scope
When in meeting region, the corresponding optimization table of the second Wi-Fi hotspot is obtained;
S6, compare the corresponding optimization table of the second Wi-Fi hotspot and the corresponding optimization table of the first Wi-Fi hotspot;
S7, according to comparative result choose whether stop be connected with the first Wi-Fi hotspot;
If S8, selection stop being connected with the first Wi-Fi hotspot, it is connected with the second Wi-Fi hotspot.
As described in above-mentioned step S5 to S8, as mobile terminal enters the second Wi-Fi hotspot radiation scope and described first
Course of work when in Wi-Fi hotspot radiation scope intersection region, it is corresponding described that mobile terminal can first compare the second Wi-Fi hotspot
Optimize table and the corresponding optimization table of the first Wi-Fi hotspot, if the data of the corresponding optimization table of the first Wi-Fi hotspot are more excellent, after
It is continuous to be connected with the first Wi-Fi hotspot, if the data of the corresponding optimization table of the second Wi-Fi hotspot are more excellent, selection and the 2nd wifi
Focus is connected, and is disconnected with the first Wi-Fi hotspot.
In the present embodiment, if above-mentioned selection stops being connected with the first Wi-Fi hotspot, the step being connected with the second Wi-Fi hotspot
Rapid S8, including:
S81, with the second Wi-Fi hotspot with secondary signal transmission rate according to the second transmission power set up be connected;
S82, inquiry the 2nd WiFi corresponding optimization table, obtains the secondary signal at the second Wi-Fi hotspot position and passes
Defeated speed and WiFi transmission power optimization range values;
S83 and the second Wi-Fi hotspot are with secondary signal transmission rate according to the WiFi transmission powers optimization range value weight
It is new to set up connection.
Such as above-mentioned step S81 to S83 is identical with above-mentioned steps S2 to S4 process, and the Wi-Fi hotspot simply connected is become
Change, be changed into connecting the second Wi-Fi hotspot from the first Wi-Fi hotspot of connection.Similarly, if residing for mobile terminal from the second Wi-Fi hotspot
When position is moved to position described in the 3rd Wi-Fi hotspot, above-mentioned S81 to S83 or S2 equally can be also carried out to step approximate S4,
The Wi-Fi hotspot that its difference is simply connected changes, and its principle, step are identical.
The method of adjustment of the WiFi transmission powers of the embodiment of the present invention, gets after optimization table corresponding with positional information,
Select appropriate WiFi transmission powers to re-establish with the first Wi-Fi hotspot in WiFi transmission power optimization range values to be connected, reduce
The power consumption of mobile terminal.The WiFi module of identical first and the second WiFi module, the first WiFi moulds are configured with mobile terminals
Block transmits data with the first signal transmission rate according to the first transmission power, it is ensured that between mobile terminal and the first Wi-Fi hotspot
The transmission of high RST quality, the second WiFi module is then held consultation between the first Wi-Fi hotspot, and lookup ensure that signal
Minimum WiFi transmission power levels in the case of quality, because the presence of above-mentioned first WiFi module, is looked into the second WiFi module
When looking for the minimum WiFi transmission powers, the signal matter of data transfer between mobile terminal and the first Wi-Fi hotspot is not interfered with
Amount;When the second WiFi module finds the minimum WiFi transmission power levels, mobile terminal by the second WiFi module and/or
First WiFi module carries out transmission signal using the minimum WiFi transmission power levels, reduces power consumption.
Reference picture 2, the embodiment of the present invention also provides a kind of adjusting apparatus of WiFi transmission powers, including:
Acquiring unit 10, for the optimization table of acquisition for mobile terminal WiFi transmission powers, wherein the optimization table includes:Position
Confidence breath, Wi-Fi hotspot information, signal transmission rate, the mapping table of WiFi transmission power optimization range values;
First connection unit 20, for being built with the first Wi-Fi hotspot with the first signal transmission rate according to the first transmission power
Vertical connection;
Searching unit 30, the optimization table for inquiring about the WiFi transmission powers is obtained at the first Wi-Fi hotspot position
First signal transmission rate and WiFi transmission power optimization range values;
Second connection unit 40, for the first Wi-Fi hotspot with the first signal transmission rate according to institute's WiFi transmission powers
Optimization range value re-establishes connection.
Such as above-mentioned acquiring unit 10, above-mentioned mobile terminal is that mobile phone, intelligent watch, tablet personal computer etc. can connect WiFi
The electronic equipment of focus.The optimization table of above-mentioned WiFi transmission powers is the optimization table pre-set, and it is default in the terminal,
After the positional information that the alignment system of mobile terminal is obtained is matched with the positional information in optimization table, i.e., it can call alignment system
Also include Wi-Fi hotspot information, signal transmission rate, WiFi transmitting work(in the obtained corresponding optimization table of positional information, optimization table
Rate optimization range value etc., wherein each parameter is into corresponding relation, e.g., a certain positional information fixes the Wi-Fi hotspot letter that correspondence is specified
Breath, signal transmission rate, WiFi transmission power optimization range values etc..Above-mentioned WiFi transmission powers optimization range value is at one
Under signal transmission rate, the set for the WiFi transmission power levels that may be used, usually user are in advance to WiFi transmission powers
Value is rule of thumb or certain rule is classified, i.e., the one multiple WiFi transmission power levels of signal transmission rate correspondence, and this is multiple
WiFi transmission power levels are that can form a WiFi transmission power optimization range value, such as signal transmission rate is 2Mbps, and its is right
The WiFi transmission power levels answered can include 18dBm, 16dBm, 14dBm, wherein WiFi transmission power levels 18dBm, 16dBm,
14dBm is the WiFi transmission power optimization range value that correspondence signal transmission rate is 2Mbps.
First connection unit 20 as described above, can be with the after mobile terminal detects the WiFi signal of the first Wi-Fi hotspot
One signal transmission rate transfers data to the first Wi-Fi hotspot, and data transfer needs mobile terminal with the corresponding first transmitting work(
Rate carries out data transmission.Mobile terminal typically can maintain transmission power higher level under specified protocol speed, to protect
Demonstrate,prove the signal quality of data transfer.
Such as the above-mentioned connection unit 40 of searching unit 30 and second, mainly searched in the optimization table of correspondence position information suitable
With the first signal transmission rate with current mobile terminal and WiFi transmission power optimization range values, then in WiFi transmission powers
An appropriate WiFi transmission power is selected in optimization range value, is reconnected with the first Wi-Fi hotspot, to reduce WiFi transmittings
The consumption of power.
In reference picture 3, the present embodiment, the above-mentioned WiFi module of mobile terminal configuration first and the second WiFi module;Described
One connection unit 20, including:First link block 21, for by first WiFi module and the first WIFI hot spot with first
Signal transmission rate is set up according to the first transmission power and connected.I.e. described mobile terminal and the first WIFI hot spot First Contact Connections
When, only it is connected by the first WiFi module with the first WIFI hot spot, without using the second WiFi module, the second WiFi module is used for
Carry out searching signal quality minimum WiFi transmission power levels up to standard during following.
In reference picture 4, the present embodiment, above-mentioned second connection unit 40, including:
Subelement 41 is searched, for being looked into by second WiFi module in the WiFi transmission powers optimization range value
When looking for first Wi-Fi hotspot transmission data, signal quality minimum WiFi transmission power levels up to standard;
Closing/switching subelement 42, for closing the first WiFi module, by second WiFi module using described in most
Small WiFi transmission power levels carry out data transmission with first Wi-Fi hotspot;Or, by the transmission power of the first WiFi module
It is adjusted to the minimum WiFi transmission powers with first Wi-Fi hotspot to carry out data transmission, and closes the second WiFi module;
Or, the transmission power of the first WiFi module and the second WiFi module is adjusted to the minimum WiFi transmission powers and institute simultaneously
Wi-Fi hotspot is stated to carry out data transmission.
Subelement 41 is searched as described above, and above-mentioned signal quality is to react a whether smooth ginseng of user's browse network
Number, signal quality is higher, and user's browse network is more smooth, conversely, getting over interim card during user's browse network.Such as, sometimes, user
The full trellis state of WiFi signal, but still compare interim card when browsing webpage, and WiFi signal is in less than trellis state, but clear
Look at webpage when still than smoother, when illustrating the full lattice of WiFi signal, its signal quality is not high, and WiFi signal is in less than lattice
During state, its signal quality is higher.So, as long as it is up to standard to ensure signal quality, you can meet the demand of user, in this situation
Under, WiFi transmission power levels are lower, and consumption energy consumption is fewer.Second WiFi module is searched in WiFi transmission power optimization range values
Ensured signal quality minimum WiFi transmission power levels up to standard, and it will necessarily one by one be tested in search procedure, work as test
During the adjacent WiFi transmission power levels of two sizes, wherein launching data using a less WiFi transmission power level, it is believed
Number quality dissatisfaction, launches data its signal qualitys using a larger WiFi transmission power level up to standard, then illustrates the two
In the adjacent WiFi transmission power levels of size, larger WiFi transmission power levels are above-mentioned minimum WiFi transmission power levels.If
Only the second WiFi module, and during without above-mentioned first WiFi module, testing above-mentioned less WiFi transmission power levels or be less than
When stating less WiFi transmission power levels, its signal quality is not up to standard, will necessarily influence the use of user, and set in the present embodiment
Above-mentioned first WiFi module is put, user will not be less than above-mentioned when using above-mentioned mobile terminal because of the test of the second WiFi module
Cause signal quality not up to standard during the WiFi transmission powers of minimum WiFi transmission power levels and cause and browse the phenomenons such as webpage interim card.
Closing/switching subelement 42 is closed as described above, signal quality can be supported up to standard when the second WiFi module is found
Minimum WiFi transmission power levels, now, mobile terminal both can be by the first WiFi module or the second WiFi module with above-mentioned
Minimum WiFi transmission power levels transmission signal.Its WiFi transmission powers of the first WiFi module can be directly adjusted to it is above-mentioned most
Small WiFi transmission power levels carry out transmission signal, and now the second WiFi module can be closed, to save the energy;Or, by first
WiFi module is closed, and directly uses the minimum WiFi transmission power levels and first Wi-Fi hotspot by the second WiFi module
Carry out data transmission.After the signal transmission rate that data are transmitted with the first Wi-Fi hotspot changes, the WiFi module do not opened
Start, repeat the above steps S41-S42 the step of, with determine again correspondence change after the corresponding minimum of signal transmission rate
WiFi transmission power levels., can also be by the transmission power of the first WiFi module and the second WiFi module simultaneously in other embodiments
The minimum WiFi transmission powers are adjusted to the Wi-Fi hotspot to carry out data transmission.
In reference picture 5, the present embodiment, above-mentioned lookup subelement 41, including:
Selecting module 411, for second WiFi module, basis is pre- in the WiFi transmission powers optimization range value
If middle WiFi transmission power level corresponding WiFi transmission power of the rule selection in middle part enters line number with the Wi-Fi hotspot
According to transmission;Wherein, in the WiFi transmission powers optimization range value each WiFi transmission power levels according to from big to small or from it is small to
Big order arrangement;
Detection module 412, the signal quality for detecting data transfer between the second WiFi module and the first Wi-Fi hotspot
It is whether up to standard;
First determination module 413, if up to standard for signal quality, in the middle WiFi transmission power levels, Yi Jisuo
State in WiFi transmission power optimization range values to be less than in the middle WiFi transmission power levels and search the minimum WiFi transmittings work(
Rate value;
Second determination module 414, if below standard for signal quality, in the WiFi transmission powers optimization range value
More than searching the minimum WiFi transmission power levels in the middle WiFi transmission power levels.
WiFi transmission power levels in above-mentioned WiFi transmission powers optimization range value typically can be according to from big to small or from small
Arranged to big order, be above-mentioned minimum to facilitate the second WiFi module which WiFi transmission power level orderly tested out
WiFi transmission power levels.The WiFi transmission power levels at the middle part of above-mentioned WiFi transmission powers optimization range value, as WiFi transmittings
It is located in power optimization value range in whole WiFi transmission power levels, close to the WiFi transmission power levels of median size.Such as,
At least provided with three WiFi transmission power levels in above-mentioned WiFi transmission powers optimization range value;So selecting module 411, including:
First choice submodule, is used for, when the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value is odd number
When, the middle WiFi transmission power levels are the WiFi transmittings in middle in the WiFi transmission powers optimization range value
Performance number, specifically, WiFi transmission power optimization ranges value include 18dBm, 16dBm, 14dBm, and wherein 16dBm is WiFi transmittings
The WiFi transmission power levels at the middle part of power optimization value range.First middle part is in selection WiFi transmission power optimization range values
The corresponding WiFi transmission powers of middle WiFi transmission power levels carry out data transmission with first Wi-Fi hotspot, can be by
Each WiFi transmission powers in WiFi transmission power optimization range values are split, to determine above-mentioned minimum WiFi transmission power levels
Residing interval, such as, when carrying out transmitting data using above-mentioned middle WiFi transmission power levels, signal quality is up to standard, then says
Bright above-mentioned minimum WiFi transmission power levels are in above-mentioned middle WiFi transmission power levels, and the WiFi transmission powers optimization range
Less than in the first interval of the middle WiFi transmission power levels in value, then next can be directly in above-mentioned first interval
The minimum WiFi transmission power levels are searched, the speed searched is improved;If entered using above-mentioned middle WiFi transmission power levels
During row transmitting data, signal quality is below standard, then illustrates that above-mentioned minimum WiFi transmission power levels are in the WiFi transmission powers
More than in the second area of the middle WiFi transmission power levels in optimization range value, then next can be directly above-mentioned the
The minimum WiFi transmission power levels are searched in two intervals, the speed searched is improved.
In the present embodiment, at least provided with three WiFi transmission power levels in above-mentioned aggregate list;The selecting module 411,
Including:Second selection submodule, for being when the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value
Even number, and the current signal quality of the first WiFi module be more than/when being equal to default first threshold, the middle WiFi transmitting work(
Rate value is relatively small in two WiFi transmission power levels in middle in the WiFi transmission powers optimization range value
A WiFi transmission power level.Above-mentioned first threshold is a signal quality criterion value, if the first WiFi module and
Between one Wi-Fi hotspot current signal quality be more than/be equal to default first threshold, then illustrate the signal of present data transmission
Quality is relatively good, in this case, and barrier of data transfer etc. is less, so selecting the WiFi transmission powers optimization model
A WiFi transmission power level relatively small in two WiFi transmission power levels in middle in value is enclosed as centre
WiFi transmission power levels, may be improved more close to above-mentioned minimum WiFi transmission powers and search minimum WiFi transmission powers
Speed.
In another embodiment, at least provided with three WiFi transmission powers in above-mentioned WiFi transmission powers optimization range value
Value;The selecting module 411, including:3rd selection submodule, for as WiFi in the WiFi transmission powers optimization range value
The quantity of transmission power level be even number, and the current signal quality of the first WiFi module be less than default first threshold when, it is described
Middle WiFi transmission power levels are two WiFi transmitting work(in middle in the WiFi transmission powers optimization range value
A relatively large WiFi transmission power level in rate value.Above-mentioned first threshold is a signal quality criterion value, if the
The current signal quality of one WiFi module be more than/be equal to default first threshold, then illustrate the signal quality of present data transmission
Relatively good, in this case, barrier of data transfer etc. is more, so selecting the WiFi transmission powers optimization range value
In in two WiFi transmission power levels in middle a relatively large WiFi transmission power level sent out as middle WiFi
Performance number is penetrated, the speed for searching minimum WiFi transmission powers may be improved more close to above-mentioned minimum WiFi transmission powers.
In the present embodiment, above-mentioned first determination module 413, including:
First transmission submodule, for travel through from big to small in the WiFi transmission powers optimization range value be less than it is described in
Between WiFi transmission power levels WiFi transmission power levels, and regard the WiFi transmission power levels traversed as first object work(
Rate value, regard the first object performance number as the performance number that data are transmitted to first Wi-Fi hotspot;
First judging submodule, signal quality during for judging WiFi transmission powers for the first object performance number is
It is no up to standard;
First decision sub-module, if up to standard for signal quality, continues to travel through, if signal quality is below standard, by institute
The upper WiFi transmission power level traversed is stated to send out as the minimum WiFi for transmitting data to first Wi-Fi hotspot
Penetrate performance number.
Because launching data using above-mentioned middle WiFi transmission power levels, its signal quality is up to standard, illustrates above-mentioned centre
The not necessarily above-mentioned minimum WiFi transmission power levels of WiFi transmission power levels, so traveling through the WiFi transmittings work(from big to small
It is less than the WiFi transmission power levels of the middle WiFi transmission power levels in rate optimization range value, if current WiFi transmission powers
It is worth corresponding signal quality up to standard, then launches data, such as next WiFi transmission powers using next WiFi transmission power levels
It is worth that corresponding signal quality is not up to standard, then it is above-mentioned minimum WiFi transmission powers to assert above-mentioned current WiFi transmission power levels
Value, otherwise, continues to travel through, searching above-mentioned minimum WiFi transmission power levels can be more faster.In one embodiment, WiFi is sent out
Penetrating power optimization value range includes 18dBm, 17dBm, 16dBm, 15dBm, 14dBm, and its middle WiFi transmission power level is
16dBm, if launch data using 16dBm, signal quality is up to standard, then first test 15dBm launches data, if using 15dBm
When launching data, signal quality is up to standard, then continues to test 14dBm transmitting data, if launch data using 15dBm, signal matter
Amount is below standard, then judges 16dBm as above-mentioned minimum WiFi transmission power levels.
In the present embodiment, above-mentioned second determination module 414, including:
Second transmission submodule, for travel through from small to large in the WiFi transmission powers optimization range value be more than it is described in
Between WiFi transmission power levels WiFi transmission power levels, and regard the WiFi transmission power levels traversed as the second target work(
Rate value, regard second target power value as the performance number that data are transmitted to first Wi-Fi hotspot;
Second judging submodule, signal quality during for judging WiFi transmission powers for second target power value is
It is no up to standard;
Second decision sub-module, if up to standard for signal quality, judges second target power value as the minimum
WiFi transmission power levels;If signal quality is below standard, continue to travel through.
Because launching data using above-mentioned middle WiFi transmission power levels, its signal quality is below standard, illustrates above-mentioned centre
WiFi transmission power levels are not necessarily above-mentioned minimum WiFi transmission power levels, so traveling through the WiFi transmission powers from small to large
It is more than the WiFi transmission power levels of the middle WiFi transmission power levels in optimization range value, if current WiFi transmission power levels
Corresponding signal quality is below standard, then launches data, such as next WiFi transmission powers using next WiFi transmission power levels
It is worth that corresponding signal quality is up to standard, then it is above-mentioned minimum WiFi transmission power levels to assert above-mentioned current WiFi transmission power levels,
Otherwise, continue to travel through.In one embodiment, WiFi transmission powers optimization range value include 18dBm, 17dBm, 16dBm,
15dBm, 14dBm, its middle WiFi transmission power level are 16dBm, if launch data using 16dBm, signal quality does not reach
Mark, then first test 17dBm launches data, if launch data using 17dBm, signal quality is up to standard, then judges 17dBm to be above-mentioned
Minimum WiFi transmission power levels, if launch data using 17dBm, signal quality is below standard, then continues to test 18dBm transmitting numbers
According to.
In the present embodiment, the above-mentioned detection module 412 of institute, including:
Signal to noise ratio detection sub-module, for detecting second WiFi module to first Wi-Fi hotspot transmission data
Signal to noise ratio;
First submodule up to standard, if being more than default snr threshold for the signal to noise ratio, judges the signal matter
Amount is up to standard.
Above-mentioned signal to noise ratio (SNR or S/N:Signal-Noise Ratio) it is measurement communication system communication reliability
One the key technical indexes, refers to the ratio of signal and noise in an electronic equipment or system, and its measurement unit is dB, is led to
Cross formula 10lg (Ps/Pn) can be calculated, wherein Ps and Pn are respectively the effective power of signal and noise.Can in electronic system
It is converted into the ratio of voltage magnitude:20lg (Vs/Vn), Vs and Vn are respectively " virtual value " of signal and noise voltage.By
Above-mentioned two formula understands that signal to noise ratio is higher, illustrates that signal quality is higher.Pass through signal to noise ratio gauge signal quality, mobile terminal
The intensity level for the signal that data are transmitted to the first Wi-Fi hotspot, and detection noise intensity (generally white noise) are obtained, both
Ratio be signal to noise ratio.Above-mentioned snr threshold is generally an empirical value, the operator of mobile terminal or WiFi transmitting work(
The operator of the corresponding application program of method of adjustment of rate can preselect setting, and it can be set according to substantial amounts of test result,
Certainly, the snr threshold can also be User Defined, such as, and user is set to obtain more preferable network experience
It is higher, and user, in order to more save energy consumption, what can be set is relatively low.
In another embodiment, above-mentioned detection module 412, including:
Frame losing number detection sub-module, for detecting second WiFi module to first Wi-Fi hotspot transmission data
The frame losing number of signal;
Second submodule up to standard, if being less than default frame losing number threshold value for the frame losing number, judges the signal matter
Amount is up to standard.
Data are that unit is transmitted with frame (Frame) on network." frame " data are by frame head and frame data two
It is grouped into.Wherein, frame head includes the positioning of recipient's host-physical address and other network informations, and region frame data is then contained
One data volume.For the data volume in read data frame, identical communication protocol must be used between two communication equipments.Example
Such as, the communication protocol that internet is used is Internet protocol (IP agreement).IP data volumes include data volume head and data volume
Data field two parts.Data volume head includes IP source address, IP destination addresses, and other information, and the data field of data volume
Then include User Data Protocol (UDP), transmission control protocol (TCP), and the data containing progress information and real data
The other informations such as bag.Therefore the equipment in internet can be just in communication with each other by IP agreement.In the present embodiment, mobile terminal profit
With 802.11 networks in probe requests thereby (Probe Request) frame scan region, the work of Probe Request frames is received
Make standing-meeting and first judge that can other side add network.When all data rates required by mobile terminal supports the network, to take
Be engaged in set identifier (SSID:Service SetIdentity) show to be intended to add the network.Receive the work of Probe Request frames
Stand will with Probe Response frame responses, wherein, SSID is used for indicating the MAC Address of belonging network, i.e., we are in Wi-Fi
The APN seen before connection.In another embodiment, mobile terminal is to one Probe Request frame of surrounding broadcast,
First WIFI hot spot is received after the probe request to a Probe Respon frame of mobile terminal time, passes through the Probe
Respon frames get the frame losing number of the Probe Request frames of terminal transmission, and because mobile terminal is to the first WIFI hot spot
The signal quality parameter and the inversely proportional relation of frame losing number of data are transmitted, therefore, when frame losing number is bigger, signal quality is got over
Difference, corresponding signal quality parameter is smaller.
In another embodiment, above-mentioned detection module 412, including:
Calculating sub module, for continuously acquiring the parameter of multiple representation signal quality, and calculates multiple representation signal quality
Parameter average value;
3rd submodule up to standard, if being more than the parameter threshold of default representation signal quality for the draw value, sentences
The fixed signal quality is up to standard.
Signal quality parameter such as signal to noise ratio etc. is influenceed by factors such as environment, that is to say, that the signal quality detected every time
The value of parameter can be variant, but may change within the scope of one.Multiple signal quality ginsengs are detected under identical transmission rate
Number, calculates average value.For example, being got within the specific limits by the signal quality parameter detected under same speed for 5 times
5 signal quality parameters a, b, c, d, e of change, regard average value f=(a+b+c+d+e)/5 as the signal quality under the speed
Parameter.Judge that whether up to standard signal quality the degree of accuracy be relatively reasonable, in subsequent step, be more adapted to above-mentioned can be found
Minimum WiFi transmission power levels.
In reference picture 6, the present embodiment, the adjusting apparatus of above-mentioned WiFi transmission powers also includes:
Alternate cells 50, for entering the second Wi-Fi hotspot radiation scope and the first WiFi heat when the mobile terminal
When in point radiation scope intersection region, the corresponding optimization table of the second Wi-Fi hotspot is obtained;
Comparing unit 60, it is corresponding excellent for comparing the corresponding optimization table of the second Wi-Fi hotspot and the first Wi-Fi hotspot
Change table;
Selecting unit 70, for being chosen whether to stop being connected with the first Wi-Fi hotspot according to comparative result;
Alternately connection unit 80, if stopping being connected with the first Wi-Fi hotspot for selection, is connected with the second Wi-Fi hotspot.
Mobile terminal is intersected in region into the second Wi-Fi hotspot radiation scope with the first Wi-Fi hotspot radiation scope
When the course of work, mobile terminal can first compare the corresponding optimization table of the second Wi-Fi hotspot and the first Wi-Fi hotspot is corresponding
Optimize table, if the data of the corresponding optimization table of the first Wi-Fi hotspot are more excellent, continuation is connected with the first Wi-Fi hotspot, if the
The data of the corresponding optimization table of two Wi-Fi hotspots are more excellent, then selection is connected with the second wifi hotspot, is disconnected with the first Wi-Fi hotspot.
In the present embodiment, above-mentioned alternately connection unit 80, including:
First connection subelement 81, for the second Wi-Fi hotspot with secondary signal transmission rate according to the second transmission power
Set up connection;
Subelement 82 is searched, the optimization table corresponding for inquiring about the 2nd WiFi obtains the second Wi-Fi hotspot position
The secondary signal transmission rate and WiFi transmission power optimization range values at place;
Second connection subelement 83, for being sent out with the second Wi-Fi hotspot with secondary signal transmission rate according to the WiFi
Penetrate power optimization value range and re-establish connection.
The first connection subelement 81, the lookup connection subelement 83 of subelement 82 and second, connect with above-mentioned first as described above
Order member 20, the function phase of the connection unit 40 of searching unit 30 and second are same, and the Wi-Fi hotspot simply connected enters line translation, from even
The first Wi-Fi hotspot is connect to be changed into connecting the second Wi-Fi hotspot.
The adjusting apparatus of the WiFi transmission powers of the embodiment of the present invention, gets optimization table corresponding with positional information
Afterwards, select appropriate WiFi transmission powers to re-establish with the first Wi-Fi hotspot in WiFi transmission power optimization range values to be connected,
Reduce the power consumption of mobile terminal.The WiFi module of identical first and the second WiFi module, first are configured with mobile terminals
WiFi module transmits data with the first signal transmission rate according to the first transmission power, it is ensured that mobile terminal and the first Wi-Fi hotspot
Between high RST quality transmission, the second WiFi module then held consultation between the first Wi-Fi hotspot, and lookup can protected
The minimum WiFi transmission power levels in the case of signal quality are demonstrate,proved, because the presence of above-mentioned first WiFi module, in the 2nd WiFi
Described in module searches during minimum WiFi transmission powers, the letter of data transfer between mobile terminal and the first Wi-Fi hotspot is not interfered with
Number quality;When the second WiFi module finds the minimum WiFi transmission power levels, mobile terminal passes through the second WiFi module
And/or first WiFi module carry out transmission signal using the minimum WiFi transmission power levels, reduce power consumption.
A kind of mobile terminal, including processor 1180 and memory 1120 are also provided in reference picture 7, the embodiment of the present invention;
The memory 1120 is used to store the tune for supporting WiFi transmission powers dynamic adjusting device to perform above-mentioned WiFi transmission powers
The program of adjusting method;The processor 1180 is configurable for performing the program stored in the memory.
For convenience of description, the part related to the embodiment of the present invention is illustrate only, particular technique details is not disclosed, please
With reference to present invention method part.The mobile terminal can be to include mobile phone, tablet personal computer, PDA (Personal
DigitalAssistant, personal digital assistant), POS (Point ofSales, point-of-sale terminal), any terminal such as vehicle-mounted computer
Equipment, so that mobile terminal is mobile phone as an example:
Fig. 7 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng
Fig. 7 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1110, memory 1120, input block 1130, display
Unit 1140, sensor 1150, voicefrequency circuit 1160, Wireless Fidelity (wireless fidelity, WiFi) module 1170, place
Manage the part such as device 1180 and power supply 1190.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 not structure
The restriction of paired mobile phone, can include than illustrating more or less parts, either combine some parts or different parts
Arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 7:
RF circuits 1110 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, handled to processor 1180;In addition, being sent to base station by up data are designed.Generally, RF circuits
1110 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier
(LowNoiseAmplifier, LNA), duplexer etc..In addition, RF circuits 1110 can also pass through radio communication and network and its
His equipment communication.Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile telecommunications system
Unite (Global System of Mobile communication, GSM), general packet radio service (General Packet
Radio Service, GPRS), CDMA (Code Division MultipleAccess, CDMA), WCDMA
(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,
LTE), Email, Short Message Service (ShortMessaging Service, SMS) etc..
Memory 1120 can be used for storage software program and module, and processor 1180 is stored in memory by operation
1120 software program and module, so as to perform various function application and the data processing of mobile phone.Memory 1120 can be led
To include storing program area and storage data field, wherein, storing program area can be needed for storage program area, at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use institute according to mobile phone
Data (such as voice data, phone directory etc.) of establishment etc..In addition, memory 1120 can include high random access storage
Device, can also include nonvolatile memory, and for example, at least one disk memory, flush memory device or other volatibility are solid
State memory device.
Input block 1130 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with
And the relevant key signals input of function control.Specifically, input block 1130 may include contact panel 1131 and other inputs
Equipment 1132.Contact panel 1131, also referred to as touch-screen, collect touch operation (such as user of the user on or near it
Use the behaviour of any suitable object such as finger, stylus or annex on contact panel 1131 or near contact panel 1131
Make), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1131 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 1180, and the order sent of reception processing device 1180 and can be performed.In addition,
Contact panel 1131 can be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch surface
Plate 1131, input block 1130 can also include other input equipments 1132.Specifically, other input equipments 1132 can include
But it is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
It is one or more.
Display unit 1140 can be used for each of the information that is inputted by user of display or the information for being supplied to user and mobile phone
Plant menu.Display unit 1140 may include display panel 1141, optionally, can use liquid crystal display (Liquid
Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 1141.Further, contact panel 1131 can cover display panel 1141, when contact panel 1131 is detected
To after the touch operation on or near it, processor 1180 is sent to determine the type of touch event, with preprocessor
1180 provide corresponding visual output according to the type of touch event on display panel 1141.Although in the figure 7, contact panel
1131 and display panel 1141 are input and the input function that mobile phone is realized as two independent parts, but in some realities
Apply in example, can be by contact panel 1131 and the input that is integrated and realizing mobile phone of display panel 1141 and output function.
Mobile phone may also include at least one sensor 1150, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 1141, proximity transducer can close display panel when mobile phone is moved in one's ear
1141 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and add
The size of speed, can detect that size and the direction of gravity when static, application (the such as horizontal/vertical screen available for identification mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 1160, loudspeaker 1161, microphone 1162 can provide the COBBAIF between user and mobile phone.Audio
Electric signal after the voice data received conversion can be transferred to loudspeaker 1161, is changed by loudspeaker 1161 by circuit 1160
Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 1162, by voicefrequency circuit 1160
Voice data is converted to after reception, then after voice data output processor 1180 is handled, through RF circuits 1110 to be sent to ratio
Such as another mobile phone, or voice data is exported to memory 1120 so as to further processing.
WiFi belongs to short range wireless transmission technology, and the present embodiment includes two, i.e. the first WiFi module 1171 and
Two WiFi modules 1172, mobile phone can help user to send and receive e-mail, browse webpage and access streaming matchmaker by WiFi module
Body etc., it has provided the user wireless broadband internet and accessed.
Processor 1180 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone,
By operation or perform and be stored in software program and/or module in memory 1120, and call and be stored in memory 1120
Interior data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor
1180 may include one or more processing units;It is preferred that, processor 1180 can integrated application processor and modulation /demodulation processing
Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located
Manage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1180.
Mobile phone also includes the power supply 1190 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply
Management system and processor 1180 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system
The functions such as reason.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
Reference picture 7, in embodiments of the present invention, the processor 1180 included by the mobile terminal also have following functions:
The optimization table of acquisition for mobile terminal WiFi transmission powers, wherein the optimization table includes:Positional information, Wi-Fi hotspot
Information, signal transmission rate, the mapping table of WiFi transmission power optimization range values;
Set up and be connected according to the first transmission power with the first signal transmission rate with the first Wi-Fi hotspot;
The optimization table of the WiFi transmission powers is inquired about, the first signal transmission rate at the first Wi-Fi hotspot position is obtained
With WiFi transmission power optimization range values;
Re-established with the first Wi-Fi hotspot with the first signal transmission rate according to institute WiFi transmission power optimization range values
Connection.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is
The hardware of correlation is instructed to complete by program, described program can be stored in a kind of computer-readable recording medium, on
It can be read-only storage, disk or CD etc. to state the storage medium mentioned.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, be included within the scope of the present invention.
The present invention is also provided:A1, a kind of method of adjustment of WiFi transmission powers, including:
The optimization table of acquisition for mobile terminal WiFi transmission powers, wherein the optimization table includes:Positional information, Wi-Fi hotspot
Information, signal transmission rate, the mapping table of WiFi transmission power optimization range values;
Set up and be connected according to the first transmission power with the first signal transmission rate with the first Wi-Fi hotspot;
The optimization table of the WiFi transmission powers is inquired about, the first signal transmission rate at the first Wi-Fi hotspot position is obtained
With WiFi transmission power optimization range values;
Re-established with the first Wi-Fi hotspot with the first signal transmission rate according to institute WiFi transmission power optimization range values
Connection.
A2, WiFi transmission powers according to A1 method of adjustment, the WiFi module of mobile terminal configuration first and
Second WiFi module;It is described that the step being connected is set up according to the first transmission power with the first signal transmission rate with the first WIFI hot spot
Suddenly, including:
By first WiFi module and the first WIFI hot spot with the first signal transmission rate according to the first transmission power
Set up connection.
A3, WiFi transmission powers according to A2 method of adjustment, it is described to be passed with the first WIFI hot spot with the first signal
The step of defeated speed re-establishes connection according to the WiFi transmission powers optimization range value, including:
Searched by second WiFi module in the WiFi transmission powers optimization range value to the first WiFi
When focus transmits data, signal quality minimum WiFi transmission power levels up to standard;
Close the first WiFi module, by second WiFi module using the minimum WiFi transmission power levels with it is described
First Wi-Fi hotspot carries out data transmission;Or, the transmission power adjustment of the first WiFi module is launched for the minimum WiFi
Power carries out data transmission with first Wi-Fi hotspot, and closes the second WiFi module;Or, by the first WiFi module and
The transmission power of two WiFi modules is adjusted to the minimum WiFi transmission powers simultaneously and carried out data transmission with the Wi-Fi hotspot.
A4, WiFi transmission powers according to A3 method of adjustment, it is described by second WiFi module described
When being searched in WiFi transmission power optimization range values to first Wi-Fi hotspot transmission data, signal quality minimum up to standard
The step of WiFi transmission power levels, including:
During second WiFi module is in the WiFi transmission powers optimization range value according to preset rules selection
The corresponding WiFi transmission powers of middle WiFi transmission power levels and first Wi-Fi hotspot in portion carry out data transmission;Wherein,
Each WiFi transmission power levels are arranged according to order from big to small or from small to large in the WiFi transmission powers optimization range value;
Detect whether the signal quality of data transfer between the second WiFi module and the first Wi-Fi hotspot is up to standard;
It is medium and small in the middle WiFi transmission power levels, and WiFi transmission powers optimization range value if up to standard
The minimum WiFi transmission power levels are searched in the middle WiFi transmission power levels;
If below standard, it is more than in the WiFi transmission powers optimization range value in the middle WiFi transmission power levels
Search the minimum WiFi transmission power levels.
In A5, WiFi transmission powers according to A4 method of adjustment, the WiFi transmission powers optimization range value extremely
Three WiFi transmission power levels are set less;
When the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value is odd number, the centre
WiFi transmission power levels are the WiFi transmission power levels in middle in the WiFi transmission powers optimization range value.
In A6, WiFi transmission powers according to A4 method of adjustment, the WiFi transmission powers optimization range value extremely
Three WiFi transmission power levels are set less;
When the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value is even number, and the first WiFi moulds
Between block and the first Wi-Fi hotspot current signal quality be more than/when being equal to default first threshold, the middle WiFi transmitting
Performance number is to be in the WiFi transmission powers optimization range value in two WiFi transmission power levels of middle relatively
A small WiFi transmission power level.
In A7, WiFi transmission powers according to A4 method of adjustment, the WiFi transmission powers optimization range value extremely
Three WiFi transmission power levels are set less;
When the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value is even number, and the first WiFi moulds
When current signal quality is less than default first threshold between block and the first Wi-Fi hotspot, the middle WiFi transmission power levels
For in two WiFi transmission power levels in middle in the WiFi transmission powers optimization range value relatively large one
Individual WiFi transmission power levels.
A8, WiFi transmission powers according to A4 method of adjustment, if described up to standard, launch in the middle WiFi
It is less than in performance number, and the WiFi transmission powers optimization range value in the middle WiFi transmission power levels described in searching most
The step of small WiFi transmission power levels, including:
Travel through from big to small in the WiFi transmission powers optimization range value less than the middle WiFi transmission power levels
WiFi transmission power levels, and using the WiFi transmission power levels traversed as first object performance number, by first mesh
Performance number is marked as the performance number that data are transmitted to first Wi-Fi hotspot;
Whether signal quality when judging WiFi transmission powers for the first object performance number is up to standard;
If so, then continue to travel through, if it is not, then using the upper WiFi transmission power level traversed as to described the
One Wi-Fi hotspot transmits the minimum WiFi transmission power levels of data.
A9, WiFi transmission powers according to A4 method of adjustment, if described below standard, work(is launched in the WiFi
It is more than the step of searching the minimum WiFi transmission power levels in the middle WiFi transmission power levels, bag in rate optimization range value
Include:
Travel through from small to large in the WiFi transmission powers optimization range value more than the middle WiFi transmission power levels
WiFi transmission power levels, and using the WiFi transmission power levels traversed as the second target power value, by second mesh
Performance number is marked as the performance number that data are transmitted to first Wi-Fi hotspot;
Whether signal quality when judging WiFi transmission powers for second target power value is up to standard;
If so, then judging second target power value as the minimum WiFi transmission power levels;If it is not, then continuation time
Go through.
A10, WiFi transmission powers according to any one of A4-A9 method of adjustment, the WiFi moulds of detection the 2nd
The signal quality of data transfer step whether up to standard between block and the first Wi-Fi hotspot, including:
Detect that second WiFi module transmits the signal to noise ratio of data to first Wi-Fi hotspot;
If the signal to noise ratio is more than default snr threshold, judge that the signal quality is up to standard.
A11, WiFi transmission powers according to any one of A4-A9 method of adjustment, the WiFi moulds of detection the 2nd
The signal quality of data transfer step whether up to standard between block and Wi-Fi hotspot, including:
Detect that second WiFi module transmits the frame losing number of the signal of data to first Wi-Fi hotspot;
If the frame losing number is less than default frame losing number threshold value, judge that the signal quality is up to standard.
A12, WiFi transmission powers according to any one of A4-A9 method of adjustment, the WiFi moulds of detection the 2nd
The signal quality of data transfer step whether up to standard between block and the first Wi-Fi hotspot, including:
The parameter of multiple representation signal quality is continuously acquired, and calculates the average value of the parameter of multiple representation signal quality;
If the draw value is more than the parameter threshold of default representation signal quality, judge that the signal quality is up to standard.
A13, WiFi transmission powers according to any one of A1-A9 method of adjustment, it is described with the first Wi-Fi hotspot
After the step of connection being re-established with the first signal transmission rate according to the WiFi transmission powers optimization range value, including:
When the mobile terminal is intersected into the second Wi-Fi hotspot radiation scope with the first Wi-Fi hotspot radiation scope
When in region, the corresponding optimization table of the second Wi-Fi hotspot is obtained;
Compare the corresponding optimization table of the second Wi-Fi hotspot and the corresponding optimization table of the first Wi-Fi hotspot;
Chosen whether to stop being connected with the first Wi-Fi hotspot according to comparative result;
If selection stops being connected with the first Wi-Fi hotspot, it is connected with the second Wi-Fi hotspot.
A14, WiFi transmission powers according to A13 method of adjustment, if the selection stops and the first Wi-Fi hotspot
Connection, then the step of being connected with the second Wi-Fi hotspot, including:
Set up and be connected according to the second transmission power with secondary signal transmission rate with the second Wi-Fi hotspot;
The corresponding optimization tables of the 2nd WiFi are inquired about, the secondary signal transmission speed at the second Wi-Fi hotspot position is obtained
Rate and WiFi transmission power optimization range values;
Built again according to the WiFi transmission powers optimization range value with secondary signal transmission rate with the second Wi-Fi hotspot
Vertical connection.
B1, a kind of adjusting apparatus of WiFi transmission powers, including:
Acquiring unit, for the optimization table of acquisition for mobile terminal WiFi transmission powers, wherein the optimization table includes:Position
Information, Wi-Fi hotspot information, signal transmission rate, the mapping table of WiFi transmission power optimization range values;
First connection unit, for being set up with the first Wi-Fi hotspot with the first signal transmission rate according to the first transmission power
Connection;
Searching unit, the optimization table for inquiring about the WiFi transmission powers obtains the at the first Wi-Fi hotspot position
One signal transmission rate and WiFi transmission power optimization range values;
Second connection unit, for excellent according to institute's WiFi transmission powers with the first signal transmission rate with the first Wi-Fi hotspot
Change value range and re-establish connection.
B2, WiFi transmission powers according to B1 adjusting apparatus, the WiFi module of mobile terminal configuration first and
Second WiFi module;First connection unit, including:
First link block, for by first WiFi module and the first WIFI hot spot with the first signal transmission rate
Set up and connect according to the first transmission power.
B3, WiFi transmission powers according to B2 adjusting apparatus, second connection unit, including:
Subelement is searched, for being searched by second WiFi module in the WiFi transmission powers optimization range value
When transmitting data to first Wi-Fi hotspot, signal quality minimum WiFi transmission power levels up to standard;
Closing/switching subelement, for closing the first WiFi module, the minimum is used by second WiFi module
WiFi transmission power levels carry out data transmission with first Wi-Fi hotspot;Or, the transmission power of the first WiFi module is adjusted
Save and carry out data transmission for the minimum WiFi transmission powers and first Wi-Fi hotspot, and close the second WiFi module;Or
Person, by the transmission power of the first WiFi module and the second WiFi module simultaneously be adjusted to the minimum WiFi transmission powers with it is described
Wi-Fi hotspot carries out data transmission.
B4, WiFi transmission powers according to 11 adjusting apparatus, the lookup subelement, including:
Selecting module, is advised for second WiFi module in the WiFi transmission powers optimization range value according to default
Then middle WiFi transmission power level corresponding WiFi transmission power of the selection in middle part carries out data biography with the Wi-Fi hotspot
It is defeated;Wherein, in the WiFi transmission powers optimization range value each WiFi transmission power levels according to from big to small or from small to large
Order is arranged;
Detection module, for detect data transfer between the second WiFi module and the first Wi-Fi hotspot signal quality whether
It is up to standard;
First determination module, if up to standard for signal quality, in the middle WiFi transmission power levels, and it is described
It is less than in WiFi transmission power optimization range values in the middle WiFi transmission power levels and searches the minimum WiFi transmission powers
Value;
Second determination module is big in the WiFi transmission powers optimization range value if below standard for signal quality
The minimum WiFi transmission power levels are searched in the middle WiFi transmission power levels.
In B5, WiFi transmission powers according to B4 adjusting apparatus, the WiFi transmission powers optimization range value extremely
Three WiFi transmission power levels are set less;The selecting module, including:
First choice submodule, for when the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value
During for odd number, the middle WiFi transmission power levels are in middle in the WiFi transmission powers optimization range value
WiFi transmission power levels.
In B6, WiFi transmission powers according to B4 adjusting apparatus, the WiFi transmission powers optimization range value extremely
Three WiFi transmission power levels are set less;The selecting module, including:
Second selection submodule, for when the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value
For even number, and the current signal quality of the first WiFi module be more than/when being equal to default first threshold, the middle WiFi transmittings
Performance number is to be in the WiFi transmission powers optimization range value in two WiFi transmission power levels of middle relatively
A small WiFi transmission power level.
In B7, WiFi transmission powers according to B4 adjusting apparatus, the WiFi transmission powers optimization range value extremely
Three WiFi transmission power levels are set less;The selecting module, including:
3rd selection submodule, for when the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value
For even number, and the first WiFi module current signal quality is when being less than default first threshold, the middle WiFi transmission powers
It is worth to be relatively large in two WiFi transmission power levels in middle in the WiFi transmission powers optimization range value
One WiFi transmission power level.
B8, WiFi transmission powers according to B4 adjusting apparatus, first determination module, including:
First transmission submodule, for travel through from big to small in the WiFi transmission powers optimization range value be less than it is described in
Between WiFi transmission power levels WiFi transmission power levels, and regard the WiFi transmission power levels traversed as first object work(
Rate value, regard the first object performance number as the performance number that data are transmitted to first Wi-Fi hotspot;
First judging submodule, signal quality during for judging WiFi transmission powers for the first object performance number is
It is no up to standard;
First decision sub-module, if up to standard for signal quality, continues to travel through, if signal quality is below standard, by institute
The upper WiFi transmission power level traversed is stated to send out as the minimum WiFi for transmitting data to first Wi-Fi hotspot
Penetrate performance number.
B9, WiFi transmission powers according to B4 adjusting apparatus, second determination module, including:
Second transmission submodule, for travel through from small to large in the WiFi transmission powers optimization range value be more than it is described in
Between WiFi transmission power levels WiFi transmission power levels, and regard the WiFi transmission power levels traversed as the second target work(
Rate value, regard second target power value as the performance number that data are transmitted to first Wi-Fi hotspot;
Second judging submodule, signal quality during for judging WiFi transmission powers for second target power value is
It is no up to standard;
Second decision sub-module, if up to standard for signal quality, judges second target power value as the minimum
WiFi transmission power levels;If signal quality is below standard, continue to travel through.
B10, WiFi transmission powers according to any one of B4-B9 adjusting apparatus, the detection module, including:
Signal to noise ratio detection sub-module, for detecting second WiFi module to first Wi-Fi hotspot transmission data
Signal to noise ratio;
First submodule up to standard, if being more than default snr threshold for the signal to noise ratio, judges the signal matter
Amount is up to standard.
B11, WiFi transmission powers according to any one of B4-B9 adjusting apparatus, the detection module, including:
Frame losing number detection sub-module, for detecting second WiFi module to first Wi-Fi hotspot transmission data
The frame losing number of signal;
Second submodule up to standard, if being less than default frame losing number threshold value for the frame losing number, judges the signal matter
Amount is up to standard.
B12, WiFi transmission powers according to any one of B4-B9 adjusting apparatus, the detection module, including:
Calculating sub module, for continuously acquiring the parameter of multiple representation signal quality, and calculates multiple representation signal quality
Parameter average value;
3rd submodule up to standard, if being more than the parameter threshold of default representation signal quality for the draw value, sentences
The fixed signal quality is up to standard.
B13, WiFi transmission powers according to any one of B1-B9 adjusting apparatus, in addition to:
Alternate cells, for entering the second Wi-Fi hotspot radiation scope and first Wi-Fi hotspot when the mobile terminal
When in radiation scope intersection region, the corresponding optimization table of the second Wi-Fi hotspot is obtained;
Comparing unit, for comparing the corresponding optimization table of the second Wi-Fi hotspot and the corresponding optimization of the first Wi-Fi hotspot
Table;
Selecting unit, for being chosen whether to stop being connected with the first Wi-Fi hotspot according to comparative result;
Alternately connection unit, if stopping being connected with the first Wi-Fi hotspot for selection, is connected with the second Wi-Fi hotspot.
B14, WiFi transmission powers according to B13 adjusting apparatus, the alternately connection unit, including:
First connection subelement, for being built with the second Wi-Fi hotspot with secondary signal transmission rate according to the second transmission power
Vertical connection;
Subelement is searched, the optimization table corresponding for inquiring about the 2nd WiFi is obtained at the second Wi-Fi hotspot position
Secondary signal transmission rate and WiFi transmission power optimization range values;
Second connection subelement, for launching work(according to the WiFi with the second Wi-Fi hotspot with secondary signal transmission rate
Rate optimization range value re-establishes connection.
C1, a kind of mobile terminal, including processor and memory;
The memory is used to store the WiFi any one of the adjusting apparatus execution A1-A14 of WiFi transmission powers
The program of the adjustment adjusting method of transmission power;
The processor is configurable for performing the program stored in the memory.
Claims (10)
1. a kind of method of adjustment of WiFi transmission powers, including:
The optimization table of acquisition for mobile terminal WiFi transmission powers, wherein the optimization table includes:Positional information, Wi-Fi hotspot letter
Breath, signal transmission rate, the mapping table of WiFi transmission power optimization range values;
Set up and be connected according to the first transmission power with the first signal transmission rate with the first Wi-Fi hotspot;
Inquire about the optimization table of the WiFi transmission powers, obtain the first signal transmission rate at the first Wi-Fi hotspot position and
WiFi transmission power optimization range values;
Re-established and be connected according to institute WiFi transmission power optimization range values with the first signal transmission rate with the first Wi-Fi hotspot.
2. the method for adjustment of WiFi transmission powers according to claim 1, it is characterised in that the mobile terminal configuration
One WiFi module and the second WiFi module;Described and the first WIFI hot spot is with the first signal transmission rate according to the first transmission power
The step of setting up connection, including:
Set up by first WiFi module and the first WIFI hot spot with the first signal transmission rate according to the first transmission power
Connection.
3. the method for adjustment of WiFi transmission powers according to claim 2, it is characterised in that described and the first WIFI hot spot
The step of connection is re-established according to the WiFi transmission powers optimization range value with the first signal transmission rate, including:
Searched by second WiFi module in the WiFi transmission powers optimization range value to first Wi-Fi hotspot
When transmitting data, signal quality minimum WiFi transmission power levels up to standard;
The first WiFi module is closed, the minimum WiFi transmission power levels and described first are used by second WiFi module
Wi-Fi hotspot carries out data transmission;Or, it is the minimum WiFi transmission powers by the transmission power adjustment of the first WiFi module
Carry out data transmission with first Wi-Fi hotspot, and close the second WiFi module;Or, by the first WiFi module and second
The transmission power of WiFi module is adjusted to the minimum WiFi transmission powers simultaneously and carried out data transmission with the Wi-Fi hotspot.
4. the method for adjustment of WiFi transmission powers according to claim 3, it is characterised in that described to pass through described second
When WiFi module is searched in the WiFi transmission powers optimization range value to first Wi-Fi hotspot transmission data, signal matter
The step of measuring minimum WiFi transmission power levels up to standard, including:
Second WiFi module is selected in middle part in the WiFi transmission powers optimization range value according to preset rules
The corresponding WiFi transmission powers of middle WiFi transmission power levels carry out data transmission with first Wi-Fi hotspot;Wherein, it is described
Each WiFi transmission power levels are arranged according to order from big to small or from small to large in WiFi transmission power optimization range values;
Detect whether the signal quality of data transfer between the second WiFi module and the first Wi-Fi hotspot is up to standard;
If up to standard, institute is less than in the middle WiFi transmission power levels, and the WiFi transmission powers optimization range value
State and the minimum WiFi transmission power levels are searched in middle WiFi transmission power levels;
If below standard, it is more than in the WiFi transmission powers optimization range value in the middle WiFi transmission power levels and searches
The minimum WiFi transmission power levels.
5. the method for adjustment of WiFi transmission powers according to claim 4, it is characterised in that the WiFi transmission powers are excellent
Change in value range at least provided with three WiFi transmission power levels;
When the quantity of WiFi transmission power levels in the WiFi transmission powers optimization range value is odd number, the middle WiFi hairs
Performance number is penetrated to be in the WiFi transmission power levels of middle in the WiFi transmission powers optimization range value.
6. the method for adjustment of WiFi transmission powers according to claim 4, it is characterised in that the WiFi transmission powers are excellent
Change in value range at least provided with three WiFi transmission power levels;
When WiFi transmission power levels in the WiFi transmission powers optimization range value quantity be even number, and the first WiFi module with
Between first Wi-Fi hotspot current signal quality be more than/be equal to default first threshold when, the middle WiFi transmission powers
It is worth to be relatively small in two WiFi transmission power levels in middle in the WiFi transmission powers optimization range value
One WiFi transmission power level.
7. the method for adjustment of WiFi transmission powers according to claim 4, it is characterised in that the WiFi transmission powers are excellent
Change in value range at least provided with three WiFi transmission power levels;
When WiFi transmission power levels in the WiFi transmission powers optimization range value quantity be even number, and the first WiFi module with
Between first Wi-Fi hotspot current signal quality be less than default first threshold when, the middle WiFi transmission power levels be
One relatively large in two WiFi transmission power levels in middle in the WiFi transmission powers optimization range value
WiFi transmission power levels.
8. the method for adjustment of WiFi transmission powers according to claim 4, it is characterised in that if described up to standard, in institute
State and be less than the middle WiFi transmission powers in middle WiFi transmission power levels, and the WiFi transmission powers optimization range value
The step of minimum WiFi transmission power levels are searched in value, including:
The WiFi for being less than the middle WiFi transmission power levels in the WiFi transmission powers optimization range value is traveled through from big to small
Transmission power level, and using the WiFi transmission power levels traversed as first object performance number, by the first object work(
Rate value is used as the performance number that data are transmitted to first Wi-Fi hotspot;
Whether signal quality when judging WiFi transmission powers for the first object performance number is up to standard;
If so, then continuing to travel through, if it is not, then using the upper WiFi transmission power level traversed as to described first
Wi-Fi hotspot transmits the minimum WiFi transmission power levels of data.
9. a kind of adjusting apparatus of WiFi transmission powers, including:
Acquiring unit, for the optimization table of acquisition for mobile terminal WiFi transmission powers, wherein the optimization table includes:Believe position
Breath, Wi-Fi hotspot information, signal transmission rate, the mapping table of WiFi transmission power optimization range values;
First connection unit, connects for being set up with the first Wi-Fi hotspot with the first signal transmission rate according to the first transmission power
Connect;
Searching unit, the optimization table for inquiring about the WiFi transmission powers obtains the first letter at the first Wi-Fi hotspot position
Number transmission rate and WiFi transmission power optimization range values;
Second connection unit, for optimizing model according to institute's WiFi transmission powers with the first Wi-Fi hotspot with the first signal transmission rate
Enclose value and re-establish connection.
10. a kind of mobile terminal, it is characterised in that including processor and memory;
The memory is used to store the WiFi any one of the adjusting apparatus perform claim requirement 1-8 of WiFi transmission powers
The program of the adjustment adjusting method of transmission power;
The processor is configurable for performing the program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710349283.4A CN107172702B (en) | 2017-05-17 | 2017-05-17 | Mobile terminal and WiFi transmission power adjusting method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710349283.4A CN107172702B (en) | 2017-05-17 | 2017-05-17 | Mobile terminal and WiFi transmission power adjusting method and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107172702A true CN107172702A (en) | 2017-09-15 |
CN107172702B CN107172702B (en) | 2021-06-15 |
Family
ID=59815103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710349283.4A Active CN107172702B (en) | 2017-05-17 | 2017-05-17 | Mobile terminal and WiFi transmission power adjusting method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107172702B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111034162A (en) * | 2018-04-20 | 2020-04-17 | 华为技术有限公司 | Method and equipment for reducing specific absorption rate of electromagnetic radiation |
WO2020102928A1 (en) * | 2018-11-19 | 2020-05-28 | 深圳市欢太科技有限公司 | Wireless signal transmission method, wireless signal transmission device and terminal device |
CN112203244A (en) * | 2019-01-14 | 2021-01-08 | Oppo广东移动通信有限公司 | Call processing method and related product |
CN114339970A (en) * | 2021-12-28 | 2022-04-12 | 杭州涂鸦信息技术有限公司 | Low-power-consumption WiFi networking transmission method and device and storage medium |
WO2023065660A1 (en) * | 2021-10-18 | 2023-04-27 | 西安广和通无线软件有限公司 | Power adjustment method and apparatus, terminal device, and storage medium |
CN116347569A (en) * | 2022-10-09 | 2023-06-27 | 荣耀终端有限公司 | Data transmission method, program product and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003039024A2 (en) * | 2001-10-31 | 2003-05-08 | Nokia Corporation | Downlink power control |
CN103415066A (en) * | 2013-08-12 | 2013-11-27 | 惠州Tcl移动通信有限公司 | Adjustment method and terminal for WIFI transmission power |
CN105208645A (en) * | 2015-10-30 | 2015-12-30 | 东莞酷派软件技术有限公司 | WiFi transmission power value regulation method and device |
CN105392162A (en) * | 2015-10-28 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method and device of WiFi power dynamic adjustment and mobile terminal |
-
2017
- 2017-05-17 CN CN201710349283.4A patent/CN107172702B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003039024A2 (en) * | 2001-10-31 | 2003-05-08 | Nokia Corporation | Downlink power control |
CN103415066A (en) * | 2013-08-12 | 2013-11-27 | 惠州Tcl移动通信有限公司 | Adjustment method and terminal for WIFI transmission power |
CN105392162A (en) * | 2015-10-28 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method and device of WiFi power dynamic adjustment and mobile terminal |
CN105208645A (en) * | 2015-10-30 | 2015-12-30 | 东莞酷派软件技术有限公司 | WiFi transmission power value regulation method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111034162A (en) * | 2018-04-20 | 2020-04-17 | 华为技术有限公司 | Method and equipment for reducing specific absorption rate of electromagnetic radiation |
US11115073B2 (en) | 2018-04-20 | 2021-09-07 | Huawei Technologies Co., Ltd. | Method and device for decreasing electromagnetic radiation specific absorption rate |
WO2020102928A1 (en) * | 2018-11-19 | 2020-05-28 | 深圳市欢太科技有限公司 | Wireless signal transmission method, wireless signal transmission device and terminal device |
CN112203244A (en) * | 2019-01-14 | 2021-01-08 | Oppo广东移动通信有限公司 | Call processing method and related product |
WO2023065660A1 (en) * | 2021-10-18 | 2023-04-27 | 西安广和通无线软件有限公司 | Power adjustment method and apparatus, terminal device, and storage medium |
CN114339970A (en) * | 2021-12-28 | 2022-04-12 | 杭州涂鸦信息技术有限公司 | Low-power-consumption WiFi networking transmission method and device and storage medium |
CN116347569A (en) * | 2022-10-09 | 2023-06-27 | 荣耀终端有限公司 | Data transmission method, program product and electronic device |
CN116347569B (en) * | 2022-10-09 | 2024-03-15 | 荣耀终端有限公司 | Data transmission method, program product and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107172702B (en) | 2021-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107172702A (en) | The method of adjustment and device of mobile terminal and its WiFi transmission powers | |
CN106686626B (en) | The setting method and terminal device of WiFi roaming | |
CN108196778A (en) | Control method, mobile terminal and the computer readable storage medium of screen state | |
CN107342801A (en) | A kind of wave beam processing method, user equipment and base station | |
CN104426919B (en) | Page sharing method, apparatus and system | |
CN110035447A (en) | A kind of measuring configuration method and terminal device | |
CN111770529B (en) | Method for processing relaxation measurement parameter update, terminal device and storage medium | |
CN106160894A (en) | A kind of signal intensity reminding method, device and terminal unit | |
CN106331359B (en) | A kind of speech signal collection method, device and terminal | |
CN108562890B (en) | Method and device for calibrating ultrasonic characteristic value and computer readable storage medium | |
WO2018119805A1 (en) | Method and device for adjusting network selection parameter of mobile phone | |
CN108563499A (en) | CDN server switching method, mobile terminal and computer readable storage medium | |
CN107182097A (en) | A kind of method for switching network, terminal and computer-readable recording medium | |
CN108684068A (en) | network search method, mobile terminal and computer readable storage medium | |
CN106330211B (en) | LTE Frequency Band Selection method and apparatus | |
CN107124557A (en) | Focusing method, device, computer-readable recording medium and terminal | |
CN108112028B (en) | Network searching method and equipment for international roaming | |
CN106454976B (en) | A kind of switching method of wireless network, device and terminal | |
CN107734586A (en) | The switching method and mobile terminal of antenna | |
CN108052352A (en) | Control method, terminal and the computer readable storage medium of screen on-off state | |
CN104951637B (en) | A kind of method and device for obtaining training parameter | |
CN108307483A (en) | wireless network connecting method and mobile terminal | |
CN107197470A (en) | Wireless network connecting method, mobile terminal and computer-readable recording medium | |
CN106793010A (en) | A kind of method for network access and equipment | |
CN107977261A (en) | Method, equipment, mobile terminal and the computer-readable storage medium of limiting process |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |