Server heat dissipation control method and device
By obtaining the server's power consumption device temperature, wind pressure and system load, combined with preset heat dissipation control rules, the appropriate heat dissipation method is determined, solving the problems of fan air inlet contamination and frequent acceleration and deceleration, and achieving efficient heat dissipation and power saving.
Patent Information
- Application Number
- CN202411320134.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2025-01-21
AI Technical Summary
In the existing server cooling control method, the fan air inlet is susceptible to foreign matter such as dust, resulting in low air inlet volume, affecting the cooling effect, and the fan frequently accelerates and decelerates, unable to maintain the optimal working conditions, and wastes electricity.
By obtaining the temperature of power-consuming devices, wind pressure and system load, combined with preset heat dissipation control rules, appropriate heat dissipation methods are determined, including congestion treatment strategies, load adjustment strategies and fan adjustment strategies, to ensure that fans operate under optimal working conditions.
It can effectively prevent server failures due to overheating, improve the pertinence and effectiveness of heat dissipation, reduce power waste, and ensure that servers maintain good heat dissipation status under different load conditions.
Smart Images

Figure CN119336136A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a server heat dissipation control method and device. Background Art
[0002] With the development of science and technology, servers are becoming more and more important. Servers are composed of CPU, memory, storage media, network devices and other devices and are uniformly deployed in the data center room. Regardless of the type of server, it is necessary to pay attention to the heat dissipation function of the server.
[0003] At present, server heat dissipation is mainly achieved by collecting the temperature of the heat generating device and determining whether the temperature exceeds a threshold to determine whether the fan speed needs to be controlled to keep the temperature within a predetermined range.
[0004] However, in the above heat dissipation control method, when the fan controller device is running in a harsh environment, the fan air inlet is easily contaminated by foreign matter such as dust, resulting in the actual air intake volume being lower than the preset air intake volume even when the fan is running at a high speed (i.e., high power), thereby affecting the actual cooling effect and wasting electricity. In addition, since the server load is constantly changing, the temperature is also constantly changing with the load, and the fan is constantly in an adjustment state. This adjustment state is accompanied by the acceleration and deceleration of the fan, so that the fan cannot operate in the optimal working state, wasting a lot of electricity. Summary of the invention
[0005] The present invention provides a server heat dissipation control method and device, which are used to solve the defect in the prior art that the fan air inlet is contaminated by foreign matter so as to affect the heat dissipation effect, realize efficient heat dissipation, and effectively prevent the server from malfunctioning due to overheating.
[0006] The present invention provides a server heat dissipation control method, comprising: obtaining power consumption device temperature, wind pressure and system load; wherein the wind pressure is obtained based on detection between an air inlet of a wind shield of the server and a fan; determining a heat dissipation mode according to the power consumption device temperature, wind pressure and system load in combination with preset heat dissipation control rules; wherein the preset heat dissipation control rules are used to limit the heat dissipation mode corresponding to the power consumption device temperature, wind pressure and system load; and controlling the server to dissipate heat according to the heat dissipation mode.
[0007] According to a server heat dissipation control method provided by the present invention, the heat dissipation mode includes a blockage processing strategy, a load adjustment strategy and a fan adjustment strategy. The heat dissipation mode is determined according to the power consumption device temperature, wind pressure and system load in combination with preset heat dissipation control rules, including: based on the wind pressure exceeding the preset pressure range, determining whether the power consumption device temperature meets the preset temperature range, and determining the blockage degree of the wind shield net according to the comparison result of the power consumption device temperature and the preset temperature range, so as to determine the blockage processing strategy according to the blockage degree of the wind shield net; based on the power consumption device temperature exceeding the upper limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the load adjustment strategy to reduce the load, otherwise, determining the load adjustment strategy to not adjust the load; based on the power consumption device temperature meeting the preset temperature range, if the system load exceeds the preset load range, determining the fan adjustment strategy to increase the fan speed, otherwise, determining the fan adjustment strategy to not adjust the fan speed; based on the power consumption device temperature being lower than the lower limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the fan adjustment strategy to increase the fan speed, otherwise, determining the fan adjustment strategy to reduce the fan speed.
[0008] According to a server heat dissipation control method provided by the present invention, the blockage degree of the windshield is determined according to the comparison result of the power consumption device temperature with the preset temperature range, and the blockage processing strategy is determined according to the blockage degree of the windshield, including: if the power consumption device temperature exceeds the upper limit temperature of the preset temperature range, it is determined that the blockage degree of the windshield is serious, and the blockage processing strategy is determined to be cleaning the windshield; if the power consumption device temperature meets the preset temperature range, or the power consumption device temperature is lower than the lower limit temperature of the preset temperature range, it is determined that the blockage degree of the windshield is slight, and the blockage processing strategy is determined to be cleaning or not cleaning the windshield.
[0009] According to a server heat dissipation control method provided by the present invention, a heat dissipation mode is determined according to the temperature of the power consumption device, wind pressure and system load, combined with preset heat dissipation control rules, and also includes: based on the wind pressure meeting the preset pressure range, determining the blockage processing strategy as not cleaning the wind shield net, and determining whether the temperature of the power consumption device meets the preset temperature range; based on the power consumption device temperature exceeding the upper limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the load adjustment strategy as reducing the load; otherwise, determining the fan adjustment strategy as increasing the fan speed; based on the power consumption device temperature meeting the preset temperature range, if the system load exceeds the preset load range, determining the fan adjustment strategy as increasing the fan speed, otherwise, determining the fan adjustment strategy as not adjusting the fan speed; based on the power consumption device temperature being lower than the lower limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the fan adjustment strategy as increasing the fan speed, otherwise, determining the fan adjustment strategy as not adjusting the fan speed.
[0010] According to a server heat dissipation control method provided by the present invention, if the determined fan adjustment strategy is to increase or decrease the fan speed, the server is controlled to dissipate heat according to the heat dissipation method, including: adjusting the fan speed according to the power consumption device temperature, wind pressure and system load using a preset PID control algorithm.
[0011] According to a server heat dissipation control method provided by the present invention, a preset PID control algorithm is used to adjust the fan speed according to the power consumption device temperature, wind pressure and system load, including: determining the fan speed according to the power consumption device temperature, wind pressure and system load by using the preset PID control algorithm, and adjusting the fan according to the determined fan speed; reacquiring the power consumption device temperature, wind pressure and system load, and judging whether the reacquired power consumption device temperature is lower than the target temperature; if the reacquired power consumption device temperature is not lower than the target temperature, re-determining the fan speed according to the reacquired power consumption device temperature, wind pressure and system load by using the preset PID control algorithm, and adjusting the fan according to the re-determined fan speed, and reacquiring the power consumption device temperature, wind pressure and system load, and judging whether the reacquired power consumption device temperature is lower than the target temperature, until the reacquired power consumption device temperature is lower than the target temperature, the method stops.
[0012] According to a server heat dissipation control method provided by the present invention, the method also includes: monitoring the system load; predicting the temperature of the power consumption device according to the monitored system load to obtain the predicted temperature; and adjusting the fan speed according to the predicted temperature using a preset PID control algorithm.
[0013] The present invention also provides a server heat dissipation control device, including: a data acquisition module, which acquires the temperature of the power-consuming device, wind pressure and system load; wherein the wind pressure is obtained based on the detection between the air inlet of the server wind shield and the fan; a logic judgment module, which determines the heat dissipation method according to the temperature of the power-consuming device, wind pressure and system load, combined with preset heat dissipation control rules; wherein the preset heat dissipation control rules are used to limit the heat dissipation method corresponding to the temperature of the power-consuming device, wind pressure and system load; and a heat dissipation control module, which controls the server to dissipate heat according to the heat dissipation method.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any of the above-mentioned server heat dissipation control methods is implemented.
[0015] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the server heat dissipation control method as described above is implemented.
[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the server heat dissipation control method as described above is implemented.
[0017] The server heat dissipation control method and device provided by the present invention obtain the temperature of the power consumption device, wind pressure and system load to fully understand the working status and heat dissipation requirements of the server, thereby comprehensively considering these parameters and combining customized preset heat dissipation control rules to ensure that in different server working scenarios and states, the appropriate heat dissipation method is accurately determined to control the heat dissipation of the server. On the basis of achieving efficient heat dissipation, it effectively prevents the server from malfunctioning due to overheating, thereby improving the pertinence and effectiveness of heat dissipation. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 This is one of the flow charts of the server heat dissipation control method provided by the present invention; Figure 2 It is a schematic diagram of the architecture of the server heat dissipation control method provided by the present invention; Figure 3 This is the second flow chart of the server heat dissipation control method provided by the present invention; Figure 4 This is the third flow chart of the server heat dissipation control method provided by the present invention; Figure 5 It is a structural schematic diagram of the server heat dissipation control device provided by the present invention; Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] Figure 1 The figure is a flow chart of the server heat dissipation control method provided by the present invention. The method is performed by a fan control chip and includes: S11, obtaining the temperature of the power consumption device, the wind pressure and the system load; wherein the wind pressure is obtained based on the detection between the air inlet of the wind shield of the server and the fan; S12, determining a heat dissipation method according to the power consumption device temperature, wind pressure and system load in combination with a preset heat dissipation control rule; wherein the preset heat dissipation control rule is used to limit the heat dissipation method corresponding to the power consumption device temperature, wind pressure and system load; S13, controlling the server to dissipate heat according to the heat dissipation method.
[0022] It should be noted that the step numbers "S1N" in this manual do not represent the order of the server heat dissipation control method. Figure 2-Figure 4 The server heat dissipation control method of the present invention is described.
[0023] S11, obtaining the temperature of the power consumption device, the wind pressure and the system load; wherein the wind pressure is obtained based on the detection between the air inlet of the wind shield of the server and the fan.
[0024] In this embodiment, reference Figure 2 , obtain the power consumption device temperature, wind pressure and system load, including: receiving the power consumption device temperature sent by the temperature sensor; receiving the wind pressure sent by the wind pressure sensor, the wind pressure sensor is arranged between the wind shield air inlet and the fan; receiving the system load sent by the server load detection device.
[0025] It should be noted that the temperature sensor can be configured according to the power consumption devices actually configured in the server to collect the temperature of the corresponding power consumption devices; the server load detection device can be determined according to the actual configuration of the server, such as the central processing unit (CPU), redundant array of inexpensive disks (RAID), etc., which is not further limited here.
[0026] In addition, by arranging the wind pressure sensor between the wind shield air inlet and the fan, it is convenient to determine whether the wind shield is affected by foreign matter by judging the abnormal wind pressure, thereby avoiding affecting the heat dissipation effect of the fan.
[0027] It should be noted that the power consumption device temperature, wind pressure and system load are collected based on the same collection frequency, so as to determine the heat dissipation method based on the power consumption device temperature, wind pressure and system load at the same time. In addition, the collection frequency can be set according to the actual required temperature control accuracy. When the required control accuracy is higher, the collection frequency is also higher. It can be set according to the actual design requirements and is not further limited here.
[0028] S12, determining a heat dissipation method according to the power consumption device temperature, wind pressure and system load in combination with preset heat dissipation control rules; wherein the preset heat dissipation control rules are used to limit the heat dissipation method corresponding to the power consumption device temperature, wind pressure and system load.
[0029] In this embodiment, the heat dissipation method includes a blocking processing strategy, a load adjustment strategy and a fan adjustment strategy. Figure 3 , according to the temperature of the power-consuming device, the wind pressure and the system load, combined with the preset heat dissipation control rules, determine the heat dissipation method, including: based on the wind pressure exceeding the preset pressure range, determine whether the temperature of the power-consuming device meets the preset temperature range, and determine the degree of blockage of the windshield according to the comparison result of the temperature of the power-consuming device and the preset temperature range, so as to determine the blockage processing strategy according to the blockage degree of the windshield; based on the upper limit temperature of the power-consuming device temperature exceeding the preset temperature range, if the system load exceeds the preset load range, determine the load adjustment strategy to reduce the load, otherwise, determine the load adjustment strategy to not adjust the load; based on the power-consuming device temperature meeting the preset temperature range, if the system load exceeds the preset load range, determine the fan adjustment strategy to increase the fan speed, otherwise, determine the fan adjustment strategy to not adjust the fan speed; based on the power-consuming device temperature being lower than the lower limit temperature of the preset temperature range, if the system load exceeds the preset load range, determine the fan adjustment strategy to increase the fan speed, otherwise, determine the fan adjustment strategy to reduce the fan speed.
[0030] It should be added that when the wind pressure exceeds the preset pressure range, the temperature of the power-consuming device exceeds the upper limit of the preset temperature range. At this time, the fan heat dissipation is insufficient. If the system load exceeds the preset load range, the server system temperature will further increase. Therefore, it is necessary to reduce the equipment load to prevent various faults and errors, such as freezes and data loss, to ensure that the server system can run stably, provide users with reliable services, and extend the service life of the server hardware.
[0031] In addition, based on the fact that the temperature of the power consumption device is within the preset temperature range, if the system load exceeds the preset load range, the server system temperature will further increase. At this time, since the temperature of the power consumption device is within the preset temperature range, it means that the fan can meet the heat dissipation requirements. Therefore, the fan speed can be increased in advance to effectively prevent the server system temperature from further increasing, so that the equipment can quickly enter a balance and avoid system failures and data losses caused by excessive temperature. At the same time, the response speed and adaptability of the server are improved, so that the server can maintain a good heat dissipation state under different load conditions, providing a strong guarantee for the efficient operation of the server.
[0032] In addition, based on the fact that the temperature of the power-consuming device is lower than the lower limit of the preset temperature range, if the system load exceeds the preset load range, at this time, the fan can meet the heat dissipation requirements, and the fan speed can be increased in advance to effectively prevent the server system temperature from further increasing, so that the equipment can quickly enter balance; if the system load meets the preset load range, since the temperature of the power-consuming device is lower than the lower limit of the preset temperature range, the fan speed can be reduced to save energy.
[0033] It is worth noting that the judgment logic of whether the wind pressure exceeds the preset pressure range can be determined by comprehensive evaluation based on the machine's heat dissipation design, heat dissipation design redundancy, maximum thermal power consumption, and the maximum temperature that the equipment can withstand. The preset pressure range can be set according to the actual judgment logic, equipment, and use environment involved, and is not further limited here. In addition, when using multiple fans and heat dissipation channels, even if a part of them has problems, the other parts can maintain the wind pressure to a certain extent, and the relatively stable environmental conditions of the server also make the wind pressure less susceptible to external interference, so the wind pressure will not be lower than the lower limit of the preset pressure range.
[0034] In addition, the judgment logic of whether the temperature of the power consumption device meets the preset temperature range and whether the system load exceeds the preset load range can refer to the judgment logic of the above wind pressure. The preset temperature range and the preset load range can refer to the above preset pressure range configuration, which will not be repeated here. In addition, servers are usually deployed to meet specific business needs and have the ability to automatically adjust the load. In order to cope with sudden load peaks and ensure system reliability, certain resources are usually reserved, so the system load will not be lower than the lower limit of the preset load range.
[0035] Furthermore, based on the comparison result between the power consumption device temperature and the preset temperature range, the blockage degree of the windshield is determined, and based on the blockage degree of the windshield, the blockage handling strategy is determined, including: if the power consumption device temperature exceeds the upper limit temperature of the preset temperature range, it is determined that the blockage degree of the windshield is serious, and the blockage handling strategy is determined to be cleaning the windshield; if the power consumption device temperature meets the preset temperature range, or the power consumption device temperature is lower than the lower limit temperature of the preset temperature range, it is determined that the blockage degree of the windshield is slight, and the blockage handling strategy is determined to be cleaning or not cleaning the windshield.
[0036] It should be noted that when the wind pressure exceeds the preset pressure range, if the temperature of the power consumption device exceeds the upper limit of the preset temperature range, it indicates that the wind shield is severely blocked and can no longer meet the heat dissipation conditions. The wind shield must be cleaned, otherwise the heat dissipation effect will be affected; if the temperature of the power consumption device meets the preset temperature range, or the temperature of the power consumption device is lower than the lower limit of the preset temperature range, it indicates that although the wind shield is blocked, it can still meet the current heat dissipation requirements and does not affect the current heat dissipation effect. Therefore, you can choose whether to clean the wind shield.
[0037] In an optional embodiment, after obtaining the congestion handling strategy, it also includes: generating and sending a congestion prompt based on the congestion handling strategy. It should be noted that when the wind pressure exceeds the preset pressure range, it indicates that the windshield is blocked to varying degrees, so regardless of the power consumption device temperature and wind pressure, a corresponding congestion prompt will be generated.
[0038] In an optional embodiment, the heat dissipation method is determined according to the power consumption device temperature, wind pressure and system load, combined with preset heat dissipation control rules, and also includes: based on the wind pressure meeting the preset pressure range, determining the blockage processing strategy as not cleaning the wind shield, and determining whether the power consumption device temperature meets the preset temperature range; based on the power consumption device temperature exceeding the upper limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the load adjustment strategy as reducing the load; otherwise, determining the fan adjustment strategy as increasing the fan speed; based on the power consumption device temperature meeting the preset temperature range, if the system load exceeds the preset load range, determining the fan adjustment strategy as increasing the fan speed, otherwise, determining the fan adjustment strategy as not adjusting the fan speed; based on the power consumption device temperature being lower than the lower limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the fan adjustment strategy as increasing the fan speed, otherwise, determining the fan adjustment strategy as not adjusting the fan speed.
[0039] It should be added that when the wind pressure is within the preset pressure range, the temperature of the power-consuming device exceeds the upper limit of the preset temperature range. At this time, the fan heat dissipation is insufficient. If the system load exceeds the preset load range, the server system temperature will further increase, so the equipment load needs to be reduced.
[0040] In addition, based on the fact that the temperature of the power consumption device is within the preset temperature range, if the system load exceeds the preset load range, the server system temperature will further increase. At this time, since the temperature of the power consumption device is within the preset temperature range, it means that the fan can meet the heat dissipation requirements. Therefore, the fan speed can be increased in advance to effectively prevent the server system temperature from further increasing, so that the equipment can quickly enter a balanced state.
[0041] In addition, based on the fact that the temperature of the power-consuming device is lower than the lower limit of the preset temperature range, if the system load exceeds the preset load range, at this time, the fan can meet the heat dissipation requirements, and the fan speed can be increased in advance to effectively prevent the server system temperature from further increasing, so that the equipment can quickly enter balance; if the system load meets the preset load range, since the temperature of the power-consuming device is lower than the lower limit of the preset temperature range, the fan speed can be reduced to save energy.
[0042] S13, controlling the server to dissipate heat according to the heat dissipation method.
[0043] In an optional embodiment, if the determined fan adjustment strategy is to increase or decrease the fan speed, the server is controlled to dissipate heat according to the heat dissipation method, including: adjusting the fan speed using a preset PID control algorithm according to the power consumption device temperature, wind pressure and system load.
[0044] Furthermore, the fan speed is adjusted according to the power consumption device temperature, wind pressure and system load using a preset PID control algorithm, including: determining the fan speed according to the power consumption device temperature, wind pressure and system load using a preset PID control algorithm, and adjusting the fan according to the determined fan speed; reacquiring the power consumption device temperature, wind pressure and system load, and determining whether the reacquired power consumption device temperature is lower than the target temperature; if the reacquired power consumption device temperature is not lower than the target temperature, re-determining the fan speed according to the reacquired power consumption device temperature, wind pressure and system load using a preset PID control algorithm, and adjusting the fan according to the re-determined fan speed, and reacquiring the power consumption device temperature, wind pressure and system load, and determining whether the reacquired power consumption device temperature is lower than the target temperature, until the reacquired power consumption device temperature is lower than the target temperature and stopping.
[0045] It should be noted that by monitoring the power consumption device temperature, wind pressure and system load, and using the PID control algorithm, the fan speed can be accurately determined so that the fan speed can be continuously adjusted according to the real-time changing power consumption device temperature, wind pressure and system load to ensure that the fan provides appropriate heat dissipation air volume and improve the reliability and stability of the system.
[0046] In an alternative embodiment, reference Figure 4 The method further includes: monitoring the system load; predicting the temperature of the power consumption device according to the monitored system load to obtain a predicted temperature; and adjusting the fan speed according to the predicted temperature using a preset PID control algorithm.
[0047] It should be noted that by monitoring the system load, the server system can be prevented from being affected by the increased load and causing the temperature of the power consumption device to rise, so as to intervene in advance to adjust the fan speed, so as to provide sufficient heat dissipation air volume, effectively prevent the temperature from rising sharply and causing damage to the hardware, and ensure dynamic adaptation to load fluctuations, and then adjust the fan speed according to different load conditions to always maintain the best heat dissipation effect. In addition, according to the predicted temperature, the fan speed is adjusted using the preset PID control algorithm. Please refer to the above, and no further description is given here. It should be noted that when the load is monitored to intervene in advance to adjust the fan speed, the specific method of adjusting the fan can also be determined in combination with the temperature. Specifically, please refer to the above to determine the heat dissipation method when the wind pressure meets the preset pressure range, and no repetition will be made here.
[0048] In summary, the embodiments of the present invention obtain the temperature of power-consuming devices, wind pressure and system load to fully understand the working status and heat dissipation requirements of the server, thereby comprehensively considering these parameters and combining customized preset heat dissipation control rules to ensure that in different server working scenarios and states, the appropriate heat dissipation method is accurately determined to control the heat dissipation of the server. On the basis of achieving efficient heat dissipation, it effectively prevents the server from malfunctioning due to overheating, thereby improving the pertinence and effectiveness of heat dissipation.
[0049] The server heat dissipation control device provided by the present invention is described below. The server heat dissipation control device described below and the server heat dissipation control method described above can be referred to each other.
[0050] Figure 5 A schematic structural diagram of a server heat dissipation control device is shown, the device comprising: The data acquisition module 51 acquires the temperature of the power consumption device, the wind pressure and the system load; wherein the wind pressure is obtained based on the detection between the air inlet of the wind shield of the server and the fan; The logic judgment module 52 determines the heat dissipation mode according to the temperature of the power consumption device, the wind pressure and the system load in combination with the preset heat dissipation control rule; wherein the preset heat dissipation control rule is used to limit the heat dissipation mode corresponding to the temperature of the power consumption device, the wind pressure and the system load; The heat dissipation control module 53 controls the server to dissipate heat according to the heat dissipation method.
[0051] In this embodiment, the data acquisition module 51 is used to: receive the power consumption device temperature meter sent by the temperature sensor; receive the wind pressure sent by the wind pressure sensor, the wind pressure sensor is arranged between the wind shield air inlet and the fan; receive the system load sent by the server load detection device.
[0052] The heat dissipation method includes a blockage processing strategy, a load adjustment strategy and a fan adjustment strategy. The logic judgment module 52 includes: a first judgment unit, based on the wind pressure exceeding the preset pressure range, determines whether the temperature of the power consumption device meets the preset temperature range, and determines the blockage degree of the wind shield net according to the comparison result of the temperature of the power consumption device and the preset temperature range, so as to determine the blockage processing strategy according to the blockage degree of the wind shield net; a second judgment unit, based on the power consumption device temperature exceeding the upper limit temperature of the preset temperature range, if the system load exceeds the preset load range, then the load adjustment strategy is determined to reduce the load, otherwise, the load adjustment strategy is determined not to adjust the load; a third judgment unit, based on the power consumption device temperature meeting the preset temperature range, if the system load exceeds the preset load range, then the fan adjustment strategy is determined to increase the fan speed, otherwise, the fan adjustment strategy is determined not to adjust the fan speed; a fourth judgment unit, based on the power consumption device temperature being lower than the lower limit temperature of the preset temperature range, if the system load exceeds the preset load range, then the fan adjustment strategy is determined to increase the fan speed, otherwise, the fan adjustment strategy is determined to reduce the fan speed.
[0053] Furthermore, the first judgment unit is used for: if the temperature of the power consumption device exceeds the upper limit temperature of the preset temperature range, it is determined that the windshield is severely blocked, and the blockage processing strategy is to clean the windshield; if the temperature of the power consumption device is within the preset temperature range, or the temperature of the power consumption device is lower than the lower limit temperature of the preset temperature range, it is determined that the windshield is slightly blocked, and the blockage processing strategy is to clean or not clean the windshield.
[0054] In an optional embodiment, the device further includes: a prompt module, which generates and sends a congestion prompt based on the congestion processing strategy after obtaining the congestion processing strategy.
[0055] In an optional embodiment, the logic judgment module 52 also includes: a first judgment unit, based on the wind pressure being within the preset pressure range, determining that the blockage processing strategy is not to clean the windshield, and determining whether the temperature of the power consumption device is within the preset temperature range; a second judgment unit, based on the power consumption device temperature exceeding the upper limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the load adjustment strategy to reduce the load; otherwise, determining the fan adjustment strategy to increase the fan speed; a third judgment unit, based on the power consumption device temperature being within the preset temperature range, if the system load exceeds the preset load range, determining the fan adjustment strategy to increase the fan speed, otherwise, determining the fan adjustment strategy to not adjust the fan speed; a fourth judgment unit, based on the power consumption device temperature being lower than the lower limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the fan adjustment strategy to increase the fan speed, otherwise, determining the fan adjustment strategy to reduce the fan speed.
[0056] In an optional embodiment, if the determined fan adjustment strategy is to increase or decrease the fan speed, the heat dissipation control module 53 includes: a wind speed adjustment unit, which adjusts the fan speed according to the power consumption device temperature, wind pressure and system load using a preset PID control algorithm.
[0057] Furthermore, the wind speed adjustment unit includes: a wind speed adjustment subunit, which determines the fan speed according to the power consumption device temperature, wind pressure and system load using a preset PID control algorithm, and adjusts the fan according to the determined fan speed; a judgment subunit, which re-acquires the power consumption device temperature, wind pressure and system load, and judges whether the re-acquired power consumption device temperature is lower than the target temperature; if the re-acquired power consumption device temperature is not lower than the target temperature, the wind speed adjustment subunit re-determines the fan speed according to the re-acquired power consumption device temperature, wind pressure and system load using a preset PID control algorithm, and adjusts the fan according to the re-determined fan speed, and the judgment subunit re-acquires the power consumption device temperature, wind pressure and system load, and judges whether the re-acquired power consumption device temperature is lower than the target temperature, until the re-acquired power consumption device temperature is lower than the target temperature, the control stops.
[0058] In an optional embodiment, the device further includes: a monitoring module for monitoring the system load; a temperature prediction module for predicting the temperature of the power consumption device according to the monitored system load to obtain a predicted temperature; and a temperature control module for adjusting the fan speed according to the predicted temperature using a preset PID control algorithm.
[0059] In summary, the embodiment of the present invention obtains the power consumption device temperature, wind pressure and system load through the data acquisition module to fully understand the working status and heat dissipation requirements of the server, so as to facilitate the logic judgment module to comprehensively consider these parameters, combined with customized preset heat dissipation control rules, to ensure that in different server working scenarios and states, the appropriate heat dissipation method is accurately determined, so as to use the heat dissipation control module to control the server for heat dissipation, and on the basis of achieving efficient heat dissipation, effectively prevent the server from malfunctioning due to overheating, thereby improving the pertinence and effectiveness of heat dissipation.
[0060] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the server heat dissipation control method, which includes: obtaining the temperature, wind pressure and system load of the power consumption device; wherein the wind pressure is obtained based on the detection between the air inlet of the server wind shield and the fan; according to the temperature, wind pressure and system load of the power consumption device, combined with the preset heat dissipation control rules, determine the heat dissipation mode; wherein the preset heat dissipation control rules are used to limit the heat dissipation mode corresponding to the temperature, wind pressure and system load of the power consumption device; according to the heat dissipation mode, control the server to dissipate heat.
[0061] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0062] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the server heat dissipation control method provided by the above methods, which method includes: obtaining the temperature, wind pressure and system load of the power-consuming device; wherein the wind pressure is obtained based on the detection between the air inlet of the server wind shield and the fan; determining the heat dissipation method according to the temperature, wind pressure and system load of the power-consuming device, combined with preset heat dissipation control rules; wherein the preset heat dissipation control rules are used to limit the heat dissipation method corresponding to the temperature, wind pressure and system load of the power-consuming device; and controlling the server to dissipate heat according to the heat dissipation method.
[0063] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the server heat dissipation control method provided by the above-mentioned methods, the method comprising: obtaining the temperature, wind pressure and system load of the power-consuming device; wherein the wind pressure is obtained based on the detection between the air inlet of the server wind shield and the fan; determining the heat dissipation method according to the temperature, wind pressure and system load of the power-consuming device, combined with preset heat dissipation control rules; wherein the preset heat dissipation control rules are used to limit the heat dissipation method corresponding to the temperature, wind pressure and system load of the power-consuming device; and controlling the server to dissipate heat according to the heat dissipation method.
[0064] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0065] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A server heat dissipation control method, characterized in that: include: Obtaining the temperature of power consumption devices, wind pressure and system load; wherein the wind pressure is obtained based on the detection between the air inlet of the server windshield and the fan; Determine a heat dissipation method according to the power consumption device temperature, the wind pressure and the system load in combination with a preset heat dissipation control rule; wherein the preset heat dissipation control rule is used to limit the heat dissipation method corresponding to the power consumption device temperature, the wind pressure and the system load; According to the heat dissipation method, the server is controlled to dissipate heat.
2. The server heat dissipation control method according to claim 1, characterized in that: The heat dissipation method includes a blocking processing strategy, a load adjustment strategy and a fan adjustment strategy. The heat dissipation method is determined according to the temperature of the power consumption device, the wind pressure and the system load in combination with a preset heat dissipation control rule, including: Based on the wind pressure exceeding the preset pressure range, determining whether the temperature of the power consumption device meets the preset temperature range, and determining the blockage degree of the windshield net according to the comparison result of the power consumption device temperature and the preset temperature range, so as to determine the blockage processing strategy according to the blockage degree of the windshield net; Based on the temperature of the power consumption device exceeding the upper limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining that the load adjustment strategy is to reduce the load, otherwise, determining that the load adjustment strategy is not to adjust the load; Based on the fact that the temperature of the power consumption device meets the preset temperature range, if the system load exceeds the preset load range, determining that the fan adjustment strategy is to increase the fan speed, otherwise, determining that the fan adjustment strategy is not to adjust the fan speed; Based on the fact that the temperature of the power consumption device is lower than the lower limit temperature of the preset temperature range, if the system load exceeds the preset load range, the fan adjustment strategy is determined to increase the fan speed, otherwise, the fan adjustment strategy is determined to reduce the fan speed.
3. The server heat dissipation control method according to claim 2, characterized in that: According to the comparison result between the temperature of the power consumption device and the preset temperature range, the blocking degree of the windshield is determined, and according to the blocking degree of the windshield, a blocking processing strategy is determined, including: If the temperature of the power consumption device exceeds the upper limit temperature of the preset temperature range, it is determined that the windshield is seriously blocked, and the blocking treatment strategy is to clean the windshield; If the temperature of the power consumption device is within the preset temperature range, or the temperature of the power consumption device is lower than the lower limit temperature of the preset temperature range, it is determined that the windshield is slightly blocked, and the blockage handling strategy is determined to be cleaning or not cleaning the windshield.
4. The server heat dissipation control method according to claim 2, characterized in that: Determining a heat dissipation mode according to the temperature of the power consumption device, the wind pressure and the system load in combination with a preset heat dissipation control rule also includes: Based on the wind pressure being within the preset pressure range, determining that the blockage handling strategy is not to clean the windshield, and determining whether the power consumption device temperature is within the preset temperature range; Based on the temperature of the power consumption device exceeding the upper limit temperature of the preset temperature range, if the system load exceeds the preset load range, determining the load adjustment strategy to reduce the load; otherwise, determining the fan adjustment strategy to increase the fan speed; Based on the fact that the temperature of the power consumption device meets the preset temperature range, if the system load exceeds the preset load range, determining that the fan adjustment strategy is to increase the fan speed, otherwise, determining that the fan adjustment strategy is not to adjust the fan speed; Based on the fact that the temperature of the power consumption device is lower than the lower limit temperature of the preset temperature range, if the system load exceeds the preset load range, the fan adjustment strategy is determined to increase the fan speed, otherwise, the fan adjustment strategy is determined to reduce the fan speed.
5. The server heat dissipation control method according to claim 2 or 4, characterized in that: If the determined fan adjustment strategy is to increase or decrease the fan speed, the server is controlled to dissipate heat according to the heat dissipation mode, including: The fan speed is adjusted according to the temperature of the power consumption device, the wind pressure and the system load using a preset PID control algorithm.
6. The server heat dissipation control method according to claim 5, characterized in that: The adjusting the fan speed by using a preset PID control algorithm according to the temperature of the power consumption device, the wind pressure and the system load includes: Determine the fan speed according to the temperature of the power consumption device, the wind pressure and the system load using a preset PID control algorithm, and adjust the fan according to the determined fan speed; Re-acquire the power consumption device temperature, wind pressure and system load, and determine whether the re-acquired power consumption device temperature is lower than the target temperature; If the reacquired power consumption device temperature is not lower than the target temperature, the fan speed is re-determined according to the reacquired power consumption device temperature, wind pressure and system load using a preset PID control algorithm, and the fan is adjusted according to the re-determined fan speed, and the power consumption device temperature, wind pressure and system load are reacquired, and it is determined whether the reacquired power consumption device temperature is lower than the target temperature, and the process stops when the reacquired power consumption device temperature is lower than the target temperature.
7. The server heat dissipation control method according to claim 1, characterized in that: The method further comprises: Monitor system load; According to the monitored system load, the temperature of the power consumption device is predicted to obtain the predicted temperature; According to the predicted temperature, the fan speed is adjusted using a preset PID control algorithm.
8. A server heat dissipation control device, characterized in that: include: A data acquisition module is used to acquire the temperature of power consumption devices, wind pressure and system load; wherein the wind pressure is obtained based on the detection between the air inlet of the server windshield and the fan; A logic judgment module, which determines a heat dissipation method according to the power consumption device temperature, the wind pressure and the system load in combination with a preset heat dissipation control rule; wherein the preset heat dissipation control rule is used to limit the heat dissipation method corresponding to the power consumption device temperature, the wind pressure and the system load; The heat dissipation control module controls the server to dissipate heat according to the heat dissipation method.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the server heat dissipation control method according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the server heat dissipation control method according to any one of claims 1 to 7 is implemented.