Temperature control methods, electronic devices, storage media, and software products for terminal devices
By periodically acquiring chip temperature in the terminal device and adjusting power and frequency parameters according to preset temperature thresholds and temperature control strategies, the problem of low temperature control efficiency in the terminal device is solved, achieving precise temperature control and stable device operation.
Patent Information
- Application Number
- CN202411814920.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2044-12-10
AI Technical Summary
In existing technologies, the temperature control methods for terminal devices are inefficient, the physical heat dissipation costs are high, and methods such as directly shutting down the network or adjusting device performance are not effective.
By periodically acquiring the chip temperature of the terminal device, and dynamically adjusting parameters such as maximum transmit power, cellular network speed, and CPU frequency according to preset temperature thresholds and temperature control strategies, precise temperature control can be achieved.
It improves the temperature control efficiency of terminal equipment, ensures that the equipment operates within a safe and efficient temperature range, and extends the service life of the equipment.
Smart Images

Figure CN119668380B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to a temperature control method for a terminal device, an electronic device, a storage medium, and a program product. Background Technology
[0002] With the rapid development of information technology, terminal devices have been widely used in various industries. These devices often generate significant amounts of heat during prolonged operation or under high loads. High temperatures not only reduce device performance but also shorten their lifespan and can even cause malfunctions. Therefore, temperature control methods for terminal devices have important application prospects and are crucial for ensuring stable operation and extending the lifespan of equipment.
[0003] Existing technologies for temperature control of terminal devices mainly rely on physical heat dissipation, shutting down the network, or adjusting the device's performance.
[0004] However, in existing technologies, physical heat dissipation has certain cost limitations, and one-size-fits-all temperature control methods such as directly shutting down the network of the terminal device or adjusting the device performance have poor temperature control efficiency. Therefore, existing technologies have the technical problem of low temperature control efficiency for terminal devices. Summary of the Invention
[0005] This application provides a temperature control method, electronic device, storage medium, and program product for terminal devices, in order to achieve the technical effect of improving the temperature control efficiency of terminal devices.
[0006] In a first aspect, embodiments of this application provide a temperature control method for a terminal device, comprising:
[0007] The chip temperature of the terminal device is obtained according to a preset time interval;
[0008] The target preset temperature threshold of the terminal device is determined based on the chip temperature and multiple preset temperature thresholds; wherein, the preset temperature thresholds include a first preset temperature threshold, a second preset temperature threshold, a third preset temperature threshold, and a fourth preset temperature threshold;
[0009] A target temperature control strategy corresponding to a target preset temperature threshold is determined, and the temperature of the terminal device is controlled according to the target temperature control strategy; wherein, the first preset temperature threshold corresponds to the first temperature control strategy; the second preset temperature threshold corresponds to the second temperature control strategy; the third preset temperature threshold corresponds to the third temperature control strategy; and the fourth preset temperature threshold corresponds to the fourth temperature control strategy.
[0010] In one possible implementation, a target temperature control strategy corresponding to a target preset temperature threshold is determined, and the temperature of the terminal device is controlled according to the target temperature control strategy, including:
[0011] If the target temperature control strategy is the first temperature control strategy, then the network status of the terminal device is set to the on state, and the number of runs of the second temperature control strategy and the third temperature control strategy are updated to 0 respectively.
[0012] If the target temperature control strategy is the second or third temperature control strategy, then the target number of runs for the second or third temperature control strategy is determined. Based on the target number of runs, the target temperature control index in the second or third temperature control strategy is determined. The temperature of the terminal device is controlled according to the target temperature control index. Among them, the second or third temperature control strategy has multiple temperature control indices, and different numbers of runs of the second or third temperature control strategy map to the corresponding temperature control indices.
[0013] If the target temperature control strategy is the fourth temperature control strategy, then the network status of the terminal device will be set to off.
[0014] In one possible implementation, the target temperature control index in the second or third temperature control strategy is determined based on the target number of runs, including:
[0015] The temperature control indicators include the following adjustment parameters for controlling the temperature of terminal devices: maximum transmit power information, cellular network speed information, and CPU frequency information; among them, the adjustment values of the parameters of maximum transmit power information, cellular network speed information, and CPU frequency information include the corresponding initial value, first preset value, and second preset value; the initial value of any adjustment parameter is less than the first preset value, and the first preset value is less than the second preset value;
[0016] Each temperature control index of the second temperature control strategy includes at least one adjustment parameter with an adjustment value of a first preset value and at most one adjustment parameter with an adjustment value of an initial value.
[0017] Each temperature control index of the third temperature control strategy includes at least one adjustment parameter with a second preset value and at most one adjustment parameter with a first preset value.
[0018] Set the adjustment parameters in the terminal equipment to the corresponding adjustment values according to the target temperature control index.
[0019] In one possible implementation, after setting the adjustment parameters in the terminal device to the corresponding parameter adjustment values according to the target temperature control index, the process includes:
[0020] The target number of runs for the second or third temperature control strategy is increased by one run, and the new number of runs after increasing the target number of runs for the second or third temperature control strategy by one run is determined as the target number of runs.
[0021] In one possible implementation, the method further includes:
[0022] If the target temperature control strategy corresponding to the target preset temperature threshold is the second temperature control strategy, then the second temperature control strategy is executed. Before executing the second temperature control strategy, it is first determined whether the target number of runs of the second temperature control strategy is greater than or equal to the first preset threshold. If not, the second temperature control strategy is executed to complete the temperature control of the terminal device. The value of the first preset threshold is greater than the number of temperature control indicators in the second temperature control strategy.
[0023] If the target number of runs for the second temperature control strategy is greater than or equal to the first preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the third temperature control strategy, then the third temperature control strategy is executed. Before executing the third temperature control strategy, it is first determined whether the target number of runs for the third temperature control strategy is greater than or equal to the second preset threshold. If not, the third temperature control strategy is executed to complete the temperature control of the terminal device. Wherein, the value of the second preset threshold is greater than the number of temperature control indicators in the third temperature control strategy.
[0024] If the target number of runs for the third temperature control strategy is greater than or equal to the second preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the fourth temperature control strategy, then the fourth temperature control strategy is executed, the network status of the terminal device is set to the off state, and the temperature control of the terminal device is completed.
[0025] In one possible implementation, before obtaining the chip temperature of the terminal device according to a preset time interval, the process includes:
[0026] Obtain the maximum transmit power information, cellular network speed information, and CPU frequency information of the terminal device, and set the parameter adjustment values of the maximum transmit power information, cellular network speed information, and CPU frequency information to the corresponding initial values.
[0027] Secondly, embodiments of this application provide a temperature control device for a terminal device, comprising:
[0028] The acquisition module is used to acquire the chip temperature of the terminal device according to a preset time interval;
[0029] The determination module is used to determine the target preset temperature threshold where the terminal device is located based on the chip temperature and multiple preset temperature thresholds; wherein, the preset temperature thresholds include a first preset temperature threshold, a second preset temperature threshold, a third preset temperature threshold, and a fourth preset temperature threshold;
[0030] The processing module is used to determine the target temperature control strategy corresponding to the target preset temperature threshold, and control the temperature of the terminal device according to the target temperature control strategy; wherein, the first preset temperature threshold corresponds to the first temperature control strategy; the second preset temperature threshold corresponds to the second temperature control strategy; the third preset temperature threshold corresponds to the third temperature control strategy; and the fourth preset temperature threshold corresponds to the fourth temperature control strategy.
[0031] In one possible implementation, the processing module is further configured to:
[0032] If the target temperature control strategy is the first temperature control strategy, then the network status of the terminal device is set to the on state, and the number of runs of the second temperature control strategy and the third temperature control strategy are updated to 0 respectively.
[0033] If the target temperature control strategy is the second or third temperature control strategy, then the target number of runs for the second or third temperature control strategy is determined. Based on the target number of runs, the target temperature control index in the second or third temperature control strategy is determined. The temperature of the terminal device is controlled according to the target temperature control index. Among them, the second or third temperature control strategy has multiple temperature control indices, and different numbers of runs of the second or third temperature control strategy map to the corresponding temperature control indices.
[0034] If the target temperature control strategy is the fourth temperature control strategy, then the network status of the terminal device will be set to off.
[0035] In one possible implementation, the processing module is further configured to:
[0036] The temperature control indicators include the following adjustment parameters for controlling the temperature of terminal devices: maximum transmit power information, cellular network speed information, and CPU frequency information; among them, the adjustment values of the parameters of maximum transmit power information, cellular network speed information, and CPU frequency information include the corresponding initial value, first preset value, and second preset value; the initial value of any adjustment parameter is less than the first preset value, and the first preset value is less than the second preset value;
[0037] Each temperature control index of the second temperature control strategy includes at least one adjustment parameter with an adjustment value of a first preset value and at most one adjustment parameter with an adjustment value of an initial value.
[0038] Each temperature control index of the third temperature control strategy includes at least one adjustment parameter with a second preset value and at most one adjustment parameter with a first preset value.
[0039] Set the adjustment parameters in the terminal equipment to the corresponding adjustment values according to the target temperature control index.
[0040] In one possible implementation, the processing module is further configured to:
[0041] The target number of runs for the second or third temperature control strategy is increased by one run, and the new number of runs after increasing the target number of runs for the second or third temperature control strategy by one run is determined as the target number of runs.
[0042] In one possible implementation, the processing module is further configured to:
[0043] If the target temperature control strategy corresponding to the target preset temperature threshold is the second temperature control strategy, then the second temperature control strategy is executed. Before executing the second temperature control strategy, it is first determined whether the target number of runs of the second temperature control strategy is greater than or equal to the first preset threshold. If not, the second temperature control strategy is executed to complete the temperature control of the terminal device. The value of the first preset threshold is greater than the number of temperature control indicators in the second temperature control strategy.
[0044] If the target number of runs for the second temperature control strategy is greater than or equal to the first preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the third temperature control strategy, then the third temperature control strategy is executed. Before executing the third temperature control strategy, it is first determined whether the target number of runs for the third temperature control strategy is greater than or equal to the second preset threshold. If not, the third temperature control strategy is executed to complete the temperature control of the terminal device. Wherein, the value of the second preset threshold is greater than the number of temperature control indicators in the third temperature control strategy.
[0045] If the target number of runs for the third temperature control strategy is greater than or equal to the second preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the fourth temperature control strategy, then the fourth temperature control strategy is executed, the network status of the terminal device is set to the off state, and the temperature control of the terminal device is completed.
[0046] In one possible implementation, the acquisition module is further configured to:
[0047] Obtain the maximum transmit power information, cellular network speed information, and CPU frequency information of the terminal device, and set the parameter adjustment values of the maximum transmit power information, cellular network speed information, and CPU frequency information to the corresponding initial values.
[0048] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0049] The memory stores computer-executed instructions;
[0050] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0051] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0052] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0053] The temperature control method, electronic device, storage medium, and program product for terminal devices provided in this application embodiment involve the system periodically reading temperature data from the chip of the terminal device at preset time intervals. This temperature data is compared with multiple preset temperature thresholds to determine the current temperature range of the terminal device, i.e., the corresponding target preset temperature threshold. Once the target preset temperature threshold is determined, the system searches for a temperature control strategy associated with that threshold, which is called a target temperature control strategy. The system adjusts and controls the temperature of the terminal device accordingly based on the target temperature control strategy, thereby achieving the technical effect of improving the temperature control efficiency of the terminal device. Attached Figure Description
[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0055] Figure 1 Flowchart of the temperature control method for the terminal device provided in this application Figure 1 ;
[0056] Figure 2 Flowchart of the temperature control method for the terminal device provided in this application Figure 2 ;
[0057] Figure 3 A schematic diagram of a first exemplary method for controlling the temperature of the terminal device provided in this application;
[0058] Figure 4 A schematic diagram of the second temperature control strategy for the temperature control method of the terminal device provided in this application;
[0059] Figure 5 A schematic diagram of the third temperature control strategy for the temperature control method of the terminal device provided in this application;
[0060] Figure 6 A schematic diagram of the temperature control method for the terminal device provided in this application;
[0061] Figure 7 A schematic diagram of the temperature control device for the terminal equipment provided in this application.
[0062] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0063] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of methods and approaches consistent with some aspects of this application as detailed in the appended claims.
[0064] In existing technologies, the main methods for temperature control of terminal devices include adjusting the temperature by increasing the heat dissipation area and improving the heat dissipation conditions of the terminal device, or adjusting the temperature by sensing the temperature of the device and taking corresponding control strategies. However, physical heat dissipation has certain cost limitations, and the temperature control effect achieved by one-size-fits-all methods such as directly shutting down the network of the terminal device or adjusting the device performance is not obvious. Therefore, existing technologies have the technical problem of low temperature control efficiency for terminal devices.
[0065] The temperature control method, electronic device, storage medium, and program product for terminal devices provided in this application embodiment involve the system periodically reading temperature data from the chip of the terminal device at preset time intervals. This temperature data is compared with multiple preset temperature thresholds to determine the current temperature range of the terminal device, i.e., the corresponding target preset temperature threshold. Once the target preset temperature threshold is determined, the system searches for a temperature control strategy associated with that threshold, which is called a target temperature control strategy. The system adjusts and controls the temperature of the terminal device accordingly based on the target temperature control strategy, thereby achieving the technical effect of improving the temperature control efficiency of the terminal device.
[0066] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0067] Figure 1 Flowchart of the temperature control method for the terminal device provided in this application Figure 1 ,like Figure 1 As shown, the method includes:
[0068] S101. Obtain the chip temperature of the terminal device according to a preset time interval;
[0069] In this embodiment, the chip temperature of the terminal device is acquired periodically and automatically according to a preset time interval. This preset time interval is typically set based on the device's operating characteristics, performance requirements, and temperature control accuracy to ensure timely monitoring of chip temperature changes without unnecessarily burdening device performance due to excessively frequent measurements. During chip temperature acquisition, the system usually utilizes built-in temperature sensors, which can accurately and quickly read the chip's current temperature value. Once the system acquires the chip temperature data, it immediately analyzes and processes it to take appropriate temperature control measures based on the temperature situation.
[0070] S102. Determine the target preset temperature threshold where the terminal device is located based on the chip temperature and multiple preset temperature thresholds;
[0071] In this embodiment, the current temperature reading of the chip is compared one by one with multiple preset temperature thresholds to determine the target preset temperature threshold range currently in which the terminal device is located. These preset temperature thresholds are specifically set to ensure that the terminal device can operate within a safe and efficient temperature range. They include a first preset temperature threshold, a second preset temperature threshold, a third preset temperature threshold, and a fourth preset temperature threshold. Optionally, the first preset temperature threshold is usually set as the lower limit of the device's normal operating temperature to ensure that the device's performance is not affected or internal components are damaged due to excessively low temperatures. The second preset temperature threshold is set as the median of the normal operating temperature range, serving as a benchmark reference for normal device operation. The third preset temperature threshold is set as the upper limit of the normal operating temperature to prevent the device from overheating due to excessively high temperatures, thereby preventing performance degradation or safety hazards. The fourth preset temperature threshold is often set as a higher critical value as a safety protection limit in emergency situations. Once the chip temperature exceeds this threshold, the system will immediately trigger the corresponding overheat protection mechanism to prevent further damage to the device. Through this temperature threshold setting and comparison process, the system can accurately determine the current temperature status of the terminal device and determine an appropriate temperature control strategy accordingly to ensure stable operation of the device and extend its service life.
[0072] S103. Determine the target temperature control strategy corresponding to the target preset temperature threshold, and control the temperature of the terminal device according to the target temperature control strategy.
[0073] In this embodiment, after determining the target preset temperature threshold currently occupied by the terminal device, a target temperature control strategy corresponding to that threshold is further selected, and the temperature of the terminal device is precisely controlled accordingly. This process aims to ensure that the device operates under optimal temperature conditions while preventing performance degradation or damage that may occur due to excessively high or low temperatures. Optionally, each preset temperature threshold is pre-associated with a specific temperature control strategy; when the device temperature is within the range of the first preset temperature threshold, the system activates the first temperature control strategy. This strategy includes, but is not limited to, reducing the device's power consumption, adjusting the operating frequency, or activating auxiliary heating devices to ensure that the device temperature does not continue to drop and remains above a safe minimum operating temperature. When the temperature reaches the second preset temperature threshold, the system applies the second temperature control strategy, which represents the ideal temperature range for normal device operation. At this point, the system may maintain the device in an efficient and stable operating state by balancing power consumption and performance. If the device temperature rises to the third preset temperature threshold, the system will activate the third temperature control strategy to prevent overheating. This involves reducing the workload or enabling a more efficient heat dissipation mechanism to ensure the temperature does not rise further and gradually decreases it to a safe range. When the temperature exceeds the fourth preset temperature threshold, reaching an emergency overheating state, the system will immediately execute the fourth temperature control strategy, which is the last line of defense. This strategy includes, but is not limited to, immediately shutting down the device or placing it in a low-power mode until the temperature drops to a safe level to prevent serious damage to the device or safety risks such as fires. Through such detailed and phased matching of temperature thresholds and temperature control strategies, the system can take the most appropriate measures according to different temperature conditions to ensure the safe and efficient operation of the terminal device.
[0074] The temperature control method for terminal devices provided in this application involves obtaining the chip temperature of the terminal device according to a preset time interval; determining a target preset temperature threshold for the terminal device based on the chip temperature and multiple preset temperature thresholds; determining a target temperature control strategy corresponding to the target preset temperature threshold; and controlling the temperature of the terminal device according to the target temperature control strategy. This achieves the technical effect of triggering the corresponding temperature control strategy based on the current chip temperature, thereby enabling the most appropriate response to different temperature conditions, ensuring the safe and efficient operation of the terminal device, and improving the temperature control efficiency of the terminal device.
[0075] Figure 2 Flowchart of the temperature control method for the terminal device provided in this application Figure 2 In this embodiment Figure 1 Based on the embodiments, the temperature control method of the terminal device is described in detail, wherein different temperature control strategies are implemented according to the chip temperature according to steps S203-S205; such as Figure 2 As shown, the temperature control method for the terminal device provided in this embodiment includes:
[0076] S201. Obtain the chip temperature of the terminal device according to a preset time interval;
[0077] In this embodiment, before obtaining the chip temperature of the terminal device, it is also necessary to obtain the adjustment parameters of the terminal device's temperature control indicators. These adjustment parameters include: maximum transmit power information, cellular network rate information, and CPU frequency information. After obtaining the adjustment parameters, the adjustment values of the maximum transmit power information, cellular network rate information, and CPU frequency information are set to their respective initial values. Specifically, maximum transmit power information is a crucial factor affecting energy consumption. By obtaining the device's maximum transmit power information, the system can optimize power output to ensure that communication requirements are met while minimizing energy consumption. Cellular network rate information reflects the speed and efficiency of data transmission. Adjusting the cellular network rate helps the system assess the real-time performance of data transmission, thereby enabling the system to take corresponding measures to ensure real-time performance, such as adjusting data transmission priority and optimizing data transmission paths. CPU frequency information is one of the important indicators for measuring processor performance. By obtaining CPU frequency information, the system can understand the processor's processing capabilities, thereby more rationally allocating tasks and resources, improving the overall performance and response speed of the system. By adjusting the CPU frequency, the system can reduce power consumption and improve energy efficiency while ensuring performance. Therefore, selecting maximum transmit power, cellular network speed, and CPU frequency as adjustment parameters for temperature control aims to achieve multiple goals in the temperature control system, including energy efficiency optimization, communication stability assurance, real-time data synchronization and transmission assurance, enhanced processing power, power consumption management, and thermal management. This information provides crucial decision-making support for the system, contributing to more precise, efficient, and reliable temperature control.
[0078] S202. Determine the target preset temperature threshold where the terminal device is located based on the chip temperature and multiple preset temperature thresholds;
[0079] S203. If the target temperature control strategy is the first temperature control strategy, then determine that the network status of the terminal device is set to the on state, and at the same time update the number of runs of the second temperature control strategy and the third temperature control strategy to 0 respectively.
[0080] In this embodiment, when the target temperature control strategy is determined to be the first temperature control strategy, the system will execute a series of chain operations to ensure that the strategy can operate effectively and efficiently. First, the system will check and confirm the network status of the terminal device to ensure that it is set to the enabled state. This is because the stability of the network connection is essential for remote monitoring, data synchronization, and dynamic adjustment of the strategy. The enabled network status of the terminal device means that the system can receive instructions from the central controller in real time and adjust its operating mode or parameters as needed. To simplify the priority management of strategy execution and avoid unnecessary resource consumption or potential conflicts, the system will reset the number of runs (or execution counts) of the second and third temperature control strategies to 0. During the current operating cycle, unless the first temperature control strategy is replaced or adjusted, the second and third temperature control strategies will not be actively executed. This design helps to concentrate resources and efforts on the most effective temperature control strategy at present, and also provides a clear data foundation for subsequent strategy evaluation and optimization. Therefore, when the target temperature control strategy is designated as the primary strategy, the system not only ensures uninterrupted network connectivity for terminal devices, but also optimizes the efficiency and logic of strategy execution by resetting the number of runs of other temperature control strategies, thereby providing strong support for achieving precise temperature control.
[0081] S204. If the target temperature control strategy is the second temperature control strategy or the third temperature control strategy, then determine the target number of runs of the second temperature control strategy or the third temperature control strategy, determine the target temperature control index in the second temperature control strategy or the third temperature control strategy based on the target number of runs, and control the temperature of the terminal equipment based on the target temperature control index.
[0082] In this embodiment, the second or third temperature control strategy includes multiple temperature control indicators. Different runs of the second or third temperature control strategy map to corresponding temperature control indicators. Optionally, each temperature control indicator in the second temperature control strategy includes at least one adjustment parameter with an adjustment value of a first preset value and at most one adjustment parameter with an adjustment value of an initial value. Specifically, in each temperature control indicator of the second temperature control strategy, at least one of the maximum transmit power information, cellular network rate information, and CPU frequency information has its parameter adjustment value set to the first preset value, and the remaining adjustment parameters have their parameter adjustment values set to the initial values, wherein the number of remaining adjustment parameters with parameter adjustment values set to the initial values is one or zero. When the target temperature control strategy is the second temperature control strategy, the corresponding target temperature control indicator is determined based on the target number of runs. Different temperature control indicators correspond to different adjustment parameters. After executing the target temperature control strategy, the target number of runs is incremented by 1.
[0083] Each temperature control index of the third temperature control strategy includes at least one adjustment parameter with a second preset value and at most one adjustment parameter with a first preset value. Specifically, in each temperature control index of the third temperature control strategy, at least one of the maximum transmit power information, cellular network rate information, and CPU frequency information has a parameter adjustment value of the second preset value, and the remaining adjustment parameters have parameter adjustment values of the initial values. The number of remaining adjustment parameters with parameter adjustment values of the initial values is one or zero.
[0084] After determining the target number of runs for the second or third temperature control strategy, the following steps are also required:
[0085] Optionally, if the target temperature control strategy corresponding to the target preset temperature threshold is the second temperature control strategy, then the second temperature control strategy is executed. Before executing the second temperature control strategy, the target number of runs of the second temperature control strategy is determined. First, it is determined whether the target number of runs of the second temperature control strategy is greater than or equal to the first preset threshold. If not, the second temperature control strategy is executed to complete the temperature control of the terminal device. Wherein, the value of the first preset threshold is greater than the number of temperature control indicators in the second temperature control strategy.
[0086] Optionally, if the target number of runs of the second temperature control strategy is greater than or equal to the first preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the third temperature control strategy, then the third temperature control strategy is executed. Before executing the third temperature control strategy, the target number of runs of the third temperature control strategy is determined. First, it is determined whether the target number of runs of the third temperature control strategy is greater than or equal to the second preset threshold. If not, the third temperature control strategy is executed to complete the temperature control of the terminal device. Wherein, the value of the second preset threshold is greater than the number of temperature control indicators in the third temperature control strategy.
[0087] Optionally, the temperature control indicators for adjusting the temperature of the terminal device include: maximum transmit power information, cellular network speed information, and CPU frequency information; wherein, the adjustment values of the parameters for maximum transmit power information, cellular network speed information, and CPU frequency information each include: an initial value, a first preset value, and a second preset value; the initial value of any adjustment parameter is less than the first preset value, and the first preset value is less than the second preset value; specifically, the initial value of the maximum transmit power information is less than the first preset value of the maximum transmit power information, and the first preset value of the maximum transmit power information is less than the second preset value of the maximum transmit power information.
[0088] Based on the target temperature control index, the adjustment parameters in the terminal device are set to the corresponding adjustment values. After adjusting the adjustment parameter settings, the target number of runs for the second or third temperature control strategy is increased by one run. The new number of runs after increasing the number of runs for the second or third temperature control strategy by one run is determined as the target number of runs. Specifically, if the current target number of runs for the second temperature control strategy is 3, after adjusting the adjustment parameter settings, the target number of runs for the second temperature control strategy is adjusted to 4.
[0089] S205. If the target number of runs of the third temperature control strategy is greater than or equal to the second preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the fourth temperature control strategy, then the fourth temperature control strategy is executed to set the network status of the terminal device to the off state, thereby completing the temperature control of the terminal device.
[0090] In one possible implementation, Figure 3 A schematic diagram of a first exemplary method for controlling the temperature of the terminal device provided in this application, as shown below. Figure 3 As shown, the temperature control method for the terminal device provided in this embodiment includes:
[0091] S301. Obtain the initial values of various parameters of the terminal device, including setting the parameter adjustment values of maximum transmit power information, cellular network rate information and CPU frequency information to the corresponding initial values;
[0092] S302. Obtain the chip temperature of the terminal device according to a preset time interval;
[0093] S303. Determine the target preset temperature threshold where the terminal device is located based on the chip temperature and multiple preset temperature thresholds;
[0094] S304. When the chip temperature is within the first preset temperature threshold, the first temperature control strategy is executed, and the network status of the terminal device is set to the on state. At the same time, the number of runs of the second temperature control strategy and the third temperature control strategy are updated to 0 respectively.
[0095] S305. When the chip temperature is within the second preset temperature threshold, the target number of runs of the second temperature control strategy must be obtained first. It is then determined whether the target number of runs of the second temperature control strategy is greater than or equal to 7. If not, the second temperature control strategy is executed to complete the temperature control of the terminal device, and the target number of runs is incremented by 1 to determine the new target number of runs.
[0096] The adjustment parameters for temperature control of the terminal device in the second temperature control strategy of this example include: maximum transmit power information, cellular network speed information, and CPU frequency information; wherein, the adjustment values of the maximum transmit power information, cellular network speed information, and CPU frequency information respectively include corresponding: initial value, first preset value, and second preset value; the initial value of any adjustment parameter is less than the first preset value, and the first preset value is less than the second preset value, such as... Figure 4 As shown, each temperature control index in the second temperature control strategy includes at least one adjustment parameter with a first preset value and at most one adjustment parameter with an initial value, wherein the second temperature control strategy has a total of 6 temperature control indexes.
[0097] S306. When the target number of runs of the second temperature control strategy is greater than or equal to 7, and / or the chip temperature is within the third preset temperature threshold, the target number of runs of the third temperature control strategy must be obtained first. It is then determined whether the target number of runs of the third temperature control strategy is greater than or equal to 7. If not, the third temperature control strategy is executed to complete the temperature control of the terminal device, and the target number of runs is incremented by 1 to determine the new target number of runs.
[0098] In this example, such as Figure 5 As shown, each temperature control index in the third temperature control strategy includes at least one adjustment parameter with a second preset value and at most one adjustment parameter with a first preset value, wherein the second temperature control strategy has 6 temperature control indexes.
[0099] S307. When the target number of runs of the third temperature control strategy is greater than or equal to 7, and / or when the chip temperature is within the fourth preset temperature threshold, the fourth temperature control strategy is executed to set the network status of the terminal device to the off state, thereby completing the temperature control of the terminal device.
[0100] The temperature control method for terminal devices provided in this application involves acquiring the chip temperature of the terminal device at preset time intervals, determining a target preset temperature threshold for the terminal device based on the chip temperature and multiple preset temperature thresholds, and setting the network status of the terminal device to "on" if the target temperature control strategy is a first temperature control strategy. Simultaneously, the execution counts of the second and third temperature control strategies are updated to 0. If the target temperature control strategy is either the second or third temperature control strategy, a target execution count for the second or third temperature control strategy is determined. Based on the target execution count, a target temperature control index is determined within the second or third temperature control strategy, and the temperature of the terminal device is controlled according to the target temperature control index. If the target temperature control strategy is a fourth temperature control strategy, the network status of the terminal device is set to "off". This achieves automated temperature control of the terminal device using different temperature control strategies, improving the efficiency of temperature control.
[0101] Figure 6 A schematic diagram of the temperature control device for the terminal equipment provided in this application is shown below. Figure 6 As shown, the temperature control device 60 of the terminal device provided in this embodiment includes:
[0102] The acquisition module 601 is used to acquire the chip temperature of the terminal device according to a preset time interval.
[0103] The determining module 602 is used to determine the target preset temperature threshold where the terminal device is located based on the chip temperature and multiple preset temperature thresholds; wherein, the preset temperature thresholds include a first preset temperature threshold, a second preset temperature threshold, a third preset temperature threshold, and a fourth preset temperature threshold;
[0104] The processing module 603 is used to determine the target temperature control strategy corresponding to the target preset temperature threshold, and control the temperature of the terminal device according to the target temperature control strategy; wherein, the first preset temperature threshold corresponds to the first temperature control strategy; the second preset temperature threshold corresponds to the second temperature control strategy; the third preset temperature threshold corresponds to the third temperature control strategy; and the fourth preset temperature threshold corresponds to the fourth temperature control strategy.
[0105] In one possible implementation, the processing module 603 is further configured to:
[0106] If the target temperature control strategy is the first temperature control strategy, then the network status of the terminal device is set to the on state, and the number of runs of the second temperature control strategy and the third temperature control strategy are updated to 0 respectively.
[0107] If the target temperature control strategy is the second or third temperature control strategy, then the target number of runs for the second or third temperature control strategy is determined. Based on the target number of runs, the target temperature control index in the second or third temperature control strategy is determined. The temperature of the terminal device is controlled according to the target temperature control index. Among them, the second or third temperature control strategy has multiple temperature control indices, and different numbers of runs of the second or third temperature control strategy map to the corresponding temperature control indices.
[0108] If the target temperature control strategy is the fourth temperature control strategy, then the network status of the terminal device will be set to off.
[0109] In one possible implementation, the processing module 603 is further configured to:
[0110] The temperature control indicators include the following adjustment parameters for controlling the temperature of terminal devices: maximum transmit power information, cellular network speed information, and CPU frequency information; among them, the adjustment values of the parameters of maximum transmit power information, cellular network speed information, and CPU frequency information include the corresponding initial value, first preset value, and second preset value; the initial value of any adjustment parameter is less than the first preset value, and the first preset value is less than the second preset value;
[0111] Each temperature control index of the second temperature control strategy includes at least one adjustment parameter with an adjustment value of a first preset value and at most one adjustment parameter with an adjustment value of an initial value.
[0112] Each temperature control index of the third temperature control strategy includes at least one adjustment parameter with a second preset value and at most one adjustment parameter with a first preset value.
[0113] Set the adjustment parameters in the terminal equipment to the corresponding adjustment values according to the target temperature control index.
[0114] In one possible implementation, the processing module 603 is further configured to:
[0115] The target number of runs for the second or third temperature control strategy is increased by one run, and the new number of runs after increasing the target number of runs for the second or third temperature control strategy by one run is determined as the target number of runs.
[0116] In one possible implementation, the processing module 603 is further configured to:
[0117] If the target temperature control strategy corresponding to the target preset temperature threshold is the second temperature control strategy, then the second temperature control strategy is executed. Before executing the second temperature control strategy, it is first determined whether the target number of runs of the second temperature control strategy is greater than or equal to the first preset threshold. If not, the second temperature control strategy is executed to complete the temperature control of the terminal device. The value of the first preset threshold is greater than the number of temperature control indicators in the second temperature control strategy.
[0118] If the target number of runs for the second temperature control strategy is greater than or equal to the first preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the third temperature control strategy, then the third temperature control strategy is executed. Before executing the third temperature control strategy, it is first determined whether the target number of runs for the third temperature control strategy is greater than or equal to the second preset threshold. If not, the third temperature control strategy is executed to complete the temperature control of the terminal device. Wherein, the value of the second preset threshold is greater than the number of temperature control indicators in the third temperature control strategy.
[0119] If the target number of runs for the third temperature control strategy is greater than or equal to the second preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the fourth temperature control strategy, then the fourth temperature control strategy is executed, the network status of the terminal device is set to the off state, and the temperature control of the terminal device is completed.
[0120] In one possible implementation, the acquisition module 601 is further configured to:
[0121] Obtain the maximum transmit power information, cellular network speed information, and CPU frequency information of the terminal device, and set the parameter adjustment values of the maximum transmit power information, cellular network speed information, and CPU frequency information to the corresponding initial values.
[0122] The temperature control device of the terminal device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0123] Figure 7 This is a structural diagram of the temperature control device for the terminal equipment provided in this application. Figure 7 As shown, the electronic device 70 provided in this embodiment includes at least one processor 701 and a memory 702. Optionally, the device 70 further includes a communication component 703. The processor 701, memory 702, and communication component 703 are connected via a bus 704.
[0124] In a specific implementation, at least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to perform the above-described method.
[0125] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0126] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0127] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0128] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0129] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0130] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0131] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0132] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0133] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, methods, or units, and may be electrical, mechanical, or other forms.
[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0135] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0136] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0137] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0138] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for temperature control of a terminal device, characterized in that, include: The chip temperature of the terminal device is obtained according to a preset time interval; The target preset temperature threshold of the terminal device is determined based on the chip temperature and multiple preset temperature thresholds; wherein, the preset temperature thresholds include a first preset temperature threshold, a second preset temperature threshold, a third preset temperature threshold, and a fourth preset temperature threshold; A target temperature control strategy corresponding to the target preset temperature threshold is determined, and the temperature of the terminal device is controlled according to the target temperature control strategy; wherein, the first preset temperature threshold corresponds to the first temperature control strategy; the second preset temperature threshold corresponds to the second temperature control strategy; the third preset temperature threshold corresponds to the third temperature control strategy; and the fourth preset temperature threshold corresponds to the fourth temperature control strategy. If the target temperature control strategy is the first temperature control strategy, then the network status of the terminal device is set to the on state, and the number of runs of the second temperature control strategy and the third temperature control strategy are updated to 0 respectively. If the target temperature control strategy is the second temperature control strategy or the third temperature control strategy, then the target number of runs of the second temperature control strategy or the third temperature control strategy is determined. Based on the target number of runs, the target temperature control index in the second temperature control strategy or the third temperature control strategy is determined. The temperature of the terminal device is controlled based on the target temperature control index. The second temperature control strategy or the third temperature control strategy has multiple temperature control indices, and different numbers of runs of the second temperature control strategy or the third temperature control strategy map to corresponding temperature control indices. If the target temperature control strategy is the fourth temperature control strategy, then the network status of the terminal device will be set to the off state.
2. The method according to claim 1, characterized in that, The step of determining the target temperature control index in the second temperature control strategy or the third temperature control strategy based on the target number of runs includes: The temperature control indicators include the following adjustment parameters for controlling the temperature of the terminal device: maximum transmit power information, cellular network speed information, and CPU frequency information; wherein, the adjustment values of the parameters of the maximum transmit power information, the cellular network speed information, and the CPU frequency information each include a corresponding initial value, a first preset value, and a second preset value; the initial value of any adjustment parameter is less than the first preset value, and the first preset value is less than the second preset value; Each temperature control index of the second temperature control strategy includes at least one adjustment parameter with a first preset value and at most one adjustment parameter with an initial value; Each temperature control index of the third temperature control strategy includes at least one adjustment parameter with a second preset value and at most one adjustment parameter with a first preset value. The adjustment parameters in the terminal device are set to the corresponding adjustment values according to the target temperature control index.
3. The method according to claim 2, characterized in that, After setting the adjustment parameters in the terminal device to the corresponding parameter adjustment values according to the target temperature control index, the process includes: The target number of runs for the second temperature control strategy or the third temperature control strategy is increased by one run, and the new number of runs after the second temperature control strategy or the third temperature control strategy is increased by one run is determined as the target number of runs.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: If the target temperature control strategy corresponding to the target preset temperature threshold is the second temperature control strategy, then the second temperature control strategy is executed. Before executing the second temperature control strategy, it is first determined whether the target number of runs of the second temperature control strategy is greater than or equal to the first preset threshold. If not, the second temperature control strategy is executed to complete the temperature control of the terminal device. Wherein, the value of the first preset threshold is greater than the number of temperature control indicators in the second temperature control strategy. If the target number of runs of the second temperature control strategy is greater than or equal to the first preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the third temperature control strategy, then the third temperature control strategy is executed. Before executing the third temperature control strategy, it is first determined whether the target number of runs of the third temperature control strategy is greater than or equal to the second preset threshold. If not, the third temperature control strategy is executed to complete the temperature control of the terminal device; wherein, the value of the second preset threshold is greater than the number of temperature control indicators in the third temperature control strategy. If the target number of runs of the third temperature control strategy is greater than or equal to the second preset threshold, and / or the target temperature control strategy corresponding to the target preset temperature threshold is the fourth temperature control strategy, then the fourth temperature control strategy is executed, the network status of the terminal device is set to the off state, and the temperature control of the terminal device is completed.
5. The method according to any one of claims 1-3, characterized in that, Before obtaining the chip temperature of the terminal device according to the preset time interval, the following steps are included: The maximum transmit power information, cellular network rate information, and CPU frequency information of the terminal device are obtained, and the parameter adjustment values of the maximum transmit power information, the cellular network rate information, and the CPU frequency information are set to their respective initial values.
6. A temperature control device for a terminal device, characterized in that, include: The acquisition module is used to acquire the chip temperature of the terminal device according to a preset time interval; The determining module is used to determine the target preset temperature threshold where the terminal device is located based on the chip temperature and multiple preset temperature thresholds; wherein, the preset temperature thresholds include a first preset temperature threshold, a second preset temperature threshold, a third preset temperature threshold, and a fourth preset temperature threshold; The processing module is configured to determine the target temperature control strategy corresponding to the target preset temperature threshold, and control the temperature of the terminal device according to the target temperature control strategy; wherein, the first preset temperature threshold corresponds to the first temperature control strategy; the second preset temperature threshold corresponds to the second temperature control strategy; the third preset temperature threshold corresponds to the third temperature control strategy; and the fourth preset temperature threshold corresponds to the fourth temperature control strategy. The processing module is further configured to, if the target temperature control strategy is the first temperature control strategy, determine that the network status of the terminal device is set to the on state, and update the number of runs of the second temperature control strategy and the third temperature control strategy to 0 respectively; If the target temperature control strategy is the second temperature control strategy or the third temperature control strategy, then the target number of runs of the second temperature control strategy or the third temperature control strategy is determined. Based on the target number of runs, the target temperature control index in the second temperature control strategy or the third temperature control strategy is determined. The temperature of the terminal device is controlled based on the target temperature control index. The second temperature control strategy or the third temperature control strategy has multiple temperature control indices, and different numbers of runs of the second temperature control strategy or the third temperature control strategy map to corresponding temperature control indices. If the target temperature control strategy is the fourth temperature control strategy, then the network status of the terminal device will be set to the off state.
7. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-5.
9. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-5.
Citation Information
Patent Citations
Chip operation method and device, SOC chip and storage medium
CN115686160A