The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of the prior art, there is provided a kind of dynamic adjusts
Method, system and the mobile terminal of WIFI hot spot transmission power, it is intended to which mobile phone WIFI heat in the prior art is overcome by the present invention
Point provides to the user conveniently there are the defects of the power consumption caused by transmission power height is big, fever is high.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of method of dynamic adjustment WIFI hot spot transmission power, wherein, including step:
A, when terminal is arranged to WIFI hot spot, all devices for being connected to the WIFI hot spot are obtained every a scheduled time
The signal strength of the WIFI hot spot received;
B, the WIFI hot spot signal strength that the equipment receives is compared, obtains the minimum value of signal strength, i.e.,
Lowest signal intensity value;
C, when lowest signal intensity value is in the good scope of default signal strength then by the transmission power of WIFI hot spot
Level-one is reduced, then by the transmission power liter of WIFI hot spot in the range of lowest signal intensity value is in default difference in signal strength
High level-one.
The method of the dynamic adjustment WIFI hot spot transmission power, wherein, obtained in the step A and be connected to this
The signal strength for the WIFI hot spot that all devices of WIFI hot spot receive specifically includes:
A1, WIFI hot spot send a data frame to the equipment for being connected to the hot spot;
After A2, the equipment receive the data frame, the signal of its WIFI hot spot detected is fed back to WIFI hot spot
Intensity level.
The method of the dynamic adjustment WIFI hot spot transmission power, wherein, the step C is specifically included:
C1, judge range of signal residing for lowest signal intensity value, will if lowest signal intensity value is more than -40dbm
The transmission power of WIFI hot spot reduces level-one;
C2, otherwise, if lowest signal intensity value is less than -80dbm, by the transmission power elevated by one step of WIFI hot spot.
The method of the dynamic adjustment WIFI hot spot transmission power, wherein, including:The data frame is by specific frame
Head, load, postamble composition, the frame head, postamble are used for the starting and ending for representing the data frame, and for identifying the data frame
To be different from the data transmitted between other WIFI hot spots and equipment;The load is used to represent in the reality of the data frame
Hold.
The method of the dynamic adjustment WIFI hot spot transmission power, wherein, per scheduled time in the step A is five
Second;
Further included before step A:S, the transmission power of the WIFI hot spot is divided by low to high grade in advance
Level;The grade of the transmission power of WIFI hot spot, for WIFI hot spot transmission power is divided into ten grades from low to high with dynamic
State adjusts the transmission power of WIFI hot spot.
A kind of dynamic adjustment WIFI hot spot transmission power system, wherein, including:
Equipment detection module, for when terminal is arranged to WIFI hot spot, being obtained every a scheduled time and being connected to this
The signal strength for the WIFI hot spot that all devices of WIFI hot spot receive;
Lowest signal intensity acquisition module, the WIFI hot spot signal strength for being received to the equipment are compared,
Obtain the minimum value of signal strength, i.e. lowest signal intensity value;
Transmission power adjusts module, for then will when lowest signal intensity value is in the good scope of default signal strength
The transmission power of WIFI hot spot reduces level-one, then will in the range of lowest signal intensity value is in default difference in signal strength
The transmission power elevated by one step of WIFI hot spot.
The dynamic adjusts WIFI hot spot transmission power system, wherein, equipment detection module specifically includes:
Data frame unit is sent, a data frame is sent to the equipment for being connected to the hot spot for WIFI hot spot;
Feedback data frame unit, after receiving the data frame for the equipment, feeds back it to WIFI hot spot and detects
WIFI hot spot signal strength values;
Transmission power adjustment module specifically includes:
The first adjustment unit of transmission power, for judging the range of signal residing for lowest signal intensity value, if lowest signal
Intensity level is more than -40dbm, then the transmission power of WIFI hot spot is reduced level-one;
Transmission power second adjustment unit, if being less than -80dbm for lowest signal intensity value, by the hair of WIFI hot spot
Penetrate power elevated by one step.
The dynamic adjusts WIFI hot spot transmission power system, wherein, including:The data frame is by specific frame head, load
Lotus, postamble composition, the frame head, postamble are used for the starting and ending for representing the data frame, and for identifying the data frame with area
The data do not transmitted between other WIFI hot spots and equipment;The load is used for the actual content for representing the data frame.
The dynamic adjusts WIFI hot spot transmission power system, wherein, further include:
Module is pre-set, for being in advance classified the transmission power of the WIFI hot spot by low to high grade;
The grade of the transmission power of WIFI hot spot, for WIFI hot spot transmission power is divided into ten grades from low to high dynamically to adjust
The transmission power of whole WIFI hot spot.
A kind of mobile terminal, wherein, including the dynamic adjustment WIFI hot spot transmission power system described in any of the above item.
A kind of dynamic adjustment WIFI hot spot transmission power method, system and mobile terminal provided by the present invention, the side
Method specifically includes:When terminal is arranged to WIFI hot spot, it is connected to all of the WIFI hot spot every scheduled time acquisition and sets
The signal strength of the standby WIFI hot spot received;The WIFI hot spot signal strength that the equipment receives is compared, is obtained
The minimum value of signal strength, i.e. lowest signal intensity value;When lowest signal intensity value is in the good scope of default signal strength
The transmission power of WIFI hot spot is then inside reduced into level-one, in the range of lowest signal intensity value is in default difference in signal strength
Then by the transmission power elevated by one step of WIFI hot spot.The present invention overcomes there are transmission power for mobile phone WIFI hot spot in the prior art
The defects of power consumption caused by height is big, fever is high, provides users with the convenient.
Embodiment
The invention discloses a kind of dynamic adjustment WIFI hot spot transmission power method, system and mobile terminal, to make this hair
Bright object, technical solution and advantage are clearer, clear and definite, and the embodiment that develops simultaneously referring to the drawings is to of the invention further detailed
Explanation.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.
Fig. 1 is referred to, Fig. 1 is the flow of the preferred embodiment of dynamic adjustment WIFI hot spot transmission power method of the invention
Figure.Dynamic adjustment WIFI hot spot transmission power method shown in Fig. 1, including:
Step S101, when terminal is arranged to WIFI hot spot, obtained every a scheduled time and be connected to the WIFI hot spot
The signal strength for the WIFI hot spot that all devices receive;
, it is necessary to which mobile phone opens WIFI hot spot function in the embodiment of the present invention, after mobile phone is arranged to WIFI hot spot by user, then
Other mobile phones or equipment can be surfed the Internet by connecting the WIFI hot spot.It is pre- every one when mobile phone is arranged to WIFI hot spot
Fix time and obtain the signal strength for the WIFI hot spot that all devices for being connected to the WIFI hot spot receive;Preferably, it is described solid
Fix time and be set as 5 seconds.The signal strength for the WIFI hot spot that all devices that the acquisition is connected to the WIFI hot spot receive
It is as follows to specifically include step:
A1, WIFI hot spot send a data frame to the equipment for being connected to the hot spot;
The data frame is made of specific frame head, load, postamble, and the frame head, postamble are used to represent the data frame
Starting and ending, and for identifying the data frame to be different from the data transmitted between other WIFI hot spots and equipment;The load
Lotus is used for the actual content for representing the data frame.
Such as represent frame head with 0xdeadbeef1234567890, postamble is represented with 0xbea1234567890, as long as equipment
What is received is the frame data with this frame head and postamble, then equipment will be appreciated by what the data frame sended over for WIFI hot spot
Specific data frame, the load of the actual content of the particular data frame between frame head and postamble;For example, load is 0xddee tables
Show the signal strength values that WIFI hot spot needs equipment to feed back its WIFI hot spot detected, in another example, load represents for 0xaabb
WIFI hot spot needs equipment to feed back its cell voltage etc..
After A2, the equipment receive the data frame, the signal of its WIFI hot spot detected is fed back to WIFI hot spot
Intensity level;
The signal strength values are also to be transmitted by a specific data frame, and the data frame is also by specific frame
Head, load, postamble composition;Frame head, postamble are similar to the above;The signal strength for the WIFI hot spot that load detects for WIFI hot spot
Value;Such as signal strength values are -60dbm, then being converted into hexadecimal by -60 becomes load.
Step S102, the WIFI hot spot signal strength that the equipment receives is compared, obtains signal strength most
Small value, i.e. lowest signal intensity value;
In the embodiment of the present invention, all WIFI hot spot signal strengths that the equipment is received are compared one by one, from
The minimum value of middle select-out signal intensity, i.e. lowest signal intensity value.
Step S103, when lowest signal intensity value is in the good scope of default signal strength then by the hair of WIFI hot spot
Penetrating power reduces level-one, then by the transmitting of WIFI hot spot in the range of lowest signal intensity value is in default difference in signal strength
Power elevated by one step;
The transmission power of the WIFI hot spot is classified by low to high grade in advance in the embodiment of the present invention;
The grade of the transmission power of WIFI hot spot, for WIFI hot spot transmission power is divided into ten grades from low to high dynamically to adjust
The transmission power of whole WIFI hot spot.For example, WIFI hot spot transmission power is divided into 1,2,3 ... ..., 9,10 ten etc.
Level.Therefore, the method for WIFI hot spot transmission power dynamically being adjusted in the embodiment of the present invention is specially:
C1, judge range of signal residing for lowest signal intensity value, if to be in signal strength good for lowest signal intensity value
For example if lowest signal intensity value is more than -40dbm in the range of, and the transmission power of WIFI hot spot is reduced level-one;
C2, otherwise, if if lowest signal intensity value to be in the range of difference in signal strength such as lowest signal intensity value small
In -80dbm, then by the transmission power elevated by one step of WIFI hot spot.
The good scope of the signal strength, is preferably set as that signal strength is more than -40dbm, within the range equipment with
WIFI hot spot is closer to the distance, and WIFI signal is substantially lossless from WIFI hot spot to equipment;The scope of the difference in signal strength, preferably
Ground is set as that signal strength is less than -80dbm, and equipment and WIFI hot spot are distant within the range, and WIFI signal is hot from WIFI
Point is more to equipment loss, and there are the Potential feasibility of the data transmission fails between equipment and WIFI hot spot.
That is, if the lowest signal intensity value detected is more than -40dbm, the transmission power of WIFI hot spot is reduced into level-one,
When current WIFI hotspot transmission power has been the lowest class, then maintain WIFI hot spot transmission power constant;If detect
Lowest signal intensity value be less than -80dbm, then by the transmission power elevated by one step of WIFI hot spot, until current WIFI hotspot is sent out
When to penetrate power be highest ranking, then maintain WIFI hot spot transmission power constant.
In addition, it is necessary to illustrate:(1) when signal strength arrives -80dbm scopes in -40dbm, detected by equipment
Though the signal strength of WIFI hot spot is not " the good scope of signal strength " described above, at this time the number between equipment and WIFI hot spot
It is almost identical with above-mentioned " the good scope of signal strength " according to transmission speed;(2) in actual WIFI network environment, it is considered that
The scope of difference in signal strength is less than -90dbm, it is contemplated that a surplus is stayed in centre, therefore take difference in signal strength scope be less than -
80dbm。
It is hot as WIFI therefore the present invention is using a kind of method of dynamic adjustment mobile phone WIFI hot spot transmission power
The mobile phone detection of point is connected to the signal strength of WIFI hot spot detected by the equipment of the hot spot, ensure not influence equipment with
Under data transmission scenarios between WIFI hot spot, dynamic adjusts the transmission power of WIFI hot spot, and WIFI hot spot is used as to save
The electric energy of mobile phone, while the fever of WIFI hot spot is reduced, overcoming mobile phone WIFI hot spot in the prior art, there are transmission power height
The defects of caused power consumption is big, fever is high, provides users with the convenient.
Based on above-described embodiment, the present invention also provides a kind of dynamic adjustment WIFI hot spot transmission power system, such as Fig. 2 institutes
Show, including:
Equipment detection module 100, for when terminal is arranged to WIFI hot spot, being obtained every a scheduled time and being connected to this
The signal strength for the WIFI hot spot that all devices of WIFI hot spot receive;As detailed above.
Lowest signal intensity acquisition module 200, the WIFI hot spot signal strength for being received to the equipment compare
Compared with obtaining the minimum value of signal strength, i.e. lowest signal intensity value;As detailed above.
Transmission power adjusts module 300, for being in when lowest signal intensity value in the good scope of default signal strength
The transmission power of WIFI hot spot is then reduced into level-one, in the range of lowest signal intensity value is in default difference in signal strength then
By the transmission power elevated by one step of WIFI hot spot;As detailed above.
Further, the dynamic adjustment WIFI hot spot transmission power system, as shown in figure 3, wherein equipment detection module
100 specifically include:
Data frame unit 110 is sent, a data frame is sent to the equipment for being connected to the hot spot for WIFI hot spot;Specifically
As described above.
Feedback data frame unit 120, after receiving the data frame for the equipment, feeds back its detection to WIFI hot spot
The signal strength values of the WIFI hot spot arrived;As detailed above.
Further, the dynamic adjustment WIFI hot spot transmission power system, as shown in figure 4, wherein transmission power adjusts
Module 300 specifically includes:
The first adjustment unit of transmission power 310, for judging the range of signal residing for lowest signal intensity value, if minimum letter
Number intensity level is in the good scope of signal strength, then the transmission power of WIFI hot spot is reduced level-one;As detailed above.
Transmission power second adjustment unit 320, if in the range of being in difference in signal strength for lowest signal intensity value,
By the transmission power elevated by one step of WIFI hot spot;As detailed above.
Further, as shown in Fig. 2, the system also includes:
Module 400 is pre-set, in advance being divided the transmission power of the WIFI hot spot by low to high grade
Level;The grade of the transmission power of WIFI hot spot, for WIFI hot spot transmission power is divided into ten grades from low to high with dynamic
State adjusts the transmission power of WIFI hot spot.
Based on above-described embodiment, the present invention also provides a kind of embodiment of mobile terminal, the mobile end described in the present embodiment
End includes dynamic adjustment WIFI hot spot transmission power system described above.
In conclusion a kind of dynamic adjustment WIFI hot spot transmission power method, system and movement provided by the present invention are eventually
End, the method specifically include:When terminal is arranged to WIFI hot spot, is obtained every a scheduled time and be connected to the WIFI hot spot
The signal strength of WIFI hot spot that receives of all devices;The WIFI hot spot signal strength that the equipment receives is compared
Compared with obtaining the minimum value of signal strength, i.e. lowest signal intensity value;When lowest signal intensity value, to be in default signal strength good
In the range of the transmission power of WIFI hot spot is then reduced into level-one, when lowest signal intensity value is in default difference in signal strength
In the range of then by the transmission power elevated by one step of WIFI hot spot.Exist the present invention overcomes mobile phone WIFI hot spot in the prior art and send out
The defects of power consumption caused by power height is big, fever is high is penetrated, is provided users with the convenient.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.