Server heat dissipation control method and device, electronic equipment and computer readable storage medium

By identifying the failure of the power fan firmware and performing online upgrades, the reversal or shutdown of the server power fan caused by the suction of the system fan is solved, ensuring the stable operation of the server, reducing maintenance costs, and improving the stability and reliability of the server.

CN120491785APending Publication Date: 2025-08-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510641203.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-19
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The server power fan is reversed or stopped due to the strong suction force of the system fan, forming an air volume vacuum zone, resulting in the disappearance of power supply redundancy, affecting the stable operation of the server, and the existing solutions increase maintenance costs or cannot meet the increased heat dissipation needs.

Method used

By identifying the firmware failure status of the power fan, starting the power backup pulse width modulation control mode, combining the firmware compatibility upgrade information and patch repair library, online upgrades are carried out to ensure the normal operation of the fan and avoid server power down caused by firmware failure.

Benefits of technology

It realizes the normal state of the server cooling equipment in the shortest time, reduces maintenance costs, improves the stability and reliability of the server, and avoids the need for fan replacement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120491785A_ABST
    Figure CN120491785A_ABST
Patent Text Reader

Abstract

The invention discloses a server heat dissipation control method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of servers. The method comprises the steps of obtaining matched power supply fan running state data according to power supply and system fan layout information of each server and heat dissipation directions of a system fan and the power supply fan, and determining whether power supply fan firmware is invalid or not. When a power supply fan firmware online upgrading command is received, a power supply standby pulse width modulation control mode is started, and firmware compatibility upgrading information is determined according to a power supply fan firmware running version, air duct configuration information, fault information and hardware compatibility of a target server; and determining a firmware online upgrading mode according to the firmware compatibility upgrading information, the power supply fan firmware backup information state, the patch repair library and the historical power supply fan firmware version. According to the method and the device, the problem that server power redundancy disappears in related technologies can be solved, and failed power fan firmware can be accurately and timely upgraded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and in particular to a server heat dissipation control method, device, electronic device, and computer-readable storage medium. Background Art

[0002] To meet server cooling requirements, servers currently utilize redundant power supply configurations. However, when the server's power supply and system fan are deployed on the same side, during single-side power supply replacement and maintenance, or when switching power lines in the computer room, the strong suction force of the server's system fan can cause the power supply fan to reverse faster than its anti-reversal capability, eliminating the server's power redundancy. Furthermore, when the system fan and the power supply fan dissipate heat in opposite directions, the strong suction force of the system fan can lead to insufficient airflow in the power supply fan duct, creating an air vacuum. This can affect proper power supply cooling, cause the power supply fan firmware to fail, and necessitate fan replacement. This can also lead to a loss of server power redundancy, causing the server system to power down and shut down, compromising stable server operation. Summary of the Invention

[0003] The present invention provides a server heat dissipation control method, device, electronic device and computer-readable storage medium, which accurately identify the failure status of power supply fan firmware, timely upgrade the power supply fan firmware online, minimize the problem of server power redundancy loss caused by power supply fan firmware failure, and improve server stability.

[0004] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0005] In one aspect, the present invention provides a server heat dissipation control method, comprising:

[0006] According to the power supply and system fan layout information of each server, and the heat dissipation direction of the system fan and the power supply fan, matching power supply fan operation status data is obtained from the corresponding server, and according to the power supply fan operation status data, it is determined whether there is a target server with failed power supply fan firmware;

[0007] When a power supply fan firmware online upgrade command is detected, a power supply standby pulse width modulation control mode is started to prevent the power supply fan of the target server from stopping;

[0008] Determine the power supply fan firmware compatibility upgrade information based on the target server's power supply fan firmware running version, air duct configuration information, fault information, and hardware compatibility; and determine the target server's power supply fan firmware upgrade method based on the power supply fan firmware compatibility upgrade information, the target server's power supply fan firmware backup information status, patch repair library, and historical power supply fan firmware versions, so as to perform online upgrade of the target server's power supply fan firmware according to the firmware upgrade method;

[0009] The patch repair library includes hotfixes corresponding to different power supply fan firmware failure causes.

[0010] Another aspect of the present invention provides a server heat dissipation control device, comprising:

[0011] The operation data collection module is used to obtain the matching power supply fan operation status data from the corresponding server based on the power supply and system fan layout information of each server and the heat dissipation direction of the system fan and power supply fan;

[0012] A firmware failure detection module is used to determine whether there is a target server with a power supply fan firmware failure based on the power supply fan operation status data;

[0013] A firmware upgrade module is used to start the power supply standby pulse width modulation control mode when a power supply fan firmware online upgrade command is detected to prevent the power supply fan of the target server from stopping; determine the power supply fan firmware compatibility upgrade information based on the power supply fan firmware running version, air duct configuration information, fault information and hardware compatibility of the target server, and determine the firmware upgrade method of the power supply fan of the target server based on the power supply fan firmware compatibility upgrade information, the power supply fan firmware backup information status of the target server, the patch repair library and the historical power supply fan firmware version, so as to online upgrade the power supply fan firmware of the target server according to the firmware upgrade method; wherein, the patch repair library includes hot modification patches corresponding to different power supply fan firmware failure causes.

[0014] The present invention also provides an electronic device comprising a memory and a processor, wherein the processor is configured to implement the steps of any of the above-mentioned server heat dissipation control methods when executing a computer program stored in the memory.

[0015] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of any of the above-mentioned server heat dissipation control methods are implemented.

[0016] The advantages of the technical solution provided by the present invention are that the server's heat dissipation architecture layout is determined based on the server's power supply and system fan layout information and the fan heat dissipation direction. According to the heat dissipation architecture layout, the server's operating status data under the current heat dissipation scenario can be better fed back, thereby accurately and timely identifying whether there is a power fan firmware failure in different situations, thereby avoiding the situation where the strong suction force of the system fan under different heat dissipation architectures causes the power fan to reverse or stop or form an air volume vacuum area, resulting in the loss of server power redundancy. When the power fan firmware fails, the power backup pulse width modulation control mode is activated to prevent the power fan from stopping, which can ensure the stable operation of the server. By combining firmware compatibility upgrade information, patch repair library and historical power fan firmware versions, the server's power fan firmware is timely upgraded online, which can ensure that the heat dissipation device in the server is restored to normal status in the shortest time, effectively reducing the phenomenon of fans being normal but needing to be replaced due to firmware failure. While ensuring the heat dissipation requirements of the server, the maintenance cost of the server heat dissipation device is reduced, which is conducive to improving the stability and reliability of the server. In addition, the present invention also provides a corresponding implementation device, electronic device and computer-readable storage medium for the server heat dissipation control method, further making the method more practical. The device, electronic device and computer-readable storage medium have corresponding advantages. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0018] Figure 1 A schematic flow chart of a server heat dissipation control method provided by the present invention;

[0019] Figure 2 A flow chart of another server heat dissipation control method provided by the present invention;

[0020] Figure 3 A flow chart of another server heat dissipation control method provided by the present invention;

[0021] Figure 4 A schematic diagram of the hardware structure of an exemplary application scenario of the server heat dissipation control method provided by the present invention;

[0022] Figure 5 This is a structural framework diagram of an exemplary embodiment of the server heat dissipation control device provided by the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. The terms "first," "second," "third," "fourth," etc. in the specification and the accompanying drawings are used to distinguish different objects rather than to describe a specific order. Furthermore, the terms "including" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. The term "exemplary" means "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.

[0024] To improve the server's cooling performance and ensure balanced fan airflow distribution, the server's power supply and system fans are deployed on the same side. The server's system fan operates through two airflow paths: a primary cooling airflow loop between the system fan and the server's internal components, which is used to meet the cooling needs of the server's entire components. The other is a secondary airflow loop formed between the system fan and the air duct inside the power supply. The system fan creates a suction effect on the air duct inside the power supply, in a direction that is contrary to the active cooling direction of the power supply fan. When the server is operating in extreme operating conditions and the system fan is nearing or reaching its maximum speed, replacing or repairing one of the power supplies is likely to cause the power supply fan to rotate in reverse.

[0025] Currently, server power supplies use a 1+1 redundant configuration to meet the server's cooling needs. However, when the server's power supply and system fan are deployed on the same side, during single-side power supply replacement and maintenance, or when the power supply lines in the computer room are switched, the power supply fan may reverse or stop due to insufficient anti-reversal capability, causing the power supply fan's firmware to fail and require replacement. Furthermore, if the power supply fan and the system fan have opposite cooling directions, the system fan's strong suction may cause insufficient air intake for the power supply fan, creating an air vacuum. This can also trigger overtemperature protection, causing the server to lose power and lose redundant power. Furthermore, if the server's power supply is non-redundant, the server may experience a sudden power outage under complex operating conditions, leading to program interruptions and data loss, posing a major safety hazard in the computer room.

[0026] In order to prevent the server system from powering off and shutting down and to ensure the stable operation of the server, the relevant technology adds an air guide cover on the gold finger side of the power supply. By reducing the suction effect of the system fan on the power supply, the reversal speed of the power supply fan is slowed down, ensuring that it can start smoothly with its own anti-reversal ability when the power is restored. It can also effectively regulate the amount of air suction from the system fan to the power supply air duct to ensure that the power supply maintains the necessary cooling air volume and ensure the stable operation of the server. Although this method can prevent firmware damage caused by fan reversal or insufficient air volume when the server power supply is restarted for maintenance to a certain extent, it will increase the server R&D and production costs. As the demand for server heat dissipation control continues to grow, it may be necessary to introduce a system fan with a larger air volume. At this time, the original air guide cover needs to be re-evaluated, developed, and even produced, which greatly increases the server maintenance cost and may not meet the power supply heat dissipation requirements.

[0027] In view of this, the present invention determines the server's heat dissipation architecture layout according to the server's power supply and system fan layout information and the fan heat dissipation direction, selects the operating status data that can better feedback the current heat dissipation scenario according to the heat dissipation architecture layout, and determines whether there is a target server with invalid power fan firmware according to the power fan operating status data; when a power fan firmware online upgrade command is detected, the power standby pulse width modulation control mode is started to prevent the power fan of the target server from stopping; according to the target server's power fan firmware running version, air duct configuration information, fault information and hardware compatibility, the power fan firmware compatibility upgrade information is determined, and according to the power fan firmware compatibility upgrade information, the target server's power fan firmware backup information status, patch repair library and historical power fan firmware version, the target server's power fan firmware upgrade method is determined, so as to perform online upgrade of the target server's power fan firmware according to the firmware upgrade method; it can solve the server power replacement and maintenance or computer room server power supply line switching, involving the server single-side power re-powering action, when the server works in complex working conditions and the system fan speed approaches or reaches full speed. When the server power supply and system fans are deployed on the same side, the server power supply fan may reverse at a speed exceeding its anti-reversal capability due to the strong suction force of the system fan, causing the fan to continuously reverse or stop rotating. This solves the problem of insufficient airflow in the power supply fan duct due to excessive suction force from the system fan in server architectures where the power supply fan and system fan are actively dissipating heat in opposite directions. This creates an air vacuum within the power supply, preventing the fan from properly dissipating airflow. This can lead to the fan firmware becoming invalid and requiring fan replacement. This effectively prevents server power supply fan firmware failures, requiring manual replacement of the power supply, resulting in a loss of redundant power supply, and in severe cases, causing server system power outages and high maintenance costs for power supply replacement. It also addresses the issue of requiring repeated evaluation, development, and production of air scoops to meet increasing cooling requirements, as servers introduce higher-volume system fans. Furthermore, it addresses the issue of the air scoop design failing to meet the basic cooling requirements of the server power supply under extreme cooling requirements.

[0028] After introducing the technical solution of the present invention, various non-limiting embodiments of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments. Figure 1 , Figure 1 This is a flow chart of a server heat dissipation control method provided in this embodiment. This embodiment may include the following contents:

[0029] S101: According to the power supply and system fan layout information of each server, and the heat dissipation direction of the system fan and the power supply fan, matching power supply fan operation status data is obtained from the corresponding server, and it is determined whether there is a target server with failed power supply fan firmware based on the power supply fan operation status data.

[0030] Among them, the power supply and system fan layout information refers to whether the power supply and system fan of the server are deployed on the same side or on both sides. The heat dissipation direction of the system fan and the power supply fan includes two types: the heat dissipation direction of the system fan and the power supply fan is the same and the heat dissipation direction of the system fan and the power supply fan is opposite. Combined with the situation that causes the power supply fan firmware of the server to fail, the heat dissipation architecture layout of the server of the present invention includes two types: the power supply and the system fan of the server are deployed on the same side, and the power supply and the system fan of the server are deployed on different sides and the heat dissipation direction of the system fan and the power supply fan is opposite. These two heat dissipation architecture layout situations correspond to different data reflecting whether the power supply fan firmware has failed. The power supply fan operation status data includes important alarm information such as fan speed, power supply duct airflow, power supply fan firmware version, etc. Therefore, this step will first identify which heat dissipation architecture layout situation it is, and then obtain the relevant data that causes the power supply fan firmware to fail under the heat dissipation architecture layout situation according to the heat dissipation architecture layout situation, that is, the power supply fan operation status data of this step. Among them, the heat dissipation equipment of the server includes the power supply fan and the system fan. The target server refers to the server whose power supply fan firmware has failed as identified in this step.

[0031] S102: When a power supply fan firmware online upgrade command is detected, a power supply standby pulse width modulation control mode is started to prevent the power supply fan of the target server from stopping.

[0032] When a power supply fan firmware failure is detected, a power supply fan firmware online upgrade command is generated. Following this command, the corresponding power supply fan firmware online upgrade process is initiated. To ensure server cooling requirements, the power supply backup PWM (Pulse Width Modulation) control mode is enabled during the firmware upgrade to prevent fan stalling and ensure stable server operation. The power supply backup PWM control mode controls fan speed by adjusting the duty cycle of the voltage pulses, ensuring that the PWM signal duty cycle never falls below the fan's minimum start / maintain threshold, such as 20%-30%.

[0033] S103: Determine the power supply fan firmware compatibility upgrade information based on the target server's power supply fan firmware running version, air duct configuration information, fault information, and hardware compatibility; and determine the target server's power supply fan firmware upgrade method based on the power supply fan firmware compatibility upgrade information, the target server's power supply fan firmware backup information status, patch repair library, and historical power supply fan firmware versions, so as to perform online upgrade of the target server's power supply fan firmware according to the firmware upgrade method.

[0034] In this embodiment, the power supply fan firmware operating version refers to the current firmware version of the target server's power supply fan, which can be obtained, for example, through the baseboard management controller (BMC) or manufacturer tools. Air duct configuration information refers to the target server's server cooling design information and fan control logic. Server cooling design information may include, for example, air duct type (horizontal / vertical / hybrid), fan layout (redundant configuration, N+1 or N+N), and cooling requirements (estimated based on load type and power consumption). Fan control logic may include, for example, temperature sensor location and preset fan curves (silent mode, performance mode, custom policy). Fault information may include, for example, fan stall events (time, trigger conditions, log code), speed fluctuations or alarms (such as PWM signal abnormalities, temperature exceeding limits), and power module-related errors (such as overcurrent, overtemperature, and communication interruption). Hardware compatibility includes whether the hardware models of the power supply model, fan model, motherboard, and BMC firmware version match, whether the new power supply fan firmware operating version supports the current hardware combination, and the dependencies of the new power supply fan firmware operating version, such as whether the BMC or BIOS firmware needs to be upgraded simultaneously. The power supply fan firmware compatibility upgrade information may include, for example, that the current version has serious vulnerabilities (such as fan stalling) and needs to be upgraded, that the new version of the firmware optimizes heat dissipation efficiency and is recommended to be upgraded, and that the new firmware version is incompatible with the hardware and is prohibited from being upgraded. The power supply fan firmware backup information refers to the data of the server's power supply fan firmware that is pre-backed up in different storage partitions. The power supply fan firmware backup information data refers to whether the power supply fan firmware backup information can be used normally. The patch repair library includes hot modification patches corresponding to different power supply fan firmware failure causes. The power supply fan firmware failure causes and corresponding repair solutions under historical circumstances of the target server can be obtained, and a corresponding relationship between the two is established to construct a patch repair library. Of course, hot modification patches for repairing different power supply fan firmware failure causes can also be learned through machine learning algorithms, which does not affect the implementation of the present invention. The firmware upgrade method includes whether to enable the power supply fan firmware backup information, use the patch repair library to repair the current power supply fan firmware, or use the historical power supply fan firmware version to upgrade the power supply fan firmware.

[0035] In the technical solution provided in this embodiment, the server's heat dissipation architecture layout is determined based on the server's power supply and system fan layout information and the fan heat dissipation direction. Based on the heat dissipation architecture layout, the operating status data that can better feedback the current heat dissipation scenario is selected, so that it can accurately and timely identify whether there is a power supply fan firmware failure in different situations, thereby avoiding the situation where the strong suction force of the system fan under different heat dissipation architectures causes the power supply fan to reverse or stop or form an air volume vacuum area, resulting in the loss of server power redundancy. When the power supply fan firmware fails, the power supply backup pulse width modulation control mode is started to prevent the power supply fan from stopping, which can ensure stable operation of the server. By combining the firmware compatibility upgrade information, patch repair library and historical power supply fan firmware versions, the server's power supply fan firmware is timely upgraded online, which can ensure that the heat dissipation device in the server is restored to normal in the shortest time, effectively reducing the phenomenon that the fan is normal but needs to be replaced due to firmware failure. On the basis of ensuring the heat dissipation needs of the server, the maintenance cost of the server heat dissipation equipment is reduced, which is conducive to improving the stability and reliability of the server.

[0036] In the above embodiment, there is no limitation on how to identify whether the power supply fan firmware of a server is in an invalid state by combining the power supply fan operating status data. Based on the above embodiment, the present invention further provides an implementation method for identifying the invalid state of the power supply fan firmware of servers under different heat dissipation architecture layouts. In this embodiment, each power supply fan of each server can be separately identified in the following manner. If the power supply fan firmware of the current server is invalid, the target server is the current server. This embodiment may include the following content:

[0037] For the cooling architecture layout where the server's power supply and system fan are deployed on the same side, the power supply and system fan of the current server are determined to be deployed on the same side based on the power supply and system fan layout information of the current server. When it is detected that the server's input status is normal, that is, the input status of the server's power supply changes from the input power loss status to the input power normal status, the power supply fan speed data and power supply fan fault status information can be obtained through fan status monitoring; when it is determined based on the power supply fan speed data that the power supply fan of the current server meets the full rotation condition, and it is determined based on the power supply fan fault status information that the current server firmware is in an abnormal state, the power supply fan firmware of the current server becomes invalid, and a power supply fan firmware online upgrade command is generated. The server power supply input status can be monitored and confirmed by starting a power supply input status monitoring thread. For example, when it is detected that the power supply PSU0 (power supply identification number) of server 1 has changed from a power loss state to a normal state, a server fan status monitoring thread can be started to poll the server power supply fan speed and fault status information monitored by the power supply internal registers in real time. The server's processor, such as a CPLD (Complex Programmable Logic Device) communication bus, periodically polls the server power supply fan speed and fault status information in the power supply registers. If the polled data determines that the server power supply fan is in a firmware abnormality state and the server power supply fan speed is close to full speed, the server power supply fan firmware is confirmed to be invalid, and an online upgrade command for the server power supply firmware can be issued.

[0038] For the cooling architecture layout where the server's power supply and system fan are deployed on different sides and in opposite directions, determine that the power supply and system fan of the current server are deployed on different sides and the cooling direction of the power supply fan and system fan of the current server is opposite based on the power supply and system fan layout information and cooling direction of the current server; when the input status of the current server power supply changes from the input power loss state to the input power normal state, obtain the power supply fan speed data and power supply fan fault status information; when it is determined based on the power supply fan speed data that the current server's power supply fan meets the full rotation condition, and the current server is determined based on the power supply fan fault status information If the firmware is in an abnormal state, it is determined that the power supply fan firmware of the current server has failed due to the formation of an air volume vacuum island in the heat dissipation channel, and a power supply duct airflow monitoring command is generated; a system fan speed reduction instruction and a power supply fan status monitoring instruction are generated according to the power supply duct airflow monitoring command, and according to the system fan speed reduction instruction, the speed of the system fan of the current server is lowered, and new power supply fan fault status information is obtained again according to the power supply fan status monitoring instruction; according to the new power supply fan fault status information, it is determined that the current server is still in a fault state within the preset time period, then it is determined that the power supply duct airflow of the current server is abnormal, and a power supply fan firmware online upgrade command is generated. Among them, when the data obtained from the power register by the server fan status monitoring thread determines that the server power fan is in a firmware abnormal state and the server power fan speed is close to full speed, it can be confirmed that the server power fan has formed an air volume vacuum island in its heat dissipation channel, causing the power fan firmware to fail. The heat dissipation architecture layout also needs to confirm that the server power duct airflow is abnormal. The server power duct airflow abnormality can be confirmed through the server power duct airflow abnormality monitoring thread: first, the server system fan can be lowered, that is, a system fan speed reduction instruction is sent to the system fan, and then the server power fan fault state is eliminated during the system fan speed reduction process. If the power fan state and speed do not recover for one minute within the preset time period, it is determined that the server power fan firmware has failed, and a server power firmware online upgrade command is generated at the same time.

[0039] From the above, it can be seen that this embodiment can provide the accuracy of identifying the failure of the server's power supply fan firmware by accurately acquiring and identifying the operating status data according to different cooling architecture layouts, thereby improving the timeliness and accuracy of online upgrades of the power supply fan firmware, minimizing the problem of the loss of server power redundancy due to the failure of the power supply fan firmware, and improving the stability of the server.

[0040] In a cooling architecture layout where the server power supply and system fans are deployed on different sides and in opposite directions, abnormalities in the server power supply airflow duct can affect the accuracy of detecting server power supply fan firmware failures. Therefore, this embodiment provides a method for identifying server power supply fan firmware failures by combining high-precision power supply airflow monitoring. This method may include the following:

[0041] According to the power supply and system fan layout information and heat dissipation direction of the current server, it is determined that the power supply and system fan of the current server are deployed on different sides, and the heat dissipation direction of the power supply fan and the system fan of the current server are opposite; if the current server has a power supply fan firmware failure feature, for example, if the power supply fan speed fluctuation value of the current server is greater than a preset fluctuation threshold, such as speed fluctuation >±15%, or communication timeout, then the current server has a power supply fan firmware failure feature; based on receiving the power supply fan fault status information through a secure encrypted channel, and generating alarm level information based on the power supply fan fault status information. Then, a multi-level fault response is performed according to the power supply fan fault status information: when the fault snapshot information is generated, the power supply fan sensor channel and the system fan sensor channel are started; a system fan gradient speed reduction instruction is issued to the system fan of the current server, so that the system fan of the current server reduces the speed by reducing the preset gradient speed each time; the power supply duct pressure is monitored within the first preset abnormal time period, and when the power supply duct pressure returns to normal, the speed of the system fan is stopped from being reduced, and the speed at the current moment is maintained; if the power supply duct pressure of the target power supply still does not return to normal after the speed of the system fan is reduced to the target speed threshold, the speed of the adjacent system fan of the target power supply is increased; the power supply duct pressure is monitored within the second preset abnormal time period, and if the power supply duct pressure still does not return to normal, the power supply fan firmware is determined to be invalid, and a power supply fan firmware online upgrade command is generated.

[0042] Among them, the second preset abnormal time period includes the first preset abnormal time period, and the duration of the second preset abnormal time period is greater than the duration of the first preset abnormal time period. For example, the first preset abnormal time period is the first 30s, and the second preset abnormal time period is the first 120s. Of course, other values can also be flexibly selected, which does not affect the implementation of the present invention. The cause of the power supply fan firmware failure can be determined by referring to the abnormal information recorded in the power supply fan black box log monitored in the server power supply fan status register. Figure 2As shown, when the power supply fan firmware failure feature is detected, the power supply fan fault status information is received through a secure encrypted channel, and the alarm level is determined in combination with the power supply fan fault status information and the pre-set alarm rules, and a three-level response mechanism is initiated at the same time: the first level is the immediate response stage, in which the fault snapshot is recorded and the power supply and system fan sensing channels are started; the second level is the 30-second continuous abnormality stage, in which the system fan collaborative control is activated; the third level is the 120-second unrecovered stage, in which the generation of the firmware online upgrade instruction is triggered.

[0043] To accurately identify airflow conditions within the power supply, a high-precision Pitot tube array can be integrated at the server power supply outlet. This array measures dynamic air pressure and flow within the power supply with an accuracy of ±0.5%. The server monitors fan operating status using a dual CPLD and PMBus (Power Management Bus) bus, providing real-time system fan speed readings and adaptive ±10 RPM (revolutions per minute) error compensation. If the server power supply's internal airflow data remains abnormal for 30 seconds, a speed reduction command can be issued to the server's system fan via the server's CPLD and PMBus communication buses. The server's system fan speed is reduced in 5% steps, for example, by 5% each time, to a minimum of 50% ± the fluctuation value of the server's system fan speed before the fault. For example, to prevent system cooling fluctuations and ensure server cooling requirements, the system fan speed regulation process can dynamically adjust the speed reduction curve using a PID control algorithm. If the air pressure returns to normal after three consecutive sampling cycles, the speed reduction is stopped and the current speed is maintained. If reducing the speed to the preset target speed threshold is ineffective, the system fan speed adjacent to the power supply is temporarily increased to break the blockage in the power supply fan's airflow. If the monitored airflow data within the server power supply returns to the normal range during the speed adjustment process, the system fan stops reducing speed and maintains the current speed.

[0044] As can be seen from the above, this embodiment achieves high-precision monitoring of power duct airflow through three-level fault response, improves the accuracy of identifying failures of the server's power fan firmware, and further improves the timeliness and accuracy of online upgrading of the power fan firmware.

[0045] The above embodiment does not limit how to increase the fan speed of a system adjacent to a power supply. Based on the above embodiment, the present invention further provides a method for configuring the fan speed of a system adjacent to a power supply, which may include the following:

[0046] Collect statistics on all system fans of the current server and implement multiple differentiated speed settings for each system fan based on the power supply fan fault handling policy of the target power supply of the current server, so as to achieve differentiated wind force driving for the fan blades of the target power supply.

[0047] The power supply fan fault handling strategy simulates multiple sets of differentiated speed settings. For example, consider a server with four power supplies (PSU1, PSU2, PSU3, and PSU4) arranged horizontally, and six sets of fans (Fan1, Fan2, Fan3, Fan4, Fan5, and Fan6) arranged horizontally. If the internal airflow data of PSU2 is monitored abnormally and reducing the system fan speed to the target speed threshold is ineffective, the PSU2 fan fault handling strategy will be used to implement multiple sets of differentiated speed settings for each of the six fan sets, thereby achieving differentiated wind force drive for the PSU2 fan blades. This temporarily changes the pressure distribution within the chassis, forcing adjacent fans to accelerate to balance the airflow. This, in turn, uses reverse boost mode to temporarily increase the speed of the system fans adjacent to the power supply, breaking the blockage in the power supply fan air duct.

[0048] From the above, it can be seen that this embodiment achieves high-precision monitoring of the power supply air duct airflow through three-level fault response, improves the accuracy of identifying the failure of the server's power supply fan firmware, and accurately increases the speed of the system fan adjacent to the power supply by real-time calculation of the optimal air duct strategy, effectively breaking the blockage of the power supply fan air duct, which can effectively improve the accuracy of identifying the failure of the server's power supply fan firmware, and further improve the timeliness and accuracy of online upgrades of the power supply fan firmware.

[0049] The above embodiment does not impose any limitation on how to determine the firmware upgrade method for the power supply fan of the target server. Based on the above embodiment, the present invention further provides an implementation method for online upgrading of the power supply fan firmware, which may include the following:

[0050] When the power supply fan firmware backup information of the target server located in the backup partition is in normal state, the power supply fan firmware of the target server is switched to the power supply fan firmware backup information of the backup partition; during the operation of the power supply fan firmware backup information of the target server, if the power supply fan state of the target server has not been restored to normal state, the corresponding target hot repair patch is matched in the patch repair library according to the cause of the power supply fan firmware failure of the target server, and the power supply fan firmware of the target server is repaired based on the target hot repair patch; if the power supply fan state of the target server has not been restored to normal, the power supply fan firmware of the target server is upgraded online according to the power supply fan firmware compatibility upgrade information; if the power supply fan state of the target server has not been restored to normal, the power supply fan firmware version automatic rollback mode of the target server is started, and the power supply fan firmware of the target server is upgraded online using the historical power supply fan firmware version.

[0051] In this embodiment, a server power supply fan firmware A / B active-active storage unit can be pre-configured in the server, specifically partitioned to store the power supply fan firmware and power supply fan firmware backup data. To further ensure timely online upgrades of the power supply fan firmware, a server power supply fan firmware blockchain distributed storage unit can also be configured. The power supply fan firmware blockchain distributed storage unit utilizes blockchain multi-point cloud storage, storing the patch repair library in the server power supply fan firmware blockchain distributed storage unit. For example, the historical power supply fan firmware versions of the target server can be obtained from the server power supply fan firmware blockchain distributed storage unit. The upgrade process based on historical power supply fan firmware versions can include: obtaining the power supply fan firmware version previous to the current power supply fan firmware version of the target server from the server power supply fan firmware blockchain distributed storage unit; performing an online upgrade of the power supply fan firmware of the target server using the previous power supply fan firmware version; if the power supply fan status of the target server does not return to normal after the upgrade is completed, obtaining the power supply fan firmware version previous to the previous power supply fan firmware version until the target server's power supply fan status is rolled back to the factory historical version; if the power supply fan status of the target server does not return to normal after the target server's power supply fan firmware is rolled back to the factory historical version, generating a server power supply repair and replacement instruction. Furthermore, in order to ensure that the server's cooling requirements are met during the firmware upgrade process, the speed of the target server's power fan can be switched to a preset pulse width modulation duty cycle, which can be, for example, 50% ± the fluctuation value PWM duty cycle.

[0052] Among them, such as Figure 3As shown, when a server power supply fan firmware online upgrade command is detected, artificial intelligence (AI) can be used to analyze the current server power supply fan firmware version, air duct configuration, fault type, and hardware compatibility, providing real-time power supply fan firmware compatibility upgrade information. The system then reads the operating status of the server power supply fan firmware A / B active-active storage unit. If the system meets the power supply fan firmware compatibility upgrade policy, it can hot-switch to the other partition and monitor whether the power supply fan status has returned to normal. If the power supply fan status has not returned to normal, the system analyzes the cause of the power supply fan firmware failure using the power supply fan operating status data. A hotfix for the faulty fan firmware, archived via a lightweight blockchain node in the server power supply fan firmware blockchain distributed storage unit, is then invoked for a one-click repair. To enhance security, the hotfix version's digital fingerprint, timestamp, and signature are further verified before the repair to ensure firmware version compatibility. After the hotfix is complete, the system monitors whether the power supply fan status has returned to normal. If it still does not return to normal, indicating that the hotfix is invalid, the system upgrades the power supply fan firmware to the latest stable version recommended by the power supply fan firmware compatibility upgrade information and monitors whether the power supply fan status has returned to normal. If the power supply fan status does not return to normal, the system automatically rolls back the power supply fan firmware to a safe 50% PWM duty cycle speed mode. The system then retrieves the last stable version from the server's power supply fan firmware blockchain distributed storage unit and re-flashes the firmware until it reaches the factory default version. If the factory default version still fails to restore the power supply fan to normal operation, a cause-effect analysis report is automatically sent to the O&M platform, alerting the server's power supply that repair or replacement is required.

[0053] As can be seen from the above, this embodiment designs multiple firmware upgrade methods according to the severity of the firmware fault, realizing zero-trust security upgrade and second-level fault self-healing of the server power fan firmware, which is conducive to restoring the server's cooling equipment to normal state as quickly as possible and ensuring the stable operation of the server.

[0054] In conjunction with the specific application environment architecture or specific hardware architecture on which the execution of the server heat dissipation control method depends, the specific application environment architecture or specific hardware architecture is described here. Figure 4 Some possible application scenarios involved in the technical solution of the present invention are introduced by way of example, which may include the following:

[0055] The heat dissipation control system may include an operation and maintenance control machine, at least one operation and maintenance mobile terminal, and at least one server. The operation and maintenance control machine is the control machine for the user's operation and maintenance computer room. It deploys a server power supply fan intelligent fault-tolerant firmware upgrade system. The server power supply fan intelligent fault-tolerant firmware upgrade system implements the steps of the server heat dissipation control method described in the above embodiment through a server power supply fan monitoring module 1, a server power supply fan intelligent fault-tolerant firmware management module 2, and a server power supply airflow monitoring module 3 deployed on each server. Each server is redundantly powered by a 1+1 power supply (PSU0, PSU1). The server power supply fan monitoring module 1 is configured in each server system and automatically runs and begins operation after each server is successfully networked to the server power supply fan intelligent fault-tolerant firmware upgrade system and powered on. The server power supply fan monitoring module 1 may include a server power supply fan status monitoring unit 11 and a server power supply fan status determination unit 12. The server power supply fan intelligent fault-tolerant firmware management module 2 is configured in the server power management system and automatically runs and begins operation after each server is successfully networked to the server power supply fan intelligent fault-tolerant firmware upgrade system and powered on. The server power supply fan intelligent fault-tolerant firmware management module 2 includes a server power supply fan firmware version compatibility analysis unit 21, a server power supply fan firmware A / B active-active storage unit 22, and a server power supply fan firmware blockchain distributed storage unit 23. The server power supply airflow monitoring module 3 is integrated into each server system and automatically runs and prepares for operation after each server is successfully networked to the server power supply fan intelligent fault-tolerant firmware upgrade system and powered on. This module utilizes an edge computing + cloud collaborative architecture and includes a power supply internal airflow monitoring unit 31, a system fan monitoring unit 32, a dynamic air duct modeling engine 33, and a firmware health prediction module 34. When it is detected that the power supply and system fans are deployed on opposite sides and dissipate heat in opposite directions, real-time simulation using intelligent fluid dynamics (CFD) techniques can be performed to predict whether airflow vacuum islands are likely to form. Each operation and maintenance mobile terminal is interconnected with the server power fan intelligent fault-tolerant firmware upgrade system in real time through the local area network, ensuring the immediate transmission and processing of information. The operating status of each server can be displayed through a visual interface. This allows the operation and maintenance personnel in the user's operation and maintenance room to monitor the operating status of each server power fan in real time and comprehensively through the visual interface on the dedicated operation and maintenance mobile terminal, including important alarm information such as fan speed, power duct airflow, and power fan firmware version.

[0056] The server power fan intelligent fault-tolerant firmware upgrade system receives and approves networking requests from each server. It then communicates with server power fan monitoring module 1, server power fan intelligent fault-tolerant firmware management module 2, and server power airflow monitoring module 3 within the server system. This ensures that each server's server power fan monitoring module 1, server power fan intelligent fault-tolerant firmware management module 2, and server power airflow monitoring module 3 are properly booted. Once the server power fan intelligent fault-tolerant firmware upgrade system successfully connects with each module, it begins operation. Server power fan monitoring module 1, intelligent fault-tolerant firmware management module 2, and server power airflow monitoring module 3 work closely together to provide comprehensive safety protection for the power fan during critical moments such as server power supply replacement and maintenance, power line switching in the computer room, or when powering back on a single server power supply.

[0057] In this embodiment, the server power supply fan intelligent fault-tolerant firmware upgrade system retrieves and determines the power supply and system fan layout information of each server stored on the computer room control machine. For the case where the server power supply and system fan are on the same side, because the server power supply and system fan have the same active heat dissipation direction under this architecture and there is no risk of forming an air volume vacuum island inside the power supply, the server power supply fan monitoring module 1 and the server power supply fan intelligent fault-tolerant firmware management module 2 are triggered to start and enter the working state. When the server power supply and system fan are not on the same side, and the server power supply and system fan have opposite active heat dissipation directions, because there is a risk of forming an air volume vacuum island inside the power supply, the server power supply fan monitoring module 1, the server power supply fan intelligent fault-tolerant firmware management module 2, and the server power supply airflow monitoring module 3 are triggered to start and enter the working state at the same time. The following describes how the server power supply fan monitoring module 1, the server power supply fan intelligent fault-tolerant firmware management module 2, and the server power supply airflow monitoring module 3 work together to achieve heat dissipation control of the server:

[0058] After receiving server power supply and system fan layout information from the server power supply fan intelligent fault-tolerant firmware upgrade system, server power supply fan monitoring module 1 initiates monitoring and confirms the server power supply input status in the scenario where the server power supply and system fan are on the same side. For example, if server power supply PSU0 is detected to have normal input power after a power loss state, server fan status monitoring unit 11 polls the server power supply fan's speed and fault status information monitored by the power supply's internal registers in real time. The server CPLD communication bus periodically polls the server power supply fan's speed and fault status information in the power supply registers and transmits the polled data to server power supply fan status determination unit 12. If server power supply fan status determination unit 12 receives and determines that the server power supply fan is in a firmware abnormal state and the server power supply fan speed is close to full speed, server power supply fan status determination unit 12 confirms that the server power supply fan firmware has failed and sends the server power supply fan firmware failure information to server power supply fan monitoring module 1. Server power supply fan monitoring module 1 then sends an online upgrade command for the server power supply firmware to server power supply fan intelligent fault-tolerant firmware management module 2. For the scenario where the server power supply and system fan are not on the same side and the server power supply and system fan are arranged in opposite directions of active heat dissipation, when the server power supply fan status determination unit 12 of the server power supply fan monitoring module 1 receives and determines that the server power supply fan is in a firmware abnormal state and the server power supply fan speed is close to full speed, the server power supply fan status determination unit 12 confirms that the server power supply fan forms an air volume vacuum island due to its heat dissipation channel, causing the power supply fan firmware to fail, and then sends the server power supply fan firmware failure information to the server power supply fan monitoring module 1. At this time, the server power supply fan intelligent fault-tolerant firmware management module 2 will send a server power supply airflow monitoring command to the server power supply airflow monitoring module 3 to confirm that the server power supply airflow is abnormal: the server power supply airflow monitoring module 3 issues a speed reduction command to the server system fan, and monitors in real time whether the server power supply fan fault state is eliminated. If the power supply fan state and speed do not recover after one minute, it is determined that the server power supply fan firmware has failed, and the server power supply firmware online upgrade command is sent to the server power supply fan intelligent fault-tolerant firmware management module 2.

[0059] If the power supply internal airflow monitoring unit 31 detects a firmware failure in the power supply fan, it receives the fault information via a secure encrypted channel, determines the alarm level, and simultaneously initiates a three-level fault response mechanism: immediate response, 30-second continuous abnormality, and 120-second non-recovery. The power supply internal airflow monitoring unit 31 uses a high-precision Pitot tube array at the server power supply outlet to measure the dynamic air pressure and flow within the power supply with an accuracy of ±0.5%. The system fan monitoring unit 32 uses a CPLD and PMBus dual bus to monitor the system fan speed in real time, with adaptive ±10 RPM (revolutions per minute) error compensation. When the internal airflow data of the server power supply is in a continuous abnormal stage for 30 seconds, the internal airflow monitoring unit 31 of the power supply sends a speed reduction command to the server fan through the server CPLD and PMBus dual communication buses. The server system fan speed is reduced in a 5% gradient step-by-step manner, and the lowest speed is set to 50% of the server system fan speed before the fault state; the speed regulation process is combined with the PID control algorithm to dynamically adjust the speed reduction curve to avoid system heat dissipation oscillation; if the wind pressure returns to normal after 3 consecutive sampling cycles, the speed reduction is stopped and the current speed is maintained. If the speed reduction to the target speed threshold is still ineffective, the dynamic air duct modeling engine 33 is started to calculate the optimal air duct strategy in real time, adopt the reverse boost mode, and temporarily increase the speed of the system fan adjacent to the power supply to break the power supply fan air duct blockage. During the speed regulation process, if the internal airflow data of the server power supply is monitored to return to the normal range, it is fed back to the server system fan monitoring unit 32 to stop the process and maintain the current server system speed. If the power supply fan enters the 120-second non-recovery phase (, the firmware health prediction module 34 determines that the power supply fan firmware is invalid and immediately issues an online upgrade command for the server power supply firmware to the server power supply fan intelligent fault-tolerant firmware management module 2. During the firmware upgrade, the power supply standby PWM control mode is enabled to prevent the fan from stalling. After the server power supply fan is fully restored to normal after the online upgrade, the server power supply airflow monitoring module 3 exits the control of the server system fan. The firmware health prediction module 34 is a subunit of the server power supply airflow monitoring module 3. It works when the internal airflow monitoring unit 31 of the power supply detects the power supply fan firmware failure feature and starts After the three-level response mechanism is activated, a power supply firmware online upgrade command is issued to the server power supply fan intelligent fault-tolerant firmware management module 2 after the power supply fan enters the 120-second non-recovery phase. After the three-level response mechanism is activated, the server power supply fan monitoring module 1 monitors all three response phases. When the firmware health prediction module 34 receives a signal from the server power supply fan monitoring module 1 that the power supply fan has entered the 120-second non-recovery phase, it determines that the power supply fan firmware has failed. This determination of firmware failure is based on the assumption that the power supply fan status has not recovered during the immediate response phase and the 30-second continuous abnormality phase. The power supply fan firmware is deemed failed when it enters the 120-second non-recovery phase.

[0060] Among them, after receiving the server power online upgrade command sent by the server power fan monitoring module 1, the server power fan intelligent fault-tolerant firmware management module 2 can first analyze the current server power fan firmware running version, air duct configuration, fault type and hardware compatibility through the server power fan firmware version compatibility analysis unit 21, and provide the power fan firmware compatibility upgrade information in real time. Then read the working status of the server power fan firmware A / B active-active storage unit 22, and when it is determined that it meets the power fan firmware compatibility upgrade policy, hot switch to another partition to monitor whether the power fan status has returned to normal. If the power fan status has not returned to normal, the firmware health prediction module 34 in the server power airflow monitoring module 3 is used to analyze the cause of the power fan firmware failure, and call the server power fan firmware blockchain distributed storage unit 23 through the lightweight blockchain node archive to adapt the hot repair patch of the faulty fan firmware for one-click repair. If the monitored power fan status has not returned to normal, call the latest stable firmware version of the power fan recommended in the power fan firmware compatibility upgrade information to complete the power fan firmware upgrade, and monitor whether the power fan status has returned to normal. If the power supply fan status does not return to normal, the power supply fan firmware automatic rollback mode is activated, and the previous stable version is extracted from the server power supply fan firmware blockchain distributed storage unit 23 and re-written until the factory historical version is rolled back. If the factory historical version still cannot restore the power supply fan to normal operation, the server power supply fan intelligent fault-tolerant firmware management module 2 automatically sends a cause analysis report to the operation and maintenance platform to warn that the server power supply needs to be repaired or replaced.

[0061] It should be noted that the above application scenarios are only provided to facilitate understanding of the concepts and principles of the present invention, and the embodiments of the present invention are not limited in this respect. On the contrary, the embodiments of the present invention can be applied to any applicable scenario.

[0062] The present invention also provides a corresponding device for the server heat dissipation control method, further enhancing the practicality of the method. The device can be described from the perspective of functional modules and hardware. The following describes the server heat dissipation control device provided by the present invention, which is used to implement the server heat dissipation control method provided by the present invention. The server heat dissipation control device described below can be used in conjunction with the server heat dissipation control method described above.

[0063] From the perspective of functional modules, see Figure 5 , Figure 5 This is a structural diagram of a server heat dissipation control device provided in this embodiment under a specific implementation manner. The device may include:

[0064] The operation data collection module 501 is used to obtain matching power supply fan operation status data from the corresponding server according to the power supply and system fan layout information of each server and the heat dissipation direction of the system fan and power supply fan.

[0065] The firmware failure detection module 502 is configured to determine whether there is a target server with a power supply fan firmware failure based on the power supply fan operation status data.

[0066] The firmware upgrade module 503 is used to start the power supply standby pulse width modulation control mode when a power supply fan firmware online upgrade command is detected to prevent the power supply fan of the target server from stopping; determine the power supply fan firmware compatibility upgrade information based on the power supply fan firmware running version, air duct configuration information, fault information and hardware compatibility of the target server, and determine the firmware upgrade method of the power supply fan of the target server based on the power supply fan firmware compatibility upgrade information, the power supply fan firmware backup information status of the target server, the patch repair library and the historical power supply fan firmware version, so as to online upgrade the power supply fan firmware of the target server according to the firmware upgrade method; wherein, the patch repair library includes hot modification patches corresponding to different power supply fan firmware failure causes.

[0067] Exemplarily, in some implementations of this embodiment, the above-mentioned firmware failure detection module 502 can also be used to: determine that the power supply and system fan of the current server are deployed on the same side based on the power supply and system fan layout information of the current server, and when the input status of the current server power supply changes from the input power loss state to the input power normal state, obtain the power supply fan speed data and the power supply fan fault status information; when it is determined based on the power supply fan speed data that the power supply fan of the current server meets the full rotation condition, and it is determined based on the power supply fan fault status information that the current server firmware is in an abnormal state, the power supply fan firmware of the current server fails, and a power supply fan firmware online upgrade command is generated.

[0068] For example, in some other implementations of this embodiment, the above-mentioned firmware failure detection module 502 can also be used to: determine that the power supply and system fan of the current server are deployed on different sides, and the heat dissipation direction of the power supply fan of the current server is opposite to that of the system fan, based on the power supply and system fan layout information and heat dissipation direction of the current server; when the input state of the power supply of the current server changes from the input power loss state to the input power normal state, obtain the power supply fan speed data and the power supply fan fault status information; when it is determined according to the power supply fan speed data that the power supply fan of the current server meets the full rotation condition, and it is determined according to the power supply fan fault status information that the firmware failure detection module 502 of the current server meets the full rotation condition, If the component is in an abnormal state, it is determined that the power supply fan firmware of the current server has failed due to the formation of an air volume vacuum island in the heat dissipation channel, and a power supply duct airflow monitoring command is generated; a system fan speed reduction instruction and a power supply fan status monitoring instruction are generated according to the power supply duct airflow monitoring command, and according to the system fan speed reduction instruction, the speed of the system fan of the current server is lowered, and new power supply fan fault status information is obtained again according to the power supply fan status monitoring instruction; according to the new power supply fan fault status information, it is determined that the current server is still in a fault state within the preset time period, then it is determined that the power supply duct airflow of the current server is abnormal, and a power supply fan firmware online upgrade command is generated.

[0069] Exemplarily, in some other implementations of this embodiment, the above-mentioned firmware upgrade module 503 can also be used for: when the power supply fan firmware backup information of the target server located in the backup partition is in a normal state, the power supply fan firmware of the target server is switched to the power supply fan firmware backup information of the backup partition; during the operation of the power supply fan firmware backup information of the target server, if the power supply fan status of the target server has not returned to normal, the corresponding target hot repair patch is matched in the patch repair library according to the cause of the power supply fan firmware failure of the target server, and the power supply fan firmware of the target server is repaired based on the target hot repair patch; if the power supply fan status of the target server has not returned to normal, the power supply fan firmware of the target server is upgraded online according to the power supply fan firmware compatibility upgrade information; if the power supply fan status of the target server has not returned to normal, the power supply fan firmware version automatic rollback mode of the target server is started, and the power supply fan firmware of the target server is upgraded online using the historical power supply fan firmware version.

[0070] As an exemplary implementation of the above embodiment, the above-mentioned firmware upgrade module 503 can also be further used to: store the patch repair library in the server power fan firmware blockchain distributed storage unit, switch the speed of the power fan of the target server to a preset pulse width modulation duty cycle, and obtain the previous power fan firmware version of the current power fan firmware version of the target server from the server power fan firmware blockchain distributed storage unit; use the previous power fan firmware version to perform online upgrade of the power fan firmware of the target server; if the power fan status of the target server has not returned to normal after the upgrade is completed, obtain the previous power fan firmware version of the previous power fan firmware version until it is scrolled to the factory historical version; if the power fan firmware of the target server has not returned to normal until it is scrolled to the factory historical version, a server power supply repair and replacement instruction is generated.

[0071] Exemplarily, in some other implementations of this embodiment, the above-mentioned firmware failure detection module 502 can also be used to: determine that the power supply and system fan of the current server are deployed on different sides, and the heat dissipation direction of the power supply fan and the system fan of the current server is opposite, based on the power supply and system fan layout information and heat dissipation direction of the current server; if the current server has a power supply fan firmware failure feature, then perform a multi-level fault response based on the power supply fan fault status information: when generating fault snapshot information, start the power supply fan sensor channel and the system fan sensor channel; send a system fan gradient speed reduction instruction to the system fan of the current server, so that the system fan of the current server is reduced by reducing the preset gradient speed each time. speed; monitor the power supply duct pressure during the first preset abnormal time period, and when the power supply duct pressure returns to normal, stop lowering the system fan speed and maintain the speed at the current moment; if the power supply duct pressure of the target power supply still has not returned to normal after the system fan speed is reduced to the target speed threshold, increase the adjacent system fan speed of the target power supply; monitor the power supply duct pressure during the second preset abnormal time period, and if the power supply duct pressure still has not returned to normal, determine that the power supply fan firmware is invalid, and generate a power supply fan firmware online upgrade command; wherein, the second preset abnormal time period includes the first preset abnormal time period, and the duration value of the second preset abnormal time period is greater than the duration value of the first preset abnormal time period.

[0072] As an exemplary implementation of the above embodiment, the above-mentioned firmware failure detection module 502 can also be further used for: if the power supply fan speed fluctuation value of the current server is greater than a preset fluctuation threshold or the communication times out, then the current server has a power supply fan firmware failure feature; based on receiving the power supply fan fault status information through a secure encrypted channel, and generating alarm level information based on the power supply fan fault status information.

[0073] The server heat dissipation control device mentioned above is described from the perspective of functional modules. Furthermore, the present invention provides an electronic device, described from the perspective of hardware. The electronic device includes a memory and a processor. The memory stores a computer program, and the processor is configured to execute the computer program to perform the steps of any of the above-mentioned server heat dissipation control method embodiments.

[0074] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps of any of the above-mentioned server heat dissipation control method embodiments when running.

[0075] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0076] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of any of the above-mentioned server heat dissipation control method embodiments are implemented.

[0077] An embodiment of the present invention further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned server heat dissipation control method embodiments are implemented.

[0078] The above is a detailed introduction to a server heat dissipation control method, device, electronic device and computer-readable storage medium provided by the present invention. The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. Whether the units and algorithm steps of each example described in each disclosed embodiment are executed in electronic hardware or computer software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, and such implementation should not be considered to exceed the scope of the present invention. Without departing from the principles of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A server heat dissipation control method, characterized in that: include: According to the power supply and system fan layout information of each server, and the heat dissipation direction of the system fan and the power supply fan, matching power supply fan operation status data is obtained from the corresponding server, and according to the power supply fan operation status data, it is determined whether there is a target server with failed power supply fan firmware; When a power supply fan firmware online upgrade command is detected, a power supply standby pulse width modulation control mode is started to prevent the power supply fan of the target server from stopping; Determine the power supply fan firmware compatibility upgrade information based on the target server's power supply fan firmware running version, air duct configuration information, fault information, and hardware compatibility; and determine the target server's power supply fan firmware upgrade method based on the power supply fan firmware compatibility upgrade information, the target server's power supply fan firmware backup information status, patch repair library, and historical power supply fan firmware versions, so as to perform online upgrade of the target server's power supply fan firmware according to the firmware upgrade method; The patch repair library includes hotfixes corresponding to different power supply fan firmware failure causes.

2. The server heat dissipation control method according to claim 1, characterized in that: The determining, based on the power supply fan operating status data, whether there is a target server with invalid power supply fan firmware includes: Determining, based on the power supply and system fan layout information of the current server, that the power supply and system fan of the current server are deployed on the same side, and obtaining power supply fan speed data and power supply fan fault status information when the input status of the power supply of the current server changes from an input power loss state to an input power normal state; When it is determined based on the power supply fan speed data that the power supply fan of the current server meets the full rotation condition, and it is determined based on the power supply fan fault status information that the current server firmware is in an abnormal state, the power supply fan firmware of the current server becomes invalid, and a power supply fan firmware online upgrade command is generated.

3. The server heat dissipation control method according to claim 1, characterized in that: The determining, based on the power supply fan operating status data, whether there is a target server with invalid power supply fan firmware includes: According to the power supply and system fan layout information of the current server and the heat dissipation direction, it is determined that the power supply and system fan of the current server are deployed on different sides, and the heat dissipation direction of the power supply fan and the system fan of the current server are opposite; when the input status of the power supply of the current server changes from the input power loss state to the input power normal state, the power supply fan speed data and power supply fan fault status information are obtained; When it is determined based on the power supply fan speed data that the power supply fan of the current server meets the full rotation condition, and based on the power supply fan fault status information that the current server firmware is in an abnormal state, it is determined that the power supply fan firmware of the current server has failed due to the formation of an air volume vacuum island in the heat dissipation channel, and a power supply air duct airflow monitoring command is generated; generating a system fan speed reduction instruction and a power supply fan status monitoring instruction according to the power supply air duct airflow monitoring command, and reducing the rotation speed of the system fan of the current server according to the system fan speed reduction instruction, and obtaining new power supply fan fault status information again according to the power supply fan status monitoring instruction; If it is determined according to the new power supply fan fault status information that the current server is still in a fault state within a preset time period, it is determined that the airflow of the power supply air duct of the current server is abnormal, and a power supply fan firmware online upgrade command is generated.

4. The server heat dissipation control method according to claim 1, characterized in that: The determining, based on the power supply fan firmware compatibility upgrade information, the power supply fan firmware backup information status of the target server, a patch repair library, and a historical power supply fan firmware version, of a firmware upgrade method for the power supply fan of the target server includes: When the power supply fan firmware backup information of the target server in the backup partition is in a normal state, switching the power supply fan firmware of the target server to the power supply fan firmware backup information of the backup partition; During the operation of the power supply fan firmware backup information of the target server, if the power supply fan status of the target server has not returned to normal, matching a corresponding target hot fix patch in a patch repair library according to the cause of the power supply fan firmware failure of the target server, and repairing the power supply fan firmware of the target server based on the target hot fix patch; If the power supply fan status of the target server has not returned to normal, performing an online upgrade on the power supply fan firmware of the target server according to the power supply fan firmware compatibility upgrade information; If the power supply fan status of the target server has not returned to normal, the power supply fan firmware version automatic rollback mode of the target server is started, and the power supply fan firmware of the target server is upgraded online using the historical power supply fan firmware version.

5. The server heat dissipation control method according to claim 4, characterized in that: The patch repair library is stored in the server power fan firmware blockchain distributed storage unit, the power fan firmware version automatic rollback mode of the target server is started, and the power fan firmware of the target server is upgraded online using the historical power fan firmware version, including: Switching the speed of the power supply fan of the target server to a preset pulse width modulation duty cycle, and obtaining a previous power supply fan firmware version of the current power supply fan firmware version of the target server from the server power supply fan firmware blockchain distributed storage unit; Performing an online upgrade of the target server's power supply fan firmware using the previous power supply fan firmware version; if the target server's power supply fan status does not return to normal after the upgrade is completed, obtaining the previous power supply fan firmware version of the previous power supply fan firmware version until the previous factory historical version is reached; If the power supply fan firmware of the target server has not recovered to normal status until it is rolled to the factory historical version, a server power supply repair and replacement instruction is generated.

6. The server heat dissipation control method according to any one of claims 1 to 5, characterized in that: The determining, based on the power supply fan operating status data, whether there is a target server with invalid power supply fan firmware includes: Determining, based on the power supply and system fan layout information of the current server and the heat dissipation direction, that the power supply and system fans of the current server are deployed on different sides, and that the heat dissipation directions of the power supply fan and the system fan of the current server are opposite; If the current server has a power supply fan firmware failure feature, a multi-level fault response is performed based on the power supply fan fault status information: When fault snapshot information is generated, the power supply fan sensor channel and the system fan sensor channel are activated; a system fan gradient speed reduction instruction is issued to the system fan of the current server, so that the system fan of the current server is reduced in speed by a preset gradient speed reduction each time; monitoring the air pressure of the power supply air duct during a first preset abnormal time period, and when the air pressure of the power supply air duct returns to normal, stopping reducing the rotational speed of the system fan and maintaining the rotational speed at the current moment; if the air pressure of the power supply air duct of the target power supply still does not return to normal after the rotational speed of the system fan is reduced to a target rotational speed threshold, increasing the rotational speed of the adjacent system fan of the target power supply; monitoring the air pressure of the power supply air duct during the second preset abnormal time period, and if the air pressure of the power supply air duct still does not return to normal, determining that the power supply fan firmware is invalid and generating a power supply fan firmware online upgrade command; The second preset abnormal time period includes the first preset abnormal time period, and the duration of the second preset abnormal time period is greater than the duration of the first preset abnormal time period.

7. The server heat dissipation control method according to claim 6, characterized in that: Before performing a multi-level fault response according to the power supply fan fault status information, the method further includes: If the power supply fan speed fluctuation value of the current server is greater than a preset fluctuation threshold or the communication times out, the current server has a power supply fan firmware failure feature; The power supply fan fault status information is received through a secure encrypted channel, and alarm level information is generated according to the power supply fan fault status information.

8. A server heat dissipation control device, characterized in that: include: The operation data collection module is used to obtain the matching power supply fan operation status data from the corresponding server based on the power supply and system fan layout information of each server and the heat dissipation direction of the system fan and power supply fan; A firmware failure detection module is used to determine whether there is a target server with a power supply fan firmware failure based on the power supply fan operation status data; a firmware upgrade module, configured to, upon detecting a power supply fan firmware online upgrade command, activate a power supply standby pulse width modulation control mode to prevent the power supply fan of the target server from stalling; Based on the power supply fan firmware running version, air duct configuration information, fault information and hardware compatibility of the target server, the power supply fan firmware compatibility upgrade information is determined, and based on the power supply fan firmware compatibility upgrade information, the power supply fan firmware backup information status of the target server, the patch repair library and the historical power supply fan firmware version, the firmware upgrade method of the power supply fan of the target server is determined, so as to perform online upgrade of the power supply fan firmware of the target server according to the firmware upgrade method; wherein, the patch repair library includes hot modification patches corresponding to different power supply fan firmware failure causes.

9. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the server heat dissipation control method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the server heat dissipation control method according to any one of claims 1 to 7 are implemented.