CN106557135B - processor temperature regulation and control method and device - Google Patents

processor temperature regulation and control method and device Download PDF

Info

Publication number
CN106557135B
CN106557135B CN201510629883.7A CN201510629883A CN106557135B CN 106557135 B CN106557135 B CN 106557135B CN 201510629883 A CN201510629883 A CN 201510629883A CN 106557135 B CN106557135 B CN 106557135B
Authority
CN
China
Prior art keywords
temperature
preset
mobile terminal
processor
application program
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
Application number
CN201510629883.7A
Other languages
Chinese (zh)
Other versions
CN106557135A (en
Inventor
陈家楠
朱少杰
周佳
杜国楹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Eren Eben Information Technology Co Ltd
Original Assignee
Beijing Eren Eben Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Eren Eben Information Technology Co Ltd filed Critical Beijing Eren Eben Information Technology Co Ltd
Priority to CN201510629883.7A priority Critical patent/CN106557135B/en
Publication of CN106557135A publication Critical patent/CN106557135A/en
Application granted granted Critical
Publication of CN106557135B publication Critical patent/CN106557135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

the invention provides a processor temperature regulation method and a device, wherein the method comprises the following steps: monitoring the temperature change of a designated device of the mobile terminal according to a preset time rule; when the temperature change of the appointed device is monitored to meet a preset temperature control condition, acquiring information of an application program running in the mobile terminal; and when detecting that the task for starting the application program is triggered, reducing the working frequency of the processor according to a preset frequency reduction rule so as to regulate and control the temperature of the processor. The invention can effectively control the temperature of the processor by carrying out frequency reduction processing on the processor before the application program which can cause the temperature of the processor to rise is started.

Description

Processor temperature regulation and control method and device
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a processor temperature regulation and control method and device.
background
With the continuous improvement of the performance of the mobile terminal, the number of cores of the adopted processor is more and more, and at present, four cores or even eight cores are achieved, but the heating problem is a technical problem which is difficult to solve.
in the prior art, the mainstream method for solving the heating problem is to read the temperature of the thermistor on the processor by using a temperature regulation program, and then regulate and control the temperature of the processor according to the read temperature. The principle is that when the processor is operated at a high load for a certain time, the temperature of the processor reaches a high temperature, for example, 90 degrees, and then the processor is down-converted by the control program.
Since the processor is heated up very fast, but the heat dissipation of the whole terminal is slow, that is, when a heavy program such as a large game is run, the temperature of the processor rises from 35 degrees to 60 degrees in 10 seconds, but when the temperature is reached, the game is continued to run, and even if the temperature is lowered at this time, the temperature is hard to be lowered. Therefore, the prior art has the defect of poor regulation effect.
disclosure of Invention
In view of this, the present invention provides a method and an apparatus for regulating and controlling a temperature of a processor, which are applied to a mobile terminal, and can effectively control the temperature of the processor by performing a frequency reduction process on the processor before an application program that can cause the temperature of the processor to rise is started.
the first aspect of the embodiments of the present invention provides a processor temperature control method, including: monitoring the temperature change of a designated device of the mobile terminal according to a preset time rule;
when the temperature change of the specified device is monitored to meet a preset temperature control condition, acquiring information of an application program running in the mobile terminal;
And when detecting that the task for starting the application program is triggered, reducing the working frequency of the processor according to a preset frequency reduction rule.
Further, when it is monitored that the temperature change of the specified device meets a preset temperature control condition, the acquiring information of the application program running in the mobile terminal includes:
And when the temperature of the specified device is monitored to be greater than or equal to a preset regulation threshold value, acquiring information of an application program running in the mobile terminal.
further, when it is monitored that the temperature change of the specified device meets a preset temperature control condition, the acquiring information of the application program running in the mobile terminal includes:
and when the temperature of the specified device is monitored to be greater than or equal to a preset regulation and control threshold value and the change of the temperature is in a continuous rising trend within a preset monitoring time, acquiring information of the application program running in the mobile terminal.
further, the reducing the operating frequency of the processor according to the preset frequency reduction rule includes:
And continuously reducing the working frequency of the processor, and stopping reducing the frequency when the working frequency of the processor is detected to be less than or equal to the preset frequency or the frame rate of the application program is detected to be less than or equal to the preset frame rate.
further, after the obtaining of the information of the application running in the mobile terminal, the method includes:
Recording the screen brightness value of the mobile terminal;
when detecting that the task of starting the application program is triggered, the method for reducing the working frequency of the processor according to the preset frequency reduction rule comprises the following steps:
acquiring the brightness value of the current screen of the mobile terminal;
and if the brightness value of the current screen is greater than or equal to the recorded screen brightness value, reducing the brightness value of the screen to a preset brightness value.
Further, after the obtaining of the information of the application running in the mobile terminal, the method further includes:
Recording the opened peripheral equipment in the mobile terminal;
after the step of reducing the operating frequency of the processor according to the preset frequency reduction rule when detecting that the task of starting the application program is triggered, the method further includes:
acquiring a peripheral which is currently started by the mobile terminal;
And if the number of the currently opened peripherals is greater than or equal to the recorded number of the opened peripherals, closing idle peripherals in the currently opened peripherals.
further, before monitoring the temperature change of the specific device of the mobile terminal according to the preset time rule, the method includes:
Acquiring local air temperature;
if the local air temperature is greater than or equal to a preset maximum air temperature, determining a first threshold value as the regulation threshold value;
If the local air temperature is less than or equal to a preset lowest air temperature, determining a second threshold value as the regulation threshold value;
Determining a third threshold as the regulation threshold if the local air temperature is between the maximum air temperature and the minimum air temperature, wherein the first threshold is less than the third threshold, and the third threshold is less than the second threshold.
Further, the acquiring the local air temperature includes:
acquiring the local air temperature through a network;
If the local temperature cannot be acquired through the network, acquiring system time and acquiring the position information of the mobile terminal through a global positioning system;
and inquiring the air temperature corresponding to the system time and the position information in a preset temperature index table, and taking the inquiry result as the local air temperature.
further, the specifying means includes: any of a processor, a battery, a screen, and/or a body of the mobile terminal.
A second aspect of an embodiment of the present invention provides a processor temperature control apparatus, including: the temperature monitoring module is used for monitoring the temperature change of a specified device of the mobile terminal according to a preset time rule;
The acquisition module is used for acquiring information of an application program running in the mobile terminal when the temperature monitoring module monitors that the temperature change of the specified device meets a preset temperature control condition;
the task detection module is used for detecting whether a task for starting the application program is triggered or not;
And the temperature control module is used for reducing the working frequency of the processor according to a preset frequency reduction rule when the task detection module detects that the task for starting the application program is triggered.
further, the obtaining module is further configured to obtain information of an application program running in the mobile terminal when it is monitored that the temperature of the specified device is greater than or equal to a preset regulation threshold.
Further, the obtaining module is further configured to obtain information of an application program running in the mobile terminal when the temperature of the specified device is monitored to be greater than or equal to a preset regulation threshold and the change of the temperature is in a continuously rising trend within a preset monitoring duration.
further, the temperature control module is further configured to continuously decrease the operating frequency of the processor, and stop decreasing the frequency when it is detected that the operating frequency of the processor is less than or equal to a preset frequency or the frame rate of the application program is less than or equal to a preset frame rate.
further, the apparatus further comprises:
The recording module is used for recording the screen brightness value of the mobile terminal;
the acquisition module is further used for acquiring the brightness value of the current screen of the mobile terminal;
And the temperature control module is also used for reducing the brightness value of the screen to a preset brightness value if the brightness value of the current screen is greater than or equal to the recorded screen brightness value.
further, the recording module is further configured to record an external device that is started in the mobile terminal;
the acquisition module is also used for acquiring the currently opened peripheral equipment of the mobile terminal;
The temperature control module is further configured to close an idle peripheral of the currently opened peripherals if the number of the currently opened peripherals is greater than or equal to the recorded number of the opened peripherals.
further, the apparatus further comprises:
The air temperature acquisition module is used for acquiring local air temperature;
The threshold value determining module is used for determining a first threshold value as the regulating threshold value if the local air temperature is greater than or equal to a preset highest air temperature, determining a second threshold value as the regulating threshold value if the local air temperature is less than or equal to a preset lowest air temperature, and determining a third threshold value as the regulating threshold value if the local air temperature is between the highest air temperature and the lowest air temperature, wherein the first threshold value is less than the third threshold value, and the third threshold value is less than the second threshold value.
further, the air temperature obtaining module is further configured to obtain the local air temperature through a network, obtain the system time and obtain the location information of the mobile terminal through a global positioning system if the local air temperature cannot be obtained through the network, query the system time and the air temperature corresponding to the location information in a preset temperature index table, and take a query result as the local air temperature.
Further, the specifying means includes: any of a processor, a battery, a screen, and/or a body of the mobile terminal.
a third aspect of embodiments of the present invention provides a mobile terminal, including a temperature detector and the processor temperature control apparatus provided in the second aspect, where the temperature detector is configured to detect a temperature of the specific device.
According to the processor temperature regulation method and device in the embodiment, the information of the application program running in the mobile terminal is obtained when the temperature change of the appointed device of the mobile terminal meets the preset temperature control condition, and the frequency of the processor is reduced in advance before the application program is restarted, so that the effect of preventing the temperature of the processor from being too high is achieved. Compared with the prior art that the frequency of the processor is reduced and adjusted after the temperature of the processor rises, the frequency reduction method and the frequency reduction device can effectively control the temperature of the processor by reducing the frequency of the processor before the application program which can cause the temperature of the processor to rise is started, and the temperature control effect is better.
In order to make the aforementioned and other objects, features and advantages of the invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
FIG. 1 is a flowchart illustrating a method for regulating processor temperature according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for regulating processor temperature according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for regulating processor temperature according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a temperature control device for a processor according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a processor temperature control device according to a fifth embodiment of the present invention.
Detailed Description
to further illustrate the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the embodiments, structures, features and effects according to the present invention will be made with reference to the accompanying drawings and preferred embodiments.
The processor temperature regulation and control method provided by the embodiment of the invention can be applied to a mobile terminal provided with a temperature detector, such as: smart phones, tablet computers, laptop computers, desktop computers, smart wearable devices, and the like, which are equipped with temperature detectors.
first embodiment
Referring to fig. 1, a first embodiment of the present invention provides a method for regulating processor temperature, including:
S101, monitoring the temperature change of a designated device of the mobile terminal according to a preset time rule;
the mobile terminal is preset with a temperature control program, and the temperature control program monitors the temperature change of a specified device of the mobile terminal in real time or regularly according to a preset time rule in the running process of the mobile terminal. Wherein the designated devices may include, but are not limited to: any of a processor, a battery, a screen, and/or a body of the mobile terminal.
Step S102, when the temperature change of the specified device is monitored to meet a preset temperature control condition, acquiring information of an application program running in the mobile terminal;
presetting a temperature control condition in the mobile terminal, and when it is monitored that the temperature change of the specified device meets the preset temperature control condition, acquiring information of an application program running in the mobile terminal, for example, a name of the application program currently running in the mobile terminal, where the application program may include: an application running in the foreground, or all applications running in the foreground and running in the background. Preferably an application running in the foreground.
Specifically, a regulation and control threshold may be preset, the regulation and control threshold is used as a temperature control condition, and when the detected temperature of the specified device of the mobile terminal is greater than or equal to the regulation and control threshold, it is determined that the temperature change of the specified device meets the preset temperature control condition, and information of the application program currently running in the mobile terminal is acquired. It can be understood that different regulation and control thresholds can be configured for different specified devices, and the regulation and control thresholds are managed through a regulation and control threshold index table, in which the correspondence between the specified devices and the corresponding regulation and control thresholds is recorded.
Or, defining a temperature change within a preset time as a temperature control condition, and when the temperature change of the specified device meets the defined temperature change, determining that the temperature change of the specified device meets the preset temperature control condition, and acquiring information of the currently running application program in the mobile terminal.
And step S103, when detecting that the task for starting the application program is triggered, reducing the working frequency of the processor according to a preset frequency reduction rule.
When detecting that the task for starting the application program is triggered, reducing the working frequency of the processor according to a preset frequency reduction rule, and running the application program at the reduced working frequency to regulate and control the temperature of the processor.
The method comprises the steps of counting acquired information of application programs, establishing a heating application list according to a counting result, and when a task of starting one application program in the heating application list is triggered, namely the application program is detected to be opened again, for example, when the operation of double-clicking the application program by a user is detected, reducing the working frequency of a processor according to a preset frequency reduction rule so as to pre-regulate and control the temperature of the processor and simultaneously start the application program.
And after detecting that the user finishes the finishing operation of the application program, restoring the working frequency of the processor to the normal working frequency.
The processor in the present invention mainly refers to a Central Processing Unit (CPU). Further, the method can also comprise the following steps: graphics Processing Unit (GPU). That is, the monitoring object may be a CPU or may be a CPU and a GPU, and the down-conversion object is preferably a CPU or may be a CPU and a GPU.
Taking an actual application example, if the temperature of the mobile phone CPU is monitored to reach 75 ℃ and exceed the regulation threshold value of 70 ℃, recording an application program A, B, C running in the mobile terminal and establishing a heating application list according to the application program A, B, C, closing the application program A in the heating application list by a user after 5 minutes, determining that a task for starting the application program A is triggered when detecting that the user double-clicks an icon for starting the application program A after 2 hours, reducing the working frequency of the CPU according to a preset frequency reduction rule, and then or simultaneously starting the application program A.
Further, in the multi-core mobile terminal, the reducing of the operating frequency of the processor includes not only reducing the operating frequency of the CPU, but also closing a core of the CPU, and when the frequency of a certain core of the CPU is reduced to the lowest level in the frequency reduction process, the temperature of the CPU is still in a higher state, and the core can be closed, for example, a four-core processor is closed to a three-core processor;
Or when detecting that the task for starting the application program is triggered, reducing the working frequency of the processor and simultaneously shutting down the core according to a preset frequency reduction rule.
In the processor temperature control method in the embodiment of the present invention, when the temperature change of the specific device of the mobile terminal meets the preset temperature control condition, the information of the application program running in the mobile terminal is acquired, and before the application program is restarted, the frequency of the processor is preset, so as to prevent the processor from having an excessively high temperature. Compared with the prior art that the frequency of the processor is reduced and adjusted after the temperature of the processor rises, the frequency reduction method and the frequency reduction device can effectively control the temperature of the processor by reducing the frequency of the processor before the application program which can cause the temperature of the processor to rise is started, and the temperature control effect is better.
second embodiment
referring to fig. 2, a second embodiment of the present invention provides a method for regulating processor temperature, including:
step S201, monitoring the temperature change of a designated device of the mobile terminal according to a preset time rule;
The mobile terminal is preset with a temperature control program, and the temperature control program monitors the temperature change of a specified device of the mobile terminal in real time or regularly according to a preset time rule in the running process of the mobile terminal. Wherein the designated devices may include, but are not limited to: any of a processor, a battery, a screen, and/or a body of the mobile terminal.
Step S202, when the temperature of the specified device is monitored to be larger than or equal to a preset regulation threshold value, acquiring information of an application program running in the mobile terminal;
the method comprises the steps of presetting a regulation and control threshold value in the mobile terminal, using the regulation and control threshold value as a temperature control condition, when the detected temperature of a specified device of the mobile terminal is larger than or equal to the regulation and control threshold value, determining that the temperature change of the specified device meets the preset temperature control condition, acquiring information of an application program currently running in the mobile terminal, such as the name of the application program currently running in the mobile terminal, and establishing a heating application list according to the acquired information of the application program. Wherein the application program may include: an application running in the foreground, or all applications running in the foreground and running in the background. Preferably an application running in the foreground.
step S203, when detecting that the task of starting the application program is triggered, continuously reducing the operating frequency of the processor, and when detecting that the operating frequency of the processor is less than or equal to the preset frequency or the frame rate of the application program is less than or equal to the preset frame rate, stopping reducing the frequency.
When detecting that a task for starting an application program in the heating application list is triggered, namely the application program is opened again, for example, when detecting that a user double-clicks the application program, the operating frequency of the processor is reduced according to a preset frequency reduction rule, and the application program is started at the same time.
Specifically, when it is detected that the user opens the application program in the heating application list again, the CPU frequency is adjusted in advance before the application program is run, the operating frequency of the CPU is continuously decreased, and when it is detected that the operating frequency of the CPU is less than or equal to a preset frequency or the frame rate (the number of Frames Per Second run, the larger the FPS, the smoother the screen switching on the screen) of the application program is less than or equal to a preset frame rate, the frequency decrease is stopped. The policy adopted here is to judge the operation efficiency of the application program through the FPS of the application program, for example: when the FPS is >60, the application runs with a very smooth feel, and when the FPS is <30, the application starts to run with a feeling of stuck. Therefore, in order to ensure the operating efficiency of the application program and enable the user to have a better usage experience, the CPU frequency is reduced, and considering the temperature and the FPS, the frequency is reduced as much as possible in the case that the FPS can be maintained above the preset frame rate (e.g., >30), and when the FPS is lower than the preset frame rate (e.g., < 30), the frequency is stopped from being reduced. It should be noted that the preset frame rate can be customized by a manufacturer according to a policy of performance preference or experience preference.
in the processor temperature control method in the embodiment of the present invention, when the temperature change of the specific device of the mobile terminal meets the preset temperature control condition, the information of the application program running in the mobile terminal is acquired, and before the application program is restarted, the frequency of the processor is preset, so as to prevent the processor from having an excessively high temperature. Compared with the prior art that the frequency of the processor is reduced and adjusted after the temperature of the processor rises, the frequency reduction method and the frequency reduction device can effectively control the temperature of the processor by reducing the frequency of the processor before the application program which can cause the temperature of the processor to rise is started, and the temperature control effect is better.
Third embodiment
Referring to fig. 3, a third embodiment of the present invention provides a method for regulating processor temperature, including:
Step S301, acquiring local air temperature;
specifically, the mobile terminal may obtain the local air temperature from the web server through the web interface. If the local air temperature cannot be obtained through the network, the System time is obtained, the position information of the mobile terminal is obtained through a Global Positioning System (GPS), the System time and the air temperature corresponding to the position information are inquired in a preset temperature index table, and the inquiry result is used as the local air temperature. The position information obtained through GPS positioning can be converted into a city, the current date, the day or the night can be obtained according to the current system time, then the current weather temperature is obtained through a built-in temperature index table and serves as the local air temperature, and therefore the corresponding regulation and control threshold value is determined according to the obtained current weather temperature. The average temperature of the major cities in the country at each time of the year is recorded in the temperature index table and is divided into daytime and nighttime.
step S302, if the local air temperature is greater than or equal to a preset maximum air temperature, determining a first threshold as the regulation threshold, if the local air temperature is less than or equal to a preset minimum air temperature, determining a second threshold as the regulation threshold, and if the local air temperature is between the maximum air temperature and the minimum air temperature, determining a third threshold as the regulation threshold;
Considering the influence of air temperature on the temperature of the CPU, for example, in winter, the CPU is less sensitive to heat generation, so when the local temperature is low, a looser temperature control algorithm can be adopted, for example, a lower regulation threshold value is adopted in exchange for more performance. When the local temperature is high, such as in summer, a stricter temperature control algorithm is adopted, such as a higher regulation threshold value, so as to prevent heating.
specifically, if the local air temperature is greater than or equal to the preset highest air temperature, determining that the current time is summer, adopting a stricter temperature control algorithm to determine a first threshold as a regulation threshold, and acquiring information of the currently running application program when the temperature of the CPU reaches the lower first threshold; if the local air temperature is less than or equal to the preset lowest air temperature, determining that the current time is in winter, adopting a looser temperature control algorithm, determining a second threshold as a regulation threshold, and acquiring the information of the currently running application program when the temperature of the CPU reaches a higher second threshold; and if the local air temperature is between the highest air temperature and the lowest air temperature, determining that the current season is spring and autumn, and determining a third threshold as a regulation threshold by adopting a common temperature control algorithm, wherein the first threshold is the smallest, the second threshold is the largest, and the third threshold is between the first threshold and the second threshold, namely the first threshold is less than the third threshold and less than the second threshold.
Step S303, monitoring the temperature change of a designated device of the mobile terminal according to a preset time rule;
the mobile terminal is preset with a temperature control program, and the temperature control program monitors the temperature change of a specified device of the mobile terminal in real time or regularly according to a preset time rule in the running process of the mobile terminal. Wherein the designated devices may include, but are not limited to: any of a processor, a battery, a screen, and/or a body of the mobile terminal.
Step S304, when the temperature of the specified device is monitored to be larger than or equal to a preset regulation and control threshold value and the temperature changes in a continuously rising trend within a preset monitoring time, acquiring information of an application program running in the mobile terminal and recording the screen brightness value of the mobile terminal;
When the temperature of the specified device is monitored to be larger than or equal to a preset regulation threshold value, if the temperature value of the specified device is continuously obtained within a preset monitoring time period, for example, the temperature value of a CPU thermistor is continuously obtained, if the continuously obtained temperature value is in an ascending trend at the moment, information of an application program running in the mobile terminal is obtained and recorded, so that the CPU frequency is regulated in advance when the application program is started next time, and meanwhile, the screen brightness value of the mobile terminal is recorded. It will be appreciated that if the continuously acquired temperature values are trending downward, the application is not recorded. The reason for this is that although the detected temperature is greater than or equal to the regulation threshold, it may be caused by that another application program is previously started, and although the other application program is already closed, since the temperature does not quickly decrease below the regulation threshold, if the change of the acquired temperature value is in a downward trend, it indicates that the reason for the current temperature being too high is not the application program currently running, and no recording is performed. Therefore, the application program causing the overhigh temperature of the processor can be more accurately determined, and the regulation and control efficiency is ensured.
the method comprises the steps of obtaining information of an application program currently running in the mobile terminal, such as the name of the application program currently running in the mobile terminal, and establishing a heating application list according to the obtained information of the application program. Wherein, the application program can comprise: an application running in the foreground, or all applications running in the foreground and running in the background. Preferably an application running in the foreground.
further, the peripheral devices turned on in the mobile terminal are recorded besides the screen brightness value, such as: WIFI, bluetooth, GPS, etc. other operating environment data.
Step S305, when detecting that the task for starting the application program is triggered, continuously reducing the working frequency of the processor, and when detecting that the working frequency of the processor is less than or equal to the preset frequency or the frame rate of the application program is less than or equal to the preset frame rate, stopping reducing the frequency;
when detecting that a task for starting an application program in the heating application list is triggered, namely the application program is opened again, for example, when detecting that a user double-clicks the application program, the operating frequency of the processor is reduced according to a preset frequency reduction rule, and the application program is started at the same time.
specifically, when it is detected that the user opens the application program in the heating application list again, the frequency of the CPU is reduced in advance before the application program runs, the operating frequency of the CPU is continuously reduced, and when it is detected that the operating frequency of the CPU is less than or equal to a preset frequency or a frame rate (FPS) of the application program is less than or equal to a preset frame rate, the frequency reduction is stopped. The policy adopted here is to judge the operation efficiency of the application program through the FPS of the application program, for example: when the FPS is >60, the application runs with a very smooth feel, and when the FPS is <30, the application starts to run with a feeling of stuck. Therefore, in order to ensure the operating efficiency of the application program and enable the user to have a better usage experience, the CPU frequency is reduced, and considering the temperature and the FPS, the frequency is reduced as much as possible in the case that the FPS can be maintained above the preset frame rate (e.g., >30), and when the FPS is lower than the preset frame rate (e.g., < 30), the frequency is stopped from being reduced. It should be noted that the preset frame rate can be customized by a manufacturer according to a policy of performance preference or experience preference.
S306, obtaining the brightness value of the current screen of the mobile terminal, and reducing the brightness value of the screen to a preset brightness value if the brightness value of the current screen is greater than or equal to the recorded screen brightness value.
And comparing the acquired brightness value of the current screen with the previously recorded screen brightness value, and reducing the brightness value of the screen to a preset brightness value if the brightness value of the current screen is greater than or equal to the previously recorded screen brightness value. Wherein the preset brightness value may or may not be equal to the previously recorded screen brightness value. By adjusting the screen brightness, the temperature of the processor can be further controlled, and adverse effects on the temperature of the processor caused by overhigh screen brightness are eliminated.
further, the peripheral equipment which is currently opened by the mobile terminal is obtained, the number of the currently opened peripheral equipment is compared with the number of the previously recorded opened peripheral equipment, and if the number of the currently opened peripheral equipment is larger than or equal to the recorded number of the opened peripheral equipment, idle peripheral equipment in the currently opened peripheral equipment is closed. Specifically, the mobile terminal can determine whether the opened peripheral is an idle peripheral by detecting whether data is being transmitted through interfaces of the peripherals, determine the peripheral without data transmission as the idle peripheral, and close the peripheral. By closing the idle peripherals, the temperature of the processor can be further controlled, and adverse effects on the temperature of the processor due to simultaneous operation of a plurality of peripherals are eliminated.
it should be noted that step S306 may be performed simultaneously with step S305, that is, the processor is down-clocked while the brightness of the screen is adjusted and the idle peripherals are turned off.
in the processor temperature control method in the embodiment of the present invention, when the temperature change of the specific device of the mobile terminal meets the preset temperature control condition, the information of the application program running in the mobile terminal is acquired, and before the application program is restarted, the frequency of the processor is preset, so as to prevent the processor from having an excessively high temperature. Compared with the prior art that the frequency of the processor is reduced and adjusted after the temperature of the processor rises, the frequency reduction method and the frequency reduction device can effectively control the temperature of the processor by reducing the frequency of the processor before the application program which can cause the temperature of the processor to rise is started, and the temperature control effect is better.
fourth embodiment
referring to fig. 4, a fourth embodiment of the present invention provides a processor temperature control device, which can be applied to a mobile terminal, and can be the mobile terminal or a module in the mobile terminal as an execution main body of the processor temperature control method provided in the foregoing embodiment. As shown in fig. 4, the apparatus mainly includes: the system comprises a temperature monitoring module 401, an acquisition module 402, a task detection module 403 and a temperature control module 404, wherein the functions realized by the modules are as follows:
The temperature monitoring module 401 is configured to monitor a temperature change of a designated device of the mobile terminal according to a preset time rule;
An obtaining module 402, configured to obtain information of an application program running in the mobile terminal when the temperature monitoring module 401 monitors that the temperature change of the specified device meets a preset temperature control condition;
a task detection module 403, configured to detect whether a task for starting the application is triggered;
And a temperature control module 404, configured to reduce the operating frequency of the processor according to a preset frequency reduction rule when the task detection module 403 detects that the task of starting the application is triggered. To regulate the temperature of the processor.
For other details of the technical solution for implementing each module in the processor temperature control apparatus, reference may be made to the description of the first embodiment shown in fig. 1, and details are not repeated here.
the processor temperature control device in the embodiment of the present invention obtains the information of the application program running in the mobile terminal when the temperature change of the specified device of the mobile terminal meets the preset temperature control condition, and lowers the processor frequency in advance before the application program is restarted, thereby preventing the processor temperature from being too high. Compared with the prior art that the frequency of the processor is reduced and adjusted after the temperature of the processor rises, the frequency reduction method and the frequency reduction device can effectively control the temperature of the processor by reducing the frequency of the processor before the application program which can cause the temperature of the processor to rise is started, and the temperature control effect is better.
fifth embodiment
referring to fig. 5, a fifth embodiment of the present invention provides a processor temperature control device, which can be applied to a mobile terminal, and can be the mobile terminal or a module in the mobile terminal as an execution main body of the processor temperature control method provided in the foregoing embodiments. As shown in fig. 5, the apparatus includes:
The temperature monitoring module 501 is configured to monitor a temperature change of a designated device of the mobile terminal according to a preset time rule;
An obtaining module 502, configured to obtain information of an application program running in the mobile terminal when the temperature monitoring module 501 monitors that the temperature change of the specified device meets a preset temperature control condition;
a task detection module 503, configured to detect whether a task for starting the application is triggered;
And the temperature control module 504 is configured to reduce the operating frequency of the processor according to a preset frequency reduction rule when the task detection module 503 detects that the task for starting the application program is triggered. To regulate the temperature of the processor.
further, the obtaining module 502 is further configured to obtain information of an application program running in the mobile terminal when it is monitored that the temperature of the specified device is greater than or equal to a preset regulation threshold.
further, the obtaining module 502 is further configured to obtain information of an application program running in the mobile terminal when it is monitored that the temperature of the specified device is greater than or equal to a preset regulation threshold and the change of the temperature is in a continuously rising trend within a preset monitoring duration.
Further, the temperature control module 504 is further configured to continuously decrease the operating frequency of the processor, and stop the down-conversion when it is detected that the operating frequency of the processor is less than or equal to a preset frequency or the frame rate of the application is less than or equal to a preset frame rate.
Further, the apparatus further comprises:
A recording module 505, configured to record a screen brightness value of the mobile terminal;
The obtaining module 502 is further configured to obtain a brightness value of a current screen of the mobile terminal;
the temperature control module 504 is further configured to reduce the brightness value of the screen to a preset brightness value if the brightness value of the current screen is greater than or equal to the recorded screen brightness value.
Further, the recording module 505 is further configured to record a peripheral device that is started in the mobile terminal;
the obtaining module 502 is further configured to obtain a currently-started peripheral of the mobile terminal;
the temperature control module 504 is further configured to close an idle peripheral of the currently opened peripherals if the number of the currently opened peripherals is greater than or equal to the recorded number of the opened peripherals.
further, the apparatus further comprises:
An air temperature acquisition module 506 for acquiring a local air temperature;
A threshold determining module 507, configured to determine a first threshold as the regulation threshold if the local air temperature is greater than or equal to a preset maximum air temperature, determine a second threshold as the regulation threshold if the local air temperature is less than or equal to a preset minimum air temperature, and determine a third threshold as the regulation threshold if the local air temperature is between the maximum air temperature and the minimum air temperature, where the first threshold is less than the third threshold, and the third threshold is less than the second threshold.
further, the air temperature obtaining module 506 is further configured to obtain the local air temperature through the network, and if the local air temperature cannot be obtained through the network, obtain the system time and obtain the location information of the mobile terminal through the global positioning system, query the system time and the air temperature corresponding to the location information in a preset temperature index table, and take the query result as the local air temperature.
Further, the specifying device includes: any one of a processor, a battery, a screen, and a body of the mobile terminal.
for other details of the technical solution for implementing each module in the processor temperature control apparatus, reference may be made to the descriptions of the first to third embodiments shown in fig. 1 to 3, which are not repeated herein.
The processor temperature control device in the embodiment of the present invention obtains the information of the application program running in the mobile terminal when the temperature change of the specified device of the mobile terminal meets the preset temperature control condition, and lowers the processor frequency in advance before the application program is restarted, thereby preventing the processor temperature from being too high. Compared with the prior art that the frequency of the processor is reduced and adjusted after the temperature of the processor rises, the frequency reduction method and the frequency reduction device can effectively control the temperature of the processor by reducing the frequency of the processor before the application program which can cause the temperature of the processor to rise is started, and the temperature control effect is better.
As an embodiment of the present invention, there is also provided a mobile terminal including: a temperature detector and the processor temperature regulating device shown in the figure 4 or the figure 5. Wherein the temperature detector is used for detecting the temperature of a specified device in the mobile terminal.
The processor temperature regulation and control device acquires the temperature of the appointed device in real time or periodically according to a preset time rule through the temperature detector, and monitors the temperature change of the appointed device according to the acquired temperature. The specific process of the processor temperature regulation and control device regulating and controlling the temperature of the processor according to the monitored temperature change of the designated device may refer to the description of each embodiment shown in fig. 1 to 5, and is not described herein again.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
it is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that all or part of the steps of implementing the above embodiments may be performed by hardware, or may be performed by hardware associated with the task of a program, where the program is stored in a computer readable storage medium, and the above mentioned storage medium may be a read-only memory, a magnetic or optical disk, etc.
Although the present invention has been described with reference to the preferred embodiments, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A method of processor temperature regulation, the method comprising:
monitoring the temperature change of a designated device of the mobile terminal according to a preset time rule;
When the temperature change of the specified device is monitored to meet a preset temperature control condition, acquiring information of an application program running in the mobile terminal;
recording the screen brightness value of the mobile terminal;
Recording the opened peripheral equipment in the mobile terminal;
When detecting that the task for starting the application program is triggered, reducing the working frequency of the processor according to a preset frequency reduction rule;
Acquiring the brightness value of the current screen of the mobile terminal;
If the brightness value of the current screen is larger than or equal to the recorded screen brightness value, reducing the brightness value of the screen to a preset brightness value;
acquiring a peripheral which is currently started by the mobile terminal;
and if the number of the currently opened peripherals is greater than or equal to the recorded number of the opened peripherals, closing idle peripherals in the currently opened peripherals.
2. the method according to claim 1, wherein when it is monitored that the temperature change of the specified device meets a preset temperature control condition, the acquiring information of the application program running in the mobile terminal comprises:
And when the temperature of the specified device is monitored to be greater than or equal to a preset regulation threshold value, acquiring information of an application program running in the mobile terminal.
3. the method according to claim 1, wherein when it is monitored that the temperature change of the specified device meets a preset temperature control condition, the acquiring information of the application program running in the mobile terminal comprises:
And when the temperature of the specified device is monitored to be greater than or equal to a preset regulation and control threshold value and the change of the temperature is in a continuous rising trend within a preset monitoring time, acquiring information of the application program running in the mobile terminal.
4. The method of claim 1, wherein reducing the operating frequency of the processor according to the preset downconversion rule comprises:
And continuously reducing the working frequency of the processor, and stopping reducing the frequency when the working frequency of the processor is detected to be less than or equal to the preset frequency or the frame rate of the application program is detected to be less than or equal to the preset frame rate.
5. the method according to claim 1, wherein the monitoring the temperature change of the specific device of the mobile terminal according to the preset time rule comprises:
Acquiring local air temperature;
if the local air temperature is greater than or equal to a preset maximum air temperature, determining a first threshold value as the regulation threshold value;
if the local air temperature is less than or equal to a preset lowest air temperature, determining a second threshold value as the regulation threshold value;
determining a third threshold as the regulation threshold if the local air temperature is between the maximum air temperature and the minimum air temperature, wherein the first threshold is less than the third threshold, and the third threshold is less than the second threshold.
6. The method of claim 5, wherein said obtaining a local air temperature comprises:
Acquiring the local air temperature through a network;
If the local temperature cannot be acquired through the network, acquiring system time and acquiring the position information of the mobile terminal through a global positioning system;
and inquiring the air temperature corresponding to the system time and the position information in a preset temperature index table, and taking the inquiry result as the local air temperature.
7. The method of claim 6, wherein the designating means comprises: any of a processor, a battery, a screen, and/or a body of the mobile terminal.
8. A processor temperature regulation device, the device comprising:
the temperature monitoring module is used for monitoring the temperature change of a specified device of the mobile terminal according to a preset time rule;
The acquisition module is used for acquiring information of an application program running in the mobile terminal when the temperature monitoring module monitors that the temperature change of the specified device meets a preset temperature control condition;
the task detection module is used for detecting whether a task for starting the application program is triggered or not;
the temperature control module is used for reducing the working frequency of the processor according to a preset frequency reduction rule when the task detection module detects that the task for starting the application program is triggered;
The recording module is used for recording the screen brightness value of the mobile terminal;
the acquisition module is further used for acquiring the brightness value of the current screen of the mobile terminal;
the temperature control module is further used for reducing the brightness value of the screen to a preset brightness value if the brightness value of the current screen is greater than or equal to the recorded screen brightness value;
the recording module is also used for recording the peripherals started in the mobile terminal;
the acquisition module is also used for acquiring the currently opened peripheral equipment of the mobile terminal;
The temperature control module is further configured to close an idle peripheral of the currently opened peripherals if the number of the currently opened peripherals is greater than or equal to the recorded number of the opened peripherals.
9. the apparatus of claim 8,
the obtaining module is further configured to obtain information of an application program running in the mobile terminal when the temperature of the specified device is monitored to be greater than or equal to a preset regulation threshold.
10. the apparatus of claim 8,
the obtaining module is further configured to obtain information of an application program running in the mobile terminal when the monitored temperature of the designated device is greater than or equal to a preset regulation and control threshold and the temperature changes in a continuously rising trend within a preset monitoring duration.
11. The apparatus of claim 8,
the temperature control module is further configured to continuously reduce the operating frequency of the processor, and stop reducing the frequency when it is detected that the operating frequency of the processor is less than or equal to a preset frequency or the frame rate of the application program is less than or equal to a preset frame rate.
12. The apparatus of claim 8, further comprising:
the air temperature acquisition module is used for acquiring local air temperature;
the threshold value determining module is used for determining a first threshold value as the regulating threshold value if the local air temperature is greater than or equal to a preset highest air temperature, determining a second threshold value as the regulating threshold value if the local air temperature is less than or equal to a preset lowest air temperature, and determining a third threshold value as the regulating threshold value if the local air temperature is between the highest air temperature and the lowest air temperature, wherein the first threshold value is less than the third threshold value, and the third threshold value is less than the second threshold value.
13. the apparatus of claim 12,
The air temperature obtaining module is further configured to obtain the local air temperature through a network, obtain a system time and obtain the location information of the mobile terminal through a global positioning system if the local air temperature cannot be obtained through the network, query the system time and the air temperature corresponding to the location information in a preset temperature index table, and take a query result as the local air temperature.
14. The apparatus of claim 13, wherein the specifying means comprises: any of a processor, a battery, a screen, and/or a body of the mobile terminal.
15. A mobile terminal, comprising: a temperature detector and a processor temperature regulation device as claimed in any one of claims 8 to 14;
the temperature detector is used for detecting the temperature of the specified device.
CN201510629883.7A 2015-09-29 2015-09-29 processor temperature regulation and control method and device Active CN106557135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510629883.7A CN106557135B (en) 2015-09-29 2015-09-29 processor temperature regulation and control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510629883.7A CN106557135B (en) 2015-09-29 2015-09-29 processor temperature regulation and control method and device

Publications (2)

Publication Number Publication Date
CN106557135A CN106557135A (en) 2017-04-05
CN106557135B true CN106557135B (en) 2019-12-17

Family

ID=58416647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510629883.7A Active CN106557135B (en) 2015-09-29 2015-09-29 processor temperature regulation and control method and device

Country Status (1)

Country Link
CN (1) CN106557135B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329547B (en) * 2017-07-24 2020-04-17 奇酷互联网络科技(深圳)有限公司 Temperature control method and device and mobile terminal
CN107463233A (en) * 2017-08-16 2017-12-12 联想(北京)有限公司 The cooling control method and electronic equipment of a kind of electronic equipment
CN107704053A (en) * 2017-08-24 2018-02-16 深圳天珑无线科技有限公司 Mobile terminal method for regulating temperature, mobile terminal and storage device
CN107845392B (en) * 2017-10-11 2020-12-29 晶晨半导体(上海)股份有限公司 Chip temperature regulation and control method
CN108108282B (en) * 2017-12-07 2020-06-23 联想(北京)有限公司 Information processing method and device and electronic equipment
CN108319537A (en) * 2018-01-30 2018-07-24 努比亚技术有限公司 Keep constant temperature method, mobile terminal and computer-readable storage media
CN112448366A (en) * 2019-08-30 2021-03-05 上海铸橙系统集成有限公司 Explosion-proof space monitor
CN110727561B (en) * 2019-10-22 2023-08-01 Oppo广东移动通信有限公司 Abnormal heat dissipation detection method, device, terminal and storage medium
CN111007930B (en) * 2019-12-09 2021-08-24 Oppo广东移动通信有限公司 Temperature control method, temperature control device, storage medium and electronic equipment
TWI743620B (en) 2019-12-11 2021-10-21 瑞昱半導體股份有限公司 Performance management method and electronic device
CN111901965A (en) * 2020-05-22 2020-11-06 宇龙计算机通信科技(深圳)有限公司 Circuit board heat radiation structure and electronic equipment
CN112349987B (en) * 2020-10-30 2022-09-13 湖北亿纬动力有限公司 Starting method, device, equipment and storage medium of temperature control system of battery cell
CN115617500A (en) * 2021-07-14 2023-01-17 Oppo广东移动通信有限公司 Working frequency adjusting method and device, electronic equipment and storage medium
CN113589864A (en) * 2021-07-29 2021-11-02 宁波三星医疗电气股份有限公司 Temperature control method of energy controller
CN116107782A (en) * 2021-11-10 2023-05-12 Oppo广东移动通信有限公司 Method and device for controlling electronic equipment, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101865151A (en) * 2010-06-13 2010-10-20 北京星网锐捷网络技术有限公司 Method and device for controlling rotation speed of fan and network equipment
CN103513748A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information, information processor and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510422B (en) * 2011-10-09 2014-06-25 惠州Tcl移动通信有限公司 Mobile terminal and method for regulating operating load thereof
CN103376859B (en) * 2012-04-26 2016-12-14 华为技术有限公司 The control method of chip performance and device
CN104427124B (en) * 2013-09-09 2019-05-21 中兴通讯股份有限公司 A kind of method, apparatus and terminal of controlling terminal temperature
CN104391554A (en) * 2014-10-23 2015-03-04 深圳市金立通信设备有限公司 Method for adjusting terminal temperature

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101865151A (en) * 2010-06-13 2010-10-20 北京星网锐捷网络技术有限公司 Method and device for controlling rotation speed of fan and network equipment
CN103513748A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information, information processor and electronic device

Also Published As

Publication number Publication date
CN106557135A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN106557135B (en) processor temperature regulation and control method and device
US9615333B2 (en) Adaptive battery life extension
US9626295B2 (en) Systems and methods for scheduling tasks in a heterogeneous processor cluster architecture using cache demand monitoring
US9061210B2 (en) Synchronizing an instance of an application between multiple devices
US9800713B2 (en) Moisture detection response
US20190095250A1 (en) Application program management method and device
EP3128789A1 (en) Method, device and mobile terminal for reducing power consumption
JP5911970B2 (en) Adaptive temperature throttling with user configuration features
US9002992B2 (en) Location based game state synchronization
WO2016183918A1 (en) Method and device for processing storage space
CN110214298B (en) System and method for context aware thermal management and workload scheduling in portable computing devices
CN106332247A (en) Method and system for automatically closing background redundant applications based on mobile terminal
EP3962180A1 (en) Network-based control method for power consumption of applications, terminal and storage medium
US9110735B2 (en) Managing performance policies based on workload scalability
US9087114B2 (en) System and method for managing electrical current in a portable computing device
US10719243B2 (en) Techniques for preserving an expected lifespan of a non-volatile memory
US9749960B2 (en) Adaptable power-budget for mobile devices
US10929245B1 (en) Flexible scheduler for backups
US9143178B1 (en) Activity-based remaining battery life
US20210303056A1 (en) Background process management for a device
US11836507B2 (en) Prioritizing the pre-loading of applications with a constrained memory budget using contextual information
US9684355B2 (en) Identifying power state changes
US20150161070A1 (en) Method and system for managing bandwidth demand for a variable bandwidth processing element in a portable computing device
CN110581920A (en) Equipment operation mode control method and device
US10956057B2 (en) Adaptive power management of dynamic random access memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant