CN104733803B - The control method of battery temperature, device and mobile terminal in mobile terminal - Google Patents
The control method of battery temperature, device and mobile terminal in mobile terminal Download PDFInfo
- Publication number
- CN104733803B CN104733803B CN201310721773.4A CN201310721773A CN104733803B CN 104733803 B CN104733803 B CN 104733803B CN 201310721773 A CN201310721773 A CN 201310721773A CN 104733803 B CN104733803 B CN 104733803B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- battery temperature
- processor
- temperature
- battery
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Abstract
The present invention proposes a kind of control method of battery temperature in mobile terminal, comprises the following steps:Obtain the battery temperature of mobile terminal;When battery temperature does not meet preparatory condition, the utilization rate of processor in mobile terminal is adjusted to adjust battery temperature.This method adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal, has high efficiency, real-time and ease for use, while by improving the stability of battery temperature, has reached the service life of lifting battery and the purpose of power reservoir capacity.The invention also provides the control device of battery temperature in a kind of mobile terminal and a kind of mobile terminal.
Description
Technical field
The present invention relates to the control method of battery temperature in mobile communication technology field, more particularly to a kind of mobile terminal,
Device and mobile terminal.
Background technology
As contemporary science and technology develops, the use of mobile terminal is greatly improved, the battery electric quantity about mobile terminal
Also do not become to become increasingly conspicuous in the use problem of safe condition.For example, it is electricity that the battery electric quantity of mobile terminal is excessive or too small
Pond electricity is in unsafe condition.Inventor has found problem be present:User may be charged while using mobile terminal, be caused
Mobile terminal produces excessive electric current, so that battery produces higher heat, influences the service life and electric power storage energy of battery
Power so that the battery of mobile terminal does not have permanent ease for use and security;Mobile terminal may be placed in low temperature environment or
When other service factors cause battery temperature too low, the service life and power reservoir capacity of battery are influenceed.
The content of the invention
It is contemplated that at least solves one of above-mentioned technical problem.
Therefore, control method of first purpose of the present invention in the battery temperature in a kind of mobile terminal is proposed.We
Method adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal, has high efficiency, real-time and ease for use, together
When by improving the stability of battery temperature, reached the service life of lifting battery and the purpose of power reservoir capacity.
Second object of the present invention is in a kind of control device for proposing battery temperature in mobile terminal.
To achieve these goals, in a kind of mobile terminal of first aspect present invention embodiment battery temperature controlling party
Method, comprise the following steps:Obtain the battery temperature of mobile terminal;When the battery temperature does not meet preparatory condition, institute is adjusted
The utilization rate of processor in mobile terminal is stated to adjust the battery temperature.
The control method of battery temperature in mobile terminal according to embodiments of the present invention, obtain the battery temperature of mobile terminal
Degree, when battery temperature is not meeting preparatory condition, the utilization rate of processor in mobile terminal is adjusted to adjust battery temperature.Should
Method adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal, has high efficiency, real-time and ease for use,
Simultaneously by improving the stability of battery temperature, the service life of lifting battery and the purpose of power reservoir capacity are reached.
To achieve these goals, the control of battery temperature fills in a kind of mobile terminal of second aspect of the present invention embodiment
Put, including:Acquisition module, for obtaining the battery temperature of mobile terminal;Adjusting module, for not meeting when the battery temperature
During preparatory condition, the utilization rate of processor in the mobile terminal is adjusted to adjust the battery temperature.
The control device of battery temperature in mobile terminal according to embodiments of the present invention, obtained by acquisition module mobile whole
The battery temperature at end, when battery temperature is not meeting preparatory condition, processor in mobile terminal is adjusted by adjusting module
Utilization rate is to adjust battery temperature.The device adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal, tool
There are high efficiency, real-time and ease for use, while by improving the stability of battery temperature, reached the service life of lifting battery
And the purpose of power reservoir capacity.
To achieve these goals, a kind of mobile terminal of third aspect present invention embodiment, including:Shell, screen, place
Manage device and circuit board;On the housing, the circuit board is placed in the interior volume that the shell surrounds for the screen placement,
The processor is arranged on the circuit board;The processor, for processing data, and it is specifically used for:Obtain mobile terminal
Battery temperature;When the battery temperature does not meet preparatory condition, the use of processor described in the mobile terminal is adjusted
Rate is to adjust the battery temperature.
Mobile terminal according to embodiments of the present invention, the battery temperature of mobile terminal is obtained by acquisition module, works as battery
Temperature adjusts the utilization rate of processor in mobile terminal to adjust battery temperature when not meeting preparatory condition, by adjusting module
Degree.The mobile terminal adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal, has high efficiency, real-time
With ease for use, while by improving the stability of battery temperature, the service life of lifting battery and the mesh of power reservoir capacity are reached
's.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and it is readily appreciated that, wherein,
Fig. 1 is the flow chart of the control method of battery temperature in mobile terminal according to an embodiment of the invention;
Fig. 2 is the flow chart of the control method of battery temperature in mobile terminal in accordance with another embodiment of the present invention;
Fig. 3 is the structural representation of the control device of battery temperature in mobile terminal according to an embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, this
All changes that the embodiment of invention includes falling into the range of the spirit and intension of attached claims, modification and equivalent
Thing.
In the description of the invention, it is to be understood that term " first ", " second " etc. are only used for describing purpose, without
It is understood that to indicate or implying relative importance.In the description of the invention, it is necessary to which explanation, is provided unless otherwise clear and definite
And restriction, term " connected ", " connection " should be interpreted broadly, for example, it may be fixedly connected or be detachably connected,
Or it is integrally connected;Can be mechanical connection or electrical connection;Can be joined directly together, intermediary can also be passed through
It is indirectly connected.For the ordinary skill in the art, the tool of above-mentioned term in the present invention can be understood with concrete condition
Body implication.In addition, in the description of the invention, unless otherwise indicated, " multiple " are meant that two or more.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Below with reference to the accompanying drawings the control method and device of battery temperature in mobile terminal according to embodiments of the present invention are described,
And mobile terminal.
As contemporary science and technology develops, the use of mobile terminal is greatly improved, the battery electric quantity about mobile terminal
Also do not become to become increasingly conspicuous in the use problem of safe condition.For example, it is electricity that the battery electric quantity of mobile terminal is excessive or too small
Pond electricity is in unsafe condition.Inventor has found problem be present:User may be charged while using mobile terminal, be caused
Mobile terminal produces excessive electric current, so that battery produces higher heat, influences the service life and electric power storage energy of battery
Power so that the battery of mobile terminal does not have permanent ease for use and security;Mobile terminal may be placed in low temperature environment or
When other service factors cause battery temperature too low, the service life and power reservoir capacity of battery are influenceed, reduces the electricity of mobile terminal
The high efficiency and ease for use that pond uses.
Therefore, the present invention proposes a kind of control method of battery temperature in mobile terminal, comprise the following steps:Obtain and move
The battery temperature of dynamic terminal;When battery temperature does not meet preparatory condition, the utilization rate of processor in mobile terminal is adjusted to adjust
Whole battery temperature.
Fig. 1 is the flow chart of the control method of battery temperature in mobile terminal according to an embodiment of the invention.
As shown in figure 1, in mobile terminal battery temperature control method, including step is as follows:
S101, obtain the battery temperature of mobile terminal.
Specifically, battery information receiver is registered in the service of application program, the system of mobile terminal can be to electricity afterwards
Pond message recipient sends the battery status change message of a mobile terminal, is obtained by reading the battery status change message
The battery temperature of mobile terminal.
In an embodiment of the present invention, it is preferable that system sends one to registered message recipient every preset time
The battery status change information of secondary mobile terminal, the battery temperature of mobile terminal is obtained by reading battery status change message
Degree.For example, sent battery status change message to registered battery information receiver every ten seconds or 30 seconds.Wherein, it is electric
The information such as percentage of the pond state change message including battery electric quantity, battery temperature, the voltage of battery, battery manufacturing industry.
Further, after battery information receiver receives battery status change message, judge type of message whether be
(ACTION_BATTERY_CHANGED, battery status change message), if it is not, then ignoring the information, continue to;If
It is then to read the battery temperature in battery status change message, and the reception that continues.Wherein, battery status change message is with key
What the mode of value pair stored, therefrom reading keyword is(EXTRA_TEMPERATURE, unnecessary temperature)Value can obtain battery
Temperature.In addition, if the battery temperature read is Fahrenheit temperature, formula is used:Degree Celsius=(Degrees Fahrenheit -32)/ 1.8
It is converted into degree Celsius.
It is understood that the side of the battery temperature of mobile terminal is obtained above by registered battery information receiver
Formula is only a kind of example to obtaining the battery temperature of mobile terminal under Android system, and the acquisition movement in the embodiment of the present invention is eventually
The mode of the battery temperature at end is not limited to the example above.
S102, when battery temperature does not meet preparatory condition, the utilization rate of processor in mobile terminal is adjusted to adjust electricity
Pond temperature.
Wherein, preparatory condition is the battery temperature scope that user preset or mobile terminal are given tacit consent to, for example, -15-40 degrees Celsius
For the safe range of battery temperature.
The control method of battery temperature in mobile terminal according to embodiments of the present invention, obtain the battery temperature of mobile terminal
Degree, when battery temperature is not meeting preparatory condition, the utilization rate of processor in mobile terminal is adjusted to adjust battery temperature.Should
Method adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal, has high efficiency, real-time and ease for use,
Simultaneously by improving the stability of battery temperature, the service life of lifting battery and the purpose of power reservoir capacity are reached.
In one embodiment of the invention, preparatory condition is battery temperature not less than the first temperature threshold and no more than the
Two temperature thresholds.
Further, it is by Fig. 2 to not meeting that two kinds of situations of preparatory condition are specifically described when battery temperature, i.e., electric
Pond temperature is less than the first temperature threshold, battery temperature is more than two kinds of situations of second temperature threshold value.
Fig. 2 is the flow chart of the control method of battery temperature in mobile terminal in accordance with another embodiment of the present invention.
As shown in Fig. 2 in mobile terminal battery temperature control method, including step is as follows:
S201, obtain the battery temperature of mobile terminal.
S202, when battery temperature is less than the first temperature threshold, call mobile terminal in processor operation pre-set code with
Produce heat.
Wherein, pre-set code is user-defined code segment.It is as follows:
The purpose for performing above-mentioned pre-set code is the code by one section of Continuous plus so that the processor in mobile terminal
Continuously run, so as to produce heat.
It is understood that using user, customized code segment, i.e., the code of one section Continuous plus are only to make in advance
Mobile terminal produces the example of heat, in the embodiment of the present invention using the execution of pre-set code section in a manner of producing heat not
It is limited to the example above, can also is other modes, for example, calls the dummy routine of finite number of time so that call the sky of finite number of time
Heat caused by program reaches the first temperature threshold, so as to realize the stable purpose of battery temperature, may call upon mobile terminal
In auxiliary operation program, for example, antivirus software, using the auxiliary operation program run in mobile terminal, in operation limited number of time
Caused heat reaches the first temperature threshold after number, so as to realize the stable purpose of battery temperature.Thus, improving makes processor
Produce the diversity of heat mode.
S203, when battery temperature is not less than the first temperature threshold, control processor pre-set code out of service.
In an embodiment of the present invention, by using user's customized code segment in advance, i.e., above-mentioned one section of Continuous plus
Code circulation perform make processor produce heat, when caused heat causes battery temperature to reach the battery temperature of user preset
When spending scope, for example, when being more than -15 degrees Celsius, stop performing.Thus, improve by running the cycle calculations pre-set
Formula produces heat to meet that battery temperature reaches the accuracy and ease for use of battery temperature safe range.
S204, when battery temperature is more than the first temperature threshold, judge whether mobile terminal has administration authority.
Specifically, by judging whether mobile terminal has administration authority come for the follow-up place by adjusting mobile terminal
Reason device realizes that battery temperature reaches safe range and provides security.
S205, if mobile terminal does not have administration authority, provide a user for prompting mobile terminal without pipe
The information of authority is managed, so that user clears up the internal memory of mobile terminal according to prompt message.Wherein, prompt message be prompt tone and/
Or prompting flicker information and/or prompt text.Thus, the diversity and ease for use of prompt message are improved.
S206, if mobile terminal has administration authority, determine whether the memory usage of mobile terminal is more than
Default occupancy value.Wherein, preset occupancy value and be generally 50%.
Specifically, when mobile terminal has administration authority, you can the systematic difference program of mobile terminal is operated.
Wherein, caused by execution number situation of the memory usage of mobile terminal for the systematic difference program of mobile terminal.Largely
The execution of application program can cause the memory usage of mobile terminal bigger than normal, so that the temperature rise of processor.Thus, lead to
Cross and judge that the memory usage of mobile terminal provides referring to property and ease for use to be cleared up for follow-up internal memory.
S207, if the memory usage of mobile terminal is more than default occupancy value, the internal memory of mobile terminal is carried out
Cleaning.
Specifically, cleaning is carried out to the internal memory of mobile terminal to further comprise:Startup is pre-created internal memory thrashing code envelope
Dress bag, the program of cleaning third party's process of operating system in mobile terminal is then called by internal memory thrashing code wrapper,
Cleared up with treating clean up process.Such as, the program of cleaning third party's process of operating system can be in mobile terminal
ActivityManagerNative.forceStopPackage (), by the entrance function of internal memory thrashing code wrapper to
The program of cleaning third party's process is passed to the bag name parameter of process for clearance, eventually through the execution of internal memory thrashing code wrapper
The program of function call cleaning third party's process is treated clean up process and cleared up.Thus, improve and reached by clearing up internal memory
Control the high efficiency and ease for use of battery temperature.
S208, if the memory usage of mobile terminal is less than or equal to default occupancy value, provide a user prompting
Information.Wherein, prompt message is prompt tone and/or prompting flicker information and/or prompt text.Thus, prompt message is improved
Diversity and ease for use.
Specifically, when mobile terminal has an administration authority, and the memory usage of mobile terminal is less than or equal to default account for
During with rate value, then prompt message is provided a user, you can judgement causes the battery temperature of mobile terminal to be higher than the first temperature threshold
For caused by the environmental aspect residing for mobile terminal, not for caused by the service factor of mobile terminal itself.Thus, improve according to shifting
Dynamic terminal receives prompt message by the ease for use under mobile terminal placement matters environment temperature.
The control method of battery temperature in mobile terminal according to embodiments of the present invention, obtain the battery temperature of mobile terminal
Degree, when battery temperature is not meeting preparatory condition, the utilization rate of processor in mobile terminal is adjusted to adjust battery temperature.Should
Method adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal, has high efficiency, real-time and ease for use,
Simultaneously by improving the stability of battery temperature, the service life of lifting battery and the purpose of power reservoir capacity are reached.
To achieve these goals, the invention also provides a kind of control device of the battery temperature in mobile terminal.
A kind of control device of battery temperature in mobile terminal, including:Acquisition module, for obtaining the electricity of mobile terminal
Pond temperature;Adjusting module, for when battery temperature does not meet preparatory condition, adjust the utilization rate of processor in mobile terminal with
Adjust battery temperature.
Fig. 3 is the structural representation of the control device of battery temperature in mobile terminal according to an embodiment of the invention.
As shown in figure 3, in mobile terminal battery temperature control device 30, including:Acquisition module 310 and adjusting module
320。
In one embodiment of the invention, acquisition module 310 is used for the battery temperature for obtaining mobile terminal.
Specifically, battery information receiver is registered in the service of application program, the system of mobile terminal can be to electricity afterwards
Pond message recipient sends the battery status change message of a mobile terminal, is obtained by reading the battery status change message
The battery temperature of mobile terminal.
In an embodiment of the present invention, it is preferable that system sends one to registered message recipient every preset time
The battery status change information of secondary mobile terminal, the battery temperature of mobile terminal is obtained by reading battery status change message
Degree.For example, sent battery status change message to registered battery information receiver every ten seconds or 30 seconds.Wherein, it is electric
The information such as percentage of the pond state change message including battery electric quantity, battery temperature, the voltage of battery, battery manufacturing industry.
Further, after battery information receiver receives battery status change message, judge type of message whether be
(ACTION_BATTERY_CHANGED, battery status change message), if it is not, then ignoring the information, continue to;If
It is then to read the battery temperature in battery status change message, and the reception that continues.Wherein, battery status change message is with key
What the mode of value pair stored, therefrom reading keyword is(EXTRA_TEMPERATURE, unnecessary temperature)Value can obtain battery
Temperature.In addition, if the battery temperature read is Fahrenheit temperature, formula is used:Degree Celsius=(Degrees Fahrenheit -32)/ 1.8
It is converted into degree Celsius.
It is understood that the side of the battery temperature of mobile terminal is obtained above by registered battery information receiver
Formula is only a kind of example to obtaining the battery temperature of mobile terminal under Android system, and the acquisition movement in the embodiment of the present invention is eventually
The mode of the battery temperature at end is not limited to the example above.
In one embodiment of the invention, adjusting module 320 is used for when battery temperature is to meet preparatory condition, adjustment
The utilization rate of processor is to adjust battery temperature in mobile terminal.
Wherein, preparatory condition is the battery temperature scope that user preset or mobile terminal are given tacit consent to, for example, -15-40 degrees Celsius
For the safe range of battery temperature.
The control device of battery temperature in a kind of mobile terminal according to embodiments of the present invention, is obtained by acquisition module and moved
The battery temperature of dynamic terminal, when battery temperature is not meeting preparatory condition, adjusted in mobile terminal and handled by adjusting module
The utilization rate of device is to adjust battery temperature.The device adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal
Degree, has high efficiency, real-time and ease for use, while by improving the stability of battery temperature, has reached making for lifting battery
With life-span and the purpose of power reservoir capacity.
In one embodiment of the invention, preparatory condition is battery temperature not less than the first temperature threshold and no more than the
Two temperature thresholds.
Further, battery temperature does not meet that preparatory condition has following two situations.
(1)When battery temperature is less than the first temperature threshold, judge that battery temperature does not meet preparatory condition.Wherein, preset
Condition is the battery temperature scope of user preset, for example, -15-40 degrees Celsius of the safe rangies for battery temperature, -15 degrees Celsius
As the first temperature threshold.
(2)When battery temperature is more than the first temperature threshold, judge that battery temperature does not meet preparatory condition.
Thus, in one embodiment of the invention, when battery temperature is less than the first temperature threshold, adjusting module 320
It is additionally operable to:Processor operation pre-set code in mobile terminal is called, to produce heat, and when battery temperature is not less than the first temperature
During threshold value, control processor pre-set code out of service.
Specifically, pre-set code is user-defined code segment.It is as follows:
The purpose for performing above-mentioned pre-set code is the code by one section of Continuous plus so that the processor in mobile terminal
Continuously run, so as to produce heat.
It is understood that using user, customized code segment, i.e., the code of one section Continuous plus are only to make in advance
Mobile terminal produces the example of heat, in the embodiment of the present invention using the execution of pre-set code section in a manner of producing heat not
It is limited to the example above, can also is other modes, for example, calls the dummy routine of finite number of time so that call the sky of finite number of time
Heat caused by program reaches the first temperature threshold, so as to realize the stable purpose of battery temperature, may call upon mobile terminal
In auxiliary operation program, for example, antivirus software, using the auxiliary operation program run in mobile terminal, in operation limited number of time
Caused heat reaches the first temperature threshold after number, so as to realize the stable purpose of battery temperature.Thus, improving makes processor
Produce the diversity of heat mode.
In one embodiment of the invention, when battery temperature is more than the first temperature threshold, adjusting module 320 is also used
In:Judge whether mobile terminal has administration authority, and when mobile terminal does not have administration authority, provide a user for carrying
Show that mobile terminal does not have the information of administration authority, and when mobile terminal has administration authority, determine whether mobile whole
The memory usage at end, and when the memory usage of mobile terminal is more than default occupancy value, to being deposited into mobile terminal
Row cleaning, and when the memory usage of mobile terminal is less than or equal to default occupancy value, provide a user prompt message.
Wherein, prompt message is prompt tone and/or prompting flicker information and/or prompt text.Thus, prompting letter is improved
The diversity and ease for use of breath.
Specifically, when mobile terminal has administration authority, you can the systematic difference program of mobile terminal is operated.
If mobile terminal does not have administration authority, prompt message is provided a user so that user clears up movement eventually according to prompt message
The internal memory at end.
Wherein, the memory usage of mobile terminal for the systematic difference program of mobile terminal execution number situation institute
Cause.The execution of substantial amounts of application program can cause the memory usage of mobile terminal bigger than normal, so that the temperature liter of processor
It is high.Thus, referring to property and ease for use are provided for follow-up internal memory cleaning by judging the memory usage of mobile terminal.
Specifically, in one embodiment of the invention, adjusting module 320 is additionally operable to:The internal memory of mobile terminal is carried out
Cleaning further comprises, is pre-created internal memory thrashing code wrapper more specifically, starting, is then sealed by internal memory thrashing code
Dress bag calls the program of cleaning third party's process of operating system in mobile terminal, is cleared up with treating clean up process.Such as, move
The program of cleaning third party's process of operating system can be in dynamic terminal
ActivityManagerNative.forceStopPackage (), by the entrance function of internal memory thrashing code wrapper to
The program of cleaning third party's process is passed to the bag name parameter of process for clearance, eventually through the execution of internal memory thrashing code wrapper
The program of function call cleaning third party's process is treated clean up process and cleared up.Thus, improve and reached by clearing up internal memory
Control the high efficiency and ease for use of battery temperature.
In addition, working as mobile terminal has administration authority, and the memory usage of mobile terminal is less than or equal to default take
During rate value, then prompt message is provided a user, you can judge to cause the battery temperature of mobile terminal be higher than the first temperature threshold
Caused by environmental aspect residing for mobile terminal, not for caused by the service factor of mobile terminal itself.Thus, improve according to movement
Terminal receives prompt message by the ease for use under mobile terminal placement matters environment temperature.
The control device of battery temperature in mobile terminal according to embodiments of the present invention, obtained and moved by acquisition module
The battery temperature of terminal, when battery temperature is not meeting preparatory condition, processor in mobile terminal is adjusted by adjusting module
Utilization rate to adjust battery temperature.The device by adjusting the utilization rate of processor in mobile terminal to adjust battery temperature,
With high efficiency, real-time and ease for use, while by improving the stability of battery temperature, reached lifting battery uses the longevity
The purpose of life and power reservoir capacity.
To achieve these goals, the invention also provides a kind of mobile terminal.
A kind of mobile terminal, including:Shell, screen, processor and circuit board;Screen is placed on shell, circuit board peace
The interior volume surrounded in shell is put, processor is set on circuit boards, and processor is run to application software;Processor,
For processing data, and it is specifically used for:Obtain the battery temperature of mobile terminal;When battery temperature does not meet preparatory condition, adjust
The utilization rate of processor is to adjust battery temperature in whole mobile terminal.
Mobile terminal according to embodiments of the present invention, the battery temperature of mobile terminal is obtained, when battery temperature is not meeting
During preparatory condition, the utilization rate of processor in mobile terminal is adjusted to adjust battery temperature.This method is by adjusting mobile terminal
The utilization rate of middle processor has high efficiency, real-time and ease for use to adjust battery temperature, while by improving battery temperature
Stability, reached lifting battery service life and power reservoir capacity purpose.
In one embodiment of the invention, preparatory condition is battery temperature not less than the first temperature threshold and no more than the
Two temperature thresholds.
In one embodiment of the invention, when battery temperature is less than the first temperature threshold, processor also particularly useful for:
Processor operation pre-set code in mobile terminal is called, to produce heat;When battery temperature is not less than the first temperature threshold, control
Processor pre-set code out of service processed.
In one embodiment of the invention, when battery temperature is more than the first temperature threshold, processor also particularly useful for:
Judge whether mobile terminal has administration authority;If mobile terminal does not have administration authority, prompt message is provided a user;
If mobile terminal has administration authority, the memory usage of mobile terminal is determined whether;If the internal memory of mobile terminal accounts for
It is more than default occupancy value with rate, then the internal memory of mobile terminal is cleared up;If the memory usage of mobile terminal is less than
Or equal to default occupancy value, then provide a user prompt message.
In one embodiment of the invention, prompt message is prompt tone and/or prompting flicker information and/or prompting text
Word.Thus, the diversity and ease for use of prompt message are improved.
In one embodiment of the invention, processor also particularly useful for:Startup is pre-created the encapsulation of internal memory thrashing code
Bag, the program of cleaning third party's process of operating system in mobile terminal is then called by internal memory thrashing code wrapper, with
Clean up process is treated to be cleared up.Thus, the ease for use and high efficiency for internally depositing into row cleaning are improved.
Mobile terminal according to embodiments of the present invention, the battery temperature of mobile terminal is obtained by acquisition module, works as battery
Temperature adjusts the utilization rate of processor in mobile terminal to adjust battery temperature when not meeting preparatory condition, by adjusting module
Degree.The mobile terminal adjusts battery temperature by adjusting the utilization rate of processor in mobile terminal, has high efficiency, real-time
With ease for use, while by improving the stability of battery temperature, the service life of lifting battery and the mesh of power reservoir capacity are reached
's.
It should be appreciated that the processing implement body of mobile terminal described in the embodiment of the present invention, which performs step, refers to above-mentioned reality
The control method for applying battery temperature in the example mobile terminal understands, will not be repeated here.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment(As computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction)Use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.The more specifically example of computer-readable medium(Non-exhaustive list)Including following:Electricity with one or more wiring
Connecting portion(Electronic installation), portable computer diskette box(Magnetic device), random access memory(RAM), read-only storage
(ROM), erasable edit read-only storage(EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir(CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array(PGA), scene
Programmable gate array(FPGA)Deng.
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries
Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art is not departing from the principle and objective of the present invention
In the case of above-described embodiment can be changed within the scope of the invention, change, replace and modification.The scope of the present invention
Extremely equally limited by appended claims.
Claims (12)
1. the control method of battery temperature in a kind of mobile terminal, it is characterised in that comprise the following steps:
Obtain the battery temperature of mobile terminal;
When the battery temperature does not meet preparatory condition, the utilization rate for adjusting processor in the mobile terminal is described to adjust
Battery temperature, the preparatory condition are that the battery temperature is not less than the first temperature threshold and is not more than second temperature threshold value, when
When the battery temperature is more than the second temperature threshold value, the utilization rate of processor is to adjust in the adjustment mobile terminal
The battery temperature includes:
Judge whether the mobile terminal has administration authority;
If the mobile terminal does not have the administration authority, provide a user for prompting the mobile terminal not have
The information of the administration authority;
If the mobile terminal has the administration authority, the memory usage of the mobile terminal is determined whether;
If the memory usage of the mobile terminal is more than default occupancy value, the internal memory of the mobile terminal is carried out clearly
Reason;
If the memory usage of the mobile terminal is less than or equal to the default occupancy value, prompting letter is provided a user
Breath.
2. according to the method for claim 1, it is characterised in that when the battery temperature is less than the first temperature threshold, institute
The utilization rate for stating processor in the adjustment mobile terminal is specifically included with adjusting the battery temperature:
Processor in the mobile terminal is called to run pre-set code, to produce heat;
When the battery temperature is not less than first temperature threshold, the processor default generation out of service is controlled
Code.
3. according to the method for claim 1, the prompt message is prompt tone and/or prompting flicker information and/or prompting
Word.
4. according to the method for claim 1, carry out cleaning to the internal memory of the mobile terminal to specifically include:
Start the internal memory thrashing code wrapper being pre-created;
The journey of cleaning third party's process of operating system in the mobile terminal is called by the internal memory thrashing code wrapper
Sequence, cleared up with treating clean up process.
A kind of 5. control device of battery temperature in mobile terminal, it is characterised in that including:
Acquisition module, for obtaining the battery temperature of mobile terminal;
Adjusting module, for when the battery temperature does not meet preparatory condition, adjusting making for processor in the mobile terminal
With rate to adjust the battery temperature, the preparatory condition is the battery temperature not less than the first temperature threshold and no more than the
Two temperature thresholds, when the battery temperature is more than the second temperature threshold value, the adjusting module is additionally operable to:
Judge whether the mobile terminal has administration authority, and when the mobile terminal does not have the administration authority, to
User provides the information for prompting the mobile terminal not have the administration authority, and has institute in the mobile terminal
When stating administration authority, the memory usage of the mobile terminal is determined whether, and in the memory usage of the mobile terminal
During more than default occupancy value, the internal memory of the mobile terminal is cleared up, and the EMS memory occupation in the mobile terminal
When rate is less than or equal to the default occupancy value, prompt message is provided a user.
6. device according to claim 5, it is characterised in that when the battery temperature is less than the first temperature threshold, institute
Adjusting module is stated to be additionally operable to:
Processor in the mobile terminal is called to run pre-set code, to produce heat, and when the battery temperature is not less than institute
When stating the first temperature threshold, the processor pre-set code out of service is controlled.
7. device according to claim 5, it is characterised in that the prompt message is prompt tone and/or prompting flicker letter
Breath and/or prompt text.
8. device according to claim 5, it is characterised in that the adjusting module is additionally operable to:
Startup is pre-created internal memory thrashing code wrapper, and is called by the internal memory thrashing code wrapper in mobile terminal
The program of cleaning third party's process of operating system, is cleared up with treating clean up process.
A kind of 9. mobile terminal, it is characterised in that including:Shell, screen, processor and circuit board;
On the housing, the circuit board is placed in the interior volume that the shell surrounds, the processing for the screen placement
Device is arranged on the circuit board;
The processor, for processing data, and it is specifically used for:
Obtain the battery temperature of mobile terminal;
When the battery temperature does not meet preparatory condition, the utilization rate of processor described in the mobile terminal is adjusted to adjust
The battery temperature, the preparatory condition are the battery temperature not less than the first temperature threshold and are not more than second temperature threshold
Value,
When the battery temperature is more than second temperature threshold value, the processor is additionally operable to:
Judge whether the mobile terminal has administration authority;
If the mobile terminal does not have the administration authority, provide a user for prompting the mobile terminal not have
The information of the administration authority;
If the mobile terminal has the administration authority, the memory usage of the mobile terminal is determined whether;
If the memory usage of the mobile terminal is more than default occupancy value, the internal memory of the mobile terminal is carried out clearly
Reason;
If the memory usage of the mobile terminal is less than or equal to the default occupancy value, prompting letter is provided a user
Breath.
10. mobile terminal according to claim 9, it is characterised in that when the battery temperature is less than the first temperature threshold
When, the processor also particularly useful for:
Processor in the mobile terminal is called to run pre-set code, to produce heat;
When the battery temperature is not less than first temperature threshold, the processor default generation out of service is controlled
Code.
11. mobile terminal according to claim 9, it is characterised in that the prompt message is that prompt tone and/or prompting are dodged
Bright information and/or prompt text.
12. mobile terminal according to claim 9, it is characterised in that the processor also particularly useful for:
Startup is pre-created internal memory thrashing code wrapper;
The journey of cleaning third party's process of operating system in the mobile terminal is called by the internal memory thrashing code wrapper
Sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310721773.4A CN104733803B (en) | 2013-12-24 | 2013-12-24 | The control method of battery temperature, device and mobile terminal in mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310721773.4A CN104733803B (en) | 2013-12-24 | 2013-12-24 | The control method of battery temperature, device and mobile terminal in mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104733803A CN104733803A (en) | 2015-06-24 |
CN104733803B true CN104733803B (en) | 2018-03-06 |
Family
ID=53457447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310721773.4A Active CN104733803B (en) | 2013-12-24 | 2013-12-24 | The control method of battery temperature, device and mobile terminal in mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104733803B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897048A (en) * | 2015-12-18 | 2017-06-27 | 小米科技有限责任公司 | The method and device of mobile terminal, execute instruction |
CN105611008B (en) * | 2016-02-24 | 2020-01-14 | 深圳市中新力电子科技有限公司 | Mobile terminal |
CN107181859A (en) * | 2017-04-14 | 2017-09-19 | 北京小米移动软件有限公司 | Temprature control method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393534A (en) * | 2007-09-21 | 2009-03-25 | 乐金电子(昆山)电脑有限公司 | Method for controlling notebook computer performance based on temperature of battery |
CN102510422A (en) * | 2011-10-09 | 2012-06-20 | 惠州Tcl移动通信有限公司 | Mobile terminal and method for regulating operating load thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4566392B2 (en) * | 2000-11-16 | 2010-10-20 | レノボ シンガポール プライヴェート リミテッド | Battery, battery pack, computer apparatus, electric device, and battery temperature control method for determining action level associated with temperature control |
-
2013
- 2013-12-24 CN CN201310721773.4A patent/CN104733803B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393534A (en) * | 2007-09-21 | 2009-03-25 | 乐金电子(昆山)电脑有限公司 | Method for controlling notebook computer performance based on temperature of battery |
CN102510422A (en) * | 2011-10-09 | 2012-06-20 | 惠州Tcl移动通信有限公司 | Mobile terminal and method for regulating operating load thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104733803A (en) | 2015-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104733803B (en) | The control method of battery temperature, device and mobile terminal in mobile terminal | |
CN105208642B (en) | A kind of method and terminal of application management | |
CN104536483B (en) | The temprature control method and device of a kind of communicating terminal | |
CN104267795A (en) | Capacity management method, capacity management device and electronic equipment | |
CN104536813A (en) | Accelerating method and device for computing equipment | |
CN104144240A (en) | Contact management method and device and terminal device | |
CN106063072A (en) | Terminal | |
CN103280607A (en) | Charging method and mobile terminal | |
CN108162773A (en) | Temprature control method and device | |
CN102480361A (en) | Power control method of multiple servers | |
CN107809455A (en) | Water meter energy-conservation reminding method and Internet of things system based on compound Internet of Things | |
CN105516476B (en) | A method of high energy consumption application is closed to control using economize on electricity | |
CN105517162B (en) | The carrier aggregation function control method and communication terminal of a kind of communication terminal | |
CN106034182A (en) | Method, device and terminal for controlling electric quantity loss | |
CN104113631B (en) | A kind of data transmission method and electronic equipment | |
CN106598816A (en) | Terminal perception state control method and terminal perception state control device | |
CN108121545A (en) | The unloading feedback method and device of application program | |
CN104461311A (en) | Information processing method and electronic equipment | |
CN108227802A (en) | A kind of self-start circuit and startup method | |
Allegretto et al. | A posteriori error analysis for FEM of thermistor problems | |
CN102375814A (en) | Device and method for storing remark information | |
CN104602250B (en) | A kind of method that auxiliary node deployed position is effectively determined in Delay Tolerant Network | |
CN104579869B (en) | A kind of method that auxiliary node deployment number is effectively determined in Delay Tolerant Network | |
CN114025404B (en) | Wireless sensor network routing protocol method, wireless sensor and storage medium | |
CN106126324A (en) | A kind of method freezing application program and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 100041 A-0071 2, 3 building, 30 Shixing street, Shijingshan District, Beijing. Patentee after: Beijing cheetah Mobile Technology Co., Ltd. Address before: 100041 room 3, 3 West well road, Badachu hi tech park, Shijingshan District, Beijing, 1100A Patentee before: SHELL INTERNET (BEIJING) SECURITY TECHNOLOGY CO., LTD. |
|
CP03 | Change of name, title or address |