The content of the invention
The technical problem to be solved in the present invention is, there is provided the temprature control method and system of a kind of mobile terminal, it is intended to
Solve the problems, such as that existing mobile terminal temperature checking method security is not high and bring danger to user.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of temperature control system of mobile terminal, wherein, including:
Temperature sense module, for sensing the temperature of mobile terminal and being converted to corresponding voltage;
Memory module, for prestore the temperature of mobile terminal with the temperature sense module corresponding voltage it is corresponding
Relation table;
First voltage adjustable module, for providing the first adjustable voltage;
Second voltage adjustable module, for providing the second adjustable voltage;
Setup module, for setting first adjustable voltage and the second adjustable voltage, institute according to the mapping table
State the first adjustable voltage and correspond to the first temperature, second adjustable voltage corresponds to second temperature, and first temperature is higher than second
Temperature;
First comparison module, voltage and the first adjustable voltage size for comparing the temperature sense module;
Second comparison module, voltage and the second adjustable voltage size for comparing the temperature sense module;
Temperature detecting module, for when the voltage of the temperature sense module is more than first adjustable voltage, notifying
The setup module adjusts the magnitude of voltage of the first voltage adjustable module and second voltage adjustable module, makes the first adjustable voltage
It is that the first temperature and second temperature increase pre- constant temperature respectively every time in the mapping table with the magnitude of voltage of the second adjustable voltage
Corresponding magnitude of voltage when spending, continues to detect whether the voltage of the temperature sense module is more than first adjustable voltage, until
Untill when detecting the voltage of the temperature sense module less than the first adjustable voltage that the first voltage adjustable module is provided;
When the voltage of the temperature sense module is less than second adjustable voltage, the setup module regulation institute is notified
The magnitude of voltage of first voltage adjustable module and second voltage adjustable module is stated, makes the electricity of the first adjustable voltage and the second adjustable voltage
Pressure value is corresponding magnitude of voltage when the first temperature and second temperature reduce predetermined temperature respectively every time in the mapping table, after
Whether the voltage of the continuous detection temperature sense module is less than second adjustable voltage, until detecting the temperature sense mould
Untill when the voltage of block is more than the second adjustable voltage that the second voltage adjustable module is provided;
When the voltage of the temperature sense module is less than first adjustable voltage and during more than second adjustable voltage,
The temperature of the mobile terminal is between the first temperature and second temperature.
The temperature control system of described mobile terminal, wherein, the temperature sense module includes:Thermistor and first
Resistance;One end of the thermistor is connected voltage end, and the other end is grounded by first resistor;The thermistor it is another
One end is also respectively connected with the first comparison module and the second comparison module.
The temperature control system of described mobile terminal, wherein, the first voltage adjustable module includes:First can power transformation
Resistance and second resistance;First fixing end of first variable resistor is connected voltage end;The work of first variable resistor
Moved end connects the setup module;Second fixing end of first variable resistor connects first comparison module, also passes through
Second resistance is grounded;
The second voltage adjustable module includes:The second adjustable resistance and 3rd resistor;The of the second adjustable resistance
One fixing end is connected voltage end;The movable end of the second adjustable resistance connects the setup module;Described second is variable
Second fixing end of resistance connects second comparison module, is also grounded by 3rd resistor.
The temperature control system of described mobile terminal, wherein, first comparison module includes:First comparator;Institute
The first input end for stating first comparator connects the temperature sense module, the second input connection institute of the first comparator
State first voltage adjustable module, the output end connection temperature detecting module of the first comparator;
Second comparison module includes:Second comparator;The first input end connection described the of second comparator
Two voltage adjustable modules, the second input of second comparator connects the temperature sense module, second comparator
Output end connection temperature detecting module.
The temperature control system of described mobile terminal, wherein, first temperature is higher than second temperature 2 degrees Celsius;Institute
Predetermined temperature is stated for 1 degree Celsius.
The temperature control system of described mobile terminal, wherein, also include:Initial temperature acquisition module, moves for obtaining
Temperature when dynamic terminal starts;The temperature sense module, initial temperature acquisition module and setup module are sequentially connected.
The temperature control system of described mobile terminal, wherein, the thermistor be negative tempperature coefficient thermistor or
Semistor.
A kind of temprature control method of the temperature control system using above-mentioned mobile terminal, wherein, comprise the following steps:
The mapping table of A, the temperature according to mobile terminal and voltage, sets the first of the first voltage adjustable module
Second adjustable voltage of adjustable voltage and second voltage adjustable module, first adjustable voltage the first temperature of correspondence, described the
Two adjustable voltages correspondence second temperature, first temperature is higher than second temperature;
B, temperature sense module sensing mobile terminal Current Temperatures are simultaneously converted to corresponding voltage;
C, by the first comparison module and the second comparison module, the corresponding electricity of the mobile terminal Current Temperatures is judged respectively
Pressure and the first adjustable voltage and the size of the second adjustable voltage;When the voltage is more than first adjustable voltage, into step
Rapid D;When the voltage is less than second adjustable voltage, into step E;When the voltage is less than first adjustable voltage
And enter step F during more than second adjustable voltage;
D, the voltage for adjusting the first voltage adjustable module and second voltage adjustable module respectively, make the first adjustable voltage
When with the magnitude of voltage of the second adjustable voltage being that the first temperature and second temperature increase predetermined temperature respectively in the mapping table
Corresponding magnitude of voltage, and return to step C;
E, the voltage for adjusting the first voltage adjustable module and second voltage adjustable module respectively, make the first adjustable voltage
When with the magnitude of voltage of the second adjustable voltage being that the first temperature and second temperature reduce predetermined temperature respectively in the mapping table
Corresponding magnitude of voltage, and return to step C;
The temperature of F, the then mobile terminal is between the first temperature and second temperature.
The temprature control method of described mobile terminal, wherein, the step A is specifically included:
A1, when mobile terminal starts, temperature when temperature sense module sensing mobile terminal starts simultaneously is converted to corresponding
Voltage;
The mapping table of A2, the voltage according to the mobile terminal and temperature, temperature when showing that mobile terminal starts;
A3, search in the mapping table it is corresponding during temperature when starting than mobile terminal predetermined temperature high
Magnitude of voltage, and it is set to the first adjustable voltage of the first voltage adjustable module;Searched in the mapping table and compare institute
Corresponding magnitude of voltage when stating the low predetermined temperature of temperature when mobile terminal starts, and it is set to the second voltage adjustable module
Second adjustable voltage.
The temprature control method of described mobile terminal, wherein, first temperature is higher than second temperature 2 degrees Celsius;Institute
Predetermined temperature is stated for 1 degree Celsius.
The temprature control method and system of a kind of mobile terminal provided by the present invention, efficiently solve existing movement
Terminal temperature detection method security after temperature detection program goes wrong is not high to bring dangerous problem to user, by temperature
Induction module senses mobile terminal Current Temperatures and is converted to corresponding voltage;Mould is compared by the first comparison module and second
Block, judges the size of the corresponding voltage of the mobile terminal Current Temperatures and the first adjustable voltage and the second adjustable voltage respectively;
When the voltage is more than first adjustable voltage, the first voltage adjustable module and second voltage adjustable die are adjusted respectively
The voltage of block, makes the magnitude of voltage of the first adjustable voltage and the second adjustable voltage be the first temperature and second in the mapping table
Corresponding magnitude of voltage when temperature increases predetermined temperature respectively every time, continues to detect whether the voltage of the temperature sense module is more than
First adjustable voltage, untill when the voltage is less than first adjustable voltage;When the voltage is less than described the
During two adjustable voltages, the voltage of the first voltage adjustable module and second voltage adjustable module is adjusted respectively, make first adjustable
The magnitude of voltage of voltage and the second adjustable voltage be in the mapping table the first temperature and second temperature reduce respectively every time it is pre-
Corresponding magnitude of voltage when constant temperature is spent, continues to detect whether the voltage of the temperature sense module is less than second adjustable voltage,
Untill when the voltage is more than two adjustable voltage;When the voltage is less than first adjustable voltage and more than described
During the second adjustable voltage, then the temperature of the mobile terminal is between the first temperature and second temperature;By constantly regulate first
The magnitude of voltage of adjustable voltage and the second adjustable voltage so that the Current Temperatures of mobile terminal are adjustable in the first adjustable voltage and second
Between corresponding first temperature of voltage and second temperature, it is achieved thereby that the detection to mobile terminal temperature, even if mobile whole
In the case that the temperature detection software at end goes wrong, still can be by the temperature of hard ware measure mobile terminal, so as to avoid
The harm that temperature protection failure brings, brings to user and greatly facilitates.
Specific embodiment
The present invention provides the temprature control method and system of a kind of mobile terminal, to make the purpose of the present invention, technical scheme
And advantage is clearer, clear and definite, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that this
The described specific embodiment in place is only used to explain the present invention, is not intended to limit the present invention.
Fig. 1 is referred to, Fig. 1 is the schematic diagram of the temperature control system preferred embodiment of the mobile terminal for providing of the invention,
As illustrated, the temperature control system of the mobile terminal includes:
Temperature sense module 110, for sensing the temperature of mobile terminal and being converted to corresponding voltage;
Memory module 120, temperature and corresponding voltage in the temperature sense module 110 for prestoring mobile terminal
Mapping table;
First voltage adjustable module 130, for providing the first adjustable voltage;
Second voltage adjustable module 140, for providing the second adjustable voltage;
Setup module 150, for setting first adjustable voltage and the second adjustable voltage according to the mapping table,
First adjustable voltage the first temperature of correspondence, the second adjustable voltage correspondence second temperature, first temperature is higher than the
Two temperature;
First comparison module 160, the voltage for comparing the temperature sense module 110 is big with first adjustable voltage
It is small;
Second comparison module 170, the voltage for comparing the temperature sense module 110 is big with second adjustable voltage
It is small;
Temperature detecting module 180, first adjustable voltage is more than for the voltage when the temperature sense module 110
When, then the temperature of the mobile terminal is higher than first temperature, and notifying that the setup module 150 adjusts the first voltage can
The magnitude of voltage of mode transfer block 130 and second voltage adjustable module 140, the magnitude of voltage for making the first adjustable voltage and the second adjustable voltage is
Corresponding magnitude of voltage when the first temperature and second temperature increase predetermined temperature respectively every time in the mapping table, continues to detect
Whether the voltage of the temperature sense module 110 is more than first adjustable voltage, until the electricity of the temperature sense module 110
Untill when pressure is less than the first adjustable voltage that the first voltage adjustable module 130 is provided;
When the voltage of the temperature sense module 110 is less than second adjustable voltage, then the temperature of the mobile terminal
Degree is less than the second temperature, notifies that the setup module 150 sets the first voltage adjustable module 130 and second voltage can
The magnitude of voltage of mode transfer block 140, makes the magnitude of voltage of the first adjustable voltage and the second adjustable voltage for first in the mapping table
Corresponding magnitude of voltage when temperature and second temperature reduce predetermined temperature respectively every time, continues to detect the temperature sense module 110
Voltage whether be less than second adjustable voltage, until the temperature sense module 110 voltage be more than the second voltage
Untill during the second adjustable voltage that adjustable module 140 is provided;
When the voltage of the temperature sense module 110 is less than first adjustable voltage and more than second adjustable voltage
When, the temperature of the mobile terminal is between the first temperature and second temperature.
Specifically, described one end of temperature sense module 110 connects the fixed voltage end Vref of mobile terminal, the other end point
Tong Guo not the first comparison module 160 and the connection temperature detecting module 180 of the second comparison module 170.The memory module 120 is connected
The setup module 150.The first voltage adjustable module 130 and second voltage adjustable module 140 connect mobile terminal respectively
Fixed voltage end Vref.The setup module 150 connects the first comparison module 160, institute by first voltage adjustable module 130
State setup module 150 and second comparison module 170 is connected by second voltage adjustable module 140.The temperature detecting module 180 connects
Connect setup module 150.
Specifically, the temperature sense module 110 senses the temperature of mobile terminal and is converted to corresponding voltage, for example
Changed come temperature sensor by thermistor, the magnitude of voltage changed so as to show as varying with temperature, in practical application, hot
Quick resistance supplier can provide the resistance value Rthm of the thermistor and the relation of temperature, and movement just can be drawn according to the relation
Terminal corresponding magnitude of voltage in temperature sense module 110 in different temperatures, so as to draw corresponding relation table and be stored in institute
In stating memory module 120.In practical application, the thermistor can be negative tempperature coefficient thermistor, i.e., increase with temperature,
Resistance reduces, or semistor, i.e., also increase as temperature increases resistance.It is of course also possible to use
Other electronic components etc. realize the purpose of the present invention, are not detailed herein.
The corresponding relation of voltage of the setup module 150 in the temperature and temperature sense module 110 of the mobile terminal
Table, the voltage for setting first voltage adjustable module 130 is the first adjustable voltage, sets the voltage of second voltage adjustable module 140
It is the second adjustable voltage.Wherein, because the mapping table understands, the first temperature of the first adjustable voltage correspondence is described
Second adjustable voltage correspondence second temperature, and first temperature is higher than second temperature.Due to using negative temperature coefficient thermistor power
Resistance, the voltage swing in temperature sense module 110 is raised as temperature is raised.Herein also can be using positive temperature coefficient temperature-sensitive electricity
Resistance, correspondingly, then the voltage swing in temperature sense module 110 is reduced as temperature is raised.
First comparison module 160 and the second comparison module 170 are used for correspondence by the first adjustable voltage and the second adjustable voltage
Voltage corresponding with the mobile terminal Current Temperatures sensed in temperature sense module 110 is contrasted.Temperature detecting module 180
Detect the comparative result of the first comparison module 160 and the second comparison module 170, then, then there are three kinds of situations.
The first situation is that the voltage of the temperature sense module 110 is more than first adjustable voltage, then obviously
More than the second adjustable voltage, then illustrate that the temperature of the mobile terminal is above the first temperature, now, the setting of mobile terminal
Module 150 just can adjust the voltage on first voltage adjustable module 130 and second voltage adjustable module 140 so that after adjustment
First adjustable voltage and the corresponding temperature value of the second adjustable voltage increased predetermined temperature on the basis of original.That is,
Search the first temperature in the mapping table and corresponding magnitude of voltage and correspondence when second temperature increases predetermined temperature respectively
It is set to the first adjustable voltage and the second adjustable voltage.Next proceeding through the first comparison module 160 and the second module 170 is carried out
Contrast, that is, continue to detect the voltage of the temperature sense module 110 whether more than the first temperature in the mapping table
Increase corresponding first adjustable voltage after predetermined temperature, until the mobile terminal that the temperature sense module 110 is sensed is current
Untill when voltage is less than the first adjustable voltage that the first voltage adjustable module 130 is provided.So now, mobile terminal work as
Preceding temperature is then at this moment between corresponding first temperature of the first adjustable voltage and the corresponding second temperature of the second adjustable voltage.
Second situation is that the voltage of the temperature sense module 110 is less than second adjustable voltage, then obviously
Less than the first adjustable voltage, then illustrate that the temperature of the mobile terminal is less than second temperature, now, the setting of mobile terminal
Module 150 just can adjust the voltage on first voltage adjustable module 130 and second voltage adjustable module 140 so that after adjustment
First adjustable voltage and the corresponding temperature value of the second adjustable voltage reduce predetermined temperature on the basis of original.That is,
Search the first temperature in the mapping table and corresponding magnitude of voltage and correspondence when second temperature reduces predetermined temperature respectively
It is set to the first adjustable voltage and the second adjustable voltage.Next proceeding through the first comparison module 160 and the second module 170 is carried out
Contrast, that is, continue to detect whether the voltage of the temperature sense module 110 is less than second adjustable voltage, until described
Second of the mobile terminal current voltage that temperature sense module 110 is sensed more than the second voltage adjustable module 140 offer
Untill during adjustable voltage.So now, the Current Temperatures of mobile terminal then corresponding first temperature of the first adjustable voltage at this moment
And second between the corresponding second temperature of adjustable voltage.
The third situation is that the voltage of the temperature sense module 110 is more than second adjustable voltage and less than described
First adjustable voltage, then now the Current Temperatures of mobile terminal are then between the first temperature and second temperature.
In practical application, first temperature is higher than second temperature 2 degrees Celsius;The predetermined temperature is 1 degree Celsius.Lift
Example is described as follows:If the current temperature of mobile terminal is 30 degrees Celsius, and the first temperature is 20 DEG C, and second temperature is 18 DEG C.The
When once comparing, 30 DEG C of temperature for just understanding mobile terminal is higher than 20 DEG C of the first temperature, then by 20 DEG C of the first temperature and second
18 DEG C of temperature increases by 1 DEG C of predetermined temperature respectively, that is to say, that it is corresponding that setup module 150 sets first voltage adjustable module 130
The magnitude of voltage of the first adjustable voltage is 21 DEG C of corresponding magnitudes of voltage in the mapping table, and corresponding second adjustable voltage is set
It is 19 DEG C of corresponding magnitudes of voltage in the mapping table.Proceed to compare, it is found that 30 DEG C of first for being also above now can
Adjust corresponding 21 DEG C of first temperature of voltage, then continue to increase by 1 DEG C of predetermined temperature, until 30 DEG C less than 31 DEG C when be to, due to
Increase by 1 DEG C every time, and the temperature range of the first comparison module 160 and the second comparison module 170 is 2 DEG C, final repeating limits
It is between 29 DEG C with second temperature to be 31 DEG C in the first temperature to 30 DEG C current of temperature of mobile terminal.Due to first
The value of temperature and second temperature is every time 1 DEG C of predetermined temperature of increase, and mobile terminal just understands both temperature values, due to mobile whole
End Current Temperatures within the range, and are integer, then the current temperature value of mobile terminal is necessarily 30 DEG C.Similarly, if mobile
The current temperature of terminal is less than second temperature, then the first temperature and second temperature predetermined temperature then can be every time reduced, so as to force
Nearly mobile terminal Current Temperatures.If just the current temperature of mobile terminal, just can be straight more than second temperature and less than the first temperature
Connect the temperature for showing that mobile terminal is current.
So, the present invention is little by little increased by the temperature range that the first comparison module and the second comparison module are formed, from
And contrasted with mobile terminal Current Temperatures, drawn in which temperature range until by mobile terminal Current Temperatures, and then draw
The current temperature of mobile terminal.The approach method that the present invention is used, it is to avoid when the temperature detection software of mobile terminal goes wrong,
To the harm that user and mobile terminal bring, even if can still be moved by hard ware measure in the case of thermometric software failure
The temperature of terminal, improves security and stability, is brought to user and greatly facilitated.
Please continue to refer to Fig. 2, in practical application, the temperature sense module 110 is similar to the schematic diagram shown in Fig. 1,
Including thermistor Rthm and first resistor R1;One end of the thermistor Rthm is connected voltage end Vref, the other end
It is grounded by first resistor R1;The other end of the thermistor Rthm is also respectively connected with the first comparison module 160 and the second ratio
Compared with module 170.
Further, the first voltage adjustable module 130 is identical with the structure of the second voltage adjustable module 140.
The first voltage adjustable module 130 includes:First variable resistor Ra and second resistance R2;The of the first variable resistor Ra
One fixing end is connected voltage end Vref;The movable end of the first variable resistor Ra connects the setup module 150;It is described
Second fixing end of the first variable resistor Ra connects first comparison module 160, is also grounded by second resistance R2.
The second voltage adjustable module 140 includes:The second adjustable resistance Rb and 3rd resistor R3;Described second can power transformation
The first fixing end for hindering Rb is connected voltage end Vref;The movable end of the second adjustable resistance Rb connects the setup module
150;Second fixing end of the second adjustable resistance Rb connects second comparison module 170, is also connect by 3rd resistor R3
Ground.
First comparison module 160 includes:First comparator;The first input end IN1 connections of the first comparator
The temperature sense module 110, the second input IN2 of the first comparator connects the first voltage adjustable module 160,
The output end OUT connection temperature detecting modules 180 of the first comparator.
Second comparison module 170 includes:Second comparator;The first input end IN1 connections of second comparator
The second voltage adjustable module 140, the second input IN2 of second comparator connects the temperature sense module 110,
The output end OUT connection temperature detecting modules 180 of second comparator.
The first comparator is identical with the second comparator, including two input pin IN1, IN2, an output pin OUT;
When IN1 pin voltage is higher than IN2 pin voltages, OUT pin will be changed into high level, and otherwise OUT pin are low level.In practical application,
The first input end IN1 of the first comparator and the second input IN2 of the second comparator are all connected with the thermistor
The node of Rthm and first resistor R1, the voltage at the node is V1.The second input IN2 connections the of the first comparator
The node of one variable resistor Ra and second resistance R2, the voltage at the node is V2.The first input end of second comparator
IN1 connects the node of the second adjustable resistance Rb and 3rd resistor R3, and the voltage at the node is V3.Mobile terminal in the present invention
Temperature and the mapping table of corresponding voltage in the temperature sense module 110, refer to the temperature and voltage of mobile terminal
The mapping table of V1, this is can be according to the parameter of thermistor Rthm and first resistor R1 resistances and fixed voltage end Vref
Magnitude of voltage and learn, be not detailed herein.
Further, the temperature control system of described mobile terminal, also includes:Initial temperature acquisition module 190, is used for
Obtain temperature when mobile terminal starts;The temperature sense module 110, initial temperature acquisition module 190 and setup module 150
It is sequentially connected.
With a specific Application Example, the present invention is described in detail below.
In practical application, storage temperature, the mapping table of voltage V1 in the terminal.Specifically, according to Fig. 2 institutes
Show,, resistance value Rthm and the temperature of the thermistor provided according to thermistor supplier
The relation of degree, it is possible to obtain the value of voltage V1 under different temperatures.Because thermistor Rthm is negative temperature coefficient, therefore temperature is got over
Height, V1 is bigger.In the present embodiment, the corresponding voltage V1 values of each integer temperature value are stored in the terminal, that is, are remembered
Record ..., -10, -9, -8 ..., -1,0,1 ..., 8,9,10 ..., 50,51,52 ... etc. under different temperatures, it is right
The value of the voltage V1 for answering.Hereafter with VTRepresent temperature be T when mapping table in voltage V1 magnitude of voltage.
When mobile terminal-opening starts, the current voltage V1 of mobile terminal is obtained;And according to storage in the terminal
Temperature, the mapping table of voltage V1, obtain start when mobile terminal temperature T0.Adjust variable by setup module according to T0
Resistance Ra, Rb make V2=VT0+1(Corresponding magnitude of voltage when i.e. temperature is T0+1 DEG C), make V3=VT0-1(When i.e. temperature is TO-1 DEG C
Magnitude of voltage), realized from circuit, exactly make,Even if, it is variable
There is corresponding change in the resistance in resistance access circuit, so that voltage occurs correspondence change at node, do not make herein in detail
State.
It is when the output pin OUT that temperature detecting module 180 receives first comparator is high level that is, above-mentioned
The first situation, illustrates that the temperature of mobile terminal is already higher than T0+1, makes T0=T0+1, i.e. the first temperature and second temperature all increase
Plus 1 DEG C of predetermined temperature, by setup module control adjustment variable resistor Ra and Rb, make V2=VT0+1, V3=VT0-1, correspondence adjusts variable
The resistance of resistance just can realize, i.e.,,.Then proceed to detection
Whether the output pin OUT of one comparator, if it has, then increase predetermined temperature to continue to detect, compares until first to be high level
Untill when the output pin OUT of device is low level.
When the output pin OUT that temperature detecting module 180 receives the second comparator is high level, that is, second
Situation, illustrates that the temperature of mobile terminal, already below T0-1, makes T0=T0-1, that is, 1 DEG C of predetermined temperature is reduced, by setup module control
System adjustment variable resistor Ra and Rb, make V2=VT0+1, make V3=VT0-1, i.e.,,.Then proceed to detect the output pin OUT of the second comparator whether to be high level, if it is,
Then reduce predetermined temperature to continue to detect, untill when the output pin OUT of the second comparator is low level.
If the output pin OUT of the output pin OUT of first comparator and the second comparator is low level, movement is illustrated
Terminal Current Temperatures are just in the range of the first temperature and second temperature.
It should be noted that being provided with usable temperature range in mobile terminal, a high temperature a, low temperature is being followed
When ring judges, judge whether certain first temperature exceedes default high temperature, default high-temperature process, example are performed more than then mobile terminal
Such as high temperature shutdown.Similarly, when certain second temperature is less than default low temperature, mobile terminal carries out default low-temperature treatment, for example low
Temperature shutdown.
Based on the temperature control system of above-mentioned mobile terminal, present invention also offers a kind of temperature control side of mobile terminal
Method, as shown in figure 3, methods described includes:
The mapping table of S100, the temperature according to mobile terminal and voltage, sets the first voltage adjustable module
Second adjustable voltage of the first adjustable voltage and second voltage adjustable module, the first temperature of the first adjustable voltage correspondence, institute
The second adjustable voltage correspondence second temperature is stated, first temperature is higher than second temperature;
S200, temperature sense module sensing mobile terminal Current Temperatures are simultaneously converted to corresponding voltage;
S300, by the first comparison module and the second comparison module, mobile terminal Current Temperatures correspondence is judged respectively
Voltage and the first adjustable voltage and the second adjustable voltage size;When the voltage is more than first adjustable voltage, enter
Enter step S400;When the voltage is less than second adjustable voltage, into step S500;When the voltage is less than described the
One adjustable voltage and enter step S600 during more than second adjustable voltage;
S400, the voltage for adjusting the first voltage adjustable module and second voltage adjustable module respectively, make first adjustable
The magnitude of voltage of voltage and the second adjustable voltage is that the first temperature and second temperature increase pre- constant temperature respectively in the mapping table
Corresponding magnitude of voltage when spending, and return to step S300;
S500, the voltage for adjusting the first voltage adjustable module and second voltage adjustable module respectively, make first adjustable
The magnitude of voltage of voltage and the second adjustable voltage is that the first temperature and second temperature reduce pre- constant temperature respectively in the mapping table
Corresponding magnitude of voltage when spending, and return to step S300;
The temperature of S600, the then mobile terminal is between the first temperature and second temperature.
Wherein step S300 includes two judgements, and one is to judge the mobile terminal Current Temperatures by the first comparison module
Whether corresponding voltage is more than the first adjustable voltage, and two is to judge the mobile terminal Current Temperatures pair by the second comparison module
Whether the voltage answered is less than the second adjustable voltage.
Further, the step S100 is specifically included:
S110, when mobile terminal starts, temperature sense module sensing mobile terminal start when temperature and be converted to phase
The voltage answered;
The mapping table of S120, the voltage according to the mobile terminal and temperature, temperature when showing that mobile terminal starts
Degree;
S130, correspondence when searching in the mapping table temperature when starting than mobile terminal predetermined temperature high
Magnitude of voltage, and be set to the first adjustable voltage of the first voltage adjustable module;Ratio is searched in the mapping table
Corresponding magnitude of voltage during the low predetermined temperature of temperature when the mobile terminal starts, and it is set to the second voltage adjustable module
The second adjustable voltage.
Further, first temperature is higher than second temperature 2 degrees Celsius;The predetermined temperature is 1 degree Celsius.
In sum, the temprature control method and system of a kind of mobile terminal that the present invention is provided, including temperature sense mould
Block, for sensing the temperature of mobile terminal and being converted to corresponding voltage;Memory module, the temperature for prestoring mobile terminal
Spend the mapping table with corresponding voltage in the temperature sense module;First voltage adjustable module, it is adjustable for providing first
Voltage;Second voltage adjustable module, for providing the second adjustable voltage;Setup module, for being set according to the mapping table
Put first adjustable voltage and the second adjustable voltage, the first temperature of the first adjustable voltage correspondence, second adjustable electric
Pressure correspondence second temperature, first temperature is higher than second temperature;First comparison module, for comparing the temperature sense module
Voltage and the first adjustable voltage size;Second comparison module, voltage and institute for comparing the temperature sense module
State the second adjustable voltage size;Temperature detecting module, it is adjustable more than described first for the voltage when the temperature sense module
During voltage, notify that the setup module adjusts the magnitude of voltage of the first voltage adjustable module and second voltage adjustable module, make
The magnitude of voltage of the first adjustable voltage and the second adjustable voltage is that the first temperature and second temperature are divided every time in the mapping table
Not Zeng Jia predetermined temperature when corresponding magnitude of voltage, continue to detect whether the voltage of the temperature sense module can more than described first
Voltage is adjusted, until the voltage for detecting the temperature sense module is adjustable less than the first of first voltage adjustable module offer
Untill during voltage;When the voltage of the temperature sense module is less than second adjustable voltage, notify that the setup module is adjusted
The magnitude of voltage of the first voltage adjustable module and second voltage adjustable module is saved, makes the first adjustable voltage and the second adjustable voltage
Magnitude of voltage corresponding voltage when reducing predetermined temperature respectively every time for the first temperature in the mapping table and second temperature
Value, continues to detect whether the voltage of the temperature sense module is less than second adjustable voltage, until detecting the temperature
Untill when the voltage of induction module is more than the second adjustable voltage that the second voltage adjustable module is provided;When the temperature sense
, less than first adjustable voltage and during more than second adjustable voltage, the temperature of the mobile terminal is for the voltage of module
Between one temperature and second temperature;
When the voltage of the temperature sense module is more than first adjustable voltage, by constantly heightening the first adjustable electric
The magnitude of voltage of pressure and the second adjustable voltage so that the Current Temperatures of mobile terminal are in the first adjustable voltage and the second adjustable voltage pair
Between the first temperature and second temperature answered;When the voltage of the temperature sense module is less than second adjustable voltage, lead to
Cross the magnitude of voltage for constantly turning down the first adjustable voltage and the second adjustable voltage so that the Current Temperatures of mobile terminal are adjustable first
Between voltage and corresponding first temperature of the second adjustable voltage and second temperature;When the voltage of the temperature sense module is less than institute
State the first adjustable voltage and during more than second adjustable voltage, the temperature of the mobile terminal is in the first temperature and second temperature
Between;By the magnitude of voltage for heightening or turning down successively the first adjustable voltage and the second adjustable voltage successively so that mobile terminal
Current Temperatures between the first adjustable voltage and corresponding first temperature of the second adjustable voltage and second temperature, it is achieved thereby that right
The detection of mobile terminal temperature, even if in the case where the temperature detection software of mobile terminal goes wrong, still can be by hard
Part measures the temperature of mobile terminal, so as to avoid the harm that temperature protection failure brings, is brought to user and greatly facilitated.
It should be appreciated that application of the invention is not limited to above-mentioned citing, and for those of ordinary skills, can
To be improved according to the above description or converted, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Shield scope.