Terminal, temperature control method thereof, and computer-readable storage medium
By setting a temperature sensor in the terminal and adjusting the operating parameters, the problem of unreasonable control when the terminal temperature rises is solved, and reasonable cooling is achieved during use, avoiding the impact of shutdown or screen lock.
Patent Information
- Application Number
- CN201911048946.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-30
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2039-10-30
AI Technical Summary
In existing technologies, the temperature control of the terminal is unreasonable, which causes the terminal to need to shut down or lock the screen when the temperature rises, affecting the user experience.
By installing a temperature sensor in the terminal, the temperature can be detected in real time, and when the cooling conditions are met, the terminal's operating parameters, such as the power of the heat dissipation components, screen brightness, and processor frequency, can be adjusted in stages or segments to reduce the temperature or slow down the temperature rise.
It achieves reasonable control of terminal temperature without stopping operation or locking the screen, ensuring normal user operation, while slowing down the temperature rise.
Smart Images

Figure CN110750148B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of terminal temperature control technology, and in particular to a terminal, its temperature control method, and a computer-readable storage medium. Background Technology
[0002] As people's living standards improve, portable devices have become an indispensable part of daily life.
[0003] When people have free time, they browse the web, watch videos, and play games on their devices. If the device is in a high-temperature environment or is used for a long time, its internal temperature will rise. Currently, the common solutions to this problem are to shut down the device or lock the screen, thus stopping the user from using it. This affects the user experience and indicates that the device's temperature control is inadequate.
[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this invention is to provide a terminal, its temperature control method, and a computer-readable storage medium, aiming to solve the problem of unreasonable temperature control in terminals.
[0006] To achieve the above objectives, the present invention provides a temperature control method for a terminal, wherein the terminal is equipped with a temperature sensor for detecting the temperature of the terminal, and the temperature control method for the terminal includes the following steps:
[0007] Obtain the temperature of the terminal;
[0008] When the terminal meets the cooling conditions, the terminal is processed according to preset rules to reduce the temperature of the terminal or to reduce the rate of temperature increase.
[0009] In one embodiment, processing the terminal according to preset rules refers to adjusting the terminal's operating parameters in stages or segments.
[0010] In one embodiment, the step of adjusting the operating parameters of the terminal in stages or segments includes:
[0011] The method comprises at least one of the following: increasing the power of the terminal heat dissipation component in stages or segments, decreasing the transmission power of the call component in stages or segments, decreasing the screen brightness of the terminal in stages or segments, decreasing the operating frequency of the terminal's processor in stages or segments, and decreasing the number of operating cores of the processor in stages or segments.
[0012] In one embodiment, after the step of obtaining the temperature of the terminal, the method further includes:
[0013] When the terminal does not meet the cooling conditions, the adjusted operating parameters are reverted, or the adjustment of the terminal's operating parameters in stages and segments is stopped.
[0014] In one embodiment, the step of calling back the adjusted operating parameters includes:
[0015] When the terminal performs a cooling operation for the first time, it saves the parameter values of each operating parameter.
[0016] The parameter value of the adjusted running parameter is called back based on at least one of the saved parameter values.
[0017] In one embodiment, when adjusting the same type of operating parameters in stages or segments, the number of adjustments to the operating parameters is greater than once.
[0018] In one embodiment, the cooling conditions include at least one of the following:
[0019] The temperature of the machine body is higher than the first preset temperature;
[0020] The time it takes for the body temperature to reach the second preset temperature is less than or equal to the target time, and the second preset temperature is greater than or equal to the first preset temperature.
[0021] In one embodiment, after the step of obtaining the temperature of the terminal, the method further includes:
[0022] Obtain the average temperature increment of the body within the current time period;
[0023] Based on the average temperature increment, the current temperature of the machine body, and the second preset temperature, determine the time it takes for the temperature of the machine body to reach the second preset temperature;
[0024] When the duration is less than the target duration, the step of processing the terminal according to preset rules is executed.
[0025] To achieve the above objectives, the present invention also provides a terminal, the terminal including a temperature sensor, a memory, a processor, and a temperature control program of the terminal stored in the memory and executable on the processor, the temperature sensor being configured to detect the temperature of the terminal and connected to the processor, the temperature control program being executed by the processor to implement the various steps of the temperature control method of the terminal as described above.
[0026] To achieve the above objectives, the present invention also provides a computer-readable storage medium storing a temperature control program for a terminal, which, when executed by a processor, implements the various steps of the terminal control method described above.
[0027] The present invention provides a terminal, its temperature control method, and a computer-readable storage medium. The terminal acquires its temperature from a temperature sensor and determines whether it meets cooling conditions. When the cooling conditions are met, the terminal processes the data according to preset rules, causing the temperature to decrease or the rate of temperature increase to slow down. Because the terminal can perform corresponding processing immediately after detecting that the cooling conditions are met, the temperature decreases or the rate of temperature increase slows down, without stopping the terminal or locking the screen. In other words, the terminal cools down while allowing the user to use it normally, resulting in reasonable temperature control. Attached Figure Description
[0028] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0029] Figure 1 This is a schematic diagram of the hardware structure of the terminal involved in the embodiment of the present invention;
[0030] Figure 2 This is a flowchart illustrating the first embodiment of the control method for the terminal of the present invention;
[0031] Figure 3 for Figure 2 A detailed flowchart of step S30;
[0032] Figure 4 for Figure 2 Another detailed process diagram of step S30
[0033] Figure 5 This is a flowchart illustrating the second embodiment of the control method for the terminal of the present invention;
[0034] Figure 6 for Figure 5 A detailed flowchart of step S40;
[0035] Figure 7 This is a flowchart illustrating the third embodiment of the control method for the terminal of the present invention;
[0036] Figure 8 This is a flowchart illustrating the fourth embodiment of the control method for the terminal of the present invention.
[0037] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0038] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0039] Currently, in response to rising device temperature, terminals typically shut down or lock the screen to force users to stop using the terminal, thus affecting user experience and indicating inadequate temperature control.
[0040] The present invention provides a solution for obtaining the temperature of the terminal; when the terminal meets the cooling conditions, the terminal is processed according to preset rules to reduce the temperature of the terminal, or to reduce the rate of temperature increase of the terminal.
[0041] Once the terminal detects that the cooling conditions are met, it can adjust the values of its operating parameters to lower the temperature of the device or slow down the temperature rise, without stopping the terminal or locking the screen. In other words, the terminal can be used normally while cooling down, and the temperature control of the terminal is reasonable.
[0042] like Figure 1 As shown, Figure 1 This is a schematic diagram of the hardware structure of the terminal involved in the embodiment of the present invention.
[0043] Reference Figure 1 The terminal may include: a processor 1001, such as a CPU; a memory 1002; a communication bus 1003; a network interface 1004; and a temperature sensor 1005. The communication bus 1003 is used to enable communication between the various components of the device. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1002 may be high-speed RAM or stable, non-volatile memory, such as a disk drive. Alternatively, the memory 1002 may be a storage device independent of the aforementioned processor 1001. Figure 1 As shown, the memory 1002, which serves as a computer storage medium, may include an operating system, a network communication module, and a terminal temperature control program.
[0044] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0045] exist Figure 1 In the hardware involved in the illustrated device, the processor 1001 can be used to call the terminal's temperature control program stored in the memory 1002 and perform the following operations:
[0046] Obtain the temperature of the terminal;
[0047] When the terminal meets the cooling conditions, the terminal is processed according to preset rules to reduce the temperature of the terminal or to reduce the rate of temperature increase.
[0048] In one embodiment, the processor 1001 can be used to call the terminal's temperature control program stored in the memory 1002, and also perform the following operations:
[0049] Processing the terminal according to preset rules refers to adjusting the terminal's operating parameters in stages or segments.
[0050] In one embodiment, the processor 1001 can be used to call the terminal's temperature control program stored in the memory 1002, and also perform the following operations:
[0051] The method comprises at least one of the following: increasing the power of the terminal heat dissipation component in stages or segments, decreasing the transmission power of the call component in stages or segments, decreasing the screen brightness of the terminal in stages or segments, decreasing the operating frequency of the terminal's processor in stages or segments, and decreasing the number of operating cores of the processor in stages or segments.
[0052] In one embodiment, the processor 1001 can be used to call the terminal's temperature control program stored in the memory 1002, and also perform the following operations:
[0053] When the terminal does not meet the cooling conditions, the adjusted operating parameters are reverted, or the adjustment of the terminal's operating parameters in stages and segments is stopped.
[0054] In one embodiment, the processor 1001 can be used to call the terminal's temperature control program stored in the memory 1002, and also perform the following operations:
[0055] When the terminal performs a cooling operation for the first time, it saves the parameter values of each operating parameter.
[0056] The parameter value of the adjusted running parameter is called back based on at least one of the saved parameter values.
[0057] In one embodiment, the processor 1001 can be used to call the terminal's temperature control program stored in the memory 1002, and also perform the following operations:
[0058] When adjusting the same type of operating parameters in stages or segments, the number of times the operating parameters are adjusted is greater than once.
[0059] In one embodiment, the processor 1001 can be used to call the terminal's temperature control program stored in the memory 1002, and also perform the following operations:
[0060] The temperature of the machine body is higher than the first preset temperature;
[0061] The time it takes for the body temperature to reach the second preset temperature is less than or equal to the target time, and the second preset temperature is greater than or equal to the first preset temperature.
[0062] In one embodiment, the processor 1001 can be used to call the terminal's temperature control program stored in the memory 1002, and also perform the following operations:
[0063] Obtain the average temperature increment of the body within the current time period;
[0064] Based on the average temperature increment, the current temperature of the machine body, and the second preset temperature, determine the time it takes for the temperature of the machine body to reach the second preset temperature;
[0065] When the duration is less than the target duration, the step of processing the terminal according to preset rules is executed.
[0066] In this embodiment, according to the above scheme, the terminal acquires the temperature collected by the temperature sensor, and then determines whether the terminal meets the cooling conditions based on the temperature. When the terminal meets the cooling conditions, it is processed according to preset rules to reduce the terminal's temperature or slow down the rate of temperature increase. Since the terminal can perform corresponding processing after detecting that the cooling conditions are met, the terminal's temperature decreases or the temperature increase trend slows down, without controlling the terminal to stop running or lock the screen. In other words, the terminal cools down while allowing the user to use the terminal normally, and the terminal's temperature control is reasonable.
[0067] Based on the hardware architecture of the terminal described above, an embodiment of the temperature control method for the terminal of the present invention is proposed.
[0068] Reference Figure 2 , Figure 2 This is a first embodiment of the temperature control method for a terminal of the present invention, the temperature control method for the terminal comprising:
[0069] Step S10: Obtain the temperature of the terminal;
[0070] In this embodiment, the executing entity is a terminal, which can be a portable terminal, such as a mobile phone, iPad, or laptop. The terminal is equipped with a temperature sensor, which is configured to detect the temperature of the terminal. The temperature can be the overall temperature of the terminal, such as the body temperature, or the temperature of the main control board.
[0071] After prolonged operation or in hot environments, the terminal's temperature will rise, becoming excessively hot to the touch. Therefore, it is necessary to control the terminal's temperature to slow its rise or lower it.
[0072] The terminal can monitor its continuous runtime in real time. When the continuous runtime is long enough, i.e., when the continuous runtime reaches the preset continuous runtime, the terminal activates the temperature sensor to detect the body temperature. In addition, the preset continuous runtime can be adjusted according to the ambient temperature. The higher the ambient temperature, the shorter the adjusted preset continuous runtime. The preset duration can be any suitable value, for example, a preset continuous runtime of 5 minutes.
[0073] Alternatively, the terminal can obtain the ambient temperature of its location in real time, which can be determined through weather information. Specifically, the terminal locates its current position to determine the area it is in, then obtains the corresponding weather information for that area, and extracts the outdoor temperature from the weather information. The terminal then determines whether it is outdoors. If it is outdoors, the ambient temperature of the terminal's environment is the outdoor temperature obtained above. If the terminal is indoors, the obtained outdoor temperature minus a preset temperature is the ambient temperature corresponding to the terminal's indoor environment. The preset temperature can be set according to the conditions of different areas. For example, in some areas where air conditioning is widespread, the preset temperature is higher, meaning that the ambient temperature corresponding to the terminal's indoor environment is relatively lower than the outdoor temperature; while in some areas where air conditioning is not widespread, the temperature difference between indoors and outdoors is smaller.
[0074] It should be noted that the terminal can determine whether it is outdoors based on its self-configured automatic brightness adjustment function. When the automatic brightness adjustment function is enabled, the terminal can adjust the screen brightness according to the ambient light level; if the ambient light is high, the screen brightness will be low, and vice versa. The terminal can determine whether it is outdoors based on this function. When the ambient temperature is high, the terminal will activate its temperature sensor to collect the device's temperature.
[0075] Step S20: Determine whether the terminal meets the cooling conditions based on the temperature.
[0076] In this embodiment, the cooling conditions include at least one of the following: the body temperature is greater than a first preset temperature, the body temperature change within a time period is greater than a preset temperature change, and the body temperature reaches a second preset temperature for a duration less than a target duration.
[0077] The first preset temperature is lower than the second preset temperature. The first preset temperature can be the temperature at which the user feels the terminal is too hot to touch, for example, the first preset temperature can be 40°C. The second preset temperature can be the temperature at which the terminal's components would cause significant damage and is the maximum temperature at which the user can tolerate the terminal, for example, the second preset temperature can be 50°C.
[0078] The duration corresponding to the time cycle is the preset cycle duration. For example, the duration of one time cycle is 2 minutes. The preset temperature change is determined according to the duration of the time cycle. The preset temperature change can be any suitable value. For example, if the duration of the time cycle is 2 minutes, the preset temperature change is 0.5℃ / min.
[0079] The target duration needs to be determined based on the preset duration, which refers to the minimum allowable time for the device's temperature to rise from a first preset temperature to a second preset temperature. For example, the preset duration could be 1 hour. If the time it takes for the device's temperature to rise from the first preset temperature to the second preset temperature is less than the preset duration, it will cause significant damage to the terminal's components. Furthermore, when the cooling conditions are met, the terminal will adjust the values of its operating parameters to lower the device's temperature or reduce the rate of temperature increase. However, considering that adjusting the operating parameters would affect the user experience, the terminal only fine-tunes the operating parameters to minimize the impact of these adjustments. Therefore, after adjusting the operating parameters, the device's temperature may not decrease, or the rate of temperature increase may still be significant, requiring further adjustment of the operating parameters. It is understandable that the terminal needs to adjust its operating parameters multiple times; therefore, the target duration is the preset duration minus the duration of the terminal's cooling operation. For example, if the terminal needs 2 minutes to perform a cooling operation, and the terminal has already performed 5 cooling operations with a preset duration of 1 hour, then the target duration = 60 - 2 * 5 = 50, which means the target duration is 50 minutes.
[0080] Step S30: When the terminal meets the cooling conditions, the terminal is processed according to preset rules to reduce the temperature of the terminal or to reduce the rate of temperature increase of the terminal.
[0081] When the terminal meets the cooling conditions, the terminal is processed according to preset rules to either lower the terminal's temperature or reduce the rate of temperature increase. Processing the terminal according to preset rules refers to adjusting the terminal's operating parameters in stages or segments.
[0082] The terminal adjusts operating parameters in stages or segments. The terminal first determines the operating parameters that need adjustment; these are the target operating parameters, which can be set by the user. Specifically, when the terminal determines that cooling conditions are met, it outputs a prompt message indicating that the terminal temperature is high and suggesting adjusting the operating parameters. If the user confirms the adjustment, i.e., the terminal detects a confirmation operation triggered by the prompt message, the terminal displays adjustable operating parameters for the user to choose from. After the user completes the selection, i.e., after the terminal detects the displayed operating parameters, it confirms the selected operating parameter and sets it as the target operating parameter.
[0083] In addition, the terminal can also determine the target operating parameters itself. Specifically, the operating parameters correspond to applications or components, and each application or component has a corresponding power consumption. The terminal can select the operating parameters corresponding to the component or application with higher power consumption as the target operating parameters. The terminal can set a preset power consumption, and define power consumption greater than the preset power consumption as higher power consumption. The target operating parameters can be at least one of the following: the power of the heat dissipation component, the brightness of the screen, the transmission power of the call component, the operating frequency of the processor, and the number of operating cores of the processor.
[0084] After determining the target operating parameters, the terminal can adjust the parameter values in segments or levels. Segmentation refers to adjusting the operating parameter value over multiple time periods, each corresponding to a time cycle. The parameter value is adjusted once per time period, and the duration of each time cycle can be the same or different. Leveling refers to dividing the operating parameter value into multiple levels. Each level adjustment adjusts the parameter value to the corresponding level. For example, if the operating parameter is screen brightness, and screen brightness is divided into levels 1, 2, 3, 4, and 5, with higher levels indicating greater brightness, and the current screen brightness is level 3, then leveling the adjustment would involve lowering the screen brightness from level 3 to level 1 in two separate steps.
[0085] It should be noted that the tiered or segmented adjustment of operating parameters includes at least one of the following: tiered or segmented increase of the power of the heat dissipation component, tiered or segmented decrease of the transmission power of the communication component, tiered or segmented decrease of the screen brightness, tiered or segmented decrease of the processor's operating frequency, and tiered or segmented decrease of the number of processor cores. It is understood that the terminal may adjust the value of only one target operating parameter, or it may adjust the values of multiple target operating parameters simultaneously.
[0086] In addition, after the terminal makes the current adjustment of the operating parameters, it is determined whether the terminal meets the cooling conditions. If the terminal meets the cooling conditions, the operating parameters will be adjusted again; if the terminal does not meet the cooling conditions, the adjustment of the operating parameters will be stopped.
[0087] In the technical solution provided in this embodiment, the terminal acquires the temperature collected by a temperature sensor, and then determines whether the terminal meets the cooling conditions based on the temperature. When the terminal meets the cooling conditions, it is processed according to preset rules to reduce the terminal's temperature or decrease the rate of temperature increase. Since the terminal can perform corresponding processing after detecting that the cooling conditions are met, the terminal's temperature decreases or the temperature increase trend slows down, without controlling the terminal to stop running or lock the screen. In other words, the terminal cools down while allowing the user to use the terminal normally, and the terminal's temperature control is reasonable.
[0088] Reference Figure 3 , Figure 3 for Figure 2 A detailed flowchart of step S30 is provided, wherein step S30 includes:
[0089] Step S31: Adjust the operating parameters of the terminal in stages or segments;
[0090] Step S32: Determine whether the current operating parameter value has reached the target parameter value;
[0091] Step S33: When the parameter value of the current operating parameter does not reach the target parameter value, the parameter value of the current operating parameter is adjusted.
[0092] In this embodiment, some operating parameters of the terminal may have reached critical values, making it impossible for the terminal to adjust these parameters to reduce the body temperature or decrease the rate of temperature rise. For example, if the power of the heat dissipation component has reached its maximum, the terminal cannot further increase the power of the heat dissipation component to reduce the body temperature.
[0093] It should be noted that the critical value corresponding to the operating parameter is not necessarily the maximum or minimum value of the parameter. The critical value can be the maximum tolerable value of the user for that operating parameter. For example, if the operating parameter is screen brightness, the user's maximum tolerable value for screen brightness is 100 cd / m². 2 .
[0094] The terminal first determines the current operating parameter to be adjusted, then obtains the parameter value of the current operating parameter and the target parameter value. The target parameter value is the maximum tolerable parameter value for the user on that operating parameter.
[0095] The terminal then determines whether the current parameter value has reached the target parameter value. If the target parameter value has not been reached, there is still room for adjustment of the current parameter value. Therefore, the terminal can adjust the parameter value of the current running parameter. The adjustment method is either hierarchical adjustment or segmented adjustment. Hierarchical adjustment or segmented adjustment is described above and will not be repeated here.
[0096] It should be noted that the current operating parameters may include multiple operating parameters. The terminal can determine the target operating parameter from among these multiple current operating parameters, and then determine whether the parameter value of the target operating parameter has reached the target parameter value corresponding to the target operating parameter. If the target parameter value has not been reached, the terminal then determines another current operating parameter as the target operating parameter, until an operating parameter with room for parameter value adjustment is determined. It can be understood that when the parameter value of the current operating parameter reaches the target parameter value, the current operating parameter is re-determined to return to the steps of determining the parameter value of the current operating parameter and the target parameter value of the current operating parameter. That is, the terminal executes steps S31 and S32 again until a current operating parameter whose parameter value has not reached the target parameter value is found.
[0097] It should be noted that the current operating parameter value can be adjusted according to a preset adjustment amount. Therefore, the operating parameter can be adjusted multiple times until the current operating parameter value reaches the target operating parameter, that is, the number of adjustments for the same type of operating parameter is greater than once. In this regard, if, after determining the current operating parameter, the terminal's temperature does not decrease or the temperature rises significantly after a period of time, the previously determined current operating parameter will still be used as the current operating parameter for this cooling process, and the parameter value of the operating parameter that has not yet reached the target value will continue to be adjusted. For example, if the previously determined current operating parameter was the screen brightness, and if the terminal meets the cooling conditions and the screen brightness still has room to decrease, the current operating parameter for this cooling process will still be the screen brightness.
[0098] Furthermore, since the adjustment amount of the operating parameter is a preset adjustment amount, the number of times the adjusted operating parameter value can reach the target parameter value can be calculated. Within this adjustable number of adjustments, the terminal's cooling operation can use the adjusted operating parameter as the current operating parameter within that adjustment number. For example, if the operating parameter is screen brightness, and the current screen brightness is 200, the target screen brightness is 100, and the preset adjustment amount is 10, then the screen brightness can be adjusted 10 times. That is, within 10 cooling operations (with the cooling operation corresponding to a screen brightness of 200 defined as the first cooling operation), the current operating parameter is always screen brightness.
[0099] In the technical solution provided in this embodiment, the terminal determines the current operating parameter to be adjusted, the parameter value of the current operating parameter, and the target parameter value. If the parameter value does not reach the target parameter value, the parameter value of the current operating parameter is adjusted to avoid the terminal adjusting the operating parameter that has reached the target parameter value, which would affect the user experience.
[0100] Reference Figure 4 , Figure 4 for Figure 2Another detailed flowchart of step S30, after step S32, includes:
[0101] Step S34: When the parameter value of the current operating parameter reaches the target parameter value, obtain the first adjustment priority of the current operating parameter;
[0102] Step S35: Determine the second adjustment priority based on the first adjustment priority, and adjust the parameter values of the operating parameters corresponding to the second adjustment priority in stages or segments.
[0103] In this embodiment, each operating parameter of the terminal has a corresponding adjustment priority. The terminal can set the adjustment priority and the adjustment order of the operating parameters corresponding to that priority. For example, the higher the adjustment priority, the earlier the parameter value of the operating parameter corresponding to that priority is adjusted; or, the higher the adjustment priority, the later the parameter value of the operating parameter corresponding to that priority is adjusted. Of course, the adjustment priority and the adjustment order of the operating parameters corresponding to that priority can also be set by the user.
[0104] Furthermore, the adjustment priority can be set by the terminal. Specifically, the terminal can determine the adjustment priority of operating parameters based on the power consumption of the corresponding components or applications and the impact of adjusting the operating parameters on the user. That is, the terminal determines the adjustment priority of operating parameters based on two dimensions: the power consumption of the corresponding applications or components and the user experience loss after adjusting the operating parameters. Considering both dimensions, the adjustment priority is: power consumption of heat dissipation components > transmission power of call components > screen brightness > processor operating frequency > number of processor cores. Of course, the terminal can also determine the adjustment priority of operating parameters based on only one dimension. For example, the higher the power consumption of a component or application, the higher the adjustment priority; the greater the user experience loss, the lower the adjustment priority.
[0105] To address this, after acquiring the current operating parameter value and the target parameter value, the terminal determines the first adjustment priority of the current operating parameter if the parameter value reaches the target value. Based on the first adjustment priority, a second adjustment priority is determined, and the parameter value corresponding to the second adjustment priority is adjusted. The determination of the second adjustment priority is related to the adjustment priority and order of the operating parameters. For example, if the current operating parameter is the power of the heat dissipation component, and the higher the adjustment priority, the earlier the corresponding adjustment order, then the operating parameter corresponding to the second adjustment priority could be screen brightness, processor operating frequency, or the number of processor cores; that is, the second adjustment priority is lower than the first adjustment priority. Furthermore, considering minimizing the impact of the terminal on user experience, the second adjustment priority should be one level lower than the first adjustment priority. In other words, when the terminal performs a cooling operation, it first uses the operating parameter with the highest adjustment priority as the current operating parameter. After the parameter value of the current operating parameter reaches the target value, the operating parameter corresponding to the second adjustment priority, which is one level lower than the first adjustment priority, is used as the current operating parameter, thus performing segmented or graded adjustments to the parameter value corresponding to the second adjustment priority.
[0106] In the technical solution provided in this embodiment, when the parameter value of the current operating parameter reaches the target parameter value, the first adjustment priority of the current operating parameter is determined, and then the second adjustment priority is determined according to the first adjustment priority, so as to adjust the operating parameter corresponding to the second adjustment priority, thereby reducing the temperature of the terminal body.
[0107] Reference Figure 5 , Figure 5 This is a second embodiment of the temperature control method for the terminal of the present invention. Based on the first embodiment, after step S20, it further includes:
[0108] Step S40: When the terminal does not meet the cooling conditions, the adjusted operating parameters are reverted, or the tiered and segmented adjustment of the terminal's operating parameters is stopped.
[0109] In this embodiment, after one or more cooling operations, the terminal's body temperature decreases or increases only slightly, but this decrease comes at the cost of user experience. Therefore, when the terminal no longer meets the cooling conditions, i.e., when cooling is no longer needed, the terminal needs to restore the lost user experience. Thus, the terminal reverts the parameter values of the operating parameters adjusted to lower the body temperature. Specifically, the terminal defines the operating parameters adjusted to lower the body temperature as adjusted operating parameters, and then reverts the values of these adjusted parameters, or stops adjusting the terminal's operating parameters in stages or segments, to avoid further loss of user experience.
[0110] It should be noted that the terminal not meeting the cooling condition means that the temperature of the device is either decreasing or the temperature increase is small. A small temperature increase indicates that the temperature of the terminal is still rising. In this case, reverting the adjusted operating parameters may increase the temperature rise. Therefore, the adjusted operating parameters should only be reverted when the temperature of the device is decreasing.
[0111] Furthermore, the callback process for adjusted operating parameter values can refer to the adjustment process for target operating parameter values. That is, the adjusted operating parameter values are periodically reverted to preset values, and then it is determined whether the terminal's operating temperature is trending upwards. If not, the callback continues; if so, the callback stops. In other words, the terminal performs graded or segmented callbacks on the adjusted operating parameter values. The graded or segmented callback process for the adjusted operating parameter values is the reverse of the graded or segmented adjustment process for the current operating parameter values, and will not be elaborated further here.
[0112] In the technical solution provided in this embodiment, when the terminal does not meet the cooling conditions, the parameter values of the adjusted operating parameters that reduce the body temperature are reverted, thereby making the terminal tend to operate normally.
[0113] In one embodiment, after adjusting the values of the operating parameters, the terminal may not meet the cooling conditions after a certain period of time. However, the terminal may adjust the values of various operating parameters sequentially, and the adjustment order of various operating parameters is based on the power consumption of the corresponding components or applications from smallest to largest. Therefore, the operating parameter previously adjusted by the terminal is the operating parameter with the highest power consumption among the terminal's adjusted operating parameters. To avoid the temperature of the device rising again, or the temperature rise increasing to a level greater than a preset rise, the type of the currently adjusted operating parameter to be called back is different from the type of the previously adjusted operating parameter. For example, the currently called-back operating parameter is the transmission power of the call component, while the previously adjusted operating parameter was the screen brightness. The power consumption corresponding to the call component is less than the power consumption of the backlight corresponding to the screen brightness. That is, the terminal will call back the adjusted operating parameter with a relatively smaller power consumption than the previously adjusted operating parameter.
[0114] Reference Figure 6 , Figure 6 for Figure 5 A detailed flowchart of step S40 is provided, wherein step S40 includes:
[0115] Step S41: When there are multiple adjusted operating parameters, determine the callback priority of each adjusted operating parameter.
[0116] Step S42: In order of callback priority from low to high, the parameter values of each of the adjusted running parameters are called back in sequence.
[0117] In this embodiment, there may be multiple adjusted operating parameters corresponding to the cooling of the machine body. The terminal can simultaneously call back the parameter values of multiple adjusted operating parameters, but doing so simultaneously may cause the temperature of the machine body to rise again. Therefore, the terminal needs to call back the parameter values of each adjusted operating parameter sequentially.
[0118] Each adjusted running parameter has a corresponding callback priority. The callback priority is the opposite of the adjustment priority of the adjusted running parameter; the higher the adjustment priority of the adjusted running parameter, the lower the callback priority. The principle for setting the callback priority is the opposite of the principle for setting the adjustment priority, and will not be explained here. The terminal can sequentially call back the parameter values of each adjusted running parameter in ascending order of callback priority.
[0119] In the technical solution provided in this embodiment, when there are multiple adjusted operating parameters, the callback priority of each adjusted operating parameter is determined, and the parameter values of each adjusted operating parameter are called back in order of callback priority from low to high, so as to avoid the temperature of the machine rising again due to the simultaneous callback of multiple adjusted operating parameters.
[0120] In one embodiment, the terminal sequentially calls back the adjusted operating parameter values to prevent the machine's temperature from rising again. To do this, after the current adjusted operating parameter value is called back, it is determined whether the minimum temperature of the machine within the current time period is lower than a preset temperature. If the minimum temperature is lower than the preset temperature, the next adjusted operating parameter value is called back. The next adjusted operating parameter has a higher priority than the previously called-back adjusted operating parameter. If the minimum temperature is higher than the preset temperature, the callback of other uncalled adjusted operating parameters is stopped.
[0121] In addition, the callback of the adjusted operating parameter value is based on the preset value. Therefore, after the current adjusted operating parameter value is callbacked to the preset value, if the minimum temperature of the machine in the current time period is less than the preset temperature, the adjusted operating parameter value will be callbacked again.
[0122] In one embodiment, when the terminal performs a cooling operation for the first time, that is, when the temperature of the machine body reaches a first preset temperature, the terminal records and saves the parameter values of the operating parameters, thereby constructing a power management strategy. The power management strategy records the parameter values of each operating parameter.
[0123] When the terminal needs to perform a callback, it applies the adjusted operating parameter value based on at least one of the saved parameter values. Specifically, the terminal retrieves one or more parameter values from the saved parameters, determines the adjusted operating parameter corresponding to the retrieved parameter value, and then adjusts the determined adjusted operating parameter value to the retrieved parameter value. For example, if the saved parameter values are brightness 100, power 5W, operating frequency 20Hz, and number of operating cores 5, the terminal retrieves the power value of 5W, and the determined adjusted operating parameter is the transmission power of the communication component. The terminal then adjusts the transmission power of the communication component back to 5W.
[0124] Reference Figure 7 , Figure 7 This is a third embodiment of the temperature control method for the terminal of the present invention. Based on the first or second embodiment, after step S10, it further includes:
[0125] Step S50: Obtain the average temperature increment value of the body within the current time period;
[0126] Step S60: Determine the duration for the body to reach the second preset temperature based on the average temperature increment value, the current temperature of the body, and the second preset temperature;
[0127] Step S70: When the duration is less than the target duration, perform the step of processing the terminal according to preset rules.
[0128] In this embodiment, the terminal performs multiple cooling operations. The terminal obtains the time point of the last adjustment of the operating parameters, and then determines the current time period based on the time point and the cycle duration. For example, if the cycle duration is 2 minutes and the current time point is 9:00 am, then the current time period is 9:00 am - 9:02 am. The cycle duration is longer than the interval between temperature sensor detections of the machine body temperature. Therefore, the current time period contains multiple temperatures. For example, if the cycle duration is 2 minutes and the interval duration is 0.5 minutes, then the temperature sensor collects four temperatures within the current time period. Therefore, when the current time point reaches the end of the current time period, the terminal can determine the average temperature change of the machine body within the current time period based on the individual temperatures.
[0129] The terminal can calculate the average temperature change within the current time period based on each temperature. Specifically, if there are six temperatures collected from morning to night within the current time period, namely Temp1, Temp2, Temp3, Temp4, Temp5, and Temp6, then the average temperature change is a:
[0130] a=((Temp2-Temp1)+(Temp3-Temp2)+(Temp4-Temp3)+(Temp5-Temp4)+(Temp6-Temp5)) / 5.
[0131] The terminal can determine the first time it takes for the body temperature to reach the second preset temperature based on the average temperature change, the current temperature T1 of the body, and the second preset temperature T2, that is, (T1-T2) / (a)=t, where t is the first time.
[0132] If the initial duration is less than the target duration, it indicates that the temperature rise of the machine is too high. In this case, the operating parameters of the terminal need to be adjusted in stages or segments. The target duration is determined based on the preset duration, and the process for determining the target duration is described above and will not be repeated here.
[0133] It is understood that in this embodiment, steps S50 and S60 are actually refinements of step S20.
[0134] In the technical solution provided in this embodiment, the terminal obtains the average temperature increment value of the body within the current time period, and then determines the time it takes for the body to reach the second preset temperature from the current temperature based on the average temperature increment value. If the time is less than the target time, it can be determined that the temperature rise of the body is large and the terminal needs to perform a cooling operation.
[0135] Reference Figure 8 , Figure 8 This is a fourth embodiment of the temperature control method for the terminal of the present invention. Based on the first or second embodiment, after step S10, it further includes:
[0136] Step S80: Based on the temperature rise curve corresponding to the current time period;
[0137] Step S90: Predict the second duration for the body temperature to reach the second preset temperature based on the temperature rise curve;
[0138] Step S100: When the second duration is less than the target duration, perform a step of processing the terminal according to preset rules. In this embodiment, the terminal can plot the temperature and the corresponding acquisition time point within the current time period to obtain a temperature rise curve. Then, based on the temperature rise curve, predict the second duration for the body to rise from the current temperature to the second preset temperature. If the second duration is less than the target duration, it can be determined that the current temperature rise of the body is too high and a cooling operation is required.
[0139] It should be noted that when fitting the curve, the terminal can consider the influence of environmental parameters and its own power consumption parameters on the curve trend. Environmental parameters can include ambient temperature, convection parameters, etc. Therefore, the terminal uses environmental parameters and its own power consumption parameters as influencing factors to fit the curve to each temperature and the corresponding acquisition time point, thereby accurately obtaining the curve and more accurately predicting the second time it takes for the body temperature to reach the second preset temperature. It can be understood that steps S80 and S90 in this embodiment are a refinement of step S20.
[0140] In the technical solution provided in this embodiment, the terminal obtains the temperature rise curve corresponding to the current time period, predicts the second time it takes for the machine to reach the second preset temperature based on the temperature rise curve, and if the second time is less than the target time, the operating parameters are adjusted to cool the machine.
[0141] The present invention also provides a terminal, the terminal including a temperature sensor, a memory, a processor, and a temperature control program of the terminal stored in the memory and executable on the processor, the temperature sensor being configured to detect the temperature of the terminal and connected to the processor, the temperature control program being executed by the processor to implement the various steps of the temperature control method of the terminal as described in the above embodiments.
[0142] The present invention also provides a computer-readable storage medium storing a temperature control program for a terminal, which, when executed by a processor, implements the various steps of the terminal control method described in the above embodiments.
[0143] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0144] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0145] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a television, mobile phone, computer, device, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0146] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for controlling the temperature of a terminal, characterized in that, The terminal is equipped with a temperature sensor, which is used to detect the temperature of the terminal. The temperature control method of the terminal includes the following steps: Obtain the temperature of the terminal; When the terminal meets the cooling conditions, the terminal is processed according to preset rules to reduce the temperature of the terminal or to reduce the rate of temperature increase of the terminal. The cooling conditions include at least one of the following: the temperature of the terminal body is greater than a first preset temperature; the temperature change of the body body within a time period is greater than the preset temperature change; and the first time for the body body temperature to reach a second preset temperature is less than a target time. Wherein, the second preset temperature is greater than or equal to the first preset temperature; the target duration is the difference between the preset duration and the total duration of the cooling operation already performed; the preset duration is the minimum allowable duration for the temperature of the machine body to rise from the first preset temperature to the second preset temperature; the cooling operation is the operation of processing the terminal according to the preset rules; This includes: acquiring the time point of the last adjustment of the terminal's operating parameters; determining the current time period based on the time point and the period duration, wherein the temperature sensor collects multiple temperatures within the current time period; determining the average temperature change of the terminal within the current time period based on each of the temperatures; determining the first duration for the temperature of the device to reach the second preset temperature based on the average temperature change, the current temperature of the device, and the second preset temperature; and satisfying the cooling condition that the first duration for the temperature of the device to reach the second preset temperature is less than the target duration when the first duration is less than the target duration.
2. The terminal temperature control method as described in claim 1, characterized in that, Processing the terminal according to preset rules means adjusting the terminal's operating parameters in stages or segments.
3. The terminal temperature control method as described in claim 2, characterized in that, The step of adjusting the operating parameters of the terminal in stages or segments includes: The method comprises at least one of the following: increasing the power of the terminal heat dissipation component in stages or segments, decreasing the transmission power of the call component in stages or segments, decreasing the screen brightness of the terminal in stages or segments, decreasing the operating frequency of the terminal's processor in stages or segments, and decreasing the number of operating cores of the processor in stages or segments.
4. The terminal temperature control method as described in claim 2, characterized in that, After the step of obtaining the temperature of the terminal, the method further includes: When the terminal does not meet the cooling conditions, the adjusted operating parameters are reverted, or the adjustment of the terminal's operating parameters in stages and segments is stopped.
5. The terminal temperature control method as described in claim 4, characterized in that, The step of calling back the adjusted operating parameters includes: When the terminal performs a cooling operation for the first time, it saves the parameter values of each operating parameter. The parameter value of the adjusted running parameter is called back based on at least one of the saved parameter values.
6. The terminal temperature control method as described in claim 2, characterized in that, When adjusting the same type of operating parameters in stages or segments, the number of times the operating parameters are adjusted is greater than once.
7. A terminal, characterized in that, The terminal includes a temperature sensor, a memory, a processor, and a temperature control program for the terminal stored in the memory and executable on the processor. The temperature sensor is configured to detect the temperature of the terminal body and is connected to the processor. When the temperature control program is executed by the processor, it implements the various steps of the temperature control method for the terminal as described in any one of claims 1-6.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a temperature control program for the terminal, which, when executed by a processor, implements the steps of the terminal control method as described in any one of claims 1-6.
Citation Information
Patent Citations
Temperature control method and device and mobile terminal
CN107329547A
Temperature control method and device for terminal device
CN109032290A