Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, a kind of method of dynamic conditioning WIFI hot spot transmitting power, system and mobile terminal are provided, be intended to overcome mobile phone WIFI hot spot in prior art by the present invention and have that the power consumption that causes of transmitting power height is large, high defect of generating heat, for user provides convenience.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A method for dynamic conditioning WIFI hot spot transmitting power, wherein, comprises step:
A, when terminal is arranged to WIFI hot spot, obtain the signal strength signal intensity of the WIFI hot spot that all devices that is connected to this WIFI hot spot receives every a scheduled time;
B, the WIFI hot spot signal strength signal intensity that described equipment receives to be compared, obtain the minimum value of signal strength signal intensity, i.e. lowest signal intensity value;
C, then the transmitting power of WIFI hot spot is reduced one-level when lowest signal intensity value is in the good scope of default signal strength signal intensity, when in the scope that lowest signal intensity value is in default difference in signal strength then by the transmitting power elevated by one step of WIFI hot spot.
The method of described dynamic conditioning WIFI hot spot transmitting power, wherein, the signal strength signal intensity of the WIFI hot spot that all devices that in described steps A, acquisition is connected to this WIFI hot spot receives specifically comprises:
A1, WIFI hot spot send a Frame to the equipment being connected to described focus;
After A2, described equipment receive described Frame, feed back the signal strength values of the WIFI hot spot that it detects to WIFI hot spot.
The method of described dynamic conditioning WIFI hot spot transmitting power, wherein, described step C specifically comprises:
C1, the range of signal judging residing for lowest signal intensity value, if lowest signal intensity value is greater than-40dbm, then reduce one-level by the transmitting power of WIFI hot spot;
C2 otherwise, if lowest signal intensity value is less than-80dbm, then by the transmitting power elevated by one step of WIFI hot spot.
The method of described dynamic conditioning WIFI hot spot transmitting power, wherein, comprise: described Frame is made up of specific frame head, load, postamble, described frame head, postamble for representing the initial of this Frame and ending, and for identifying this Frame to be different from the data transmitted between other WIFI hot spot and equipment; Described load is for representing the actual content of described Frame.
The method of described dynamic conditioning WIFI hot spot transmitting power, wherein, the per scheduled time in described steps A is five seconds;
Also comprised before steps A: S, in advance the transmitting power of described WIFI hot spot is carried out classification by low to high grade; The grade of the transmitting power of WIFI hot spot, for being divided into ten grades from low to high with the transmitting power of dynamic conditioning WIFI hot spot by WIFI hot spot transmitting power.
A kind of dynamic conditioning WIFI hot spot transmit power system, wherein, comprising:
Equipment Inspection module, for when terminal is arranged to WIFI hot spot, obtains the signal strength signal intensity of the WIFI hot spot that all devices that is connected to this WIFI hot spot receives every a scheduled time;
Lowest signal intensity acquisition module, compares for the WIFI hot spot signal strength signal intensity received described equipment, obtains the minimum value of signal strength signal intensity, be i.e. lowest signal intensity value;
Transmitting power adjusting module, then the transmitting power of WIFI hot spot is reduced one-level for being in the good scope of default signal strength signal intensity when lowest signal intensity value, when in the scope that lowest signal intensity value is in default difference in signal strength then by the transmitting power elevated by one step of WIFI hot spot.
Described dynamic conditioning WIFI hot spot transmit power system, wherein, equipment Inspection module specifically comprises:
Send data frame unit, send a Frame for WIFI hot spot to the equipment being connected to described focus;
Feedback data frame unit, after receiving described Frame, feeds back the signal strength values of the WIFI hot spot that it detects for described equipment to WIFI hot spot;
Transmitting power adjusting module specifically comprises:
Transmitting power first adjustment unit, for judging the range of signal residing for lowest signal intensity value, if lowest signal intensity value is greater than-40dbm, then reduces one-level by the transmitting power of WIFI hot spot;
Transmitting power second adjustment unit, if be less than-80dbm for lowest signal intensity value, then by the transmitting power elevated by one step of WIFI hot spot.
Described dynamic conditioning WIFI hot spot transmit power system, wherein, comprise: described Frame is made up of specific frame head, load, postamble, described frame head, postamble for representing the initial of this Frame and ending, and for identifying this Frame to be different from the data transmitted between other WIFI hot spot and equipment; Described load is for representing the actual content of described Frame.
Described dynamic conditioning WIFI hot spot transmit power system, wherein, also comprises:
Pre-set module, in advance the transmitting power of described WIFI hot spot being carried out classification by low to high grade; The grade of the transmitting power of WIFI hot spot, for being divided into ten grades from low to high with the transmitting power of dynamic conditioning WIFI hot spot by WIFI hot spot transmitting power.
A kind of mobile terminal, wherein, comprises the dynamic conditioning WIFI hot spot transmit power system described in above any one.
A kind of dynamic conditioning WIFI hot spot transmitting power method provided by the present invention, system and mobile terminal, described method specifically comprises: when terminal is arranged to WIFI hot spot, obtains the signal strength signal intensity of the WIFI hot spot that all devices that is connected to this WIFI hot spot receives every a scheduled time; The WIFI hot spot signal strength signal intensity that described equipment receives is compared, obtains the minimum value of signal strength signal intensity, be i.e. lowest signal intensity value; Then the transmitting power of WIFI hot spot is reduced one-level when lowest signal intensity value is in the good scope of default signal strength signal intensity, when in the scope that lowest signal intensity value is in default difference in signal strength then by the transmitting power elevated by one step of WIFI hot spot.Instant invention overcomes mobile phone WIFI hot spot in prior art and have that the power consumption that causes of transmitting power height is large, high defect of generating heat, provide users with the convenient.
Embodiment
The invention discloses a kind of dynamic conditioning WIFI hot spot transmitting power method, system and mobile terminal, for making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of the preferred embodiment of dynamic conditioning WIFI hot spot transmitting power method of the present invention.Dynamic conditioning WIFI hot spot transmitting power method shown in Fig. 1, comprising:
Step S101, when terminal is arranged to WIFI hot spot, obtain the signal strength signal intensity of the WIFI hot spot that all devices that is connected to this WIFI hot spot receives every a scheduled time;
In the embodiment of the present invention, need mobile phone to open WIFI hot spot function, after mobile phone is arranged to WIFI hot spot by user, then other mobile phones or equipment can be surfed the Net by connecting this WIFI hot spot.When WIFI hot spot is arranged to by mobile phone, obtain the signal strength signal intensity of the WIFI hot spot that all devices that is connected to this WIFI hot spot receives every a scheduled time; Preferably, the described set time is set as 5 seconds.It is as follows that the signal strength signal intensity of the WIFI hot spot that all devices that described acquisition is connected to this WIFI hot spot receives specifically comprises step:
A1, WIFI hot spot send a Frame to the equipment being connected to described focus;
Described Frame is made up of specific frame head, load, postamble, described frame head, postamble for representing the initial of this Frame and ending, and for identifying this Frame to be different from the data transmitted between other WIFI hot spot and equipment; Described load is for representing the actual content of described Frame.
Such as represent frame head with 0xdeadbeef1234567890, postamble is represented with 0xbea1234567890, the frame data that what as long as equipment received is with this frame head and postamble, then equipment will know that this Frame is the specific Frame that WIFI hot spot sends over, and the actual content of this particular data frame is the load between frame head and postamble; Such as, load is that 0xddee represents that WIFI hot spot needs equipment to feed back the signal strength values of the WIFI hot spot that it detects, again such as, load is that 0xaabb represents that WIFI hot spot needs equipment to feed back its cell voltage etc.
After A2, described equipment receive described Frame, feed back the signal strength values of the WIFI hot spot that it detects to WIFI hot spot;
Described signal strength values is also sent by a specific Frame, and this Frame is also made up of specific frame head, load, postamble; Frame head, postamble are similar to the above; Load is the signal strength values of the WIFI hot spot that WIFI hot spot detects; Such as signal strength values is-60dbm, then converting hexadecimal to by-60 becomes load.
Step S102, the WIFI hot spot signal strength signal intensity that described equipment receives to be compared, obtain the minimum value of signal strength signal intensity, i.e. lowest signal intensity value;
In the embodiment of the present invention, all WIFI hot spot signal strength signal intensities received by described equipment compare one by one, the therefrom minimum value of select-out signal intensity, i.e. lowest signal intensity value.
Step S103, then the transmitting power of WIFI hot spot is reduced one-level when lowest signal intensity value is in the good scope of default signal strength signal intensity, when in the scope that lowest signal intensity value is in default difference in signal strength then by the transmitting power elevated by one step of WIFI hot spot;
In advance the transmitting power of described WIFI hot spot is carried out classification by low to high grade in the embodiment of the present invention; The grade of the transmitting power of WIFI hot spot, for being divided into ten grades from low to high with the transmitting power of dynamic conditioning WIFI hot spot by WIFI hot spot transmitting power.Such as, WIFI hot spot transmitting power is divided into 1,2,3 ..., 9,100 grades.Therefore, in the embodiment of the present invention, the method for dynamic conditioning WIFI hot spot transmitting power is specially:
C1, the range of signal judging residing for lowest signal intensity value, if if lowest signal intensity value is in such as lowest signal intensity value in the good scope of signal strength signal intensity be greater than-40dbm, then reduce one-level by the transmitting power of WIFI hot spot;
C2 otherwise, if if lowest signal intensity value be in difference in signal strength scope in such as lowest signal intensity value be less than-80dbm, then by the transmitting power elevated by one step of WIFI hot spot.
The scope that described signal strength signal intensity is good, is preferably set as that signal strength signal intensity is greater than-40dbm, and in this range devices and WIFI hot spot close together, WIFI signal is substantially lossless from WIFI hot spot to equipment; The scope of described difference in signal strength, preferably be set as that signal strength signal intensity is less than-80dbm, this range devices and WIFI hot spot distant, WIFI signal is more from WIFI hot spot to equipment loss, there is the Potential feasibility of the data transmission fails between equipment and WIFI hot spot.
That is, if the lowest signal intensity value detected is greater than-40dbm, then the transmitting power of WIFI hot spot is reduced one-level, until when current WIFI hotspot transmitting power has been the lowest class, then maintain WIFI hot spot transmitting power constant; If the lowest signal intensity value detected is less than-80dbm, then by the transmitting power elevated by one step of WIFI hot spot, until when current WIFI hotspot transmitting power has been highest ranking, then maintain WIFI hot spot transmitting power constant.
In addition, need special instruction: (1) is when signal strength signal intensity arrives-80dbm scope at-40dbm, the signal strength signal intensity of the WIFI hot spot detected by equipment " scope that signal strength signal intensity is good " though described above, the data transmission bauds now between equipment with WIFI hot spot and above-mentioned " scope that signal strength signal intensity is good " almost identical; (2) in actual WIFI network environment, it is generally acknowledged that the scope of difference in signal strength is less than-90dbm, consider that a surplus is stayed in centre, therefore the scope of getting difference in signal strength is for being less than-80dbm.
Therefore, the present invention adopts a kind of method of dynamic conditioning mobile phone WIFI hot spot transmitting power, mobile phone as WIFI hot spot detects the signal strength signal intensity of the WIFI hot spot detected by the equipment being connected to this focus, under guaranteeing not affect the data transmission scenarios between equipment and WIFI hot spot, the transmitting power of dynamic conditioning WIFI hot spot, to save the electric energy as the mobile phone of WIFI hot spot, reduce the heating of WIFI hot spot simultaneously, overcoming mobile phone WIFI hot spot in prior art, to there is the power consumption that causes of transmitting power height large, to generate heat high defect, provide users with the convenient.
Based on above-described embodiment, the present invention also provides a kind of dynamic conditioning WIFI hot spot transmit power system, as shown in Figure 2, comprising:
Equipment Inspection module 100, for when terminal is arranged to WIFI hot spot, obtains the signal strength signal intensity of the WIFI hot spot that all devices that is connected to this WIFI hot spot receives every a scheduled time; As detailed above.
Lowest signal intensity acquisition module 200, compares for the WIFI hot spot signal strength signal intensity received described equipment, obtains the minimum value of signal strength signal intensity, be i.e. lowest signal intensity value; As detailed above.
Transmitting power adjusting module 300, then the transmitting power of WIFI hot spot is reduced one-level for being in the good scope of default signal strength signal intensity when lowest signal intensity value, when in the scope that lowest signal intensity value is in default difference in signal strength then by the transmitting power elevated by one step of WIFI hot spot; As detailed above.
Further, described dynamic conditioning WIFI hot spot transmit power system, as shown in Figure 3, wherein equipment Inspection module 100 specifically comprises:
Send data frame unit 110, send a Frame for WIFI hot spot to the equipment being connected to described focus; As detailed above.
Feedback data frame unit 120, after receiving described Frame, feeds back the signal strength values of the WIFI hot spot that it detects for described equipment to WIFI hot spot; As detailed above.
Further, described dynamic conditioning WIFI hot spot transmit power system, as shown in Figure 4, wherein transmitting power adjusting module 300 specifically comprises:
Transmitting power first adjustment unit 310, for judging the range of signal residing for lowest signal intensity value, if lowest signal intensity value is in the good scope of signal strength signal intensity, then reduces one-level by the transmitting power of WIFI hot spot; As detailed above.
Transmitting power second adjustment unit 320, if be in the scope of difference in signal strength for lowest signal intensity value, then by the transmitting power elevated by one step of WIFI hot spot; As detailed above.
Further, as shown in Figure 2, described system also comprises:
Pre-set module 400, in advance the transmitting power of described WIFI hot spot being carried out classification by low to high grade; The grade of the transmitting power of WIFI hot spot, for being divided into ten grades from low to high with the transmitting power of dynamic conditioning WIFI hot spot by WIFI hot spot transmitting power.
Based on above-described embodiment, the present invention also provides a kind of embodiment of mobile terminal, and the mobile terminal described in the present embodiment comprises dynamic conditioning WIFI hot spot transmit power system described above.
In sum, a kind of dynamic conditioning WIFI hot spot transmitting power method provided by the present invention, system and mobile terminal, described method specifically comprises: when terminal is arranged to WIFI hot spot, obtains the signal strength signal intensity of the WIFI hot spot that all devices that is connected to this WIFI hot spot receives every a scheduled time; The WIFI hot spot signal strength signal intensity that described equipment receives is compared, obtains the minimum value of signal strength signal intensity, be i.e. lowest signal intensity value; Then the transmitting power of WIFI hot spot is reduced one-level when lowest signal intensity value is in the good scope of default signal strength signal intensity, when in the scope that lowest signal intensity value is in default difference in signal strength then by the transmitting power elevated by one step of WIFI hot spot.Instant invention overcomes mobile phone WIFI hot spot in prior art and have that the power consumption that causes of transmitting power height is large, high defect of generating heat, provide users with the convenient.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.