Temperature control method, device, electronic device and computer readable storage medium
By detecting operating power and ambient temperature, analyzing load requirements and dynamically adjusting the screen content, the problem of difficulty in achieving maximum power and temperature rise in electronic devices is solved, and better user experience and equipment temperature control are achieved.
Patent Information
- Application Number
- CN202411793680.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-04
AI Technical Summary
It is difficult for electronic devices to achieve maximum usage power and temperature rise performance, which affects the user experience.
By detecting operating power and ambient temperature, analyzing operating load data and performance level requirements, dynamically adjusting screen resolution and generating adjusted screen content, combining ambient temperature and screen content, controlling equipment temperature and operating power.
Effectively prevent electronic equipment from overheating, achieve maximum usage power and temperature rise performance, and improve user experience.
Smart Images

Figure CN119759123A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of temperature control technology, and in particular to a temperature control method, device, electronic device and computer-readable storage medium. Background Art
[0002] As the functions of electronic devices such as smartphones and tablets continue to increase, users' requirements for device performance are also increasing. However, this trend has led to a significant increase in the power consumption of electronic devices, which has led to increasingly serious temperature rise problems.
[0003] Currently, the design of temperature control strategies usually focuses on the identification of application scenarios, and mainly relies on the thermistors or case temperature sensors built into mobile phones. Existing temperature control strategies can often only switch different temperature control modes according to specific usage scenarios, making it difficult for electronic devices to achieve maximum power usage and temperature rise performance in some cases, ultimately affecting the user experience. Summary of the invention
[0004] The main technical problem solved by the present application is to provide a temperature control method, device, electronic device and computer-readable storage medium, which can solve the technical problem that it is difficult for electronic devices to achieve maximum power usage and temperature rise performance.
[0005] In order to solve the above technical problems, a technical solution adopted in this application is: the temperature control method includes:
[0006] The electronic device detects operating power and ambient temperature in response to the duration of the holding operation meeting a preset time threshold;
[0007] In response to the operating power satisfying a preset power range and the ambient temperature satisfying a preset ambient temperature range, detecting operating load data and performance level requirements;
[0008] Performing encoding and decoding according to the operation load data and the performance level requirement to adjust the current screen resolution and generate adjusted screen content;
[0009] The device temperature and the operating power of the electronic device are controlled in combination with the ambient temperature and the screen content.
[0010] Optionally, the controlling the device temperature and the operating power of the electronic device in combination with the ambient temperature and the screen content includes:
[0011] Analyzing the type and brightness change of the screen content to predict the heating trend of the electronic device;
[0012] According to the heating trend, the corresponding heat is absorbed by the preset phase change material to control the device temperature and the operating power.
[0013] Optionally, in response to the duration of the holding operation satisfying a preset time threshold, after detecting the operating power and the ambient temperature, the electronic device includes:
[0014] In response to the operating power being lower than the power range, or the operating power meeting the power range but the ambient temperature being lower than the ambient temperature range, the heat is released through the phase change material to control the device temperature and the operating power of the electronic device.
[0015] Optionally, the electronic device, in response to the duration of the holding operation satisfying a preset time threshold, after detecting the operating power and the ambient temperature, further comprises:
[0016] In response to the operating power being greater than the power range, or the operating power satisfying the power range but the ambient temperature being greater than the ambient temperature range, acquiring hardware status data, user behavior data, and application load data corresponding to a plurality of running applications;
[0017] Analyzing the hardware status data, the user behavior data, and the application load data to obtain a target power consumption level;
[0018] Determining, according to the target power consumption level, an application to be closed and a target application from the plurality of running applications;
[0019] The application to be closed is closed, and the target application is scheduled to control the device temperature and the operating power of the electronic device.
[0020] Optionally, scheduling the target application includes:
[0021] Obtaining a priority level corresponding to the target application;
[0022] Based on a preset heterogeneous multi-core architecture, the plurality of running applications are allocated to at least one core in the heterogeneous multi-core architecture according to the priority level.
[0023] Optionally, in response to the duration of the holding operation satisfying a preset time threshold, before detecting the operating power, the electronic device includes:
[0024] The sensor module of the electronic device collects the user's grip pressure and posture changes to determine whether the electronic device is being gripped.
[0025] Optionally, the ambient temperature range is 25°C to 35°C.
[0026] In order to solve the above technical problems, another technical solution adopted by the present application is: a temperature control device, the temperature control device comprising:
[0027] A first detection module, configured for the electronic device to detect operating power in response to the duration of the holding operation meeting a preset time threshold;
[0028] A second detection module is used to detect the operation load data and the performance level requirement in response to the operation power satisfying the preset power range and the ambient temperature satisfying the preset ambient temperature range;
[0029] An adjustment module, configured to perform encoding and decoding according to the operation load data and the performance level requirement to adjust the current screen resolution and generate adjusted screen content;
[0030] The control module is used to control the device temperature and the operating power of the electronic device in combination with the ambient temperature and the screen content.
[0031] In order to solve the above technical problems, another technical solution adopted by the present application is: an electronic device, the electronic device comprising:
[0032] A memory for storing executable program codes;
[0033] The processor is used to call and run the executable program code from the memory, so that the electronic device executes the temperature control method as described in any one of the above.
[0034] To solve the above technical problems, another technical solution adopted in the present application is: a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the temperature control method as described in any one of the above items is implemented.
[0035] Different from the prior art, the embodiment of the present application provides a temperature control method, which includes: the electronic device detects the operating power and ambient temperature in response to the duration of the holding operation meeting the preset time threshold; detects the operating load data and performance level requirements in response to the operating power meeting the preset power range and the ambient temperature meeting the preset ambient temperature range; performs encoding and decoding according to the operating load data and the performance level requirements to adjust the current screen resolution and generate the adjusted screen content; controls the device temperature and the operating power of the electronic device in combination with the ambient temperature and the screen content. When the user continues to hold the device for more than the preset time, the system starts the detection of the operating power and ambient temperature; when it is detected that the operating power and ambient temperature meet the corresponding ranges respectively, the current operating load and performance requirements are analyzed, and according to the analysis results, the system dynamically adjusts the screen resolution, generates the screen content, and executes the corresponding temperature control strategy in combination with the real-time ambient temperature and the screen content to prevent the electronic device from overheating and effectively achieve the maximum power usage and temperature rise performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flow chart of the first embodiment of the temperature control method of the present application;
[0037] Figure 2 It is a flow chart of the second embodiment of the temperature control method of the present application;
[0038] Figure 3 It is a flow chart of the third embodiment of the temperature control method of the present application;
[0039] Figure 4 It is a schematic diagram of an exemplary application scenario of the temperature control method of the present application;
[0040] Figure 5 is an exemplary structural block diagram of an electronic device of the temperature control method of the present application;
[0041] Figure 6 It is an exemplary structural block diagram of a computer-readable storage medium of the temperature control method of the present application. DETAILED DESCRIPTION
[0042] The present application is described in detail below with reference to the accompanying drawings and implementation methods.
[0043] See also Figure 1 , Figure 1 It is a flow chart of the first embodiment of the temperature control method of the present application. It should be noted that if there is substantially the same result, the method of the present application is not limited to Figure 1 The process sequence shown is limited. Figure 1 As shown, the temperature control method includes:
[0044] Step S110, the electronic device detects operating power and ambient temperature in response to the duration of the holding operation meeting a preset time threshold;
[0045] Specifically, the electronic device may be a mobile phone, tablet, etc. The electronic device may utilize capacitive touch screen, pressure sensing technology, thermal imaging sensor, temperature sensor, camera visual recognition, ultrasonic fingerprint recognition, etc. to monitor the user's holding state, and then collect corresponding data in real time, detect whether the device is currently in a holding state, and record the operation duration.
[0046] When the electronic device detects the user's holding operation, it will start the internal timer to continuously monitor the current user's holding operation status. When the recorded holding operation duration meets the preset time threshold, the electronic device detects the surrounding ambient temperature and the electronic device's own operating power. Among them, the time threshold can be set according to actual conditions. In this embodiment, the preferred time threshold is 15 seconds.
[0047] The operating power can be real-time power consumption data detected by the electronic device in combination with the current sensor and the voltage monitoring module, which is used to represent the power consumption of the electronic device in different usage scenarios. The ambient temperature can be detected by the electronic device in combination with the preset algorithm and the sensor to detect whether it is currently in a safe working range.
[0048] In an exemplary embodiment, a temperature sensor can be integrated into an electronic device to detect the ambient temperature, wherein the temperature sensor can be a humidity sensor or an air pressure sensor. The temperature sensor can be located at the edge or back of the electronic device to reduce the interference of heat generated by internal components on the measurement. The sampling frequency of the temperature sensor is set, for example, once per second, to ensure that real-time data of the ambient temperature is obtained. The frequency can be adjusted according to different scenarios, and the frequency can be increased under high load to obtain more accurate data; then, a filtering algorithm, such as a Kalman filter or a moving average filter, is used to process the collected ambient temperature data, remove noise and smooth the temperature change curve to improve the accuracy of the measurement.
[0049] Step S120, in response to the operating power satisfying a preset power range and the ambient temperature satisfying a preset ambient temperature range, detecting operating load data and performance level requirements;
[0050] Among them, if the operating power of the electronic device meets the power range, it means that the electronic device may be overloaded, which will cause overheating and reduce the overall performance of the device; if the ambient temperature meets the ambient temperature range, it may cause the electronic device to overheat, thereby causing performance degradation or hardware damage. Therefore, this embodiment proposes a temperature control strategy, which can prevent the electronic device from entering a critical state in advance by detecting the operating power of the electronic device and the current ambient temperature, and effectively achieve the maximum power usage and temperature rise performance.
[0051] Specifically, by detecting whether the operating power is within the set power range and whether the ambient temperature is within the set ambient temperature range, the electronic device can flexibly adapt to different usage environments and power consumption requirements. By analyzing system performance monitoring data, such as CPU and GPU usage, memory occupancy, etc., the current operating load data is detected. At the same time, performance level demand assessment: combined with the user's ongoing applications, such as games, video playback, office software, etc., the system evaluates the required performance level requirements.
[0052] Step S130, performing encoding and decoding according to the operation load data and the performance level requirement to adjust the current screen resolution and generate adjusted screen content;
[0053] Specifically, based on the collected operating load data and performance level requirements, the resolution of the decoded stream can be adjusted through codec technology. For example, a lower resolution video stream can be selected to reduce the burden on the graphics processor, thereby maintaining a smooth experience.
[0054] Among them, coding and decoding technology includes but is not limited to encoding and decoding of audio data, such as MP3, AAC, WAV and other formats; processing of video data, such as H.264, H.265, VP9 and other formats; encoding and decoding of static images, such as JPEG, GIF, PNG and other formats.
[0055] Step S140: controlling the device temperature and the operating power of the electronic device in combination with the ambient temperature and the screen content.
[0056] Specifically, by analyzing the real-time ambient temperature and current screen content, the device can automatically adjust the heat dissipation mechanism, such as fan speed, use of heat dissipation materials, etc., to maintain the electronic device at a normal operating temperature.
[0057] Furthermore, step S140 may include: analyzing the type and brightness changes of the screen content to predict the heating trend of the electronic device; according to the heating trend, absorbing corresponding heat by preset phase change materials to control the device temperature and the operating power.
[0058] Specifically, the screen display content of electronic devices can be divided into many types, such as static text, dynamic images, video playback, game screens, etc. Different types of content have different loads on the central processing unit and graphics processing unit, which affects the heating situation. For example, dynamic content usually requires more computing resources, resulting in higher power consumption and heat. At the same time, the screen brightness not only affects the user experience, but also directly affects the power consumption of the device. Higher brightness settings will result in more power consumption, which in turn increases heat generation.
[0059] Therefore, by monitoring the changes in screen content and brightness settings in real time, the machine learning algorithm can be used to predict the heating trend of the device, identify the heating pattern of the device under specific content types and brightness conditions, and thus predict future temperature increases and obtain heating trends. According to the heating trend, the system will establish a heating trend model and consider the relationship between screen content changes, brightness adjustments, and power consumption to predict the temperature changes of the device under specific circumstances; then, when the heating trend of the electronic device is predicted to rise, the system will activate the preset phase change material, which will begin to absorb excess heat, thereby slowing down the rise in device temperature. The electronic device can then continue to monitor the actual temperature of the device and compare it with the predicted heating trend. If the device temperature continues to be within a safe range, the system will maintain the current settings; if the temperature approaches the threshold, the screen brightness can be further reduced or the content type can be adjusted to reduce the load.
[0060] The phase change material may be a metal or its alloy, or a composite material made by microencapsulation or other methods.
[0061] In this embodiment, when the user continues to hold the device for more than a preset time, the system starts detecting the operating power and ambient temperature; when it is detected that the operating power and ambient temperature meet the corresponding ranges, the system analyzes the current operating load and performance requirements. Based on the analysis results, the system dynamically adjusts the screen resolution, generates screen content, and combines the real-time ambient temperature and screen content to execute the corresponding temperature control strategy to prevent the electronic device from overheating and effectively achieve maximum power usage and temperature rise performance.
[0062] See also Figure 2 , Figure 2 1 is a flow chart of the second embodiment of the temperature control method of the present application. In this embodiment, the method includes the following steps:
[0063] Step S210, the electronic device detects operating power and ambient temperature in response to the duration of the holding operation meeting a preset time threshold;
[0064] The above step S110 may be used and will not be described in detail herein.
[0065] Step S220, in response to the operating power being lower than the power range, or the operating power satisfying the power range but the ambient temperature being lower than the ambient temperature range, releasing the heat through the phase change material to control the device temperature and the operating power of the electronic device.
[0066] Specifically, when the operating power of the device is lower than the power range, it can be said that the electronic device is running under a lighter load. In this state, the electronic device generates less heat, so the release function of the phase change material can be activated to release the heat absorbed by the phase change material to the outside of the electronic device when the operating power meets the power range and the ambient temperature meets the ambient temperature range, so as to avoid the phase change material absorbing heat overload.
[0067] When the operating power meets the power range but the ambient temperature is lower than the ambient temperature range, it means that the ambient temperature around the electronic device is low. Therefore, the accumulated heat can also be released into the electronic device through the phase change material to ensure that the temperature of the electronic device is maintained at an appropriate level, thereby improving the flexibility of thermal management.
[0068] In this embodiment, when the electronic device responds to the operating power being lower than the power range or operating normally at a low ambient temperature, the phase change material releases heat, thereby effectively controlling the temperature of the electronic device, which not only improves the energy efficiency and stability of the device, but also extends the service life of the device and enhances the user experience.
[0069] See also Figure 3 , Figure 3 1 is a flow chart of the third embodiment of the temperature control method of the present application. In this embodiment, the method includes the following steps:
[0070] Step S310, the electronic device detects operating power and ambient temperature in response to the duration of the holding operation meeting a preset time threshold;
[0071] Specifically, the above step S110 may be performed, which will not be described in detail herein.
[0072] Step S320, in response to the operating power being greater than the power range, or the operating power satisfying the power range but the ambient temperature being greater than the ambient temperature range, acquiring hardware status data, user behavior data, and application load data corresponding to a plurality of running applications;
[0073] Among them, hardware status data may include the operating frequency of the CPU and GPU, feedback data from temperature sensors and humidity sensors, battery status (power, voltage, temperature), etc. Hardware status data is used to reflect the current working status of the device; user behavior data may represent the user's operation behavior on the device, such as the touch frequency of the screen, the type of application running, and the continuous use time; application load data may be the resources consumed by each running application, including the CPU, GPU, memory usage ratio, background operation status, etc.
[0074] Specifically, if the operating power of an electronic device is greater than the power range, it means that the electronic device is performing high-load tasks, such as processing complex calculations, graphics rendering, and large amounts of data transmission, indicating an application, which causes a sharp increase in device power. Or the electronic device is within the power range, but the electronic device is in a high-temperature environment, such as outdoor exposure or in a closed space, resulting in poor heat dissipation efficiency of the device, so the device temperature and operating power of the device can be further controlled.
[0075] Step S330, analyzing the hardware status data, the user behavior data and the application load data to obtain a target power consumption level;
[0076] The target power consumption level indicates the power consumption limit at which the device can operate safely and stably under the current ambient temperature. This target power consumption level is dynamic and can be adjusted in real time according to the device's temperature, load conditions, and user behavior.
[0077] Specifically, a machine learning algorithm or a power consumption model can be used to analyze historical data of user behavior, hardware status data, and application load data to obtain a target power consumption level to predict the power consumption trend of the electronic device.
[0078] Step S340, determining an application to be closed and a target application from the multiple running applications according to the target power consumption level;
[0079] The target application can be an application that the user is actively using, or an application that has a significant impact on the user experience. The target application needs to prioritize its performance to prevent temperature management from affecting the user experience; the applications to be closed usually include applications that the user is not currently directly operating, system background processes, or programs that have a significant impact on device temperature and power consumption.
[0080] Specifically, the power consumption data of each running application can be collected in real time through the embedded power consumption management module of the electronic device, such as Dynamic Voltage and Frequency Scaling (DVFS), or power consumption monitoring tools. The power consumption data can be used to reflect the running intensity of the running application and the impact of the running application on the overall power consumption of the electronic device. In combination with the power management framework of the operating system, the application to be closed can be closed by pausing, completely terminating, or switching the application to the background power saving mode, and ensure that the application is safely closed without affecting the stability of the system.
[0081] Step S350, closing the application to be closed, and scheduling the target application to control the device temperature and the operating power of the electronic device.
[0082] By shutting down non-essential applications and scheduling priority applications, the system can operate within power consumption limits, thereby effectively controlling the temperature of the device. The temperature control strategy combines application management and hardware control, such as frequency reduction and screen brightness adjustment, to ensure that the device temperature and operating power of electronic devices do not exceed the set safety threshold.
[0083] Further, step S350 may include: obtaining a priority level corresponding to the target application; and based on a preset heterogeneous multi-core architecture, assigning the plurality of running applications to at least one core in the heterogeneous multi-core architecture according to the priority level.
[0084] Specifically, the priority can be determined by combining the type of application and the importance of the current task. High-priority target applications will be assigned to large cores, and low-priority applications will be assigned to small cores to minimize power consumption. For example, real-time video processing or game rendering are usually assigned to large cores to ensure a smooth user experience, while background music playback, file downloads, etc. can be completed using small cores to reduce the impact on battery and temperature.
[0085] In addition, the heterogeneous multi-core architecture in this embodiment can also dynamically adjust the core allocation according to the actual load. For example, when a high-priority application suddenly increases its computing requirements, more large core resources can be temporarily allocated to the application to ensure the operating performance of the electronic device.
[0086] In this embodiment, by utilizing a heterogeneous multi-core architecture and dynamic scheduling based on application priorities, the device can achieve efficient resource utilization, which not only ensures the smooth operation of high-performance applications, but also reduces power consumption by intelligently allocating low-priority tasks, thereby improving user experience and extending the battery life of electronic devices.
[0087] See also Figure 4 , Figure 4 This is a schematic diagram of an exemplary application scenario of the temperature control method of the present application. When a user starts to use a mobile phone, the sensor can be used to determine whether the mobile phone is being operated in the user's handheld state, so as to flexibly adjust the temperature control in combination with the user's use environment, use state, etc.
[0088] First, the phone can activate sensor modules periodically or in a specific state (such as when the screen is turned on), including pressure sensors, accelerometers, gyroscopes, and touch screen detection. Specifically, the pressure sensor senses the pressure data of the phone; the accelerometer and gyroscope detect the movement, rotation, and posture change data of the phone; and the proximity sensor and touch sensor detect whether the palm or finger is close to the phone.
[0089] Then, the phone processes these sensor data in real time. If the pressure sensor detects continuous pressure data within a certain range, it can be considered that the phone is in a grip state; if the posture data of the accelerometer and gyroscope are consistent with the normal grip posture, the grip state is further confirmed; if the touch point on the touch screen is continuously at the edge of the screen or close to the edge of the phone, combined with the distance data of the proximity sensor, it can be confirmed that the user's hand is holding the phone. Conversely, if the phone does not detect a grip operation, it can trigger a power saving mode or other low-power strategies.
[0090] When it is confirmed that the mobile phone is held by the user and the continuous hand-held operation exceeds 30 seconds, the current operating power of the mobile phone is further detected through the operation of the mobile phone. When the operating power is judged to be low, the mobile phone triggers high temperature protection temperature control strategy 1; when the operating power is judged to be medium, the ambient temperature of the mobile phone is further detected based on the algorithm and the sensor: when the ambient temperature of the mobile phone is ≤25℃, the mobile phone triggers high temperature protection temperature control strategy 1; when the ambient temperature of the mobile phone is 25<ambient temperature≤35℃, the mobile phone triggers high temperature protection temperature control strategy 2; when the ambient temperature of the mobile phone is>35℃, the mobile phone triggers high temperature protection temperature control strategy 3. When the operating power is judged to be high, the mobile phone triggers high temperature protection temperature control strategy 3.
[0091] Among them, high temperature protection temperature control strategies 1 to 3 represent the degree of restriction of the strategy, and the triggered scenarios are default temperature control and top-level applications. High temperature protection temperature control strategy 1 has the least restriction, and high temperature protection temperature control strategy 3 has the most restriction. High temperature protection temperature control strategy 1 can refer to the second embodiment of this application, high temperature protection temperature control strategy 2 can refer to the first embodiment of this application, and high temperature protection temperature control strategy 3 can refer to the third embodiment of this application.
[0092] In this embodiment, the temperature control is triggered by flexibly switching according to the use status, environment and other conditions of the mobile phone, thereby ensuring the maximum power and temperature rise performance of the mobile phone.
[0093] In addition, the embodiment of the present application further provides a temperature control device, the temperature control device comprising:
[0094] A first detection module, configured for the electronic device to detect operating power in response to the duration of the holding operation meeting a preset time threshold;
[0095] A second detection module is used to detect the operation load data and the performance level requirement in response to the operation power satisfying the preset power range and the ambient temperature satisfying the preset ambient temperature range;
[0096] An adjustment module, configured to perform encoding and decoding according to the operation load data and the performance level requirement to adjust the current screen resolution and generate adjusted screen content;
[0097] The control module is used to control the device temperature and the operating power of the electronic device in combination with the ambient temperature and the screen content.
[0098] See also Figure 5 , Figure 5 is an exemplary structural block diagram of an electronic device of the temperature control method of the present application. Figure 5 As shown, the electronic device 500 of the present application may include a processor 501 and a memory 502, wherein the processor 501 and the memory 502 communicate with each other via a bus. The memory 502 stores program instructions for temperature control, and when the program instructions are executed by the processor 501, the processor executes the above-mentioned related method steps to implement a temperature control method in the above-mentioned embodiment.
[0099] See also Figure 6 , Figure 6 is an exemplary structural block diagram of a computer-readable storage medium of the temperature control method of the present application. Figure 6 As shown, a computer program 601 is stored in the computer-readable storage medium 600. When the computer program 601 is executed by a processor on a computer, the computer executes the above-mentioned related method steps to implement a temperature control method in the above-mentioned embodiment.
[0100] In the above scheme, the electronic device detects the operating power and ambient temperature in response to the duration of the holding operation meeting the preset time threshold; detects the operating load data and performance level requirements in response to the operating power meeting the preset power range and the ambient temperature meeting the preset ambient temperature range; performs encoding and decoding according to the operating load data and the performance level requirements to adjust the current screen resolution and generate the adjusted screen content; controls the device temperature and the operating power of the electronic device in combination with the ambient temperature and the screen content. When the user continues to hold the device for more than the preset time, the system starts the detection of the operating power and ambient temperature; when it is detected that the operating power and ambient temperature meet the corresponding ranges, the current operating load and performance requirements are analyzed, and according to the analysis results, the system dynamically adjusts the screen resolution, generates the screen content, and executes the corresponding temperature control strategy in combination with the real-time ambient temperature and the screen content to prevent the electronic device from overheating and effectively achieve the maximum power usage and temperature rise performance.
[0101] In the several embodiments provided in the present application, it should be understood that the disclosed methods, electronic devices and storage media can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0102] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0103] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0104] If the integrated unit is implemented in the form of 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 the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the temperature control method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0105] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A temperature control method, characterized in that: The temperature control method comprises: The electronic device detects operating power and ambient temperature in response to the duration of the holding operation meeting a preset time threshold; In response to the operating power satisfying a preset power range and the ambient temperature satisfying a preset ambient temperature range, detecting operating load data and performance level requirements; Performing encoding and decoding according to the operation load data and the performance level requirement to adjust the current screen resolution and generate adjusted screen content; The device temperature and the operating power of the electronic device are controlled in combination with the ambient temperature and the screen content.
2. The temperature control method according to claim 1, characterized in that: The controlling the device temperature and the operating power of the electronic device in combination with the ambient temperature and the screen content includes: Analyzing the type and brightness change of the screen content to predict the heating trend of the electronic device; According to the heating trend, the corresponding heat is absorbed by the preset phase change material to control the device temperature and the operating power.
3. The temperature control method according to claim 2, characterized in that: The electronic device detects the operating power and the ambient temperature in response to the duration of the holding operation meeting the preset time threshold, including: In response to the operating power being lower than the power range, or the operating power meeting the power range but the ambient temperature being lower than the ambient temperature range, the heat is released through the phase change material to control the device temperature and the operating power of the electronic device.
4. The temperature control method according to claim 1, characterized in that: The electronic device detects the operating power and the ambient temperature in response to the duration of the holding operation meeting the preset time threshold, further comprising: In response to the operating power being greater than the power range, or the operating power satisfying the power range but the ambient temperature being greater than the ambient temperature range, acquiring hardware status data, user behavior data, and application load data corresponding to a plurality of running applications; Analyzing the hardware status data, the user behavior data, and the application load data to obtain a target power consumption level; Determining, according to the target power consumption level, an application to be closed and a target application from the plurality of running applications; The application to be closed is closed, and the target application is scheduled to control the device temperature and the operating power of the electronic device.
5. The temperature control method according to claim 4, characterized in that: The scheduling of the target application comprises: Obtaining a priority level corresponding to the target application; Based on a preset heterogeneous multi-core architecture, the plurality of running applications are allocated to at least one core in the heterogeneous multi-core architecture according to the priority level.
6. The temperature control method according to claim 1, characterized in that: The electronic device detects the operating power in response to the duration of the holding operation meeting a preset time threshold, including: The sensor module of the electronic device collects the user's grip pressure and posture changes to determine whether the electronic device is being gripped.
7. The temperature control method according to claim 1, characterized in that: The ambient temperature range is 25°C to 35°C.
8. A temperature control device, characterized in that: The temperature control device comprises: A first detection module, configured for the electronic device to detect operating power in response to the duration of the holding operation meeting a preset time threshold; A second detection module is used to detect the operation load data and the performance level requirement in response to the operation power satisfying the preset power range and the ambient temperature satisfying the preset ambient temperature range; An adjustment module, configured to perform encoding and decoding according to the operation load data and the performance level requirement to adjust the current screen resolution and generate adjusted screen content; The control module is used to control the device temperature and the operating power of the electronic device in combination with the ambient temperature and the screen content.
9. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the electronic device executes the temperature control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the temperature control method according to any one of claims 1 to 7 is implemented.