Heat dissipation control method and system for portable computer

Through real -time monitoring of the memory usage of portable computers and the utilization rate of the central processor, the fan speed is dynamically adjusted, and the problem of unstable temperature changes in portable computers at different load conditions has been solved, improving the stability and performance of operation, and extending the service life.

CN119126947BActive Publication Date: 2025-01-24SHENZHEN JIMOKE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411586193.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-01-24
Estimated Expiration
2044-11-08

AI Technical Summary

Technical Problem

The temperature changes of portable computers under different load conditions are unstable, resulting in poor operating stability and performance and short service life.

Method used

Through real -time obtaining the memory usage of portable computers and the utilization rate of central processors, determine the degree of load and follow -up operation complexity, and dynamically adjust the fan speed to match the heat dissipation needs.

Benefits of technology

It realizes real-time temperature adjustment of portable computers, reduces the lag of temperature adjustment, improves operational stability and performance, and extends service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The present invention relates to the field of data processing, and in particular to a heat dissipation control method and system for a portable computer, the method comprising: obtaining real-time performance data of the portable computer at the current moment; determining the load level of the portable computer at the current moment according to the memory usage and the utilization rate of the central processing unit; determining the subsequent operation complexity of the portable computer at the current moment by using the load level at the current moment and the historical utilization rate of the central processing unit in a predetermined time period before the current moment; determining the influence of the current moment on the central processing unit according to the subsequent operation complexity of the portable computer at the current moment and the subsequent operation complexity at the target moment within the monitoring period; determining the target speed of the fan of the portable computer according to the influence level and the load level of the portable computer at the current moment, and controlling the fan of the portable computer to rotate at the target speed. The present invention improves the operation stability and performance of the portable computer and prolongs the service life of the portable computer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a heat dissipation control method and system for a portable computer. Background Art

[0002] With the rapid development of computer technology, the performance requirements of portable computers are constantly increasing. High-performance processors, high-speed memory, and complex system architectures have brought higher computing power and richer user experience, but also led to a significant increase in heat generation inside the device. An effective heat dissipation mechanism is essential to maintain stable operation of the device and extend the life of the hardware.

[0003] In some scenarios, the cooling of portable computers is usually done by a fixed fan speed. When the temperature of the portable computer reaches a preset threshold, the cooling fan starts, and when the temperature drops below another threshold, the fan stops. This static control method may not be able to effectively cope with the temperature changes of the portable computer under different load conditions, and there is a lag in temperature regulation. As a result, the portable computer cannot maintain a suitable operating temperature under high load or large temperature fluctuations, and the operating stability and performance of the portable computer are poor, and the service life is short. Summary of the invention

[0004] In order to solve the technical problems of poor operating stability and performance and short service life of portable computers, the purpose of the present invention is to provide a heat dissipation control method and system for portable computers. The technical solutions adopted are as follows:

[0005] In a first aspect, an embodiment of the present application provides a heat dissipation control method for a portable computer, comprising: obtaining real-time performance data of the portable computer at a current moment, the real-time performance data including memory usage and central processing unit utilization; determining the load level of the portable computer at a current moment based on the memory usage and the central processing unit utilization; determining the subsequent operation complexity of the portable computer at a current moment using the load level at a current moment and the historical utilization of the central processing unit in a predetermined time period before the current moment, the subsequent operation complexity characterizing the complexity of the tasks processed by the target application in the portable computer; determining the degree of influence on the central processing unit at a current moment based on the subsequent operation complexity of the portable computer at a current moment and the subsequent operation complexity at a target moment within a monitoring period; determining the target speed of the fan of the portable computer based on the degree of influence and the load level of the portable computer at a current moment, and controlling the fan of the portable computer to rotate at the target speed.

[0006] Optionally, after determining the subsequent operation complexity of the portable computer at the current moment by using the load level at the current moment, the historical memory usage in a predetermined time period before the current moment, and the historical central processing unit utilization rate, the method also includes: when the portable computer is in a power saving mode, obtaining a first temperature threshold of the portable computer in the power saving mode and a second temperature threshold of the portable computer in the non-power saving mode, the first temperature threshold being a trigger threshold of the fan in the power saving mode, and the second temperature threshold being a trigger threshold of the fan in the non-power saving mode; determining the temperature data of the portable computer at the current moment and the operating frequency of the central processing unit of the portable computer at the current moment; correcting the subsequent operation complexity according to the first temperature threshold, the second temperature threshold, the operating frequency, the utilization rate of the central processing unit at the current moment, and the temperature data to obtain a corrected subsequent operation complexity of the portable computer in the power saving mode; determining the degree of influence of the current moment on the central processing unit according to the subsequent operation complexity of the portable computer at the current moment and the load level of the portable computer at the current moment, including: determining the degree of influence of the current moment on the central processing unit according to the corrected subsequent operation complexity of the portable computer at the current moment and the load level of the portable computer at the current moment.

[0007] Optionally, the subsequent operation complexity is corrected according to the first temperature threshold, the second temperature threshold, the operating frequency, the utilization of the central processing unit at the current moment, and the temperature data to obtain the corrected subsequent operation complexity of the portable computer in the power saving mode, including: calculating a first ratio between the second temperature threshold and the first temperature threshold, and a second ratio of the temperature data to the product of the operating frequency and the utilization of the central processing unit at the current moment; calculating the absolute value of the product of the first ratio and the second ratio and the product of the subsequent operation complexity to obtain the corrected subsequent operation complexity of the portable computer in the power saving mode.

[0008] Optionally, determining the load level of the portable computer at the current moment based on the memory usage and the utilization rate of the central processing unit includes: calculating a third ratio between the memory usage and the total memory of the portable computer to obtain the memory usage rate; and normalizing the sum of the memory usage rate and the utilization rate of the central processing unit to obtain the load level of the portable computer at the current moment.

[0009] Optionally, using the load level at the current moment and the historical utilization of the central processing unit in a predetermined time period before the current moment to determine the subsequent operation complexity of the portable computer at the current moment includes: when the load level at the current moment is greater than a first threshold, determining that the current moment is at a peak load moment; determining a first average value and a first variance of the historical utilization of the central processing unit in a first predetermined time period before the current moment, and a second average value and a second variance of the historical utilization of the central processing unit in a second predetermined time period before the current moment; calculating the difference between a first product of the first average value and the first variance and a second product of the second average value and the second variance; processing the difference using an exponential function to obtain a utilization difference value of the central processing unit; determining the product of the load level at the current moment and the utilization difference value of the central processing unit as the subsequent operation complexity of the portable computer at the current moment.

[0010] Optionally, based on the subsequent operation complexity of the portable computer at the current moment and the subsequent operation complexity of the target moment within the monitoring period, determining the degree of influence of the current moment on the central processing unit includes: determining the number of all target moments within the monitoring period, the target moment being the peak load moment; superimposing and averaging the subsequent operation complexities of all peak load moments within the monitoring period to obtain an average subsequent operation complexity; and determining the ratio of the subsequent operation complexity of the portable computer at the current moment to the average subsequent operation complexity as the degree of influence of the current moment on the central processing unit.

[0011] Optionally, determining the target speed of the portable computer's fan based on the degree of influence and the current load level of the portable computer includes: determining the heat dissipation requirement of the portable computer at the current moment based on the degree of influence and the current load level of the portable computer; determining a preset base speed of the portable computer's fan; and determining the product of the sum of the preset value and the heat dissipation requirement and the preset base speed as the target speed of the portable computer's fan.

[0012] Optionally, determining the heat dissipation requirement of the portable computer according to the impact degree and the current load degree of the portable computer includes: normalizing the product of the impact degree and the current load degree of the portable computer to obtain the heat dissipation requirement of the portable computer at the current moment.

[0013] In a second aspect, an embodiment of the present application provides a heat dissipation control system for a portable computer, comprising: an acquisition module, used to acquire real-time performance data of the portable computer at the current moment, the real-time performance data including memory usage and central processing unit utilization; a determination module, used to determine the load level of the portable computer at the current moment according to the memory usage and the central processing unit utilization; the determination module, further used to determine the subsequent operation complexity of the portable computer at the current moment by using the load level at the current moment and the historical utilization rate of the central processing unit in a predetermined time period before the current moment, the subsequent operation complexity characterizing the complexity of the tasks processed by the target application in the portable computer; the determination module, further used to determine the degree of influence on the central processing unit at the current moment according to the subsequent operation complexity of the portable computer at the current moment and the load level of the portable computer at the current moment; the determination module, further used to determine the degree of influence on the central processing unit at the current moment according to the subsequent operation complexity of the portable computer at the current moment and the subsequent operation complexity at the target moment within the monitoring period; a control module, used to determine the target speed of the fan of the portable computer according to the degree of influence and the load level of the portable computer at the current moment, and control the fan of the portable computer to rotate at the target speed.

[0014] In a third aspect, an embodiment of the present application provides a heat dissipation control system for a portable computer, which includes: a processor and a memory; wherein the memory is used to store computer programs that can be run on the processor; the processor is used to execute the program stored in the memory to implement the steps of the heat dissipation control method for a portable computer as mentioned in the first aspect.

[0015] The present invention has the following beneficial effects: firstly, the real-time performance data of the portable computer at the current moment is obtained, and the real-time performance data includes the memory usage and the utilization rate of the central processing unit; then, the load level of the portable computer at the current moment is determined according to the memory usage and the utilization rate of the central processing unit; then, the subsequent operation complexity of the portable computer at the current moment is determined by using the load level at the current moment and the historical utilization rate of the central processing unit in a predetermined time period before the current moment, and the subsequent operation complexity represents the complexity of the tasks processed by the target application in the portable computer; secondly, according to the subsequent operation complexity of the portable computer at the current moment and the load level of the portable computer at the current moment, the influence level on the central processing unit at the current moment is determined; finally, according to the influence level and the load level of the portable computer at the current moment, the target rotation speed of the fan of the portable computer is determined, and the fan of the portable computer is controlled to rotate at the target rotation speed.

[0016] In this way, the embodiment of the present invention determines the load level and subsequent operation complexity of the portable computer according to the real-time memory usage and CPU utilization of the portable computer, thereby understanding the real-time heat dissipation demand of the portable computer, and adjusting the fan speed based on the real-time heat dissipation demand of the portable computer, thereby reducing the lag of temperature adjustment and achieving the purpose of real-time and dynamic adjustment of the temperature of the portable computer. It ensures that the portable computer always maintains a suitable operating temperature, improves the operating stability and performance of the portable computer, and prolongs the service life of the portable computer. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A flow chart of a heat dissipation control method for a portable computer provided by one embodiment of the present invention;

[0019] Figure 2 A schematic diagram showing how CPU utilization of a portable computer changes over time provided by an embodiment of the present invention;

[0020] Figure 3 A schematic diagram of memory usage of a portable computer changing over time provided by an embodiment of the present invention;

[0021] Figure 4 A schematic diagram of the module composition of a heat dissipation control system for a portable computer provided by one embodiment of the present invention;

[0022] Figure 5 A schematic structural diagram of another heat dissipation control system for a portable computer provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the heat dissipation control method and system for a portable computer proposed by the present invention, its specific implementation, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0024] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0025] The specific scheme of a heat dissipation control method and system for a portable computer provided by the present invention is described in detail below with reference to the accompanying drawings.

[0026] Embodiment 1:

[0027] See also Figure 1 , which shows a flow chart of a heat dissipation control method for a portable computer provided by an embodiment of the present invention, including:

[0028] Step S101, obtaining the real-time performance data of the portable computer at the current moment.

[0029] Among them, real-time performance data includes memory usage and CPU utilization.

[0030] Specifically, in the process of processing tasks on a portable computer, the use of memory and central processing unit (CPU) will increase power consumption to a certain extent, which will cause the components of the portable computer to heat up. In order to ensure the stable operation of the portable computer and prevent overheating in the embodiment of the present invention, the performance data of the portable computer is monitored in real time during the monitoring time period, including but not limited to memory usage and central processing unit utilization. Among them, the monitoring interval within the monitoring time period can be determined according to actual conditions, and the value in the embodiment of the present invention is 5 seconds. The CPU utilization rate indicates the workload of the CPU when executing tasks, usually displayed as a percentage. A high CPU utilization rate indicates that the processor is performing a large amount of calculations, which may cause significant heat generation. Memory usage indicates the amount of memory resources currently being used by the portable computer, usually expressed in bytes, kilobytes or megabytes. High memory usage may mean that the system is processing a large amount of data, which will increase the overall power consumption and heat of the portable computer. For example Figure 2 and Figure 3 As shown, Figure 2 A schematic diagram showing how the CPU utilization of a portable computer changes over time provided by an embodiment of the present invention, Figure 3 A schematic diagram of a portable computer's memory usage changing over time provided by an embodiment of the present invention. Figure 2 and Figure 3 It can be seen that the CPU utilization and memory usage of the portable computer change in real time with time, and correspondingly, the heat generated by the portable computer also changes in real time.

[0031] Step S102, determining the current load level of the portable computer according to the memory usage and the utilization rate of the central processing unit.

[0032] Specifically, when a user runs a large application in a portable computer or the user starts multiple application processes at the same time and minimizes them in the background, the portable computer will be under high load, that is, the CPU utilization rate of the portable computer is very high and / or the memory utilization rate is too high, which often causes the temperature of the portable computer to rise quickly. Therefore, the load level of the portable computer at the current moment is determined by analyzing the fluctuations in the CPU utilization rate and memory utilization rate of the portable computer at the current moment. That is, the load level represents the load situation of the portable computer at the current moment. The higher the load level, the greater the load of the portable computer at the current moment.

[0033] Furthermore, when determining the load level of the portable computer at the current moment, as an optional embodiment of the present invention, the third ratio between the memory usage and the total memory of the portable computer is first calculated to obtain the memory usage rate; then the sum of the memory usage rate and the central processing unit utilization rate is normalized to obtain the load level of the portable computer at the current moment.

[0034] Specifically, the load level of the portable computer at the current moment can be expressed as follows:

[0035]

[0036] In the formula, Indicates the load level of the portable computer at the uth moment. Represents the CPU utilization of the portable computer at the u-th moment. represents the memory usage of the portable computer at the u-th moment. Represents the normalization function, which is used to Normalize it so that its value is in the range of 0 to 1. The larger the value of , the greater the CPU utilization and memory usage at the u-th moment, and the greater the degree of exceeding other moments in the monitoring period, indicating that the load level of the portable computer at the u-th moment is greater.

[0037] Step S103, using the current load level and the historical utilization rate of the CPU in a predetermined time period before the current time, determine the subsequent operation complexity of the portable computer at the current time, where the subsequent operation complexity represents the complexity of the task processed by the target application in the portable computer.

[0038] Specifically, after calculating the load level of the portable computer at each moment in the monitoring period through the above embodiment, the moment when the load level is greater than the first threshold is selected as the load peak moment. The first threshold can be determined according to actual conditions. In the embodiment of the present invention, the first threshold is 0.5. When the load level at a certain moment is greater than 0.5, it means that the workload at that moment is too high.

[0039] Furthermore, when a portable computer is judged to have a high workload at a certain moment, if the complexity of the subsequent operations of the user in a certain application becomes higher after that moment, the portable computer will require more calculations and data processing. When the portable computer processes complex tasks, it will load more data into the memory to support these operations, which will cause the CPU utilization and memory utilization of the portable computer to continue to grow with the complexity of the operation. In this case, the cooling system of the portable computer needs to increase the fan speed to effectively dissipate heat and prevent the device from overheating. Furthermore, during the operation of the portable computer, the memory utilization and CPU utilization change dynamically. Since the user's use of the portable computer has a certain regularity, the user's possible operation complexity in the next operation can be predicted based on the analysis of the fluctuation of the CPU utilization of the portable computer caused by the user operations that have occurred before the current moment. This helps to optimize the performance of the portable computer and predict resource requirements in advance.

[0040] Furthermore, when determining the subsequent operation complexity of the portable computer at the current moment, as an optional embodiment of the present invention, when the load level at the current moment is greater than the first threshold, it is determined that the current moment is at the peak load moment; when the current moment is at the peak load moment, first determine the first average value and first variance of the historical utilization of the central processing unit in the first predetermined time period before the current moment, and the second average value and second variance of the historical utilization of the central processing unit in the second predetermined time period before the current moment; then calculate the difference between the first product of the first average value and the first variance and the second product of the second average value and the second variance; then use the exponential function to perform negative correlation processing on the difference to obtain the utilization difference value of the central processing unit; finally, determine that the product of the load level at the current moment and the utilization difference value of the central processing unit is the subsequent operation complexity of the portable computer at the current moment.

[0041] Specifically, the predetermined time period may be a period of time adjacent to the current moment, and the time of the predetermined time period may be determined according to actual conditions. In the embodiment of the present invention, the predetermined time period is 30 seconds. The first predetermined time period may be the first 30-second time period adjacent to the current moment, and the second predetermined time period may be the second 30-second time period adjacent to the first 30-second time period before the current moment. Further, the calculation of the variance may refer to the prior art, and the embodiment of the present invention will not be repeated here.

[0042] Furthermore, the complexity of subsequent operations of the portable computer at the current moment can be expressed by the following formula:

[0043]

[0044] In the above formula, represents the complexity of subsequent operations of the portable computer at the uth moment. Indicates the load level of the portable computer at the uth moment. Indicates a first average value of the historical utilization rate of the central processing unit of the portable computer in a first predetermined time period before the u-th moment. The first variance represents the historical utilization rate of the CPU of the portable computer in the first predetermined time period before the u-th moment. The second average value represents the historical utilization rate of the central processing unit of the portable computer in a second predetermined time period before the u-th moment. The second variance representing the historical utilization rate of the CPU of the portable computer in the second predetermined time period before the u-th moment. Represents an exponential function.

[0045] Furthermore, To represent the difference in CPU utilization in two predetermined time periods before the u-th moment according to the mean and variance of the CPU utilization in the two predetermined time periods, The larger the difference is, the higher the CPU utilization of the portable computer at the uth moment is compared with the previous two predetermined time periods, and it is predicted that the subsequent CPU utilization of the portable computer at the uth moment will continue to increase. When the difference is negative, it means that the CPU utilization rate at the uth moment has decreased. Then it is predicted that the subsequent CPU utilization rate of the portable computer at the uth moment will also decrease, that is, the user's operation complexity will decrease. And the load level of the portable computer at the uth moment The larger the value of is, the more complex the subsequent operations of the portable computer at the uth moment may be, which requires more memory resources and CPU resources to be consumed, and the cooling effect of the fan needs to be appropriately strengthened, otherwise the cooling effect will be weakened.

[0046] Furthermore, portable computers have smaller battery capacities and are easy to carry outside. When used for a long time, portable computers may be limited by battery life. In order to extend battery life, portable computers often enable power saving mode. While the portable computer is operating in power saving mode, power management settings and battery status may also affect CPU performance. For example, in power saving mode, the CPU may reduce its frequency, thereby affecting CPU utilization. Even if the CPU utilization is at a low level, it may actually be considered a high-load state because the reduction in frequency makes the processing power of the portable computer more limited. Therefore, when the portable computer is in power saving mode, in order to ensure that the portable computer operates within a safe temperature range, the complexity of subsequent operations at the current moment in this case needs to be corrected to a larger value, thereby compensating for the need to reduce the CPU utilization of the portable computer in power saving mode. Based on this, as an optional embodiment of the present invention, after determining the subsequent operation complexity of the portable computer at the current moment, the method also includes: when the portable computer is in a power saving mode, obtaining a first temperature threshold of the portable computer in the power saving mode and a second temperature threshold of the portable computer in the non-power saving mode, the first temperature threshold being the trigger threshold of the fan in the power saving mode, and the second temperature threshold being the trigger threshold of the fan in the non-power saving mode; determining the temperature data of the portable computer at the current moment and the operating frequency of the central processing unit of the portable computer at the current moment; correcting the subsequent operation complexity according to the first temperature threshold, the second temperature threshold, the operating frequency, the utilization rate of the central processing unit at the current moment, and the temperature data, to obtain the corrected subsequent operation complexity of the portable computer in the power saving mode.

[0047] Specifically, the first temperature threshold is a trigger threshold for triggering the fan to run in power saving mode, that is, in power saving mode, when the temperature of the portable computer reaches the first temperature threshold, the fan is triggered to run to dissipate heat from the portable computer. The second temperature threshold is a trigger threshold for triggering the fan to run in non-power saving mode, that is, in non-power saving mode, when the temperature of the portable computer reaches the second temperature threshold, the fan is triggered to run to dissipate heat from the portable computer. The operating frequency refers to the operating frequency of the CPU at the current moment. The real-time temperature data of the portable computer can be measured by a temperature sensor installed on the heat spreader of the portable computer.

[0048] Furthermore, when correcting the subsequent operation complexity based on the first temperature threshold, the second temperature threshold, the operating frequency, the utilization rate of the central processing unit at the current moment, and the temperature data, first calculate a first ratio between the second temperature threshold and the first temperature threshold, and a second ratio between the temperature data and the product of the operating frequency and the utilization rate of the central processing unit at the current moment; then calculate the absolute value of the product of the first ratio and the second ratio and the product of the subsequent operation complexity to obtain the corrected subsequent operation complexity of the portable computer in the power saving mode.

[0049] Specifically, the following formula can be used to correct the complexity of subsequent operations according to the first temperature threshold, the second temperature threshold, the operating frequency, the utilization rate of the CPU at the current moment, and the temperature data:

[0050]

[0051] In the above formula, is the second temperature threshold, is the first temperature threshold. is the temperature data at the uth moment. is the operating frequency of the CPU at the u-th moment. is the CPU utilization at the u-th moment. represents the complexity of subsequent operations of the portable computer at the uth moment, represents the complexity of the corrected subsequent operations at the u-th moment.

[0052] Furthermore, It represents the ratio of the temperature thresholds for triggering fan operation of a portable computer in non-power saving mode and power saving mode. If the value is greater than 1, the complexity of subsequent operations at the peak load moment in power saving mode will be increased. The larger the ratio, the larger the complexity of subsequent operations at the u-th moment needs to be corrected to. It means that at the u-th moment, the lower the operating frequency of the portable computer at the u-th moment, the lower the CPU utilization, and the higher the temperature data, it means that the portable computer is in power saving mode at this time, and the subsequent operation complexity at the u-th moment needs to be corrected to a larger value.

[0053] Step S104, determining the impact degree of the current moment on the central processing unit according to the complexity of subsequent operations of the portable computer at the current moment and the complexity of subsequent operations at the target moment within the monitoring period.

[0054] Specifically, different subsequent operation complexities have different effects on the CPU, which will cause the laptop to increase in temperature to different degrees. Therefore, it is necessary to evaluate the degree of impact on the CPU at the current moment based on the subsequent operation complexity at each load peak moment and the load level at the current moment. Specifically, a higher subsequent operation complexity usually leads to an increase in the CPU load, which increases the temperature of the laptop. A lower subsequent operation complexity may have less impact on the CPU load and temperature. Therefore, through this evaluation, the thermal and performance management strategies of the laptop can be optimized to ensure that the laptop maintains a stable operating temperature under various load conditions.

[0055] Furthermore, when determining the degree of influence of the current moment on the central processing unit, first determine the number of all target moments in the monitoring period, where the target moment is the peak load moment; then superimpose and average the subsequent operation complexity of all peak load moments in the monitoring period to obtain the average subsequent operation complexity; finally, determine that the ratio of the subsequent operation complexity of the portable computer at the current moment to the average subsequent operation complexity is the degree of influence of the current moment on the central processing unit.

[0056] Specifically, the duration of the monitoring period can be determined according to actual conditions, and the value in the embodiment of the present invention is 24 hours. The load peak moment can be determined according to the contents recorded in the above embodiment of the present invention, and the subsequent operation complexity of all load peak moments in the monitoring period can be calculated by the method recorded in the above embodiment of the present invention, and the embodiment of the present invention will not be repeated here. The degree of influence can be expressed by the following formula:

[0057]

[0058] In the above formula, Indicates the degree of influence on the CPU at the u-th moment. Indicates the number of all load peak moments during the monitoring period. It represents the complexity of subsequent operations at the i-th load peak moment during the monitoring period. represents the complexity of subsequent operations of the portable computer at the uth moment. It represents the ratio of the subsequent operation complexity at the u-th moment to the average value of the subsequent operation complexity at all load peak moments during the monitoring period (average subsequent operation complexity). The larger the ratio is, the higher the subsequent operation complexity at the u-th moment is compared with the overall subsequent operation complexity during the monitoring period, and the greater the impact on the CPU of the portable computer.

[0059] Furthermore, when the portable computer is in power saving mode, the influence degree of the current moment on the central processing unit is determined according to the complexity of the corrected subsequent operation of the portable computer at the current moment and the load degree of the portable computer at the current moment. The influence degree method refers to the above-mentioned influence degree calculation formula, and the embodiment of the present invention will not be repeated here.

[0060] Step S105 , determining a target rotation speed of the fan of the portable computer according to the impact degree and the current load degree of the portable computer, and controlling the fan of the portable computer to rotate at the target rotation speed.

[0061] Specifically, the embodiment of the present invention is used for heat dissipation control of a portable computer, so the fan needs to be dynamically adjusted according to the specific performance of the portable computer at each moment to achieve different degrees of heat dissipation effect, so as to ensure that the portable computer is always in a safe temperature operating state. Therefore, the heat dissipation demand of the portable computer at each moment can be evaluated. The higher the heat dissipation demand, the fan is adjusted to provide a higher heat dissipation effect, thereby optimizing the temperature control management of the portable computer and ensuring the working stability and excellent performance of the portable computer.

[0062] Furthermore, when determining the target speed of the fan of a portable computer, as an optional embodiment of the present invention, the heat dissipation requirement of the portable computer at the current moment is first determined based on the degree of influence and the load level of the portable computer at the current moment; then the preset reference speed of the fan of the portable computer is determined; finally, the product of the sum of the preset value and the heat dissipation requirement and the preset reference speed is determined as the target speed of the fan of the portable computer.

[0063] Specifically, the preset reference speed and the preset value can be determined according to actual conditions. In the embodiment of the present invention, the preset reference speed is RPM, the preset value is 1. The target speed of the fan of a portable computer can be expressed as follows:

[0064]

[0065] In the above formula, is the target speed of the fan of the portable computer at the u-th moment. The preset reference speed. is the cooling requirement of the portable computer at the uth moment.

[0066] From the above formula, we can see that when the cooling demand of the portable computer increases, the speed of the cooling fan will be adaptively increased to enhance the cooling effect. At the same time, if the cooling demand continues to increase, the tasks that have been idle for a long time in the application process can be terminated according to the actual situation to further reduce the load and temperature of the portable computer. This regulation mechanism helps to ensure that the portable computer maintains a stable and safe operation state under high load conditions.

[0067] Furthermore, when determining the heat dissipation requirement of the portable computer at the current moment according to the impact degree and the load degree of the portable computer at the current moment, the product of the impact degree and the load degree of the portable computer at the current moment is normalized to obtain the heat dissipation requirement of the portable computer at the current moment.

[0068] Specifically, the cooling requirement of a portable computer at the current moment can be expressed as follows:

[0069]

[0070] In the above formula, represents the cooling requirement of the portable computer at the uth moment. Indicates the degree of influence on the CPU at the u-th moment. Indicates the load level of the portable computer at the uth moment. Represents the normalization function, which is used to Normalize it so that its value is in the range of 0 to 1.

[0071] The embodiment of the present invention determines the load level and subsequent operation complexity of the portable computer according to the real-time memory usage and CPU utilization of the portable computer, thereby understanding the real-time heat dissipation demand of the portable computer, and adjusting the speed of the fan based on the real-time heat dissipation demand of the portable computer, thereby reducing the lag of temperature adjustment and achieving the purpose of real-time and dynamic adjustment of the temperature of the portable computer. It ensures that the portable computer always maintains a suitable working temperature, improves the operating stability and performance of the portable computer, and prolongs the service life of the portable computer.

[0072] Embodiment 2:

[0073] Corresponding to the heat dissipation control method for a portable computer provided in the above embodiment, based on the same technical concept, the embodiment of the present application also provides a heat dissipation control system for a portable computer. Figure 4 A schematic diagram of the module composition of a heat dissipation control system for a portable computer provided in an embodiment of the present application, wherein the heat dissipation control system for a portable computer is used to execute Figure 1 Described is a method for controlling heat dissipation in a portable computer, such as Figure 4As shown, the heat dissipation control system 200 for a portable computer includes: an acquisition module 201, which is used to acquire the real-time performance data of the portable computer at the current moment, and the real-time performance data includes memory usage and the utilization rate of the central processing unit; a determination module 202, which is used to determine the load level of the portable computer at the current moment according to the memory usage and the utilization rate of the central processing unit; the determination module 202 is also used to determine the subsequent operation complexity of the portable computer at the current moment by using the load level at the current moment and the historical utilization rate of the central processing unit in a predetermined time period before the current moment, and the subsequent operation complexity represents the complexity of the task processed by the target application in the portable computer; the determination module 202 is also used to determine the influence level of the current moment on the central processing unit according to the subsequent operation complexity of the portable computer at the current moment and the load level of the portable computer at the current moment; the determination module 202 is also used to determine the influence level of the current moment on the central processing unit according to the subsequent operation complexity of the portable computer at the current moment and the subsequent operation complexity at the target moment within the monitoring period; the control module 203 is used to determine the target speed of the fan of the portable computer according to the influence level and the load level of the portable computer at the current moment, and control the fan of the portable computer to rotate at the target speed.

[0074] The embodiment of the present invention determines the load level and subsequent operation complexity of the portable computer according to the real-time memory usage and CPU utilization of the portable computer, thereby understanding the real-time heat dissipation demand of the portable computer, and adjusting the speed of the fan based on the real-time heat dissipation demand of the portable computer, thereby reducing the lag of temperature adjustment and achieving the purpose of real-time and dynamic adjustment of the temperature of the portable computer. It ensures that the portable computer always maintains a suitable working temperature, improves the operating stability and performance of the portable computer, and prolongs the service life of the portable computer.

[0075] Optionally, the acquisition module 201 is also used to obtain a first temperature threshold of the portable computer in the power saving mode and a second temperature threshold of the portable computer in the non-power saving mode when the portable computer is in the power saving mode, the first temperature threshold being the trigger threshold of the fan in the power saving mode, and the second temperature threshold being the trigger threshold of the fan in the non-power saving mode; the determination module 202 is also used to determine the temperature data of the portable computer at the current moment and the operating frequency of the central processing unit of the portable computer at the current moment; correct the subsequent operation complexity according to the first temperature threshold, the second temperature threshold, the operating frequency, the utilization rate of the central processing unit at the current moment, and the temperature data to obtain the corrected subsequent operation complexity of the portable computer in the power saving mode; determine the degree of influence on the central processing unit at the current moment according to the corrected subsequent operation complexity of the portable computer at the current moment and the load level of the portable computer at the current moment.

[0076] Optionally, the determination module 202 is also used to calculate a first ratio between the second temperature threshold and the first temperature threshold, and a second ratio of the temperature data to the product of the operating frequency and the utilization rate of the central processing unit at the current moment; calculate the absolute value of the product of the first ratio and the second ratio and the product of the subsequent operation complexity to obtain the corrected subsequent operation complexity of the portable computer in the power saving mode.

[0077] Optionally, the determination module 202 is further used to calculate a third ratio between the memory usage and the total memory of the portable computer to obtain the memory usage rate; and normalize the sum of the memory usage rate and the utilization rate of the central processing unit to obtain the load level of the portable computer at the current moment.

[0078] Optionally, the determination module 202 is also used to determine that the current moment is at a peak load moment when the load level at the current moment is greater than a first threshold; determine a first average value and a first variance of the historical utilization of the central processing unit in a first predetermined time period before the current moment, and a second average value and a second variance of the historical utilization of the central processing unit in a second predetermined time period before the current moment; calculate the difference between a first product of the first average value and the first variance and a second product of the second average value and the second variance; process the difference using an exponential function to obtain a utilization difference value of the central processing unit; and determine that the product of the load level at the current moment and the utilization difference value of the central processing unit is the subsequent operation complexity of the portable computer at the current moment.

[0079] Optionally, the determination module 202 is also used to determine the number of all target moments within the monitoring period, where the target moment is the load peak moment; the subsequent operation complexity of all the load peak moments within the monitoring period is superimposed and averaged to obtain an average subsequent operation complexity; and the ratio of the subsequent operation complexity of the portable computer at the current moment to the average subsequent operation complexity is determined as the degree of influence of the current moment on the central processing unit.

[0080] Optionally, the determination module 202 is also used to determine the heat dissipation requirement of the portable computer at the current moment based on the impact degree and the load level of the portable computer at the current moment; determine the preset reference speed of the fan of the portable computer; and determine the product of the sum of the preset value and the heat dissipation requirement and the preset reference speed as the target speed of the fan of the portable computer.

[0081] Optionally, the determination module 202 is further configured to normalize the product of the impact degree and the load degree of the portable computer at the current moment to obtain the heat dissipation requirement of the portable computer at the current moment.

[0082] The heat dissipation control system for a portable computer provided in the embodiment of the present application can implement the various processes in the embodiments corresponding to the above-mentioned heat dissipation control method for a portable computer, and has the same or similar beneficial effects. To avoid repetition, they will not be described here.

[0083] Embodiment three:

[0084] Corresponding to the heat dissipation control method for a portable computer provided in the above embodiment, based on the same technical concept, the embodiment of the present application further provides a heat dissipation control system for a portable computer, which is used to execute the heat dissipation control method for a portable computer. Figure 5 A schematic diagram of a heat dissipation control system for a portable computer is provided to implement various embodiments of the present application. Figure 5 The heat dissipation control system for a portable computer may have relatively large differences due to different configurations or performances, and may include one or more processors 301 and memory 302, wherein the memory 302 is used to store computer programs that can be run on the processor 301, and the processor 301 is used to execute the programs stored in the memory 302 to achieve the above Figure 1 The various steps in the method embodiment. The memory 302 may be a temporary storage or a permanent storage. The application stored in the memory 302 may include one or more modules (not shown in the figure), each of which may include a series of computer executable instructions for the heat dissipation control system for a portable computer.

[0085] Furthermore, the processor 301 can be configured to communicate with the memory 302 to execute a series of computer executable instructions in the memory 302 on the thermal control system for a portable computer. The thermal control system for a portable computer can also include one or more power supplies 303, one or more wired or wireless network interfaces 304, one or more input and output interfaces 305, and one or more keyboards 306.

[0086] Specifically in this embodiment, the heat dissipation control system for a portable computer includes a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other through the bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to achieve the above Figure 1 The various steps in the method embodiment are similar to those in the method embodiment, and have the beneficial effects of the above method embodiments. To avoid repetition, the embodiments of the present application will not be described again here.

[0087] It should be noted that the heat dissipation control system for a portable computer provided in the embodiment of the present application and the heat dissipation control method for a portable computer provided in the embodiment of the present application are based on the same application concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned heat dissipation control method for a portable computer, and has the same or similar beneficial effects, and the repeated parts will not be repeated.

[0088] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0089] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A heat dissipation control method for a portable computer, characterized in that: The heat dissipation control method for a portable computer comprises: Acquiring the real-time performance data of the portable computer at the current moment, wherein the real-time performance data includes memory usage and CPU utilization; Determining the load level of the portable computer at the current moment according to the memory usage and the utilization rate of the central processing unit; Determine the subsequent operation complexity of the portable computer at the current moment by using the load level at the current moment and the historical utilization rate of the central processing unit in a predetermined time period before the current moment, wherein the subsequent operation complexity represents the complexity of the task processed by the target application in the portable computer; Determining the degree of influence of the current moment on the central processing unit according to the complexity of subsequent operations of the portable computer at the current moment and the complexity of subsequent operations at the target moment within the monitoring period; Determining a target speed of a fan of the portable computer according to the impact degree and the load degree of the portable computer at the current moment, and controlling the fan of the portable computer to rotate at the target speed; After determining the complexity of subsequent operations of the portable computer at the current moment by using the load level at the current moment and the historical utilization rate of the CPU in a predetermined time period before the current moment, the method further includes: When the portable computer is in a power saving mode, obtaining a first temperature threshold of the portable computer in the power saving mode and a second temperature threshold of the portable computer in the non-power saving mode, wherein the first temperature threshold is a triggering threshold of the fan in the power saving mode, and the second temperature threshold is a triggering threshold of the fan in the non-power saving mode; Determine the temperature data of the portable computer at the current moment and the operating frequency of the central processing unit of the portable computer at the current moment; Correcting the subsequent operation complexity according to the first temperature threshold, the second temperature threshold, the operating frequency, the utilization rate of the central processing unit at the current moment, and the temperature data to obtain a corrected subsequent operation complexity of the portable computer in the power saving mode; Determining the degree of influence of the current moment on the central processing unit according to the complexity of the subsequent operation of the portable computer at the current moment and the load degree of the portable computer at the current moment; The subsequent operation complexity is corrected according to the first temperature threshold, the second temperature threshold, the operating frequency, the utilization rate of the CPU at the current moment and the temperature data to obtain the corrected subsequent operation complexity of the portable computer in the power saving mode, including: Calculating a first ratio between the second temperature threshold and the first temperature threshold, and a second ratio between the temperature data and a product of the operating frequency and the utilization rate of the central processing unit at the current moment; Calculating the product of the absolute value of the product of the first ratio and the second ratio and the subsequent operation complexity to obtain a modified subsequent operation complexity of the portable computer in the power saving mode; Determining the load level of the portable computer at the current moment according to the memory usage and the utilization rate of the central processing unit includes: calculating a third ratio between the memory usage and the total memory of the portable computer to obtain a memory usage rate; Normalizing the sum of the memory usage rate and the CPU utilization rate to obtain the load level of the portable computer at the current moment; Determining the complexity of subsequent operations of the portable computer at the current moment by using the load level at the current moment and the historical utilization rate of the central processing unit in a predetermined time period before the current moment includes: When the load level at the current moment is greater than a first threshold, determining that the current moment is at a load peak moment; Determine a first average value and a first variance of the historical utilization of the CPU in a first predetermined time period before the current moment, and a second average value and a second variance of the historical utilization of the CPU in a second predetermined time period before the current moment; calculating a difference between a first product of the first mean and the first variance and a second product of the second mean and the second variance; Processing the difference using an exponential function to obtain a utilization difference value of the central processing unit; Determine that the product of the load level at the current moment and the utilization rate difference value of the central processing unit is the subsequent operation complexity of the portable computer at the current moment; Determining the influence of the current moment on the central processing unit according to the complexity of subsequent operations of the portable computer at the current moment and the complexity of subsequent operations at the target moment within the monitoring period includes: Determine the number of all target moments within the monitoring period, wherein the target moments are load peak moments; The subsequent operation complexity at all load peak moments in the monitoring period is superimposed and averaged to obtain an average subsequent operation complexity; The ratio of the subsequent operation complexity of the portable computer at the current moment to the average subsequent operation complexity is determined as the degree of influence of the current moment on the central processing unit.

2. The heat dissipation control method for a portable computer according to claim 1, characterized in that: Determining the target rotation speed of the fan of the portable computer according to the impact degree and the load degree of the portable computer at the current moment includes: Determining the heat dissipation requirement of the portable computer at the current moment according to the impact degree and the load degree of the portable computer at the current moment; determining a preset reference speed of a fan of the portable computer; The product of the sum of the preset value and the heat dissipation requirement and the preset reference speed is determined as the target speed of the fan of the portable computer.

3. The heat dissipation control method for a portable computer according to claim 2, characterized in that: Determining the heat dissipation requirement of the portable computer according to the impact degree and the current load degree of the portable computer includes: The product of the impact degree and the load degree of the portable computer at the current moment is normalized to obtain the heat dissipation requirement of the portable computer at the current moment.

4. A heat dissipation control system for a portable computer, characterized in that: The heat dissipation control system for a portable computer comprises: a processor and a memory; wherein the memory is used to store a computer program that can be run on the processor; and the processor is used to execute the program stored in the memory to implement the steps of the heat dissipation control method for a portable computer as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Server fan rotating speed control method and device, equipment and medium

    CN113534936A

  • Fan control method and medium storing fan control program

    US20120053734A1