CN107102707B - Temperature control method and mobile terminal - Google Patents

Temperature control method and mobile terminal Download PDF

Info

Publication number
CN107102707B
CN107102707B CN201710257199.XA CN201710257199A CN107102707B CN 107102707 B CN107102707 B CN 107102707B CN 201710257199 A CN201710257199 A CN 201710257199A CN 107102707 B CN107102707 B CN 107102707B
Authority
CN
China
Prior art keywords
temperature
mobile terminal
processor
frequency
processing unit
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
CN201710257199.XA
Other languages
Chinese (zh)
Other versions
CN107102707A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201710257199.XA priority Critical patent/CN107102707B/en
Publication of CN107102707A publication Critical patent/CN107102707A/en
Application granted granted Critical
Publication of CN107102707B publication Critical patent/CN107102707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a temperature control method and a mobile terminal, and belongs to the technical field of electronics. The method comprises the following steps: when the mobile terminal detects that the temperature difference between the current temperature and the initial temperature during starting is in a first temperature difference range, acquiring the average working frequency of the processor and the current upper limit frequency of the processor; and when the frequency of the next stage of the upper limit frequency in the adjustable frequency list of the processor is greater than the average working frequency of the processor, determining the frequency of the next stage as the updated upper limit frequency of the processor. The method provided by the invention can adjust and update the upper limit frequency of the processor in time when the temperature of the mobile terminal rises relative to the initial temperature, so that the updated upper limit frequency is smaller than the current upper limit frequency and is greater than the current average working frequency of the processor, and the temperature rise speed of the mobile terminal can be effectively reduced on the premise of not influencing the performance of the mobile terminal.

Description

Temperature control method and mobile terminal
Technical Field
The invention relates to the technical field of electronics, in particular to a temperature control method and a mobile terminal.
Background
As the functions of mobile terminals become more and more abundant, the frequency and duration of using mobile terminals by people are increasing. Because the shell of the mobile terminal is relatively closed, the heat dissipation of the internal chip is difficult, and when the mobile terminal runs for a long time, the temperature of the mobile terminal is possibly overhigh, and the service life of the internal devices of the mobile terminal is influenced.
In the related art, a temperature sensor is generally disposed in an internal chip (e.g., a processor) of a mobile terminal, and the temperature sensor can detect the temperature of the internal chip in real time. When the temperature exceeds a certain threshold, the mobile terminal can reduce the upper limit frequency of the processor during working to the lowest frequency so as to achieve the purpose of cooling.
However, when the temperature of the mobile terminal is adjusted by using the temperature control method in the related art, the mobile terminal may be in a stuck state and performance may be degraded.
Disclosure of Invention
The invention provides a temperature control method and a mobile terminal, aiming at solving the problem that the performance of the mobile terminal is affected due to the fact that the mobile terminal is jammed in operation by the temperature control method in the related art. The technical scheme is as follows:
in one aspect, a temperature control method is provided, which is applied to a mobile terminal, and the method includes:
when the mobile terminal is started, acquiring the initial temperature of the mobile terminal through a temperature detection module arranged at a position close to a processor on the inner side of a shell of the mobile terminal;
detecting the current temperature of the mobile terminal in real time;
when the temperature difference between the current temperature of the mobile terminal and the initial temperature is in a first temperature difference range, acquiring the average working frequency of the processor and the current upper limit frequency of the processor, wherein the lower limit of the first temperature difference range is greater than 0;
and when the frequency at the next stage of the upper limit frequency in the adjustable frequency list of the processor is greater than the average working frequency of the processor, determining the frequency at the next stage as the updated upper limit frequency of the processor.
In a second aspect, a mobile terminal is provided, the mobile terminal comprising:
the temperature detection module is arranged at a position close to the processor on the inner side of the shell of the mobile terminal, and is used for acquiring the initial temperature of the mobile terminal when the mobile terminal is started;
the temperature detection module is also used for detecting the current temperature of the mobile terminal in real time;
the first obtaining module is used for obtaining the average working frequency of the processor and the current upper limit frequency of the processor when the temperature difference between the current temperature of the mobile terminal and the initial temperature is in a first temperature difference range, wherein the lower limit of the first temperature difference range is larger than 0;
and the first adjusting module is used for determining the frequency of the next stage as the updated upper limit frequency of the processor when the frequency of the next stage located below the upper limit frequency in the adjustable frequency list of the processor is greater than the average working frequency of the processor.
The technical scheme provided by the invention has the beneficial effects that:
the invention provides a temperature control method and a mobile terminal, wherein the method can adjust and update the upper limit frequency of a processor in time when the temperature of the mobile terminal rises relative to the initial temperature during starting, so that the updated upper limit frequency is smaller than the current upper limit frequency and larger than the current average working frequency of the processor, and the temperature rise speed of the mobile terminal can be effectively reduced on the premise of not influencing the performance of the mobile terminal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1-1 is a top view of a mobile terminal according to an embodiment of the present invention;
fig. 1-2 are side views of a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for controlling temperature according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method of temperature control according to an embodiment of the present invention;
FIG. 4 is a flow chart of another temperature control method provided by an embodiment of the invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1-1 is a top view of a mobile terminal according to an embodiment of the present invention, and fig. 1-2 is a side view of the mobile terminal according to the embodiment of the present invention. Referring to fig. 1-1 and 1-2, a temperature detection module 02 is disposed inside the mobile terminal case 00 at a position close to the processor 01. For example, the temperature detection module 02 may be a Negative Temperature Coefficient (NTC) thermistor. The temperature detection module 02 is used to detect the temperature inside the housing 00. Since the housing 00 of the mobile terminal is closer to the skin or palm of the user, the temperature detected by the temperature detection module 02 can reflect the actual feeling of the user on the temperature of the whole mobile terminal during the use process.
In the embodiment of the present invention, before the mobile terminal leaves the factory, the position for setting the temperature detection module 02 needs to be determined through a test. Specifically, the mobile terminal may be controlled to run the performance evaluation software to test the performance of the processor in the mobile terminal. The processor may include a Central Processing Unit (CPU) and a Graphics Processing Unit (GPU), among others. And main heating points of the mobile terminal are concentrated on the CPU and the GPU in the running process of the performance evaluation software. After the performance evaluation software runs for a period of time (for example, about 15 minutes), the heat distribution condition of the whole mobile terminal can be checked through the thermal imager, and the highest surface temperature point of the whole mobile terminal is determined as a heat source point. Finally, the temperature detection module 02 is arranged at the position corresponding to the heat source point inside the mobile terminal shell.
It should be noted that, in order to ensure the detection accuracy of the temperature detection module 02, the mobile terminal may further continue to run the performance evaluation software, compare the temperature detected by the temperature detection module 02 with the heat source value displayed by the thermal imager, and when the error between the temperature detected by the temperature detection module 02 and the heat source value is smaller than a certain threshold (e.g., 0.5 degrees), it may be determined that the temperature detection module 02 can accurately reflect the surface temperature of the mobile terminal, otherwise, the temperature detection module 02 needs to be replaced.
Fig. 2 is a flowchart of a temperature control method according to an embodiment of the present invention, where the method may be applied to the mobile terminal shown in fig. 1-1 or fig. 1-2, and referring to fig. 2, the method may include:
step 101, when the mobile terminal is started, acquiring an initial temperature of the mobile terminal through a temperature detection module.
In the embodiment of the invention, the initial temperature of the mobile terminal can be obtained through the temperature detection module arranged inside the shell every time the mobile terminal is started (namely, every time the mobile terminal is started).
And 102, detecting whether the current temperature of the mobile terminal is greater than the target temperature in real time.
When the current temperature of the mobile terminal is greater than the target temperature, executing step 103; when the current temperature of the mobile terminal is not greater than the target temperature, the mobile terminal may perform step 104, step 108, or step 109 according to a specific range in which the detected current temperature is located.
In the running process of the mobile terminal, the current temperature of the mobile terminal can be obtained in real time through the temperature detection module, and whether the current temperature is greater than a preset target temperature or not is detected. The target temperature may be a preset temperature threshold in the mobile terminal, and when the current temperature of the mobile terminal is greater than the target temperature and a user touches the mobile terminal, the mobile terminal may bring a burning sensation to the user, which affects user experience.
For example, assuming that the target temperature is 45 degrees and the current temperature detected by the mobile terminal is 46 degrees, since the current temperature of the mobile terminal is greater than the target temperature, step 103 may be performed to avoid affecting the user experience.
Step 103, adjusting the upper limit frequency of the processor to the lowest frequency. Step 102 is performed.
When the current temperature of the mobile terminal is higher than the target temperature, the mobile terminal can determine that the skin of the user has a burning sensation when contacting the surface of the mobile terminal, and in order to ensure good user experience, the mobile terminal needs to adjust the upper limit frequency of the processor to the lowest frequency in the adjustable frequency list of the processor in time, so that the working frequency of the processor is limited to the maximum extent, and the temperature of the mobile terminal is reduced. Thereafter, the mobile terminal may proceed to step 102.
Further, the mobile terminal may further display a prompt message on the display interface, where the prompt message may be used to prompt the user that the current temperature of the mobile terminal is high, and prompt the user to close some applications to reduce the operating frequency of the processor.
And 104, when the temperature difference between the current temperature of the mobile terminal and the initial temperature is in a first temperature difference range, acquiring the average working frequency of the processor and the current upper limit frequency of the processor. Step 105 is performed.
Wherein the lower limit of the first temperature difference range is greater than 0. In the embodiment of the present invention, when the current temperature of the mobile terminal is not greater than the target temperature, the mobile terminal may further detect a temperature difference between the current temperature and the initial temperature, so as to determine a temperature change condition of the mobile terminal. When the temperature difference between the current temperature of the mobile terminal and the initial temperature is in the first temperature difference range, the mobile terminal may determine that the temperature of the mobile terminal is rising, and in order to control the temperature of the mobile terminal without affecting the performance of the mobile terminal, the mobile terminal may obtain the average operating frequency of the processor and the current upper limit frequency of the processor. The average working frequency can be an average value obtained by calculating after sampling the working frequency of the processor for multiple times after the mobile terminal determines that the temperature difference is within the first temperature difference range; the current upper limit frequency of the processor may refer to the highest frequency that can be achieved during the current operation of the processor, and the mobile terminal may adjust the upper limit frequency.
For example, assuming that the first temperature difference range is 2 degrees to 4 degrees, the initial temperature of the mobile terminal is 30 degrees, and the current temperature is 33 degrees, since the temperature difference between the current temperature of the mobile terminal and the initial temperature is 3 degrees, which is in the first temperature difference range, the mobile terminal may obtain the current average operating frequency of the processor, which may be 900 megahertz (MHz), for example, and the current upper limit frequency of the processor, which may be 1.3 gigahertz (GHz), for example.
Step 105, detecting whether the frequency of the next stage of the upper limit frequency in the adjustable frequency list of the processor is greater than the average working frequency of the processor.
When the frequency of the next stage is greater than the average operating frequency of the processor, step 106 may be performed; step 107 may be performed when the frequency of the next stage is not greater than the average operating frequency of the processor.
In the embodiment of the invention, when the mobile terminal is started, the adjustable frequency list of the processor can be obtained, and at least one adjustable upper limit frequency of the processor is recorded in the adjustable frequency list. After determining the current upper limit frequency of the processor, the mobile terminal may compare a frequency in a next stage of the adjustable frequency list to the current upper limit frequency of the processor. The frequencies in the adjustable frequency list may be arranged from high to low, so that the frequency of the next stage is the frequency with the smallest difference from the current upper limit frequency among the frequencies less than the current upper limit frequency.
For example, it is assumed that the adjustable frequency list of the processor acquired by the mobile terminal is shown in table 1, the current average operating frequency of the processor in the mobile terminal is 900MHz, and the current upper limit frequency of the processor is 1.3 GHz. As can be seen from table 1, the current upper limit frequency: the next order of frequency at 1.3GHz is: 1.1GHz, which is greater than the current average operating frequency of the processor of 900MHz, so that the mobile terminal can perform step 106. If the mobile terminal detects that the current average operating frequency of the processor is 1.2GHz, the mobile terminal may execute step 107 at this time because the frequency of the next stage, 1.1GHz, is less than the current average operating frequency.
TABLE 1
Adjustable frequency 1.5GHz 1.3GHz 1.1GHz 900MHz 700MHz 500MHz
And step 106, determining the frequency of the next stage as the updated upper limit frequency of the processor. Step 102 is performed.
When the frequency located at the next stage of the current upper limit frequency of the processor in the adjustable frequency list of the processor is greater than the average operating frequency of the processor, the mobile terminal may determine that the frequency of the next stage can meet the current operating requirement of the processor, and the operating performance of the mobile terminal is not affected, so the frequency of the next stage may be determined as the updated upper limit frequency of the processor. For example, the mobile terminal may adjust the upper frequency limit of the processor from 1.3GHz to 1.1 GHz.
Because the upper limit frequency of the processor is reduced by one level, and the reduced upper limit frequency is greater than the current average working frequency of the processor, the temperature rise condition of the mobile terminal can be effectively relieved, the phenomenon that the mobile terminal is jammed in operation can be avoided, and good user use smoothness and hand feeling of the surface temperature of the mobile terminal are guaranteed.
And step 107, keeping the current upper limit frequency of the processor unchanged. Step 102 is performed.
When the frequency in the next stage of the current upper limit frequency of the processor in the adjustable frequency list of the processor is not greater than the average operating frequency of the processor, the mobile terminal may determine that the frequency in the next stage may not meet the current operating requirement of the processor, so to avoid affecting the performance of the mobile terminal, the mobile terminal may keep the current upper limit frequency of the processor unchanged, and perform step 102, that is, continue to detect the current temperature of the mobile terminal in real time through the temperature detection module.
And 108, when the temperature difference between the current temperature of the mobile terminal and the initial temperature is larger than the upper limit of the first temperature difference range, determining the frequency of the next stage as the updated upper limit frequency of the processor. Step 102 is performed.
In the embodiment of the present invention, when the mobile terminal detects that the temperature difference between the current temperature and the initial temperature is greater than the upper limit of the first temperature difference range after step 102, it may be determined that the current temperature rises too fast, so that the frequency in the adjustable frequency list of the processor, which is located at the next stage of the current upper limit frequency of the processor, may be directly determined as the updated upper limit frequency of the processor, and the temperature rising speed of the mobile terminal may be slowed down.
For example, assuming that the first temperature difference range is 2 degrees to 4 degrees, and the upper limit of the first temperature difference range is 4 degrees, when the mobile terminal detects that the current temperature rises to 35 degrees, the upper limit frequency of the processor may be adjusted from 1.3GHz to 1.1GHz in order to slow down the temperature rise speed of the mobile terminal.
And step 109, acquiring the current upper limit frequency of the processor when the current temperature of the mobile terminal is detected to be in the preset low temperature range. Step 110 is performed.
The preset low-temperature range can be a lower temperature range preset in the mobile terminal, the lower limit of the preset low-temperature range is greater than the initial temperature of the mobile terminal, and the upper limit of the preset low-temperature range is less than the target temperature. When the mobile terminal detects that the current temperature is in the preset low temperature range after the step 102, it may be determined that the current temperature of the mobile terminal is low, and the upper limit frequency of the processor may be appropriately raised, so that the mobile terminal may first obtain the current upper limit frequency of the processor.
Step 110, determining the frequency in the adjustable frequency list of the processor, which is located at the previous stage of the current upper limit frequency, as the updated upper limit frequency of the processor. Step 102 is performed.
The frequency of the upper stage is the frequency with the smallest difference with the current upper limit frequency in the frequency list larger than the current upper limit frequency. Because the current temperature of the mobile terminal is smaller than the preset low-temperature range, the mobile terminal can determine that the temperature of the mobile terminal rises within a certain range and does not influence the user experience, so that the upper limit frequency of the processor can be increased by one level, and the performance of the mobile terminal is improved.
For example, assuming that the preset low temperature range is 31 degrees to 33 degrees, when the current temperature detected by the mobile terminal is 31 degrees and is in the preset low temperature range, if the current upper limit frequency of the processor is 1.3GHz and the adjustable frequency list of the processor is shown in table 1, the processor may select a frequency in the adjustable frequency list, which is one level above the current upper limit frequency of 1.3 GHz: the 1.5GHz limit is determined as the updated upper frequency of the processor.
It should be noted that, in the embodiment of the present invention, after the mobile terminal completes the adjustment of the upper limit frequency of the processor through the above step 103, step 106, step 107, step 108, or step 110, step 102 may be continuously performed, that is, the current temperature of the mobile terminal is continuously detected in real time, and the detected temperature is compared with the target temperature.
It should be further noted that, in the embodiment of the present invention, the processor in the mobile terminal may include a plurality of processing units, wherein each processing unit may be provided therein with a temperature sensor for detecting its own temperature. For example, an 8-core CPU may be divided into two CPU clusters, where one CPU cluster may include 4 large cores, and the other CPU cluster may include 4 small cores, where each CPU core is provided with a temperature sensor therein, and may detect the temperature of the CPU core.
In an optional implementation manner of the embodiment of the present invention, when the mobile terminal detects that the temperature difference between the current temperature and the initial temperature is in the first temperature difference range after step 102, referring to fig. 3, the temperature of the mobile terminal may be further controlled by adjusting the operating state of the processing unit. The method specifically comprises the following steps:
step 111, detecting whether the processor comprises a plurality of processing units.
When the processor includes a plurality of processing units, executing step 112; when the processor does not include a plurality of processing units, namely the processor is a single-core processor, the operation is ended.
And step 112, detecting whether a processing unit which is not on-line exists in the plurality of processing units.
When there is a processing unit that is not on-line among the plurality of processing units, performing step 113; when there is no processing unit not on-line among the plurality of processing units, the operation is ended.
For example, assuming that the processor of the mobile terminal includes 8 processing units, wherein 4 processing units are in an online (on line) state, and the other 4 processing units are in an offline (off line) state, the mobile terminal may execute step 113.
And 113, detecting whether the temperature difference between the processing unit with the highest temperature in the processing units which are on line and the processing unit with the lowest temperature in the processing units which are not on line is in a second temperature difference range.
In the embodiment of the present invention, the mobile terminal may acquire the temperature of each processing unit through a temperature sensor provided in each processing unit. When the temperature difference between the processing unit with the highest temperature in the processing unit that has been brought online and the processing unit with the lowest temperature in the processing unit that has not been brought online is in the second temperature difference range, the mobile terminal may perform step 114; otherwise, the operation is ended. Wherein, the lower limit of the second temperature difference range is greater than 0, and the lower limit of the second temperature difference range may be greater than the lower limit of the first temperature difference range.
For example, assuming that the second temperature difference range is 10 degrees to 20 degrees, the temperature of the processing unit 1 with the highest temperature among the 4 processing units that have been brought on line is 70 degrees, and the temperature of the processing unit 6 with the lowest temperature among the processing units that have not been brought on line is 55 degrees. The mobile terminal may perform step 114 because the temperature difference between the processing unit 1 with the highest temperature and the processing unit 6 with the lowest temperature is 15 degrees, which is within the second temperature difference range.
Step 114, close the highest temperature processing unit of the processing units that have been on-line, and start the lowest temperature processing unit of the processing units that have not been on-line.
When the temperature difference between the processing unit with the highest temperature in the processing unit that has been brought online and the processing unit with the lowest temperature in the processing unit that has not been brought online is in the second temperature difference range, in order to balance the temperatures of the respective processing units, the mobile terminal may turn off the processing unit with the highest temperature and turn on the processing unit with the lowest temperature. For example, the mobile terminal may adjust the processing unit 1 with the highest temperature to an offline state, and adjust the processing unit 6 with the lowest temperature to an on-line state.
Further, when the mobile terminal detects that the current temperature of the mobile terminal is within the preset low temperature range after the step 102, referring to fig. 4, the temperature of the mobile terminal may also be controlled by adjusting the operating state of the processing unit. The method specifically comprises the following steps:
step 115, detecting whether the processor comprises a plurality of processing units.
When the processor includes a plurality of processing units, step 116 is performed; when the processor does not include a plurality of processing units, namely the processor is a single-core processor, the operation is ended.
Step 116, detecting whether there is an offline processing unit in the plurality of processing units.
When there is a processing unit that is not on-line among the plurality of processing units, performing step 117; when there is no processing unit not on-line among the plurality of processing units, the operation is ended.
Step 117, detecting whether the processing unit not on line has the target processing unit.
The target processing unit is a processing unit which is closed by the mobile terminal in the process of temperature control. When there is a target processing unit in the offline processing units, execute step 118; and ending the operation when the target processing unit does not exist in the processing units which are not on line.
For example, assuming that the processing unit 1 is adjusted from the on-line state to the off-line state in step 114, the mobile terminal may determine the processing unit 1 as the target processing unit and execute step 118, i.e., restart the processing unit 1.
Step 118, the target processing unit is started.
When the mobile terminal detects that the current temperature is lower than the initial temperature, the mobile terminal can determine that the temperature of the mobile terminal rises to a certain range and does not affect the user experience, so that the processing unit which is closed in the temperature control process before can be restarted to improve the performance of the mobile terminal.
It should be noted that, in the above embodiments of the present invention, the processor may include a CPU and a GPU, and the mobile terminal may adjust the frequencies of the two types of processors according to the adjustable frequency list of the CPU and the adjustable frequency list of the GPU respectively.
It should be further noted that the order of the steps of the temperature control method provided in the embodiment of the present invention may be appropriately adjusted, and the steps may also be increased or decreased according to the situation. For example, steps 111 to 114 may be performed in synchronization with step 104, and steps 115 to 118 may be performed in synchronization with step 109. Any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure is covered by the protection scope of the present disclosure, and thus, the detailed description thereof is omitted.
In summary, embodiments of the present invention provide a temperature control method, which can adjust and update an upper limit frequency of a processor in time when a temperature of a mobile terminal rises relative to an initial temperature at startup, so that the updated upper limit frequency is smaller than a current upper limit frequency and larger than an average working frequency of the processor, and therefore, a temperature rise speed of the mobile terminal can be effectively reduced without affecting performance of the mobile terminal, and the method has a good control effect on the temperature of the mobile terminal.
Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, and referring to fig. 5, the mobile terminal may include:
the temperature detection module 201 is arranged at a position close to the processor inside the mobile terminal shell, and is used for acquiring the initial temperature of the mobile terminal when the mobile terminal is started.
The temperature detecting module 201 is further configured to detect the current temperature of the mobile terminal in real time.
A first obtaining module 202, configured to obtain an average operating frequency of the processor and a current upper limit frequency of the processor when a temperature difference between the current temperature of the mobile terminal and the initial temperature is in a first temperature difference range, where a lower limit of the first temperature difference range is greater than 0.
The first adjusting module 203 is configured to determine the frequency of the next stage as the updated upper limit frequency of the processor when the frequency of the next stage located below the upper limit frequency in the adjustable frequency list of the processor is greater than the average operating frequency of the processor.
Fig. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention, and referring to fig. 6, the mobile terminal may further include:
and a maintaining module 204, configured to maintain the current upper limit frequency of the processor unchanged when the frequency in the next stage of the upper limit frequency in the adjustable frequency list of the processor is not greater than the average operating frequency of the processor.
The first adjusting module 203 is further configured to determine the frequency of the next stage as the updated upper limit frequency of the processor when the temperature difference between the current temperature of the mobile terminal and the initial temperature is greater than the upper limit of the first temperature difference range.
Optionally, the mobile terminal may further include:
the first detecting module 205 is configured to detect whether a plurality of processing units are included in a processor when a temperature difference between the current temperature of the mobile terminal and the initial temperature is within a first temperature difference range.
The second detecting module 206 is configured to detect whether there is a processing unit that is not on-line in the plurality of processing units when the plurality of processing units are included in the processor.
A third detecting module 207, configured to detect, when a processing unit that is not on-line exists in the plurality of processing units, whether a temperature difference between a processing unit with a highest temperature in the processing unit that is on-line and a processing unit with a lowest temperature in the processing unit that is not on-line is within a second temperature difference range, where a lower limit of the second temperature difference range is greater than 0.
The first control module 208 is configured to close the highest temperature processing unit of the processing units that have been brought online and start the lowest temperature processing unit of the processing units that have not been brought online when the temperature difference between the highest temperature processing unit and the lowest temperature processing unit is within a second temperature difference range.
Optionally, the mobile terminal may further include:
a second obtaining module 209, configured to obtain a current upper limit frequency of the processor when it is detected that the current temperature of the mobile terminal is in a preset low temperature range.
The second adjusting module 210 is configured to determine a frequency located at a stage higher than the upper limit frequency in the adjustable frequency list of the processor as the updated upper limit frequency of the processor.
Optionally, the mobile terminal may further include:
a fourth detecting module 211, configured to detect whether the processor includes multiple processing units when it is detected that the current temperature of the mobile terminal is in the preset low temperature range.
A fifth detecting module 212, configured to detect whether there is a processing unit that is not on-line in the plurality of processing units when the processor includes the plurality of processing units.
A sixth detecting module 213, configured to detect whether a target processing unit exists in the offline processing units when there is an offline processing unit in the plurality of processing units, where the target processing unit is a processing unit that is turned off during the temperature control of the mobile terminal.
A second control module 214, configured to start a target processing unit when the target processing unit exists in the processing units that are not online.
In summary, the embodiments of the present invention provide a mobile terminal, where when a current temperature of the mobile terminal rises relative to an initial temperature at the time of starting, the mobile terminal may adjust and update an upper limit frequency of a processor in time, so that the updated frequency is smaller than the current upper limit frequency and greater than an average working frequency of the processor, and therefore, a temperature rise speed of the mobile terminal may be effectively reduced on the premise that performance of the mobile terminal is not affected, and the method has a better control effect on the temperature of the mobile terminal.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the mobile terminal and each module described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A temperature control method is applied to a mobile terminal, and the method comprises the following steps:
when the mobile terminal is started, acquiring the initial temperature of the mobile terminal through a temperature detection module arranged at a position close to a processor on the inner side of a shell of the mobile terminal;
detecting whether the current temperature of the mobile terminal is higher than a target temperature in real time, wherein the target temperature is a preset temperature threshold value in the mobile terminal;
when the current temperature of the mobile terminal is not greater than the target temperature and the temperature difference between the current temperature of the mobile terminal and the initial temperature is in a first temperature difference range, acquiring the average working frequency of the processor and the current upper limit frequency of the processor, wherein the lower limit of the first temperature difference range is greater than 0;
when the frequency at the next stage of the upper limit frequency in the adjustable frequency list of the processor is greater than the average working frequency of the processor, determining the frequency at the next stage as the updated upper limit frequency of the processor;
when the frequency at the next stage of the upper limit frequency in the adjustable frequency list of the processor is not greater than the average working frequency of the processor, keeping the current upper limit frequency of the processor unchanged;
when the current temperature of the mobile terminal is not greater than the target temperature and the temperature difference between the current temperature of the mobile terminal and the initial temperature is greater than the upper limit of the first temperature difference range, determining the frequency of the next stage as the upper limit frequency updated by the processor;
and when the current temperature of the mobile terminal is higher than the target temperature, adjusting the upper limit frequency of the processor to be the lowest frequency.
2. The method according to claim 1, wherein when the temperature difference between the current temperature of the mobile terminal and the initial temperature is in a first temperature range, the method further comprises:
detecting whether a plurality of processing units are included in the processor;
when the processor comprises a plurality of processing units, detecting whether a processing unit which is not on-line exists in the plurality of processing units;
when a processing unit which is not on-line exists in the plurality of processing units, detecting whether the temperature difference between the processing unit with the highest temperature in the processing unit which is on-line and the processing unit with the lowest temperature in the processing unit which is not on-line is in a second temperature difference range, wherein the lower limit of the second temperature difference range is larger than 0;
and when the temperature difference between the processing unit with the highest temperature and the processing unit with the lowest temperature is in the second temperature difference range, closing the processing unit with the highest temperature in the processing units which are on line, and starting the processing unit with the lowest temperature in the processing units which are not on line.
3. The method according to any of claims 1 to 2, wherein after detecting the current temperature of the mobile terminal in real time, the method further comprises:
when the current temperature of the mobile terminal is detected to be in a preset low-temperature range, acquiring the current upper limit frequency of the processor, wherein the lower limit temperature of the preset low-temperature range is greater than the initial temperature;
and determining the frequency at the upper limit frequency in the adjustable frequency list of the processor as the updated upper limit frequency of the processor.
4. The method according to any of claims 1 to 2, wherein after detecting the current temperature of the mobile terminal in real time, the method further comprises:
when the current temperature of the mobile terminal is detected to be in a preset low-temperature range, detecting whether a plurality of processing units are included in the processor;
when the processor comprises a plurality of processing units, detecting whether a processing unit which is not on-line exists in the plurality of processing units;
when a processing unit which is not on line exists in the plurality of processing units, detecting whether a target processing unit exists in the processing units which are not on line, wherein the target processing unit is a processing unit which is closed in the temperature control process of the mobile terminal;
and starting the target processing unit when the target processing unit exists in the offline processing units.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the temperature detection module is arranged at a position close to the processor on the inner side of the shell of the mobile terminal, and is used for acquiring the initial temperature of the mobile terminal when the mobile terminal is started;
the temperature detection module is further configured to detect whether the current temperature of the mobile terminal is greater than a target temperature in real time, where the target temperature is a preset temperature threshold in the mobile terminal;
a first obtaining module, configured to obtain an average operating frequency of the processor and a current upper limit frequency of the processor when a current temperature of the mobile terminal is not greater than the target temperature and a temperature difference between the current temperature of the mobile terminal and the initial temperature is within a first temperature difference range, where a lower limit of the first temperature difference range is greater than 0;
a first adjusting module, configured to determine, when a frequency located in a next stage of the upper limit frequency in an adjustable frequency list of the processor is greater than an average operating frequency of the processor, the frequency of the next stage as an updated upper limit frequency of the processor;
the maintaining module is used for maintaining the current upper limit frequency of the processor unchanged when the frequency at the next stage of the upper limit frequency in the adjustable frequency list of the processor is not greater than the average working frequency of the processor;
the first adjusting module is further configured to determine the next-stage frequency as an upper limit frequency updated by the processor when the current temperature of the mobile terminal is not greater than the target temperature and the temperature difference between the current temperature of the mobile terminal and the initial temperature is greater than an upper limit of the first temperature difference range;
the first adjusting module is further configured to adjust the upper limit frequency of the processor to the lowest frequency when the current temperature of the mobile terminal is greater than the target temperature.
6. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the first detection module is used for detecting whether the processor comprises a plurality of processing units;
the second detection module is used for detecting whether a processing unit which is not on-line exists in the plurality of processing units when the processor comprises the plurality of processing units;
the third detection module is used for detecting whether the temperature difference between the processing unit with the highest temperature in the processing units which are on line and the processing unit with the lowest temperature in the processing units which are not on line is in a second temperature difference range or not when the processing units which are not on line exist in the plurality of processing units, and the lower limit of the second temperature difference range is larger than 0;
and the first control module is used for closing the processing unit with the highest temperature in the processing units which are on line and starting the processing unit with the lowest temperature in the processing units which are not on line when the temperature difference between the processing unit with the highest temperature and the processing unit with the lowest temperature is in a second temperature difference range.
7. The mobile terminal according to any of claims 5 to 6, wherein the mobile terminal further comprises:
the second obtaining module is used for obtaining the current upper limit frequency of the processor when the current temperature of the mobile terminal is detected to be in a preset low-temperature range, wherein the lower limit temperature of the preset low-temperature range is greater than the initial temperature;
and the second adjusting module is used for determining the frequency at the upper limit frequency in the adjustable frequency list of the processor as the updated upper limit frequency of the processor.
8. The mobile terminal according to any of claims 5 to 6, wherein the mobile terminal further comprises:
the fourth detection module is used for detecting whether the processor comprises a plurality of processing units or not when the current temperature of the mobile terminal is detected to be in a preset low-temperature range;
a fifth detecting module, configured to detect whether there is a processing unit that is not on-line in the plurality of processing units when the processor includes the plurality of processing units;
a sixth detecting module, configured to detect whether a target processing unit exists in the offline processing units when a processing unit that is not online exists in the plurality of processing units, where the target processing unit is a processing unit that is turned off in a process of temperature control of the mobile terminal;
and the second control module is used for starting the target processing unit when the target processing unit exists in the processing units which are not on line.
CN201710257199.XA 2017-04-19 2017-04-19 Temperature control method and mobile terminal Active CN107102707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710257199.XA CN107102707B (en) 2017-04-19 2017-04-19 Temperature control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710257199.XA CN107102707B (en) 2017-04-19 2017-04-19 Temperature control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107102707A CN107102707A (en) 2017-08-29
CN107102707B true CN107102707B (en) 2020-09-29

Family

ID=59656589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710257199.XA Active CN107102707B (en) 2017-04-19 2017-04-19 Temperature control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107102707B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509315B (en) * 2018-03-26 2021-06-29 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Processor performance evaluation comparison method and device, computer equipment and storage medium
TWI684854B (en) * 2018-09-07 2020-02-11 華碩電腦股份有限公司 Temperature control system for central processing unit and temperature control method thereof
CN110347226B (en) * 2019-06-04 2021-03-12 杭州嘉楠耘智信息科技有限公司 Method and device for allocating temperature of computing equipment
CN110837456B (en) * 2019-11-13 2021-12-24 联想(北京)有限公司 Control method and device and electronic equipment
CN112824999B (en) * 2019-11-20 2022-04-22 Oppo广东移动通信有限公司 Temperature control method and related product
TWI743620B (en) * 2019-12-11 2021-10-21 瑞昱半導體股份有限公司 Performance management method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1359043A (en) * 2000-12-18 2002-07-17 联想(北京)有限公司 Method for reducing and controlling CPU-junction temp.
CN1459692A (en) * 2002-05-21 2003-12-03 联想(北京)有限公司 Method of CPU frequency controlling based on the insertion system of computer platform
CN103716694A (en) * 2013-12-09 2014-04-09 乐视致新电子科技(天津)有限公司 Intelligent household electrical appliance, and intelligent household electrical appliance CPU frequency conversion method and device
CN105094257A (en) * 2015-09-25 2015-11-25 维沃移动通信有限公司 Method for controlling temperature rise of electronic equipment and electronic equipment
CN106249844A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 Processor working frequency and/or the work method of adjustment of check figure, device and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7584369B2 (en) * 2006-07-26 2009-09-01 International Business Machines Corporation Method and apparatus for monitoring and controlling heat generation in a multi-core processor
JP5324409B2 (en) * 2009-12-11 2013-10-23 郵船商事株式会社 Heat load cooling device and control device for heat load cooling device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1359043A (en) * 2000-12-18 2002-07-17 联想(北京)有限公司 Method for reducing and controlling CPU-junction temp.
CN1459692A (en) * 2002-05-21 2003-12-03 联想(北京)有限公司 Method of CPU frequency controlling based on the insertion system of computer platform
CN103716694A (en) * 2013-12-09 2014-04-09 乐视致新电子科技(天津)有限公司 Intelligent household electrical appliance, and intelligent household electrical appliance CPU frequency conversion method and device
CN105094257A (en) * 2015-09-25 2015-11-25 维沃移动通信有限公司 Method for controlling temperature rise of electronic equipment and electronic equipment
CN106249844A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 Processor working frequency and/or the work method of adjustment of check figure, device and terminal

Also Published As

Publication number Publication date
CN107102707A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN107102707B (en) Temperature control method and mobile terminal
CN109782827B (en) Heat dissipation control method and device, electronic device and computer-readable storage medium
TWI489257B (en) Electronic device with power management mechanism and power management method thereof
US10496141B2 (en) System and method for intelligent thermal management in a system on a chip having a heterogeneous cluster architecture
CN106331352B (en) Temperature control method and device of mobile phone and terminal
CN104808717B (en) A kind of temperature-controlled process and device
CN107894065B (en) Air conditioner, control method and device thereof, and computer-readable storage medium
CN106196480B (en) Defrosting control method and device
US20140091624A1 (en) Method for controlling voltage based on temperature and terminal supporting the same
US20170063088A1 (en) Method for Power Budget
KR101720202B1 (en) Adaptively disabling and enabling sleep states for power and performance
US10539986B2 (en) Semiconductor device, operating condition controlling method, and non-transitory computer readable medium
CN105045702A (en) Method and system for protecting chip according to chip temperature, and chip
KR20150036684A (en) Method and device for controlling terminal and terminal thereof
EP3334218A1 (en) Device and method for managing power in electronic device
CN109388540B (en) Processing method and electronic equipment
CN112468657B (en) Temperature control method and device of terminal equipment, storage medium and terminal equipment
CN105354054A (en) Electronic product and adjusting method for performance parameter thereof
CN107153592A (en) Electronic installation and its power management method
CN103605539A (en) Single-chip microcomputer system clock frequency control method and system
TWI698796B (en) Storage system and power management method thereof
CN110848899A (en) Variable frequency air conditioner operation control method, computer readable storage medium and air conditioner
US11231759B2 (en) Power performance management method and electronic device
CN106843815A (en) The optimization method that on-chip multi-processor system multithreading runs simultaneously
CN112965551A (en) Heating control method and device for loudspeaker

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.