CN119271022A - Electronic equipment heat dissipation method, device, computer equipment and readable storage medium - Google Patents
Electronic equipment heat dissipation method, device, computer equipment and readable storage medium Download PDFInfo
- Publication number
- CN119271022A CN119271022A CN202411814408.2A CN202411814408A CN119271022A CN 119271022 A CN119271022 A CN 119271022A CN 202411814408 A CN202411814408 A CN 202411814408A CN 119271022 A CN119271022 A CN 119271022A
- Authority
- CN
- China
- Prior art keywords
- fan
- processor
- rotating speed
- electric power
- real
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000017525 heat dissipation Effects 0.000 title abstract description 48
- 230000008569 process Effects 0.000 claims abstract description 25
- 230000001105 regulatory effect Effects 0.000 claims abstract description 18
- 238000013507 mapping Methods 0.000 claims description 31
- 238000004590 computer program Methods 0.000 claims description 24
- 230000033228 biological regulation Effects 0.000 claims description 14
- 230000000694 effects Effects 0.000 abstract description 15
- 238000012545 processing Methods 0.000 description 14
- 238000012544 monitoring process Methods 0.000 description 11
- 230000008859 change Effects 0.000 description 7
- 239000000306 component Substances 0.000 description 7
- 238000013021 overheating Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 5
- 230000015556 catabolic process Effects 0.000 description 4
- 238000006731 degradation reaction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005265 energy consumption Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000007774 longterm Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000001816 cooling Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000008358 core component Substances 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000007620 mathematical function Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Cooling Or The Like Of Electrical Apparatus (AREA)
Abstract
The application relates to a heat dissipation method and device for electronic equipment, computer equipment and a readable storage medium. The method comprises the steps of obtaining hardware configuration information of a processor and hardware configuration information of a main board, determining initial rotating speed of a fan based on the hardware configuration information of the processor and the hardware configuration information of the main board, obtaining load information of electronic equipment, determining target electric power to be regulated to by the electronic equipment in the running process according to the load information, determining target rotating speed of the fan according to the load information and the target electric power, and adjusting the fan from the initial rotating speed to the target rotating speed. By adopting the method, different hardware platforms can be compatible, and the heat dissipation effect of the equipment is improved.
Description
Technical Field
The present application relates to the field of computer technology, and in particular, to a method and apparatus for cooling an electronic device, a computer readable storage medium, and a computer program product.
Background
In modern portable devices, particularly high performance palm top computers and game palm machines, core components such as Central Processing Units (CPUs), graphics Processing Units (GPUs) and the like can run at high speeds to generate a large amount of heat when running high performance games or applications. If heat is not dissipated in time, the temperature of the components can rise, which may cause performance degradation, and the phenomena of game jamming, frame dropping and the like are shown. The reasonable fan adjusting and radiating method can help the palm machine to automatically adjust the power consumption under different loads, thereby not only ensuring the performance requirement, but also saving the electric energy under light load and prolonging the battery endurance time.
However, a significant drawback to conventional fan conditioning and heat dissipation methods is the lack of compatibility with different hardware platforms. Specifically, the existing heat dissipation control method is usually optimized for a specific hardware platform, and cannot be well adapted to hardware such as processors, display cards and the like of different brands and models. This limitation results in a great compromise in the effect of heat dissipation control in a multi-platform environment, and it is difficult to achieve efficient cross-platform performance optimization and energy consumption management. And under high load conditions, the device may rely excessively on the high speed operation of the fan to dissipate heat, resulting in increased power consumption and reduced battery life. While under low load conditions, the fan may still maintain a high rotational speed, wasting power. Such unreasonable energy consumption management not only increases the running cost, but also adversely affects the environment.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an electronic device heat dissipation method, apparatus, computer device, computer readable storage medium, and computer program product that are compatible with different hardware platforms and that enhance the heat dissipation effect of the device.
In a first aspect, the present application provides a method for dissipating heat from an electronic device, where the electronic device at least includes a processor, a motherboard, and a fan for dissipating heat, the method including:
acquiring hardware configuration information of the processor and hardware configuration information of the main board;
Determining an initial rotating speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the main board;
load information of the electronic equipment is obtained, and target electric power to be regulated to the electronic equipment in the running process is determined according to the load information;
determining a target rotational speed of the fan according to the load information and the target electric power;
and adjusting the fan from the initial rotating speed to the target rotating speed.
In one embodiment, the determining the initial rotation speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the motherboard includes:
The method comprises the steps of obtaining a first mapping relation between hardware configuration information of a preset processor and preset fan rotating speed, determining a second fan rotating speed mapped by the hardware configuration information of the processor based on the first mapping relation, obtaining a first mapping relation between the hardware configuration information of a preset main board and the preset fan rotating speed, determining the second fan rotating speed mapped by the hardware configuration information of the main board based on the second mapping relation, and determining the initial rotating speed of the fan according to the first fan rotating speed and the second fan rotating speed.
In one embodiment, the determining the initial rotational speed of the fan according to the first fan rotational speed and the second fan rotational speed includes:
the method comprises the steps of obtaining a preset custom fan mode, and determining the initial rotating speed of a fan according to the custom rotating speed corresponding to the preset custom fan mode and the recommended rotating speed.
In one embodiment, the load information at least includes a processor utilization rate, the obtaining load information of the electronic device, and determining, according to the load information, a target electric power to which the electronic device needs to be adjusted in an operation process, includes:
The method comprises the steps of obtaining the utilization rate of a real-time processor of the electronic equipment, searching reference electric power corresponding to the utilization rate of the real-time processor in a power consumption regulation rule base, and taking the reference electric power as first target electric power to be regulated to by the electronic equipment in the operation process.
In one embodiment, the load information further includes a real-time frame rate, and the step of using the reference electric power as the first target electric power to which the electronic device needs to be adjusted in the operation process includes:
The method comprises the steps of taking the reference electric power as first target electric power to be adjusted in a first operation time of the electronic equipment, obtaining a preset user-defined picture frame rate and a real-time picture frame rate of the electronic equipment in the first operation time, determining a frame rate difference value between the real-time picture frame rate and the preset user-defined picture frame rate, and determining second target electric power to be adjusted in a second operation time of the electronic equipment according to the frame rate difference value when the frame rate difference value is larger than a preset difference value threshold value, wherein the second operation time is smaller than the first operation time.
In one embodiment, the load information comprises real-time electric power of the electronic equipment and real-time temperature of the processor, and the determining the target rotating speed of the fan according to the load information and the target electric power comprises the following steps:
The method comprises the steps of obtaining real-time electric power and real-time picture frame rate of the electronic equipment in the process of adjusting the electronic equipment from initial electric power to target electric power, obtaining real-time temperature and real-time processor utilization rate of the processor, and determining target rotating speed of the fan according to the real-time temperature, the real-time processor utilization rate, the real-time picture frame rate and the real-time electric power.
In a second aspect, the present application further provides a heat dissipation device for an electronic device, including:
The acquisition module is used for acquiring the hardware configuration information of the processor and the hardware configuration information of the main board;
The first determining module is used for determining the initial rotating speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the main board;
the second determining module is used for acquiring the load information of the electronic equipment and determining the target electric power to be regulated to by the electronic equipment in the running process according to the load information;
a third determining module for determining a target rotational speed of the fan according to the load information and the target electric power;
and the adjusting module is used for adjusting the fan from the initial rotating speed to the target rotating speed.
In a third aspect, the present application also provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring hardware configuration information of the processor and hardware configuration information of the main board;
Determining an initial rotating speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the main board;
load information of the electronic equipment is obtained, and target electric power to be regulated to the electronic equipment in the running process is determined according to the load information;
determining a target rotational speed of the fan according to the load information and the target electric power;
and adjusting the fan from the initial rotating speed to the target rotating speed.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring hardware configuration information of the processor and hardware configuration information of the main board;
Determining an initial rotating speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the main board;
load information of the electronic equipment is obtained, and target electric power to be regulated to the electronic equipment in the running process is determined according to the load information;
determining a target rotational speed of the fan according to the load information and the target electric power;
and adjusting the fan from the initial rotating speed to the target rotating speed.
In a fifth aspect, the application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of:
acquiring hardware configuration information of the processor and hardware configuration information of the main board;
Determining an initial rotating speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the main board;
load information of the electronic equipment is obtained, and target electric power to be regulated to the electronic equipment in the running process is determined according to the load information;
determining a target rotational speed of the fan according to the load information and the target electric power;
and adjusting the fan from the initial rotating speed to the target rotating speed.
According to the electronic equipment heat dissipation method, the electronic equipment heat dissipation device, the computer equipment, the computer readable storage medium and the computer program product, the scheme can be compatible with processors and mainboards of different brands and models by acquiring the hardware configuration information of the processor and the hardware configuration information of the mainboards, and the universality and the adaptability of the scheme are improved. Limitations in conventional approaches due to optimization for a particular hardware platform are avoided. The initial rotating speed of the fan is determined based on the hardware configuration information of the processor and the hardware configuration information of the main board, and by reasonably setting the initial rotating speed, the problem of overheat or noise caused by improper rotating speed of the fan at the initial stage of equipment starting can be avoided, and a foundation is laid for subsequent dynamic adjustment. The power consumption of the device can be dynamically adjusted through accurate load detection, so that sufficient performance support is ensured to be provided under high load, electric energy is saved under low load, and the battery endurance time is prolonged. The target rotating speed of the fan is determined according to the load information and the target electric power, so that the fan rotating speed can be dynamically adjusted according to actual needs, and the overheat risk caused by insufficient fan rotating speed under high load and the energy waste caused by excessive fan rotating speed under low load are avoided. And adjusting the fan from the initial rotating speed to the target rotating speed. Through dynamic adjustment fan rotational speed, not only can improve radiating efficiency, can also realize the silence under different use scenes and the balance between the performance, promote user experience. At the same time, reasonable fan control also helps to extend the life of the hardware.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are needed in the description of the embodiments of the present application or the related technologies will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other related drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is an application environment diagram of a method of dissipating heat from an electronic device in one embodiment;
FIG. 2 is a flow chart of a method for dissipating heat of an electronic device according to an embodiment;
FIG. 3 is a flow chart of a heat dissipation method of an electronic device according to another embodiment;
FIG. 4 is a block diagram of a heat sink of an electronic device in one embodiment;
Fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The electronic equipment heat dissipation method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The terminal 102 is configured to generate an electronic device heat dissipation request, and send the electronic device heat dissipation request to the server 104, so that the server 104 adjusts the fan from the initial rotational speed to the target rotational speed. Wherein the terminal 102 may be a palm-top machine, also known as a portable or hand-held game machine, a device designed for electronic game play while in motion. The server 104 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing services.
In an exemplary embodiment, as shown in fig. 2, a method for cooling an electronic device is provided, and the method is applied to the server 104 in fig. 1 for illustration, and includes the following steps 202 to 210. Wherein:
step 202, obtaining hardware configuration information of a processor and hardware configuration information of a main board.
The electronic device is a portable device with computing power and graphics processing power, such as a high-performance palm computer or game palm. Such devices integrate components such as processors, motherboards, fans, etc. for executing various applications.
A processor refers to a Central Processing Unit (CPU) or an Accelerated Processing Unit (APU) in an electronic device, which is a core component of the device, responsible for executing instruction sets and processing data.
A motherboard refers to a main circuit board inside an electronic device, which connects a processor, a memory, a storage device, and other peripherals. The motherboard contains various chips, interfaces, and circuits for supporting the basic functions and expansion capabilities of the device.
The fan is a component for helping the heat dissipation of the electronic device, and generates air flow through rotation to take away heat generated inside the device. In the application, the rotating speed of the fan can be dynamically adjusted according to the actual load, temperature and other conditions of the equipment, so as to realize the optimal heat dissipation effect and noise control.
The hardware configuration information of the processor refers to information about specific specifications and capabilities of the processor, including, but not limited to, the brand, model number, number of cores, maximum frequency, etc. of the processor. This information is critical to determining the proper fan speed and heat dissipation strategy.
The hardware configuration information of the motherboard refers to information about specific specifications and capabilities of the motherboard, including, but not limited to, the model of the motherboard, the type of socket supported, scalability, etc. The hardware configuration information of the motherboard is also important, because it determines the overall architecture and compatibility of the device, and affects the selection and adjustment modes of the heat dissipation components such as fans.
Specifically, first, basic information such as the brand, model, core number, maximum frequency, and the like of the processor is read through a specific starting device identification interface (application programming interface). Or directly accessing the hardware registers to obtain basic information such as the brand, model, core number, maximum frequency and the like of the processor. And further analyzing the obtained hardware configuration information of the processor, and ensuring the accuracy and the integrity of the data. For example, it is verified whether the model of the processor supports a specific power consumption and temperature regulation function.
And then the basic information of the manufacturer, model, supported slot types and the like of the main board is read through a specific starting equipment identification interface (application programming interface). Or directly accessing the hardware register to obtain basic information such as manufacturer, model, supported slot types and the like of the mainboard. And further analyzing the obtained hardware configuration information of the main board, and ensuring the accuracy and the integrity of the data. For example, verifying whether a model of a processor supports a particular hardware interface and function, such as thermal design power adjustment, fan control, etc. Thermal design power adjustment is understood to mean dynamically adjusting the thermal design power of a processor to optimize performance and power consumption based on actual workload and environmental conditions. Such adjustment may be achieved by adjusting parameters such as frequency, voltage, etc. of the processor.
Step 204, determining an initial rotation speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the motherboard.
The initial rotation speed refers to the rotation speed of the fan which is set by default when the fan is started or under specific conditions. Specifically, the initial rotation speed is a reference rotation speed determined according to hardware configuration information of the processor and the main board after the hardware configuration information is acquired. It will be appreciated that the initial rotational speed is the default setting before no specific load condition is detected in order to provide a reasonable level of heat dissipation at start-up of the device while avoiding unnecessary noise and energy consumption.
Specifically, a hardware configuration database is first obtained, the hardware configuration database including a processor configuration reference entry and a motherboard configuration reference entry. And matching the plurality of processor configuration reference information included in the processor configuration reference item with the hardware configuration information of the processor respectively to obtain target processor configuration reference information matched with the hardware configuration information of the processor.
And then taking the corresponding fan rotating speed of the target processor configuration reference information in the processor configuration reference item as the first fan rotating speed. And matching the plurality of main board configuration reference information included in the main board configuration reference item with the hardware configuration information of the main board respectively to obtain target main board configuration reference information matched with the hardware configuration information of the main board. And taking the fan rotating speed corresponding to the target main board configuration reference information in the main board configuration reference item as a second fan rotating speed. An initial rotational speed of the fan is determined based on the first and second fan rotational speeds.
And 206, acquiring load information of the electronic equipment, and determining target electric power to be regulated by the electronic equipment in the running process according to the load information.
The load information refers to the current working load condition of the electronic equipment in the running process. Including but not limited to processor utilization, memory usage, processor temperature, picture frame rate, electrical power, storage device load, etc.
The target electric power refers to an electric power value to which the determined electronic device should be adjusted during operation according to the current load information. This value is used to balance the performance and heat dissipation requirements of the device.
The method comprises the steps of firstly obtaining load information of the electronic equipment, namely starting a load monitoring module and preparing the load information of the real-time monitoring equipment. It will be appreciated that the load monitoring module may be a software module responsible for collecting and processing various load data.
Optionally, the processor includes a CPU (Central Processing Unit ) and a GPU (Graphics Processing Unit, graphics processor). The system API (system application programming interface) is used to obtain the information such as the utilization rate of CPU and the length of task queue. For example, the command or call API is used to obtain the current CPU utilization. The graphics API (graphics application programming interface) is used to obtain information such as GPU utilization, rendering task queue length, etc. For example, the performance counter provided by the graphics API is used to obtain the current GPU utilization. And acquiring information such as the occupancy rate, the bandwidth utilization rate and the like of the memory by using the system API. For example, commands or API calls are used to obtain the occupancy of the current memory. And acquiring information such as read-write speed of the disk, I/O request queue length and the like by using a system API. For example, a command or API call is used to obtain the read-write speed of the current disk. The frame rate of the current picture is obtained using a graphics API or a dedicated library. For example, the frame rate of the current picture is acquired using a performance counter provided by OpenGL (graphics processing library) or DirectX (graphics rendering library).
And then establishing a relation model of the load and the electric power, wherein the relation model of the load and the electric power is established according to the historical data and experimental results. The relational model may be a mathematical function or a set of mapping tables for converting load information into electrical power requirements.
And finally, loading the power consumption regulation rule base from the configuration file or the database. The rules in the power consumption adjustment rule base typically define recommended electric power values based on different electric power requirements. And searching a recommended electric power value from the power consumption regulation rule base as target electric power according to the estimated electric power demand.
Step 208, determining a target rotational speed of the fan according to the load information and the target electric power.
The target rotation speed refers to the rotation speed to which the fan is determined to be adjusted according to the current load information and the target electric power. It will be appreciated that this rotational speed is to ensure that the device is able to dissipate heat effectively under the current load conditions, while balancing noise and energy consumption.
Specifically, fan speed adjustment rules are first loaded from a profile or database. It will be appreciated that the fan speed adjustment rules define a recommended fan speed based on different load levels and target electric power. And then searching a corresponding target rotating speed from the fan rotating speed regulating rule according to the current target electric power. For example, if the target electric power is 25W, the target rotational speed should be 1500 RPM.
Step 210, adjusting the fan from the initial rotational speed to a target rotational speed.
Specifically, the fan control module is first activated in preparation for adjusting the rotational speed of the fan based on the target rotational speed. It will be appreciated that the fan control module is a software module responsible for communicating with the fan hardware interface to control the rotational speed of the fan. And then reading the current rotating speed of the fan, namely the initial rotating speed through a system interface. For example, the current fan speed, i.e., the initial speed, is obtained using a command or API call. And then, sending an adjusting instruction to adjust the fan from the current initial rotating speed to the target rotating speed through the fan control module. For example, a command or API call is used to set a new speed of the fan, i.e., a target speed. And finally, reading the rotating speed of the fan again through the system interface, and confirming that the fan is successfully regulated to the target rotating speed. Further, if the adjustment fails, error information is recorded and fault investigation is carried out.
Optionally, after adjusting the rotation speed of the fan, the rotation speed of the fan is continuously monitored to ensure that the rotation speed of the fan is stabilized at the target rotation speed. For example, the rotational speed of the fan is read at intervals (e.g., every second). And dynamically adjusting the rotating speed of the fan according to the real-time feedback data. If the adjusted rotation speed is not ideal or the temperature of the processor is too high, the rotation speed can be further adjusted until the optimal performance and heat dissipation balance are achieved. For example, if the processor temperature is still too high, the fan speed may be further increased.
In one embodiment, a first mapping relationship between hardware configuration information of a preset processor and a preset fan rotating speed is obtained, a first fan rotating speed mapped by the hardware configuration information of the processor is determined based on the first mapping relationship, a second mapping relationship between hardware configuration information of a preset main board and the preset fan rotating speed is obtained, a second fan rotating speed mapped by the hardware configuration information of the main board is determined based on the second mapping relationship, and an initial rotating speed of the fan is determined according to the first fan rotating speed and the second fan rotating speed.
The preset fan rotation speed refers to a series of preset fan rotation speed values according to different hardware configurations (such as a processor and a motherboard). The rotation speed values and the hardware configuration information establish a mapping relation, namely what fan rotation speed should be used to realize the best heat dissipation effect under the specific hardware configuration.
The first fan rotation speed refers to a fan rotation speed for the processor, which is determined based on hardware configuration information of the processor through a preset mapping relationship (i.e., a first mapping relationship between preset hardware configuration information of the processor and preset fan rotation speed). In short, it is a fan speed that is specifically matched for the current hardware configuration of the processor.
The second fan rotation speed is a fan rotation speed for the main board determined based on the hardware configuration information of the main board through a preset mapping relationship (namely, a second mapping relationship between the preset hardware configuration information of the main board and the preset fan rotation speed). That is, it is the fan speed determined according to the current hardware configuration of the motherboard.
Specifically, a series of fan speed values are first preset according to different processor hardware configurations (such as processor model, number of cores, maximum frequency, etc.). The rotation speed values and the processor hardware configuration information establish a mapping relation, namely what fan rotation speed should be used to achieve the best heat dissipation effect under the specific processor hardware configuration. Ensuring that the fan provides proper heat dissipation under different processor hardware configurations. Further, hardware configuration information (such as model number, core number, maximum frequency, etc.) of the processor in the current device is read. And determining the fan rotating speed matched with the current processor hardware configuration, namely the first fan rotating speed according to the mapping relation between the rotating speed value established in the previous step and the processor hardware configuration information. The purpose is to provide an initial fan speed for the processor that is appropriate for its hardware configuration, ensuring that the processor will not suffer performance degradation or damage due to overheating when started.
And presetting a series of fan rotating speed values according to different main board hardware configurations (such as main board models, expansion slots, memory types and the like). The mapping relation between the rotation speed values and the main board hardware configuration information is established, namely, what fan rotation speed should be used to realize the best heat dissipation effect under the specific main board hardware configuration. Ensuring that the fan provides proper heat dissipation under different motherboard hardware configurations. Further, hardware configuration information (such as model, expansion slot, memory type, etc.) of the main board in the current device is read. And determining the fan rotating speed matched with the current main board hardware configuration, namely the second fan rotating speed according to the mapping relation between the rotating speed value established in the previous step and the main board hardware configuration information. The purpose is to provide an initial fan speed for the motherboard, which is suitable for the hardware configuration of the motherboard, so as to ensure that the motherboard is not degraded or damaged due to overheat when being started.
Finally, after the first fan rotating speed (corresponding to the processor) and the second fan rotating speed (corresponding to the main board) are obtained, the two rotating speed values are comprehensively considered, and a final fan initial rotating speed is determined. This initial rotational speed is to ensure that the entire system (including the processor and motherboard) operates within a reasonable temperature range when the device is started.
The proper first fan rotating speed and the proper second fan rotating speed are respectively determined according to the hardware configuration information of the processor and the main board, and the initial rotating speed of the fan is determined by combining the two rotating speed values, so that the equipment can rapidly dissipate heat when being started, and the overheat condition is prevented. And the overall heat dissipation efficiency is improved, the equipment can keep a lower temperature under a high load, and performance degradation and hardware damage caused by overheating are avoided.
In one embodiment, the fan speed with the small speed of the first fan speed and the second fan speed is used as the recommended speed, the preset custom fan mode is obtained, and the initial speed of the fan is determined according to the custom speed and the recommended speed corresponding to the preset custom fan mode.
The recommended rotational speed is a rotational speed selected from the first rotational speed of the fan (rotational speed of the fan corresponding to the processor) and the second rotational speed of the fan (rotational speed of the fan corresponding to the main board), where the rotational speed is smaller than the first rotational speed. It will be appreciated that the choice of a smaller rotational speed is to minimize unnecessary noise and power consumption while ensuring a heat dissipation effect. Therefore, the device can be ensured not to generate excessive noise due to the over-high rotation speed of the fan when being started, and the power consumption can be effectively controlled.
The preset custom fan mode refers to a fan control mode that can be custom defined by a user. This mode allows the user to manually set the speed of the fan and other relevant parameters according to his own needs and preferences. The purpose is to provide more control rights for the user, and the user can be according to different service scenarios and demands, flexible adjustment fan's rotational speed to reach best radiating effect and use experience.
The custom rotation speed refers to a rotation speed of the fan manually set by a user in a preset custom fan mode. The user can set a specific fan speed according to the actual use of the device and his own preference. The purpose is to satisfy user's individualized demand, makes the user can optimize the heat dissipation and the noise performance of equipment through adjusting fan rotational speed under different use scenes.
Specifically, first, after the first fan rotational speed (the fan rotational speed corresponding to the processor) and the second fan rotational speed (the fan rotational speed corresponding to the main board) are determined, the smaller one of the two rotational speeds is selected as the recommended rotational speed. Then it is detected whether a preset custom fan mode is set. If the custom fan mode is set, the custom rotation speed in the mode is read. And finally comparing the self-defined rotating speed with the recommended rotating speed, and taking the recommended rotating speed as the initial rotating speed of the fan if the recommended rotating speed is larger than the self-defined rotating speed. And if the recommended rotating speed is equal to the self-defined rotating speed, taking the recommended rotating speed or the self-defined rotating speed as the initial rotating speed of the fan. And if the recommended rotating speed is smaller than the self-defined rotating speed, taking the self-defined rotating speed as the initial rotating speed of the fan.
The system not only considers the hardware configuration of the processor and the mainboard, but also allows the user to customize the fan mode, so that the system can adapt to different hardware configurations and user requirements. And by providing double guarantees of recommended rotating speed and user-defined rotating speed, the equipment can be ensured to quickly reach the optimal heat dissipation state when being started, and meanwhile, the personalized requirements of users are met.
In one embodiment, the real-time processor utilization rate of the electronic equipment is obtained, reference electric power corresponding to the real-time processor utilization rate is searched in a power consumption regulation rule base, and the reference electric power is used as first target electric power to be regulated to by the electronic equipment in the operation process.
The real-time processor utilization rate refers to the utilization rate of the processor at the current moment, that is, the proportion of the total processing capacity of the tasks being executed by the processor. Typically expressed in percent, for example 50% means that the processor usage is 50%. It can be appreciated that the current load condition of the device can be known by monitoring the utilization rate of the processor in real time, so that a basis is provided for subsequent power consumption adjustment.
The power consumption regulation rule base refers to a database or rule set containing recommended electric power values corresponding to different processor utilization rates. These rules are typically established based on historical data and experimental results for converting processor utilization into appropriate electrical power values. It can be appreciated that, through the power consumption adjustment rule base, the recommended electric power corresponding to the current processor utilization rate can be quickly searched and determined, so that dynamic power consumption adjustment is realized.
The reference electric power refers to a recommended electric power value corresponding to the current real-time processor utilization in the power consumption adjustment rule base. This value is preset based on historical data and experimental results to ensure that the performance and heat dissipation of the device are optimally balanced under different loads. The aim is to provide a standard electric power value as a reference for subsequent power consumption regulation.
The first target electric power refers to an electric power value to which the electronic device needs to be adjusted during the current operation, which is determined based on the reference electric power. This value is calculated from the current processor utilization and power consumption adjustment rule base. By adjusting the electrical power of the device to the first target electrical power, it is ensured that the device can maintain optimal performance and heat dissipation under the current load while optimizing the energy efficiency ratio.
Specifically, the utilization of the processor is first monitored in real-time using a specialized monitoring tool or API (e.g., system performance counter). And recording the current processor utilization value. And then access a power consumption adjustment rule base. And searching a corresponding reference electric power value according to the current processor utilization value. It will be appreciated that the power consumption adjustment rule base stores recommended electric power values corresponding to different processor utilization rates, which are typically preset based on historical data and experimental results. And finally, setting the searched reference electric power value as a first target electric power. And dynamically adjusting the upper power consumption limit of the processor to achieve the first target electric power. The thermal design power consumption adjusting function refers to controlling the power consumption and the heating value of the processor by dynamically adjusting the thermal design power consumption value of the processor. Such adjustment may be achieved by setting short-term and long-term power consumption limits to optimize the performance and heat dissipation of the device under different load conditions. Alternatively, the power consumption of the processor may be dynamically adjusted by setting a short-term power consumption limit and a long-term power consumption limit.
By adopting the scheme, the power consumption can be dynamically adjusted according to the utilization rate of the real-time processor of the equipment, the performance and the heat dissipation effect of the equipment are optimized, the energy efficiency ratio is improved, the service life of hardware is prolonged, and the noise is reduced. And not only is applicable to specific hardware configuration, but also a plurality of processor and device models can be supported through a power consumption adjustment rule base. The compatibility and the flexibility of the system are improved, the system can adapt to different hardware platforms and use scenes, and the universality and the expansibility of the system are enhanced.
In one embodiment, the reference electric power is used as a first target electric power to be adjusted to the electronic equipment in a first operation time period, a preset user-defined picture frame rate and a real-time picture frame rate of the electronic equipment are obtained in the first operation time period, a frame rate difference value between the real-time picture frame rate and the preset user-defined picture frame rate is determined, and when the frame rate difference value is larger than a preset difference value threshold value, a second target electric power to be adjusted to the electronic equipment in a second operation time period is determined according to the frame rate difference value, wherein the second operation time period is smaller than the first operation time period.
The first operation duration refers to a period of time in which the reference electric power is taken as the target electric power after the device is started or a certain specific operation is started. It will be appreciated that the reference electric power, i.e. the first target electric power, is determined based on the real-time processor utilization, which reflects the overall load situation of the device, is a relatively stable indicator. The long-term power consumption limitation is carried out through the utilization rate of the processor, so that stable performance and heat dissipation effect of the equipment can be ensured to be maintained in long-time operation. Long high load operation may cause overheating and damage to the hardware. Thus, the first operating period is a long period of time relative to the second operating period.
The preset custom picture frame rate refers to a desired picture frame rate (FPS) manually set by the user according to his own needs and preferences. The aim is to provide a standard picture frame rate as a reference for evaluating the performance of the current device. For example, the preset custom picture frame rate set by the user is 60 FPS.
The real-time picture frame rate refers to the picture frame rate at which the device is currently actually operating, i.e., the number of frames of images displayed per second. The method aims to know the current performance of the equipment by monitoring the frame rate of the picture in real time, and provide a basis for subsequent power consumption adjustment. For example, the current real-time picture frame rate of the device is 55 FPS.
The preset difference threshold is a preset threshold of a frame rate difference, which is preset by a user or a system, and is used for judging whether the current real-time frame rate deviates from the preset custom frame rate. The aim is to take further power consumption adjustment measures when the difference between the real-time picture frame rate and the preset custom picture frame rate exceeds this threshold.
The second operation duration refers to a time period for further power consumption adjustment according to a difference between the real-time picture frame rate and a preset custom picture frame rate in the first operation duration. It will be appreciated that the second target electric power is determined based on the real-time picture frame rate, which is a very sensitive indicator that can quickly reflect the current load change and performance. Short-term power consumption limitation is performed through real-time picture frame rate, load change can be responded rapidly, and the equipment can keep the best performance in a short time. High loads in a short period of time may cause rapid temperature rise, and overheating of the device may be prevented by short-term power consumption limitation, avoiding performance degradation and hardware damage due to overheating. And the real-time picture frame rate directly influences the visual experience of a user, and the performance can be improved at key moments (such as high-intensity scenes in games) through short-term power consumption limitation, so that smooth user experience is ensured. Thus, the second operating period is a short period of time relative to the first operating period and belongs to one of the consecutive periods of time within the first operating period.
The second target electric power is a new electric power value determined according to a difference value between the real-time picture frame rate and the preset custom picture frame rate in the second operation duration. The aim is to ensure that the device can achieve better performance and heat dissipation effect under the current load by adjusting the electric power. For example, if the real-time frame rate is lower than the preset custom frame rate, the system may increase the power to increase performance, and if the real-time frame rate is higher than the preset custom frame rate, the system may decrease the power to save energy.
Specifically, first, after the device is started or a certain specific operation is started (specifically, it may be set according to actual needs), the reference electric power is taken as the target electric power, and the power consumption adjustment is performed in the first operation period. Ensuring that the device can quickly enter a stable working state at the initial stage of starting or operation. And then, acquiring a preset custom picture frame rate set by a user in the first operation time. And real-time monitoring the real-time picture frame rate of the device using a specialized frame rate monitoring tool or API. The difference between the real-time picture frame rate and the preset custom picture frame rate is calculated. For example, if the preset custom picture frame rate is 60 FPS and the real-time picture frame rate is 55 FPS, the frame rate difference is 5 FPS. And finally judging whether the frame difference value is larger than a preset difference value threshold value. If the frame rate difference is greater than a preset difference threshold, a new electric power value (second target electric power) is determined based on the frame rate difference. During a second operating period, the electric power is regulated to a second target electric power. If the frame rate difference is not greater than the preset difference threshold, the electric power of the electronic equipment in the first operation duration is kept to be the first target electric power.
Due to the short-term power consumption limitation by the real-time picture frame rate, the system can quickly respond to high-load scenes in a short time, ensuring that the device can provide sufficient performance at critical times (e.g., high-intensity scenes in a game). The long-term power consumption limitation is carried out through the utilization rate of the processor, so that stable performance and heat dissipation effect of the equipment can be ensured to be maintained in long-time operation. Long high load operation may cause overheating and damage to the hardware.
In one embodiment, in the process of adjusting the electronic equipment from the initial electric power to the target electric power, acquiring real-time electric power and real-time picture frame rate of the electronic equipment, acquiring real-time temperature of a processor and real-time processor utilization rate, and determining the target rotating speed of the fan according to the real-time temperature, the real-time processor utilization rate, the real-time picture frame rate and the real-time electric power.
Where the initial electric power refers to the electric power value of the device at the start-up or at the beginning of a certain specific operation. This is the electrical power state of the device before any power consumption adjustment is made. The aim is to provide a reference value for subsequent power consumption regulation and performance optimization.
Real-time electric power refers to the electric power value actually consumed by the device at the present moment. This is a dynamically changing value that will change as the load and power consumption regulation strategy of the device changes. The current power consumption state of the equipment can be known by monitoring the electric power in real time, and a basis is provided for subsequent power consumption adjustment and fan rotation speed adjustment.
The real-time temperature refers to the temperature of the processor of the electronic device at the current time. This is a dynamically changing value that will change as the load and heat dissipation conditions of the device change. It can be appreciated that by monitoring the temperature of the processor in real time, the current heat dissipation state of the device can be known, and a basis is provided for subsequent power consumption adjustment and fan rotation speed adjustment.
Specifically, first, initial electric power of the electronic device is acquired. And real-time monitoring real-time electric power and real-time picture frame rate of the electronic device during the adjustment of the electronic device from the initial electric power to the target electric power. For example, at the time of starting up the electronic device, the initial electric power is 20W, and the target electric power determined by the previous step is 30W. In the process of adjusting the electric rate of the electronic equipment from 20W to 30W, the current real-time electric power of the electronic equipment is monitored to be 25W in real time, and the current real-time picture frame rate is 55 FPS. Meanwhile, the real-time temperature of the processor and the utilization rate of the real-time processor are monitored in real time in the process of adjusting the electronic equipment from the initial electric power to the target electric power. For example, the real-time temperature of the processor is monitored in real-time to be 70 ℃, and the real-time utilization of the processor is 70%.
And then determining the target rotating speed of the fan according to the real-time temperature, the real-time processor utilization rate, the real-time picture frame rate and the real-time electric power by comprehensively considering the factors. Optionally, a weight coefficient is set in advance for each of the factors of the real-time temperature, the real-time processor utilization, the real-time frame rate, and the real-time electric power. The method comprises the steps of setting a temperature weight coefficient for real-time temperature in advance, setting a utilization ratio weight coefficient for the utilization ratio of a real-time processor, setting a frame rate weight coefficient for the frame rate of a real-time picture, and setting an electric power weight coefficient for real-time electric power.
And then, carrying out weighted summation on the real-time temperature, the real-time processor utilization rate, the real-time picture frame rate and the real-time electric power through a preset temperature weight coefficient, a preset utilization rate weight coefficient, a preset frame rate weight coefficient and a preset electric power weight coefficient to obtain the real-time load fraction of the electronic equipment.
And finally, searching the rotating speed corresponding to the real-time load fraction in a load rotating speed rule base, and taking the searched rotating speed as a target rotating speed. It can be appreciated that the load rotation speed rule base records a plurality of mappings between load fractions and rotation speeds.
The scheme is not only suitable for specific hardware configuration, but also can support various processor and equipment models through a power consumption regulation rule base and a fan rotating speed regulation strategy. The compatibility and the flexibility of the system are improved, the system can adapt to different hardware platforms and use scenes, and the universality and the expansibility of the system are enhanced. And by comprehensively considering a plurality of real-time parameters, the rotating speed of the fan is dynamically adjusted, so that the equipment can keep the optimal performance and heat dissipation effect under different load and power consumption states. Particularly in a high-load scene, the device can respond quickly, and the best performance and heat dissipation effect of the device at key moment are ensured.
In an exemplary embodiment, as shown in FIG. 3, steps 302 through 310 are included. Wherein:
step 302, acquiring hardware configuration information of a processor and hardware configuration information of a main board;
Step 304, obtaining a first mapping relation between hardware configuration information of a preset processor and a preset fan rotating speed, determining a first fan rotating speed mapped by the hardware configuration information of the processor based on the first mapping relation, obtaining a first mapping relation between hardware configuration information of a preset main board and the preset fan rotating speed, and determining a second fan rotating speed mapped by the hardware configuration information of the main board based on a second mapping relation;
Step 306, acquiring the utilization rate of a real-time processor of the electronic equipment, searching reference electric power corresponding to the utilization rate of the real-time processor in a power consumption regulation rule base, taking the reference electric power as first target electric power to which the electronic equipment needs to be regulated in a first operation time period, acquiring a preset self-defined picture frame rate and the real-time picture frame rate of the electronic equipment in the first operation time period, determining a frame rate difference value between the real-time picture frame rate and the preset self-defined picture frame rate, and determining second target electric power to which the electronic equipment needs to be regulated in a second operation time period according to the frame rate difference value when the frame rate difference value is larger than a preset difference value threshold value, wherein the second operation time period is smaller than the first operation time period;
Step 308, acquiring real-time electric power and real-time picture frame rate of the electronic equipment in the process of adjusting the electronic equipment from the initial electric power to the target electric power, acquiring real-time temperature of a processor and real-time processor utilization rate, and determining the target rotating speed of the fan according to the real-time temperature, the real-time processor utilization rate, the real-time picture frame rate and the real-time electric power;
step 310, the fan is adjusted from the initial rotational speed to a target rotational speed.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an electronic equipment heat dissipation device for realizing the above related electronic equipment heat dissipation method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of the embodiment of the heat dissipation device for electronic equipment provided below may be referred to the limitation of the heat dissipation method for electronic equipment hereinabove, and will not be repeated herein.
In an exemplary embodiment, as shown in fig. 4, there is provided an electronic device heat dissipating apparatus 400, including an acquisition module 402, a first determination module 404, a second determination module 406, a third determination module 408, and an adjustment module 410, wherein:
An obtaining module 402, configured to obtain hardware configuration information of a processor and hardware configuration information of a motherboard;
A first determining module 404, configured to determine an initial rotation speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the motherboard;
A second determining module 406, configured to obtain load information of the electronic device, and determine, according to the load information, a target electric power to which the electronic device needs to be adjusted in an operation process;
a third determining module 408 for determining a target rotational speed of the fan based on the load information and the target electric power;
an adjustment module 410 for adjusting the fan from the initial rotational speed to the target rotational speed.
In one embodiment, the first determining module 404 is configured to obtain a first mapping relationship between hardware configuration information of a preset processor and a preset fan speed, determine a first fan speed mapped by the hardware configuration information of the processor based on the first mapping relationship, obtain a first mapping relationship between hardware configuration information of a preset motherboard and the preset fan speed, determine a second fan speed mapped by the hardware configuration information of the motherboard based on the second mapping relationship, and determine an initial fan speed according to the first fan speed and the second fan speed.
In one embodiment, the first determining module 404 is configured to use a fan speed with a small speed of the first fan speed and the second fan speed as the recommended speed, obtain a preset custom fan mode, and determine an initial speed of the fan according to the custom speed and the recommended speed corresponding to the preset custom fan mode.
In one embodiment, the second determining module 406 is configured to obtain a real-time processor utilization rate of the electronic device, search a power consumption adjustment rule base for a reference electric power corresponding to the real-time processor utilization rate, and use the reference electric power as a first target electric power to which the electronic device needs to be adjusted in an operation process.
In one embodiment, the second determining module 406 is configured to use the reference electric power as a first target electric power to be adjusted by the electronic device in a first operation duration, obtain a preset user-defined frame rate and a real-time frame rate of the electronic device in the first operation duration, determine a frame rate difference between the real-time frame rate and the preset user-defined frame rate, and determine a second target electric power to be adjusted by the electronic device in a second operation duration according to the frame rate difference when the frame rate difference is greater than a preset difference threshold, where the second operation duration is smaller than the first operation duration.
In one embodiment, the third determining module 408 is configured to obtain a real-time electric power and a real-time frame rate of the electronic device during the process of adjusting the electronic device from the initial electric power to the target electric power, obtain a real-time temperature of the processor and a real-time processor utilization, and determine a target rotation speed of the fan according to the real-time temperature, the real-time processor utilization, the real-time frame rate and the real-time electric power.
The above-mentioned individual modules in the electronic device heat sink may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one exemplary embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data related to heat dissipation of the electronic device. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of cooling an electronic device.
It will be appreciated by those skilled in the art that the structure shown in FIG. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are both information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile memory and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (RESISTIVE RANDOM ACCESS MEMORY, reRAM), magneto-resistive Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computation, an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) processor, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the present application.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.
Claims (10)
1. A method for dissipating heat from an electronic device, wherein the electronic device includes at least a processor, a motherboard, and a fan for dissipating heat, the method comprising:
acquiring hardware configuration information of the processor and hardware configuration information of the main board;
Determining an initial rotating speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the main board;
load information of the electronic equipment is obtained, and target electric power to be regulated to the electronic equipment in the running process is determined according to the load information;
determining a target rotational speed of the fan according to the load information and the target electric power;
and adjusting the fan from the initial rotating speed to the target rotating speed.
2. The method of claim 1, wherein the determining the initial rotational speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the motherboard comprises:
Acquiring a first mapping relation between hardware configuration information of a preset processor and a preset fan rotating speed, and determining the first fan rotating speed mapped by the hardware configuration information of the processor based on the first mapping relation;
Acquiring a second mapping relation between preset main board hardware configuration information and preset fan rotating speed, and determining the second fan rotating speed mapped by the main board hardware configuration information based on the second mapping relation;
And determining the initial rotating speed of the fan according to the first rotating speed of the fan and the second rotating speed of the fan.
3. The method of claim 2, wherein determining the initial rotational speed of the fan based on the first fan rotational speed and the second fan rotational speed comprises:
taking the fan rotating speed with small rotating speed in the first fan rotating speed and the second fan rotating speed as a recommended rotating speed;
Acquiring a preset custom fan mode, and determining the initial rotating speed of the fan according to the custom rotating speed corresponding to the preset custom fan mode and the recommended rotating speed.
4. The method of claim 1, wherein the load information includes at least a processor utilization rate, wherein the obtaining load information of the electronic device, and determining a target electric power to which the electronic device is to be adjusted during operation according to the load information, comprises:
acquiring the utilization rate of a real-time processor of the electronic equipment;
Searching reference electric power corresponding to the utilization rate of the real-time processor in a power consumption regulation rule base;
And taking the reference electric power as a first target electric power to which the electronic equipment needs to be regulated in the operation process.
5. The method of claim 4, wherein the load information further comprises a real-time frame rate, wherein the step of using the reference electric power as the first target electric power to which the electronic device is to be adjusted during operation comprises:
Taking the reference electric power as a first target electric power to be regulated by the electronic equipment in a first operation time period;
acquiring a preset user-defined picture frame rate and a real-time picture frame rate of the electronic equipment in the first operation time length;
determining a frame rate difference between the real-time picture frame rate and the preset custom picture frame rate;
When the frame rate difference value is larger than the preset difference value threshold value, determining second target electric power to be adjusted to the electronic equipment in second operation time according to the frame rate difference value, wherein the second operation time is smaller than the first operation time.
6. The method of claim 1, wherein the load information includes real-time electrical power of the electronic device and real-time temperature of the processor;
The determining the target rotation speed of the fan according to the load information and the target electric power comprises the following steps:
acquiring real-time electric power and real-time picture frame rate of the electronic equipment in the process of adjusting the electronic equipment from initial electric power to target electric power;
Acquiring the real-time temperature of the processor and the utilization rate of the real-time processor;
and determining the target rotating speed of the fan according to the real-time temperature, the real-time processor utilization rate, the real-time picture frame rate and the real-time electric power.
7. An electronic device heat sink, the device comprising:
The acquisition module is used for acquiring the hardware configuration information of the processor and the hardware configuration information of the main board;
The first determining module is used for determining the initial rotating speed of the fan based on the hardware configuration information of the processor and the hardware configuration information of the main board;
the second determining module is used for acquiring the load information of the electronic equipment and determining the target electric power to be regulated to by the electronic equipment in the running process according to the load information;
a third determining module for determining a target rotational speed of the fan according to the load information and the target electric power;
and the adjusting module is used for adjusting the fan from the initial rotating speed to the target rotating speed.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411814408.2A CN119271022A (en) | 2024-12-11 | 2024-12-11 | Electronic equipment heat dissipation method, device, computer equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411814408.2A CN119271022A (en) | 2024-12-11 | 2024-12-11 | Electronic equipment heat dissipation method, device, computer equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN119271022A true CN119271022A (en) | 2025-01-07 |
Family
ID=94106149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411814408.2A Pending CN119271022A (en) | 2024-12-11 | 2024-12-11 | Electronic equipment heat dissipation method, device, computer equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN119271022A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060095796A1 (en) * | 2004-10-28 | 2006-05-04 | Yuji Chotoku | Thermal control method |
CN105676996A (en) * | 2015-12-31 | 2016-06-15 | 曙光信息产业(北京)有限公司 | Loongson server power consumption control method and device |
CN112631414A (en) * | 2020-12-18 | 2021-04-09 | 苏州浪潮智能科技有限公司 | A fan control method, system and medium |
-
2024
- 2024-12-11 CN CN202411814408.2A patent/CN119271022A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060095796A1 (en) * | 2004-10-28 | 2006-05-04 | Yuji Chotoku | Thermal control method |
CN105676996A (en) * | 2015-12-31 | 2016-06-15 | 曙光信息产业(北京)有限公司 | Loongson server power consumption control method and device |
CN112631414A (en) * | 2020-12-18 | 2021-04-09 | 苏州浪潮智能科技有限公司 | A fan control method, system and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10877533B2 (en) | Energy efficient workload placement management using predetermined server efficiency data | |
US8718835B2 (en) | Optimized temperature-driven device cooling | |
US6868683B2 (en) | Cooling of data centers | |
US8065537B2 (en) | Adjusting cap settings of electronic devices according to measured workloads | |
US20080313492A1 (en) | Adjusting a Cooling Device and a Server in Response to a Thermal Event | |
US20080178029A1 (en) | Using priorities to select power usage for multiple devices | |
US7426109B2 (en) | System and method for adaptive information handling system cooling profiles | |
US10078610B2 (en) | System and method for optimized thermal control for management controller offline | |
US11147186B2 (en) | Predictive fan control using workload profiles | |
US9746898B2 (en) | Systems and methods for controlling processing device power consumption | |
US8307220B2 (en) | Managing power consumption of a computer | |
JP2015161451A (en) | Data center, data center controlling method and control program | |
CN113075982A (en) | Server intelligent network card heat dissipation method, device, system and medium | |
CN112000205A (en) | BMC (baseboard management controller) and heat dissipation strategy adaptation method, device, server and storage medium thereof | |
JP2020107313A (en) | Performance management system, method for providing performance setting parameter combination, method for updating performance parameter, computer software and storage medium | |
US11847009B1 (en) | Power control for improving foreground application performance in an information handling system | |
EP4416593A1 (en) | Systems and methods for allocating compute nodes in a power-constrained environment | |
CN117570049B (en) | Fan control method and device, baseboard management controller and server | |
CN119271022A (en) | Electronic equipment heat dissipation method, device, computer equipment and readable storage medium | |
CN118244862A (en) | Heat dissipation method, heat dissipation device, computer device, storage medium, and program product | |
CN113568805A (en) | Real-time adjustment method and device for power consumption of server and electronic equipment | |
CN102243520B (en) | Method for controlling fan | |
CN114635868B (en) | Method and device for controlling rotation speed of cooling fan, computer equipment and storage medium | |
CN113138899B (en) | A server fan vibration control method, system, terminal and storage medium | |
US20210311535A1 (en) | Methods and systems for processor-calibrated fan control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |