CN118192777A - Heat dissipation method, heat dissipation device, computer equipment and storage medium - Google Patents

Heat dissipation method, heat dissipation device, computer equipment and storage medium Download PDF

Info

Publication number
CN118192777A
CN118192777A CN202410405975.6A CN202410405975A CN118192777A CN 118192777 A CN118192777 A CN 118192777A CN 202410405975 A CN202410405975 A CN 202410405975A CN 118192777 A CN118192777 A CN 118192777A
Authority
CN
China
Prior art keywords
fan
target
determining
server
target fan
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
Application number
CN202410405975.6A
Other languages
Chinese (zh)
Inventor
李言
徐龙飞
张昊
梁晨光
李文文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningchang Information Technology Hangzhou Co ltd
Original Assignee
Ningchang Information Technology Hangzhou Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ningchang Information Technology Hangzhou Co ltd filed Critical Ningchang Information Technology Hangzhou Co ltd
Priority to CN202410405975.6A priority Critical patent/CN118192777A/en
Publication of CN118192777A publication Critical patent/CN118192777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The present application relates to a heat dissipation method, apparatus, computer device, storage medium and computer program product. The method comprises the following steps: under the condition that the internal temperature of the server is abnormal, determining a target fan according to the partition configuration data; determining, in the server, an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan; and controlling the adjusting fan to perform heat dissipation control according to the target rotating speed. By adopting the method, the power consumption of the heat dissipation method can be reduced.

Description

Heat dissipation method, heat dissipation device, computer equipment and storage medium
Technical Field
The present application relates to the field of server technologies, and in particular, to a heat dissipation method, a heat dissipation device, a computer device, a storage medium, and a computer program product.
Background
With the progress of technology, the role of the server becomes more and more important, and the performance of the server is also continuously improved. With the improvement of the performance of the server, higher heat dissipation requirements are also brought to ensure the normal operation of the server.
The current heat dissipation method is to obtain the temperature of each temperature sensor of the server and determine whether the temperature of each temperature sensor exceeds a temperature threshold. If the temperature of a certain temperature sensor exceeds the temperature threshold, controlling all fans in the server to pull up the rotating speed so as to ensure that the server can normally operate.
However, in the current heat dissipation method, pulling up the rotation speed of all fans causes the power consumption of the server to be high. Further, the current heat dissipation method causes higher power consumption.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a heat dissipation method, apparatus, computer device, computer readable storage medium, and computer program product.
In a first aspect, the present application provides a heat dissipation method, including:
under the condition that the internal temperature of the server is abnormal, determining a target fan according to the partition configuration data;
determining, in the server, an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan;
And controlling the adjusting fan to perform heat dissipation control according to the target rotating speed.
In the above heat dissipation method, under the condition of abnormal temperature inside the server, the target fan is determined, and the adjusting fan is determined according to the partition configuration data, the state data and the type of the target fan, so as to obtain the adjusting fan to be subjected to speed regulation. And the fans are adjusted to target rotating speeds in a targeted way, so that the number of fans needing to be adjusted is reduced, the power consumption of the server is further reduced, and the power consumption of a heat dissipation method is reduced.
In one embodiment, before determining the target fan according to the partition configuration data in the case that the internal temperature of the server is abnormal, the method further includes:
grouping fans based on position data of the fans in the server to obtain fan domains;
Establishing an association relationship between each fan and each temperature sensor according to the position data of each fan and the position data of each temperature sensor;
And constructing partition configuration data based on each fan domain and each association relation.
In this embodiment, partition configuration data is constructed based on the position data of each fan and the position data of each temperature sensor in the server, so as to obtain partition configuration data adapted to the server, so that the server can be conveniently cooled according to the partition configuration data, and the cooling method has high flexibility and expansibility.
In one embodiment, before determining the target fan according to the partition configuration data in the case that the internal temperature of the server is abnormal, the method further includes:
Acquiring the temperature of each temperature sensor in a server, and judging whether the temperature of each temperature sensor exceeds a preset temperature threshold value;
And if the temperature of the temperature sensor exceeds the temperature threshold, determining the temperature sensor as a target temperature sensor, and determining that the internal temperature of the server is abnormal.
In the embodiment, the heat dissipation condition of the server is defined by monitoring the temperature of each temperature sensor in the server, so that the subsequent adjustment of each fan in the server based on the heat dissipation condition of the server is facilitated, the server is always in a stable condition, and the normal operation of the server is ensured.
In one embodiment, the determining, in the server, an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan includes:
Judging whether the state data of the target fan represents that the target fan is normal or not;
if the state data represent that the target fan is normal, judging whether a target temperature sensor corresponding to the target fan is an air inlet temperature sensor or not;
and if the target temperature sensor is not the air inlet temperature sensor, determining the target fan as an adjusting fan.
In this embodiment, the running condition of the target fan is determined according to the state data of the target fan, so that the relationship between the abnormal temperature inside the server and the target fan is clarified. Then, the fan is regulated according to the type of the target fan, so that the fan which needs to be regulated is obtained, the subsequent targeted regulation of the rotating speed of the regulated fan is facilitated, the power consumption of the server is reduced, and the power consumption of a heat dissipation method is reduced.
In one embodiment, the determining whether the status data of the target fan indicates that the target fan is normal includes:
Judging whether the rotating speed in the state data is lower than a preset rotating speed threshold value or not, and judging whether an in-place signal in the state data represents the in-place of the target fan or not;
if the rotating speed is lower than the rotating speed threshold value and/or the presence signal indicates that the target fan is not in place, determining that the target fan is abnormal;
And if the rotating speed is greater than or equal to the rotating speed threshold value and the in-place signal represents that the target fan is in place, determining that the target fan is normal.
In this embodiment, the running condition of the target fan is determined by the rotation speed of the target fan and the on-site signal of the target fan, so that the relationship between the abnormal temperature inside the server and the target fan is clarified, and the subsequent determination and adjustment of the fans are facilitated.
In one embodiment, after the determining whether the status data of the target fan indicates that the target fan is normal, the method further includes:
If the state data represents that the target fan is abnormal, judging whether the type of the target fan is a double rotor or not;
if the type is double rotors, determining the other fan in the double-rotor fans where the target fan is located as an adjusting fan;
And if the type is not the double rotors, determining a target fan domain in which the target fan is positioned according to the partition configuration data, and determining other fans in the target fan domain as adjusting fans.
In this embodiment, the adjustment fan is determined based on the partition configuration data and the type of the target fan, and the adjustment fan to be subjected to speed regulation is obtained. The speed of the fans is convenient to adjust in the follow-up process, the number of fans needing speed adjustment is reduced, the power consumption of the server is further reduced, and the power consumption of the heat dissipation method is reduced.
In one embodiment, the controlling the adjusting fan to perform heat dissipation control according to the target rotation speed includes:
determining a target rotating speed duty ratio corresponding to the adjusting fan in the heat dissipation speed regulation parameter;
And determining a target rotating speed according to the target rotating speed duty ratio, and adjusting the rotating speed of the adjusting fan to the target rotating speed so as to radiate heat of the server.
In this embodiment, the number of fans to be regulated is reduced by determining the target rotation speed of the fan to be regulated and pertinently regulating the fan according to the target rotation speed, so that the power consumption of the server is reduced, and the power consumption of the heat dissipation method is reduced.
In a second aspect, the present application also provides a heat dissipating device, including:
The first determining module is used for determining a target fan according to the partition configuration data under the condition that the internal temperature of the server is abnormal;
a second determining module configured to determine an adjustment fan in the server based on the partition configuration data, the status data of the target fan, and the type of the target fan;
and the control module is used for controlling the adjusting fan to perform heat dissipation control according 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:
under the condition that the internal temperature of the server is abnormal, determining a target fan according to the partition configuration data;
determining, in the server, an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan;
And controlling the adjusting fan to perform heat dissipation control according 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:
under the condition that the internal temperature of the server is abnormal, determining a target fan according to the partition configuration data;
determining, in the server, an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan;
And controlling the adjusting fan to perform heat dissipation control according 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:
under the condition that the internal temperature of the server is abnormal, determining a target fan according to the partition configuration data;
determining, in the server, an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan;
And controlling the adjusting fan to perform heat dissipation control according to the target rotating speed.
The heat dissipation method, the heat dissipation device, the computer equipment, the storage medium and the computer program product are used for determining a target fan according to partition configuration data under the condition that the internal temperature of the server is abnormal; determining, in the server, an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan; and controlling the adjusting fan to perform heat dissipation control according to the target rotating speed. By adopting the method, under the condition of abnormal temperature in the server, the target fan is determined, and the adjusting fan is determined according to the partition configuration data, the state data and the type of the target fan, so that the adjusting fan to be subjected to speed regulation is obtained. And the fans are adjusted to target rotating speeds in a targeted way, so that the number of fans needing to be adjusted is reduced, the power consumption of the server is further reduced, and the power consumption of a heat dissipation method is reduced.
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 required to be used in the embodiments or the related technical descriptions will be briefly described, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a flow chart of a heat dissipation method according to an embodiment;
FIG. 2 is a flow diagram of constructing partition configuration data in one embodiment;
FIG. 3 is a flow diagram of monitoring the internal temperature of a server in one embodiment;
FIG. 4 is a flow chart of determining to adjust the fan if the target fan is normal in one embodiment;
FIG. 5 is a flow chart of determining whether a target fan is normal according to an embodiment;
FIG. 6 is a flow chart of determining an adjustment fan if the target fan is abnormal in one embodiment;
FIG. 7 is a flow chart of heat dissipation control in one embodiment;
FIG. 8 is a flow chart of a heat dissipation speed regulation process in one embodiment;
FIG. 9 is a schematic diagram of a disaster recovery logic flow for temperature anomaly partition in one embodiment;
FIG. 10 is a flow diagram of fan abnormal partition disaster recovery logic in one embodiment;
FIG. 11 is a block diagram of a heat sink in one embodiment;
Fig. 12 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.
In one embodiment, as shown in fig. 1, a heat dissipation method is provided, and an embodiment of the present application is described by taking a BMC (Board Management Controller, baseboard management controller) applied to a server as an example, where an execution device of the heat dissipation method is not limited, and includes the following steps 102 to 106:
And 102, under the condition that the internal temperature of the server is abnormal, determining a target fan according to the partition configuration data.
The partition configuration data comprises the association relation between each temperature sensor and each fan in the server and each fan domain. Each fan domain includes fans in the same enclosed area.
In an implementation, the BMC obtains the temperature of each temperature sensor within the server. If the temperature of the target temperature sensor is larger than a preset temperature threshold, the BMC determines that the internal temperature of the server is abnormal. Under the condition that the internal temperature of the server is abnormal, the BMC determines a target fan with an association relation with a target temperature sensor according to the partition configuration data.
In an exemplary embodiment, after the server is powered on, the BMC initializes various services and starts a heat dissipation and speed regulation process. The heat dissipation and speed regulation process can preload partition configuration data in a Json (JavaScript Object Notation, a lightweight data exchange format) configuration file and heat dissipation and speed regulation parameters into a program structure body for use in subsequent logic. And the normal heat dissipation speed regulation logic and the heat dissipation partition disaster recovery function under abnormal conditions are realized through the heat dissipation speed regulation process.
Step 104, determining an adjustment fan in the server based on the partition configuration data, the status data of the target fan, and the type of the target fan.
In an implementation, the BMC obtains status data of the target fan and a type of the target fan. Then, the BMC judges whether the state data of the target fan represents the state of the target fan to be normal or not. If the state data of the target fan indicates that the target fan is normal, the BMC determines to adjust the fan in the server according to the type of the target fan. If the state data of the target fan indicates that the target fan is abnormal, the BMC determines to adjust the fan in the server according to the type of the target fan and each fan domain.
And 106, controlling the adjusting fan to perform heat dissipation control according to the target rotating speed.
In implementation, the BMC is preset with a heat dissipation speed regulation parameter. The BMC determines and adjusts the target rotating speed corresponding to the fan through configuring and adjusting the heat dissipation speed regulation parameter, and adjusts the wind speed of the fan to the target rotating speed so as to realize heat dissipation of the server.
In the above heat dissipation method, under the condition of abnormal temperature inside the server, the target fan is determined, and the adjusting fan is determined according to the partition configuration data, the state data and the type of the target fan, so as to obtain the adjusting fan to be subjected to speed regulation. And the fans are adjusted to target rotating speeds in a targeted way, so that the number of fans needing to be adjusted is reduced, the power consumption of the server is further reduced, and the power consumption of a heat dissipation method is reduced.
In one exemplary embodiment, partition configuration data is constructed prior to determining the target fan based on the partition configuration data. As shown in fig. 2, the specific processing procedure of the heat dissipation method further includes steps 202 to 206 before the step 102 is performed. Wherein:
Step 202, grouping the fans based on the position data of the fans in the server to obtain the fan domains.
In an implementation, the BMC obtains location data for each fan and configuration data for the server. And dividing each fan belonging to the same closed space into the same fan domain according to the position data of each fan and the structure data of the server by the BMC to obtain each fan domain.
Step 204, establishing an association relationship between each fan and each temperature sensor according to the position data of each fan and the position data of each temperature sensor.
In implementation, the BMC determines, for each fan, a temperature sensor close to each fan according to the position data of the fan and the position data of each temperature sensor, and establishes an association relationship between the temperature sensor and the fan.
Optionally, the association relationship between the temperature sensor and the fan may be adaptively adjusted according to the changes of the circuit and the structure in the server, and the establishment condition of the association relationship is not limited in the embodiment of the present application.
Step 206, constructing partition configuration data based on each fan domain and each association relationship.
In an implementation, the BMC builds partition configuration data based on each fan domain and each association.
In this embodiment, partition configuration data is constructed based on the position data of each fan and the position data of each temperature sensor in the server, so as to obtain partition configuration data adapted to the server, so that the server can be conveniently cooled according to the partition configuration data, and the cooling method has high flexibility and expansibility.
In an exemplary embodiment, it is necessary to monitor whether the internal temperature of the server is normal based on the temperature of each temperature sensor in the server. As shown in fig. 3, the specific process of the heat dissipation method further includes steps 302 to 304 before the step 102 is performed. Wherein:
step 302, the temperature of each temperature sensor in the server is obtained, and whether the temperature of each temperature sensor exceeds a preset temperature threshold is determined.
In practice, a temperature threshold is preset in the BMC. The BMC acquires temperature data of each temperature sensor in the server. Then, the BMC judges whether the temperature data of each temperature sensor exceeds a preset temperature threshold value, so as to determine whether the temperature data detected by the temperature sensor is normal.
Optionally, the temperature threshold is set according to a heat dissipation requirement, and the embodiment of the application does not limit the temperature threshold.
And step 304, if the temperature of the temperature sensor exceeds the temperature threshold, determining the temperature sensor as a target temperature sensor, and determining that the internal temperature of the server is abnormal.
In practice, if the temperature of the temperature sensor exceeds the temperature threshold, the BMC determines the temperature sensor as the target temperature sensor. The BMC then determines that the server internal temperature is abnormal.
In the embodiment, the heat dissipation condition of the server is defined by monitoring the temperature of each temperature sensor in the server, so that the subsequent adjustment of each fan in the server based on the heat dissipation condition of the server is facilitated, the server is always in the condition of stable internal temperature, and the normal operation of the server is ensured.
In an exemplary embodiment, as shown in FIG. 4, the specific process of step 104 includes steps 402 through 406. Wherein:
Step 402, it is determined whether the status data of the target fan indicates that the target fan is normal.
The state data comprises the rotating speed of the target fan and an in-place signal.
In implementation, the BMC determines whether the rotational speed of the target fan is below a preset rotational speed threshold. Meanwhile, the BMC judges whether the in-place signal of the target fan represents the in-place state of the target fan. If the speed of the target fan is lower than the speed threshold or the presence signal of the target fan indicates that the target fan is not present, the BMC determines that the state data indicates that the target fan is abnormal. If the rotating speed of the target fan is greater than or equal to the rotating speed threshold value and the in-place signal of the target fan indicates that the target fan is in place, the BMC determines that the state data indicates that the target fan is normal.
Step 404, if the status data indicates that the target fan is normal, determining whether the target temperature sensor corresponding to the target fan is an air inlet temperature sensor.
The air inlet temperature sensor is a temperature sensor for monitoring the air inlet of the server.
In implementation, if the state data indicates that the target fan is normal, the BMC determines whether the target temperature sensor corresponding to the target fan is a temperature sensor for monitoring an air inlet of the server.
In an alternative embodiment, if the target temperature sensor corresponding to the target fan is the air inlet temperature sensor, the BMC determines that all fans in the server are adjustment fans.
If the target temperature sensor is not the intake temperature sensor, step 406, the target fan is determined to be an adjustment fan.
In an implementation, if the target temperature sensor is not a temperature sensor monitoring the air intake of the server, the BMC determines the target fan to be an adjusting fan.
In this embodiment, the running condition of the target fan is determined according to the state data of the target fan, so that the relationship between the abnormal temperature inside the server and the target fan is clarified. Then, the fan is regulated according to the type of the target fan, so that the fan which needs to be regulated is obtained, the subsequent targeted regulation of the rotating speed of the regulated fan is facilitated, and the power consumption of the server is reduced.
In an exemplary embodiment, as shown in FIG. 5, the specific process of step 402 includes steps 502 through 506. Wherein:
Step 502, determining whether the rotation speed in the status data is lower than a preset rotation speed threshold, and determining whether the in-place signal in the status data represents that the target fan is in place.
Wherein the status data includes a rotational speed of the target fan and an on-line signal of the target fan. The in-place signal indicates whether the fan is operating properly.
In practice, the BMC is preset with a rotation speed threshold. The BMC judges whether the rotating speed is lower than a preset rotating speed threshold value. Meanwhile, the BMC judges whether the in-place signal represents that the target fan is in place or not.
Optionally, the rotation speed threshold is determined according to the characteristics of the fan and the heat dissipation requirement, and the embodiment of the application does not limit the rotation speed threshold.
If the rotational speed is below the rotational speed threshold and/or the presence signal indicates that the target fan is not present, a determination is made that the target fan is abnormal, step 504.
In an implementation, if the speed is below a speed threshold or the presence signal indicates that the target fan is not present, the BMC determines that the target fan is abnormal. If the speed is below the speed threshold and the presence signal indicates that the target fan is not in place, the BMC determines that the target fan is abnormal.
Step 506, if the rotational speed is greater than or equal to the rotational speed threshold and the in-place signal indicates that the target fan is in place, determining that the target fan is normal.
In an implementation, if the rotational speed is greater than or equal to the rotational speed threshold and the presence signal indicates that the target fan is in place, the BMC determines that the target fan is normal.
In this embodiment, the running condition of the target fan is determined by the rotation speed of the target fan and the on-site signal of the target fan, so that the relationship between the abnormal temperature inside the server and the target fan is clarified, and the subsequent determination and adjustment of the fans are facilitated.
In one exemplary embodiment, where the status data characterizes a target fan anomaly, the fan needs to be adjusted based on the partition configuration data and the type of target fan. As shown in fig. 6, after the step 402 is performed, the specific processing procedure of the heat dissipation method further includes steps 602 to 606. Wherein:
Step 602, if the status data indicates that the target fan is abnormal, determining whether the type of the target fan is dual-rotor.
In an implementation, if the state data characterizes a target fan anomaly, the BMC determines that the server internal temperature anomaly is related to the target fan. Then, the BMC determines whether the type of the target fan is a dual rotor.
In step 604, if the type is dual-rotor, another fan of the dual-rotor fans where the target fan is located is determined as the adjustment fan.
In practice, if the type of the target fan is a dual rotor, the BMC determines another fan of the rotor fans in which the target fan is located as the tuning fan.
In step 606, if the type is not dual rotor, determining a target fan domain in which the target fan is located according to the partition configuration data, and determining other fans in the target fan domain as adjustment fans.
Wherein the partition configuration data comprises fan domains. The other fans are fans other than the target fan in the target fan domain.
In practice, if the type is not birotor, the BMC determines the target fan domain in which the target fan is located in each fan domain. The BMC then determines the other fans in the target fan domain as the adjustment fans.
In this embodiment, the adjustment fan is determined based on the partition configuration data and the type of the target fan, and the adjustment fan to be subjected to speed regulation is obtained. The speed of the fans is convenient to adjust in the follow-up process, the number of fans needing speed adjustment is reduced, the power consumption of the server is further reduced, and the power consumption of the heat dissipation method is reduced.
In an exemplary embodiment, as shown in FIG. 7, the specific process of step 108 includes steps 702 through 704. Wherein:
Step 702, determining and adjusting a target rotating speed duty ratio corresponding to the fan according to the heat dissipation speed regulation parameter.
In implementation, the BMC is preset with a heat dissipation speed regulation parameter. And the BMC determines the target rotating speed duty ratio of the fan in the heat dissipation speed regulation parameters according to the abnormal condition.
Specifically, if the abnormal condition is that the target fan is normal and the target temperature sensor corresponding to the target fan is an air inlet temperature sensor, the BMC determines the rotating speed duty ratio of the disaster recovery fan in the air inlet temperature loss state in the heat dissipation speed regulation parameter. Then, the BMC determines the rotating speed duty ratio of the disaster recovery fan in the air inlet temperature loss state as the target rotating speed duty ratio of the adjusting fan. If the abnormal condition is that the target fan is normal and the target temperature sensor corresponding to the target fan is not the air inlet temperature sensor, the BMC determines the rotating speed duty ratio of the disaster recovery fan in the over-temperature state in the heat dissipation speed regulation parameter. Then, the BMC determines the rotating speed duty ratio of the disaster recovery fan in the over-temperature state as the target rotating speed duty ratio of the adjusting fan. If the abnormal condition is that the target fan is abnormal and the target fan is not a double-rotor fan, the BMC determines the rotating speed duty ratio of the disaster recovery fan in the abnormal state of the fan in the heat dissipation speed regulation parameters. The BMC determines the fan abnormal state disaster recovery fan rotating speed duty ratio as a target rotating speed duty ratio of the adjusting fan. If the abnormal condition is that the target fan is abnormal and the target fan is a double-rotor fan, the BMC determines the disaster recovery rotating speed duty ratio in the heat dissipation speed regulation parameter. The BMC determines the disaster recovery rotational speed duty ratio as a target rotational speed duty ratio for adjusting the fan.
Step 704, determining a target rotation speed according to the target rotation speed duty ratio, and adjusting the rotation speed of the adjusting fan to the target rotation speed to perform heat dissipation.
In an implementation, the BMC determines the target rotational speed of the fan to adjust based on the target rotational speed to air ratio. Then, the BMC adjusts and adjusts the rotation speed of the fan to the target rotation speed so as to radiate heat of the server.
In this embodiment, the number of fans to be regulated is reduced by determining the target rotation speed of the fan to be regulated and pertinently regulating the fan according to the target rotation speed, so that the power consumption of the server is reduced, and the power consumption of the heat dissipation method is reduced.
In an exemplary embodiment, a method of dissipating heat is provided. Specifically, after the server is powered on, the BMC initializes various services and starts a heat dissipation speed regulation process. The normal heat dissipation speed regulation logic and the heat dissipation partition disaster recovery function under abnormal conditions are mainly realized by the heat dissipation speed regulation process. Specifically, the heat dissipation and speed regulation process loads disaster recovery partition configuration and heat dissipation and speed regulation parameters in the Json configuration file into the program structure body for use in subsequent logic. After loading the configuration parameters, executing the temperature abnormal partition disaster recovery logic and the fan abnormal partition disaster recovery logic by the heat dissipation speed regulation process. In the partitioned disaster recovery mode, because reasons and influences of each abnormal condition are different, different partitioned disaster recovery strategies are adopted in the heat dissipation speed regulation process, the fans are determined to participate in disaster recovery after calculation by combining disaster recovery logic, the lowest fan duty ratio required by disaster recovery is determined, and the fans which do not participate in disaster recovery continue to adopt normal speed regulation logic. In the normal speed regulation mode, the speed regulation duty cycle of each fan is calculated using the normal speed regulation parameters and the fan weight. And finally, obtaining the speed regulation duty ratio of each fan from the disaster recovery logic to drive the corresponding fan, and enabling the heat dissipation speed regulation process to enter the next speed regulation cycle. Fig. 8 is a flow chart of a heat dissipation speed regulation process, including:
Step 801, disaster recovery zone configuration data and heat dissipation parameters are read from the Json file to the structural body.
Step 802, executing temperature anomaly partition disaster recovery logic.
Step 803, executing the fan abnormal partition disaster recovery logic.
Step 804, driving the corresponding adjusting fans according to the target rotation speed duty ratio of each adjusting fan obtained by the temperature abnormal partition disaster recovery logic and the fan abnormal partition disaster recovery logic.
The specific execution flow of step 802 is shown in fig. 9, and includes:
Step 901, judging whether the temperature of the temperature sensor in the server exceeds a preset temperature threshold. If there is a temperature of the target temperature sensor exceeding the temperature threshold, step 902 is performed. If the temperature of the non-existence temperature sensor exceeds the temperature threshold value, the process is ended.
Step 902, determining whether the target temperature sensor is an air inlet temperature sensor. If the target temperature sensor is an intake air temperature sensor, step 907 is performed. If the target temperature sensor is not the intake air temperature sensor, step 903 is performed.
Step 903, a speed regulation algorithm of the target temperature sensor is obtained.
Step 904, determining a target fan corresponding to the target temperature sensor according to the speed regulation algorithm, and determining the target fan as the regulation fan.
Step 905, reading the rotating speed duty ratio of the disaster recovery fan in the over-temperature state.
Step 906, determining the rotating speed duty ratio of the disaster recovery fan in the over-temperature state as the target rotating speed duty ratio of the adjusting fan.
In step 907, all fans in the area of the air inlet temperature sensor are determined as adjustment fans.
Step 908, the rotation speed duty cycle of the disaster recovery fan in the air inlet temperature loss state is read.
Step 909, determining the rotation speed duty ratio of the disaster recovery fan in the air inlet temperature loss state as the target rotation speed duty ratio of the adjusting fan.
In addition, as shown in fig. 10, the specific execution flow of step 803 includes:
In step 1001, it is determined whether there is a target fan out of place or a target fan running at a low speed in the server. If there is no fan out of position and there is no fan running, the process is ended. If there is a target fan out of position or if there is a target fan running colloquially, then step 1002 is performed.
Step 1002, determine whether the target fan is a dual rotor fan. If the target fan is a dual rotor fan, step 1006 is performed. If the target fan is not a dual rotor fan, step 1003 is performed.
In step 1003, the target fan domain to which the target fan belongs is determined, and other fans in the target fan domain are determined as adjustment fans.
Step 1004, reading the rotation speed duty ratio of the disaster recovery fan in the abnormal state of the fan.
Step 1005, determining the fan abnormal state disaster recovery fan rotating speed duty ratio as the target rotating speed duty ratio of the adjusting fan.
In step 1006, the dual rotor fans to which the target fan belongs are determined, and the other fan of the dual rotor fans is determined as the adjustment fan.
Step 1007, determining a disaster recovery rotational speed duty cycle of the adjusting fan.
When the BMC finds that the heat dissipation of the server is abnormal, finer heat dissipation and disaster recovery can be performed according to the preset disaster recovery partition parameters, and the power consumption of the server is reduced on the premise of ensuring the disaster recovery effect. In addition, the heat dissipation method can be executed on the BMC, is independent of a specific hardware platform, and has good portability.
The server is divided into a main board bin and a GPU (Graphics Processing Unit, graphics processor) bin, the air channels of the two spaces are independent, and the fans are required to radiate heat from the two spaces simultaneously.
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 a heat dissipation device for realizing the heat dissipation method. The implementation of the solution provided by the device is similar to that described in the above method, so the specific limitation of the embodiment of the heat dissipating device or embodiments provided below may be referred to the limitation of the heat dissipating method hereinabove, and will not be repeated here.
In one exemplary embodiment, as shown in fig. 11, there is provided a heat dissipating device 1100 comprising: a first determination module 1101, a second determination module 1102, and a control module 1103, wherein:
the first determining module 1101 is configured to determine, according to partition configuration data, a target fan when an internal temperature abnormality of the server is detected.
A second determining module 1102 is configured to determine an adjustment fan in the server based on the partition configuration data, the status data of the target fan, and the type of the target fan.
The control module 1103 is configured to control the adjusting fan to perform heat dissipation control according to the target rotation speed.
In an exemplary embodiment, the heat dissipating device 1100 further includes:
And the grouping module is used for grouping the fans based on the position data of the fans in the server to obtain the fan domains.
The building module is used for building the association relation between each fan and each temperature sensor according to the position data of each fan and the position data of each temperature sensor.
The first construction module is used for constructing partition configuration data based on each fan domain and each association relation.
In an exemplary embodiment, the heat dissipating device 1100 further includes:
the first judging module is used for acquiring the temperature of each temperature sensor in the server and judging whether the temperature of each temperature sensor exceeds a preset temperature threshold value.
And the third determining module is used for determining the temperature sensor as a target temperature sensor and determining that the temperature inside the server is abnormal if the temperature of the temperature sensor exceeds a temperature threshold value.
In an exemplary embodiment, the second determining module 1102 includes:
And the first judging sub-module is used for judging whether the state data of the target fan represents the normal state of the target fan.
And the second judging sub-module is used for judging whether the target temperature sensor corresponding to the target fan is an air inlet temperature sensor or not if the state data represent that the target fan is normal.
And the first determining sub-module is used for determining the target fan as the adjusting fan if the target temperature sensor is not the air inlet temperature sensor.
In an exemplary embodiment, the first judgment submodule includes:
And the third judging sub-module is used for judging whether the rotating speed in the state data is lower than a preset rotating speed threshold value or not and judging whether the in-place signal in the state data represents that the target fan is in place or not.
And the second determining submodule is used for determining that the target fan is abnormal if the rotating speed is lower than the rotating speed threshold value and/or the presence signal indicates that the target fan is not in place.
And the third determining submodule is used for determining that the target fan is normal if the rotating speed is greater than or equal to the rotating speed threshold value and the in-place signal represents that the target fan is in place.
In an exemplary embodiment, the heat dissipating device 1100 further includes:
and the second judging module is used for judging whether the type of the target fan is double-rotor or not if the state data represents that the target fan is abnormal.
And the fourth determining module is used for determining the other fan in the double-rotor fans where the target fan is located as the adjusting fan if the type is double-rotor.
And a fifth determining module, configured to determine, according to the partition configuration data, a target fan domain in which the target fan is located if the type is not a dual rotor, and determine other fans in the target fan domain as adjustment fans.
In an exemplary embodiment, the control module 1103 includes:
and the sixth determining module is used for determining and adjusting the target rotating speed duty ratio corresponding to the fan according to the heat dissipation speed regulation parameters.
And the adjusting module is used for determining the target rotating speed according to the target rotating speed duty ratio and adjusting the rotating speed of the adjusting fan to the target rotating speed so as to radiate heat of the server.
Each of the modules in the 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, and the internal structure thereof may be as shown in fig. 12. 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 of each component in the server. 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 heat dissipation.
It will be appreciated by those skilled in the art that the structure shown in FIG. 12 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.
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 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 (ReRAM), magneto-resistive random access 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 computing, 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 description.
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 of dissipating heat, the method comprising:
under the condition that the internal temperature of the server is abnormal, determining a target fan according to the partition configuration data;
determining, in the server, an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan;
And controlling the adjusting fan to perform heat dissipation control according to the target rotating speed.
2. The method of claim 1, wherein in the event that an internal temperature anomaly of the server is detected, prior to determining the target fan from the partition configuration data, the method further comprises:
grouping fans based on position data of the fans in the server to obtain fan domains;
Establishing an association relationship between each fan and each temperature sensor according to the position data of each fan and the position data of each temperature sensor;
And constructing partition configuration data based on each fan domain and each association relation.
3. The method of claim 1, wherein in the event that an internal temperature anomaly of the server is detected, prior to determining the target fan from the partition configuration data, the method further comprises:
Acquiring the temperature of each temperature sensor in a server, and judging whether the temperature of each temperature sensor exceeds a preset temperature threshold value;
And if the temperature of the temperature sensor exceeds the temperature threshold, determining the temperature sensor as a target temperature sensor, and determining that the internal temperature of the server is abnormal.
4. The method of claim 1, wherein the determining in the server an adjustment fan based on the partition configuration data, the status data of the target fan, and the type of the target fan comprises:
Judging whether the state data of the target fan represents that the target fan is normal or not;
if the state data represent that the target fan is normal, judging whether a target temperature sensor corresponding to the target fan is an air inlet temperature sensor or not;
and if the target temperature sensor is not the air inlet temperature sensor, determining the target fan as an adjusting fan.
5. The method of claim 4, wherein said determining whether the status data of the target fan characterizes the target fan as normal comprises:
Judging whether the rotating speed in the state data is lower than a preset rotating speed threshold value or not, and judging whether an in-place signal in the state data represents the in-place of the target fan or not;
if the rotating speed is lower than the rotating speed threshold value and/or the presence signal indicates that the target fan is not in place, determining that the target fan is abnormal;
And if the rotating speed is greater than or equal to the rotating speed threshold value and the in-place signal represents that the target fan is in place, determining that the target fan is normal.
6. The method of claim 4, wherein after said determining whether the status data of the target fan characterizes the target fan as normal, the method further comprises:
If the state data represents that the target fan is abnormal, judging whether the type of the target fan is a double rotor or not;
if the type is double rotors, determining the other fan in the double-rotor fans where the target fan is located as an adjusting fan;
And if the type is not the double rotors, determining a target fan domain in which the target fan is positioned according to the partition configuration data, and determining other fans in the target fan domain as adjusting fans.
7. The method of claim 1, wherein controlling the adjustment fan to perform heat dissipation control according to a target rotational speed comprises:
determining a target rotating speed duty ratio corresponding to the adjusting fan in the heat dissipation speed regulation parameter;
And determining a target rotating speed according to the target rotating speed duty ratio, and adjusting the rotating speed of the adjusting fan to the target rotating speed so as to radiate heat of the server.
8. A heat sink apparatus, the apparatus comprising:
The first determining module is used for determining a target fan according to the partition configuration data under the condition that the internal temperature of the server is abnormal;
a second determining module configured to determine an adjustment fan in the server based on the partition configuration data, the status data of the target fan, and the type of the target fan;
and the control module is used for controlling the adjusting fan to perform heat dissipation control according to the target rotating speed.
9. 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 7 when the computer program is executed.
10. 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 7.
CN202410405975.6A 2024-04-03 2024-04-03 Heat dissipation method, heat dissipation device, computer equipment and storage medium Pending CN118192777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410405975.6A CN118192777A (en) 2024-04-03 2024-04-03 Heat dissipation method, heat dissipation device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410405975.6A CN118192777A (en) 2024-04-03 2024-04-03 Heat dissipation method, heat dissipation device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118192777A true CN118192777A (en) 2024-06-14

Family

ID=91406693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410405975.6A Pending CN118192777A (en) 2024-04-03 2024-04-03 Heat dissipation method, heat dissipation device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118192777A (en)

Similar Documents

Publication Publication Date Title
US20080313492A1 (en) Adjusting a Cooling Device and a Server in Response to a Thermal Event
US10331185B2 (en) Temperature trend controlled cooling system
CN113133286B (en) Heat dissipation control method, device, equipment and storage medium
CN108571460A (en) Fan rotational frequency control method and device
US8963465B2 (en) Multi-pressure-quantity fan control system and computer system having the same
US11500435B2 (en) Information handling system having regional cooling
US11874714B2 (en) Thermal control and throttling for electronic devices including controllers
US10178811B2 (en) Rotation control method, information processing device, and non-transitory computer-readable recording medium storing rotation control program
US20140035562A1 (en) Method, identification system, and electronic system for identifying a fan type of a fan
US20080306633A1 (en) Optimized power and airflow multistage cooling system
CN105371420A (en) Refrigeration control method, device and system
CN114690838A (en) Method and apparatus for power management
US9854716B2 (en) System and method of controlling an air mover
US20190370066A1 (en) Technologies for providing predictive thermal management
CN106292954A (en) Fan rotational frequency control method and device
CN114234400B (en) Multi-module unit control method, device, computer equipment and storage medium
CN117570049A (en) Fan control method and device, baseboard management controller and server
TWI426182B (en) System and method for controlling fans
JP2014165303A (en) Electronic device, cooling method, and program
CN118192777A (en) Heat dissipation method, heat dissipation device, computer equipment and storage medium
US9176564B2 (en) Systems and methods for thermal control of a storage enclosure
CN116954334A (en) Heat dissipation control method, device, server, computer equipment and storage medium
CN116890596A (en) Vehicle cooling system, vehicle thermal management system, vehicle, control method and product
CN116360566A (en) Fan speed regulating method, device, computer equipment, storage medium and program product
CN106762771B (en) Fan control system, cooling system and control method for fan

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination