Fan rotating speed control method and device of server and substrate management controller

Through BMC monitoring and adjusting the server fan speed, the server's energy waste at the lowest speed is solved, and the speed optimization within the safe temperature range is achieved, the server's power consumption and noise are reduced, and economic benefits and customer satisfaction are improved.

CN120255674APending Publication Date: 2025-07-04INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510381278.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, server fans cannot further reduce the speed when operating at the lowest speed, resulting in unnecessary energy consumption and noise increase, and cannot meet customer needs for different configuration requirements.

Method used

Monitor the temperature of the fan and target devices through the substrate management controller (BMC), determine whether it is within the preset safe temperature range, if it is included, the fan speed will be lowered, and the speed will be adjusted by the preset adjustment value or dynamic step length to ensure the stable operation of the server.

Benefits of technology

While ensuring the stable operation of the server, find the balance point between the minimum speed and the device's safe temperature, reduce power consumption and noise, and improve economic benefits and customer satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120255674A_ABST
    Figure CN120255674A_ABST
Patent Text Reader

Abstract

The invention discloses a fan rotating speed control method and device of a server and a baseboard management controller, and relates to the technical field of servers, the method is applied to a BMC, and the method comprises the steps that the current rotating speed of a fan in the server and the temperature of each target device are monitored; if the current rotating speed of the fan is the strategy lowest rotating speed, whether the temperature of each target device is within the corresponding preset safe temperature interval or not is judged; if yes, the current rotating speed of a down-regulation fan is controlled, the temperature of each target device after down-regulation is detected, and the step of judging whether the temperature of each target device is within the corresponding preset safety temperature interval or not is executed; when the fan is at the lowest fan rotating speed of the heat dissipation strategy, the BMC can continuously reduce the rotating speed under the condition of ensuring stable operation of the server by judging the temperature of each target device, so that the purpose of safely reducing the minimum fan rotating speed is achieved, the power consumption and noise of the server are reduced, and energy is saved.
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 particularly to a method and device for controlling the fan speed of a server and a baseboard management controller. Background Art

[0002] The BMC (Baseboard Management Controller) is an intelligent independent control unit independent of the server system, and is responsible for core functions such as hardware monitoring and management of the server, operating system management, health status management, and fan management. Among them, fan management is one of the most core functions of the BMC. Fan management keeps the devices on the server in an optimal working environment, avoiding overheating and over-temperature, and ensuring stable operation. At the same time, the server is an extremely power-consuming device. How to keep the devices on the server operating stably while reducing power consumption is the direction that the BMC has been developing.

[0003] In related technologies, the overall fan strategy of the server is given by heat dissipation engineers through calculation and simulation. The heat dissipation engineers will formulate a fan heat dissipation strategy according to the general configuration on the server. The fan heat dissipation strategy includes the basic fan speed, which is also the lowest fan speed. This fan speed is the minimum speed to keep the system running stably under the general configuration. Usually, the BMC cannot be lower than this speed when adjusting the fan. However, although the basic fan speed can ensure that most devices can run stably, different customers have different requirements for the server configuration. Some customers' server systems are underconfigured and only require simple configurations. The fewer the configurations, the less heat is generated, and the smaller the actual required heat dissipation air volume, and only a lower speed is required to maintain the stable operation of the system. This makes the limitation of the lowest speed of the overall fan strategy cause the fan speed to not be smaller, resulting in unnecessary energy consumption. Therefore, how to enable the server to run stably when the fan is at a speed lower than the lowest fan speed, so as to reduce power consumption and noise, save energy, improve economic benefits and customer satisfaction, is an urgent problem to be solved today. Summary of the Invention

[0004] The purpose of the present invention is to provide a method and device for controlling the fan speed of a server, a baseboard management controller, and a computer-readable storage medium, so that the server can run stably when the fan is at a speed lower than the lowest fan speed, reduce power consumption and noise, save energy, improve economic benefits and customer satisfaction.

[0005] To solve the above technical problems, the present invention provides a method for controlling the fan speed of a server, which is applied to a baseboard management controller and includes:

[0006] Monitor the current rotation speed of the fan and the temperatures of each target device in the monitoring server;

[0007] If the current rotation speed of the fan is the policy minimum rotation speed, then determine whether the temperatures of each of the target devices are all within their respective preset safe temperature ranges;

[0008] If so, control to lower the current rotation speed of the fan, and detect the temperatures of each of the target devices after the lowering, and execute the step of determining whether the temperatures of each of the target devices are all within their respective preset safe temperature ranges;

[0009] If not, maintain the fan to dissipate heat at the current rotation speed.

[0010] On the other hand, the control to lower the current rotation speed of the fan includes:

[0011] Lower the current rotation speed of the fan by using a preset adjustment value; wherein, the preset adjustment value is the product of a preset step size and the policy minimum rotation speed or the current rotation speed.

[0012] On the other hand, the control to lower the current rotation speed of the fan includes:

[0013] Determine an adjustment step size according to the difference between the temperature of each target device and the upper temperature limit of its respective preset safe temperature range;

[0014] Determine a rotation speed adjustment value according to the adjustment step size; wherein, the rotation speed adjustment value is the product of the adjustment step size and the policy minimum rotation speed or the current rotation speed;

[0015] Lower the current rotation speed of the fan by using the rotation speed adjustment value.

[0016] On the other hand, the upper temperature limit of the preset safe temperature range corresponding to the current target device is the difference between the control point temperature corresponding to the current target device and the preset temperature value corresponding to the current target device; the current target device is any one of the target devices.

[0017] On the other hand, before the control to lower the current rotation speed of the fan, it further includes:

[0018] Judge whether the temperature change trends of each of the target devices within a preset time period have not reached their respective preset rapid rising trends;

[0019] If none of them reach their respective preset rapid rising trends, then execute the step of controlling to lower the current rotation speed of the fan;

[0020] If there is a temperature change trend that reaches the corresponding preset rapid rising trend, then maintain the fan to dissipate heat at the current rotation speed.

[0021] On the other hand, the preset safe temperature range includes a speed regulation temperature range and a marginal temperature range, the speed regulation temperature range and the marginal temperature range do not intersect, and the upper temperature limit of the speed regulation temperature range is less than the upper temperature limit of the preset safe temperature range; the step of controlling to lower the current speed of the fan and detecting the temperatures of the target devices after the lowering, and performing the step of judging whether the temperatures of the target devices are all within their respective corresponding preset safe temperature ranges includes:

[0022] Controlling to lower the current speed of the fan and detecting the temperatures of the target devices after the lowering;

[0023] Judging whether the temperatures of the target devices after the lowering are all within their respective corresponding speed regulation temperature ranges;

[0024] If they are all within their respective corresponding speed regulation temperature ranges, then perform the step of controlling to lower the current speed of the fan and detecting the temperatures of the target devices after the lowering;

[0025] If there is a temperature within the corresponding marginal temperature range, then maintain the fan to dissipate heat at the current speed.

[0026] On the other hand, the controlling to lower the current speed of the fan includes:

[0027] When the current speed of the fan is the lowest speed of the strategy, lowering the current speed of the fan to the recorded historical lowered speed;

[0028] When the current speed of the fan is less than the lowest speed of the strategy, lowering the current speed of the fan;

[0029] After maintaining the fan to dissipate heat at the current speed, further includes:

[0030] When the current speed of the fan is less than the lowest speed of the strategy, updating the recorded historical lowered speed with the current speed of the fan.

[0031] The present invention further provides a fan speed control device for a server, which is applied to a baseboard management controller and includes:

[0032] A monitoring module, configured to monitor the current speed of the fan and the temperatures of the target devices in the server;

[0033] A judging module, configured to judge whether the temperatures of the target devices are all within their respective corresponding preset safe temperature ranges if the current speed of the fan is the lowest speed of the strategy;

[0034] A down - regulation module, which is used to control the down - regulation of the current speed of the fan if they are all within their respective preset safe temperature ranges, detect the temperatures of the target devices after the down - regulation, and send a start signal to the judgment module;

[0035] A maintenance module, which is used to maintain the fan for heat dissipation at the current speed if they are not all within their respective preset safe temperature ranges.

[0036] The present invention also provides a baseboard management controller, including:

[0037] A memory, which is used to store computer programs;

[0038] A processor, which is used to implement the steps of the fan speed control method of the server as described above when executing the computer program.

[0039] In addition, the present invention also provides a computer - readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the fan speed control method of the server as described above.

[0040] A fan speed control method for a server provided by the present invention is applied to a baseboard management controller and includes: monitoring the current speed of the fan and the temperatures of the target devices in the server; if the current speed of the fan is the minimum speed of the strategy, determining whether the temperatures of the target devices are all within their respective preset safe temperature ranges; if so, controlling the down - regulation of the current speed of the fan, detecting the temperatures of the target devices after the down - regulation, and performing the step of determining whether the temperatures of the target devices are all within their respective preset safe temperature ranges; if not, maintaining the fan for heat dissipation at the current speed.

[0041] It can be seen that when the BMC in the present invention is at the minimum fan speed of the heat dissipation strategy, by judging the temperatures of the target devices, it can continue to down - regulate the speed while ensuring the stable operation of the server, find the balance point between the minimum speed of each configuration and the safe temperature of each device, so as to achieve the purpose of safely reducing the minimum fan speed, reducing the power consumption and noise of the server, saving energy, and improving economic benefits and customer satisfaction. In addition, the present invention also provides a fan speed control device, a baseboard management controller and a computer - readable storage medium for the server, which also have the above - mentioned beneficial effects. Description of the Drawings

[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained according to the provided drawings.

[0043] Figure 1 Flowchart of a method for controlling the fan speed of a server provided by an embodiment of the present invention;

[0044] Figure 2 Flowchart of another method for controlling the fan speed of a server provided by an embodiment of the present invention;

[0045] Figure 3 Block diagram of the structure of a fan speed control device for a server provided by an embodiment of the present invention;

[0046] Figure 4 Schematic diagram of the structure of a baseboard management controller provided by an embodiment of the present invention. Detailed implementation manners

[0047] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.

[0048] Please refer to Figure 1 , Figure 1 Flowchart of a method for controlling the fan speed of a server provided by an embodiment of the present invention. This method is applied to a baseboard management controller (BMC) and may include:

[0049] Step 101: Monitor the current speed of the fan in the server and the temperatures of each target device.

[0050] It can be understood that the fan in this embodiment can be one or a group of fans in the server, that is, one or more fans controlled by one heat dissipation strategy. The target devices in this embodiment can be all or part of the devices in the server whose temperature conditions are monitored by the BMC (such as the devices cooled by the above-mentioned fans).

[0051] That is to say, this embodiment takes the speed control of one or a group of fans in the server by the BMC as an example for demonstration. For the speed control of other fans in the server by the BMC, it can be implemented in the same or similar manner as the method provided in this embodiment, and this embodiment does not impose any restrictions on this.

[0052] Correspondingly, for the specific manner in which the BMC monitors the current speed of the fans in the server and the temperatures of each target device in this step, it can be set by the designer according to the practical scenario and user requirements. For example, it can be implemented in the same or similar manner as the methods for monitoring the temperature of devices in the server and the speed conditions of the fans in the related art, as long as the BMC can monitor the current speed of the fans in the server and the temperatures of each target device to determine whether the current speed of the fans (i.e., the current speed) is within the minimum fan speed given by the cooling strategy (i.e., the strategy minimum speed). This embodiment does not impose any restrictions on this.

[0053] Step 102: If the current speed of the fan is the strategy minimum speed, then determine whether the temperatures of each target device are all within their respective preset safe temperature ranges; if so, proceed to step 103; if not, proceed to step 104.

[0054] Among them, the preset safe temperature range in this embodiment can be a temperature range that is preset to be able to safely lower the fan speed. That is to say, in this step, when the BMC determines that the current speed of the fan is the strategy minimum speed, it can determine whether the fan speed can be further lowered by judging whether the temperatures of each target device are all within their respective preset safe temperature ranges.

[0055] Correspondingly, for the specific setting of the preset safe temperature range corresponding to each target device in this step, it can be set by the designer according to the usage scenario and user requirements. For example, the upper limit of the temperature of the preset safe temperature range corresponding to the current target device is the difference between the regulation point temperature corresponding to the current target device and the preset temperature value corresponding to the current target device; the current target device is any target device. That is to say, the upper limit of the temperature of the preset safe temperature range corresponding to each target device can be the difference between their respective regulation point temperatures (such as the regulation point temperature in the case of the minimum fan speed given by the cooling strategy) and their respective preset temperature values, and the lower limit can be 0 degrees or the difference between the upper limit and the length of their respective preset temperature ranges.

[0056] Correspondingly, the preset temperature values corresponding to each target device can be the same, such as all being 3 degrees; or they can be different, such as setting the difference between the upper limit of the preset safe temperature range and the regulation point temperature for different target devices to adapt to different types of devices in the server. This embodiment does not impose any restrictions on this.

[0057] Specifically, for the case where the current speed of the fan in this embodiment is not the lowest speed of the policy (i.e., greater than the lowest speed of the policy), the control of the fan speed can continue to be carried out according to the normal heat dissipation policy, and this embodiment does not impose any restrictions on this.

[0058] Step 103: Control the current speed of the fan to be lowered and detect the temperatures of the target devices after the lowering, and enter Step 102.

[0059] It can be understood that in this step, the BMC can control the current speed of the fan to be lowered when the current speed of the fan is less than or equal to the lowest speed of the policy and the temperatures of all target devices are within their respective preset safe temperature ranges, and enter Step 102 by detecting the temperatures of the target devices after the speed is lowered to determine whether the current speed of the fan can continue to be lowered.

[0060] Correspondingly, for the specific manner in which the BMC controls the current speed of the fan to be lowered in this step, it can be set by the designer according to the practical scenario and user requirements. For example, the BMC can lower the fan speed in a fixed step. For example, the BMC can use a preset adjustment value to lower the current speed of the fan, that is, the current speed after the lowering can be the difference between the current speed before the lowering and the preset adjustment value. Among them, the preset adjustment value is the product of the preset step and the lowest speed of the policy or the current speed. For example, the preset adjustment value can be the product of 0.1% (i.e., the preset step) and the lowest speed of the policy. The BMC can also lower the fan speed in a dynamically adjusted step to improve the control accuracy. For example, the BMC can determine the adjustment step according to the difference between the temperatures of the target devices and the upper limit of the respective preset safe temperature range (or speed regulation temperature range) (such as the greater the difference, the greater the adjustment step); determine the speed adjustment value according to the adjustment step; among them, the speed adjustment value is the product of the adjustment step and the lowest speed of the policy or the current speed; use the speed adjustment value to lower the current speed of the fan. This embodiment does not impose any restrictions on this.

[0061] Further, in order to reduce the control time for lowering the fan speed, during the process of the BMC controlling the current speed of the fan to be lowered in this step, when the current speed of the fan is the lowest speed of the policy, the current speed of the fan can be lowered to the recorded historical lowered speed; when the current speed of the fan is less than the lowest speed of the policy, lower the current speed of the fan, such as lowering the fan speed in a fixed or dynamically adjusted step as described above. Among them, the recorded historical lowered speed can be the speed less than the lowest speed of the policy that was finally maintained in the previous lowering control and stored; for example, after Step 104, when maintaining the fan to dissipate heat at the current speed, when the current speed of the fan is less than the lowest speed of the policy, the recorded historical lowered speed can also be updated using the current speed of the fan.

[0062] In some other embodiments, the preset safe temperature range may include a speed regulation temperature range and a marginal temperature range. The speed regulation temperature range and the marginal temperature range do not intersect, and the upper temperature limit of the speed regulation temperature range is less than the upper temperature limit of the preset safe temperature range. In step 103, the BMC may control the current speed of the fan to decrease and detect the temperatures of each target device after the decrease. It is determined whether the temperatures of each target device after the decrease are all within their respective corresponding speed regulation temperature ranges. If they are all within their respective corresponding speed regulation temperature ranges, then the step of controlling the current speed of the fan to decrease and detecting the temperatures of each target device after the decrease is executed. If there is a temperature within the corresponding marginal temperature range, the fan is maintained to dissipate heat at the current speed. That is to say, through the division of the speed regulation temperature range and the marginal temperature range, as the speed of the fan decreases, when the temperature of a certain target device is near the upper temperature limit of the corresponding preset safe temperature range (i.e., the marginal temperature range), the speed reduction of the fan is stopped, and the balance point between the speed and the temperature is found.

[0063] Further, in order to ensure the safety of the speed reduction, in this embodiment, it is also possible to determine whether to terminate the speed reduction of the fan by analyzing the temperature change trends of each target device. For example, before the BMC controls the current speed of the fan to decrease in step 103, it is determined whether the temperature change trends of each target device within a preset time period have not reached their respective corresponding preset rapid increase trends. If they have not reached their respective corresponding preset rapid increase trends, then the step of controlling the current speed of the fan to decrease is executed. If there is a temperature change trend that reaches the corresponding preset rapid increase trend, the fan is maintained to dissipate heat at the current speed.

[0064] Step 104: Maintain the fan to dissipate heat at the current speed.

[0065] It can be understood that in this step, the BMC may maintain the fan to dissipate heat at the current speed when the current speed of the fan is less than or equal to the policy minimum speed and there are target devices whose temperatures are not within the corresponding preset safe temperature ranges, and no longer continue to decrease the speed of the fan to avoid affecting the safe and stable operation of the server.

[0066] In this embodiment, when the BMC of the embodiment of the present invention is at the minimum fan speed of the heat dissipation strategy, by judging the temperatures of each target device, it is possible to continue to decrease the speed while ensuring the stable operation of the server, find the balance point between the minimum speed of each configuration and the safe temperature of each device, so as to achieve the purpose of safely reducing the minimum fan speed, reduce the power consumption and noise of the server, save energy, and improve the economic benefits and customer satisfaction.

[0067] Based on the above embodiments, the embodiment of the present invention also provides another method for controlling the fan speed of a server to improve the accuracy of fan speed control. Specifically, please refer toFigure 2 , Figure 2 It is a flowchart of another method for controlling the fan speed of a server provided by an embodiment of the present invention. This method is applied to the BMC and may include:

[0068] Step 201: Monitor the current speed of the fan in the server and the temperatures of each target device.

[0069] Step 202: If the current speed of the fan is the policy minimum speed, determine whether the temperatures of each target device are all within their respective preset safe temperature ranges; if so, proceed to Step 203; if not, proceed to Step 205.

[0070] Among them, Step 201 and Step 202 are similar to Step 101 and Step 102, and will not be elaborated here.

[0071] Step 203: Control the current speed of the fan to decrease, and detect the temperatures of each target device after the decrease.

[0072] For example, in this step, the BMC can decrease the current speed of the fan in steps of 0.1%, and at the same time detect the temperatures of each target device.

[0073] Furthermore, before the BMC controls the current speed of the fan to decrease in this step, it can also determine whether the temperature change trends of each target device within a preset time period have not reached their respective preset rapid rise trends (such as the temperature rise per unit time reaching the corresponding threshold); if not, control the current speed of the fan to decrease; if there is a temperature change trend that reaches the corresponding preset rapid rise trend, maintain the fan to dissipate heat at the current speed, or, when the current speed of the fan is the policy minimum speed, maintain the fan to dissipate heat at the current speed, and when the current speed of the fan is less than the policy minimum speed, adjust the current speed of the fan to the speed before the previous decrease.

[0074] Step 204: Determine whether the temperatures of each target device after the decrease are all within their respective speed regulation temperature ranges; if so, proceed to Step 203; if not, proceed to Step 205.

[0075] Among them, in this embodiment, the preset safe temperature range may include a speed regulation temperature range and a marginal temperature range. The speed regulation temperature range and the marginal temperature range do not intersect, and the upper temperature limit of the speed regulation temperature range is less than the upper temperature limit of the preset safe temperature range. In this step, by determining whether the temperatures of the target devices after being lowered are all within their respective corresponding speed regulation temperature ranges, it can be determined whether the fan speed can be further lowered. Thus, when the temperatures of the target devices are within their respective corresponding speed regulation temperature ranges, the fan speed is further lowered through step 203; when there is a temperature within the corresponding marginal temperature range or there is a temperature outside the corresponding preset safe temperature range, the fan is maintained to dissipate heat at the current speed.

[0076] In some other embodiments, in this step, in the case where there is a temperature outside the respective corresponding speed regulation temperature range, when there is only a temperature within the corresponding marginal temperature range, step 205 is entered; when there is a temperature outside the corresponding preset safe temperature range, the current speed of the fan is adjusted to the speed before the previous lowering.

[0077] Step 205: Maintain the fan to dissipate heat at the current speed.

[0078] Corresponding to the above method embodiment, the embodiment of the present invention further provides a fan speed control device for a server. The following description of a fan speed control device for a server corresponds to the above-described fan speed control method for a server and can be referred to each other.

[0079] Please refer to Figure 3 , Figure 3 which is a structural block diagram of a fan speed control device for a server provided by an embodiment of the present invention. This device is applied to a baseboard management controller and may include:

[0080] A monitoring module 10, configured to monitor the current speed of the fan and the temperatures of the target devices in the server;

[0081] A judgment module 20, configured to judge whether the temperatures of the target devices are all within their respective corresponding preset safe temperature ranges if the current speed of the fan is the policy minimum speed;

[0082] A lowering module 30, configured to control the current speed of the fan to be lowered if they are all within their respective corresponding preset safe temperature ranges, detect the temperatures of the target devices after the lowering, and send a start signal to the judgment module 20;

[0083] A maintaining module 40, configured to maintain the fan to dissipate heat at the current speed if they are not all within their respective corresponding preset safe temperature ranges.

[0084] In some embodiments, the lowering module 30 may include:

[0085] The fixed-step-down sub-module is used to lower the current rotational speed of the fan by using a preset adjustment value; wherein, the preset adjustment value is the product of the preset step and the policy minimum rotational speed or the current rotational speed.

[0086] In some embodiments, the down-regulation module 30 may include:

[0087] The step determination sub-module is used to determine the adjustment step according to the difference between the temperature of each target device and the upper limit of the preset safe temperature range corresponding to each target device;

[0088] The adjustment determination sub-module is used to determine the rotational speed adjustment value according to the adjustment step; wherein, the rotational speed adjustment value is the product of the adjustment step and the policy minimum rotational speed or the current rotational speed;

[0089] The down-regulation sub-module is used to lower the current rotational speed of the fan by using the rotational speed adjustment value.

[0090] In some embodiments, the upper limit of the preset safe temperature range corresponding to the current target device is the difference between the control point temperature corresponding to the current target device and the preset temperature value corresponding to the current target device; the current target device is any one of the target devices.

[0091] In some embodiments, the down-regulation module 30 may include:

[0092] The trend judgment sub-module is used to judge whether the temperature change trends of each target device within a preset time period all do not reach their respective preset rapid rise trends if they are all within their respective preset safe temperature ranges; if not, send a start signal to the maintenance module 40;

[0093] The down-regulation control sub-module is used to control the lowering of the current rotational speed of the fan if they all do not reach their respective preset rapid rise trends, detect the temperatures of each target device after the lowering, and send a start signal to the judgment module 20.

[0094] In some embodiments, the preset safe temperature range includes a speed regulation temperature range and a marginal temperature range, the speed regulation temperature range and the marginal temperature range do not intersect, and the upper limit of the speed regulation temperature range is less than the upper limit of the preset safe temperature range; the down-regulation module 30 may include:

[0095] The down-regulation detection sub-module is used to control the lowering of the current rotational speed of the fan if they are all within their respective preset safe temperature ranges, and detect the temperatures of each target device after the lowering;

[0096] The down-regulation judgment sub-module is used to judge whether the temperatures of each target device after the lowering are all within their respective speed regulation temperature ranges; if so, send a start signal to the down-regulation detection sub-module; if not, send a start signal to the maintenance module 40.

[0097] In some embodiments, the down-regulation module 30 may include:

[0098] A fast down-regulation sub-module, configured to down-regulate the current rotational speed of the fan to the recorded historical down-regulated rotational speed when the current rotational speed of the fan is the lowest rotational speed of the policy.

[0099] A normal down-regulation sub-module, configured to down-regulate the current rotational speed of the fan when the current rotational speed of the fan is less than the lowest rotational speed of the policy.

[0100] The maintenance module 40 may further be configured to update the recorded historical down-regulated rotational speed with the current rotational speed of the fan when the current rotational speed of the fan is less than the lowest rotational speed of the policy after maintaining the fan to dissipate heat at the current rotational speed.

[0101] In this embodiment, in the embodiment of the present invention, when the BMC of the fan is at the lowest fan rotational speed of the heat dissipation policy, by judging the temperatures of the target devices, it is possible to continue to down-regulate the rotational speed while ensuring the stable operation of the server, find the balance point between the minimum rotational speed of each configuration and the safe temperature of each device, so as to achieve the purpose of safely reducing the minimum fan rotational speed, reduce the power consumption and noise of the server, save energy, and improve economic benefits and customer satisfaction.

[0102] Corresponding to the above method embodiment, the embodiment of the present invention further provides a baseboard management controller. A baseboard management controller described below can be mutually corresponding and referred to with a method for controlling the rotational speed of a fan of a server described above.

[0103] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of a baseboard management controller provided by an embodiment of the present invention. The baseboard management controller may include:

[0104] A memory D1, configured to store a computer program;

[0105] A processor D2, configured to implement the steps of the method for controlling the rotational speed of a fan of a server provided by the above method embodiment when executing the computer program.

[0106] Corresponding to the above BMC embodiment, the embodiment of the present invention further provides a server. A server described below can be mutually corresponding and referred to with a baseboard management controller described above.

[0107] A server, including: a baseboard management controller provided by the above embodiment.

[0108] Corresponding to the above method embodiment, the embodiment of the present invention further provides a computer program product. A computer program product described below can be mutually corresponding and referred to with a method for controlling the rotational speed of a fan of a server described above.

[0109] A computer program product includes a computer program / instructions. When the computer program / instructions are executed by a processor, the steps of the fan speed control method of the server provided in the above method embodiments are implemented.

[0110] Corresponding to the above method embodiments, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium described below can be correspondingly referred to with the fan speed control method of a server described above.

[0111] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the fan speed control method of the server in the above method embodiments are implemented.

[0112] Specifically, the computer-readable storage medium can be various readable storage media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.

[0113] The embodiments in the specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the embodiments can be referred to each other. For the devices, baseboard management controllers, servers, computer program products, and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple. For the relevant parts, refer to the description in the method part.

[0114] The above has introduced in detail a fan speed control method, device, baseboard management controller, and computer-readable storage medium provided by the present invention. Specific examples are used herein to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the present invention.

Claims

1. A method for controlling the fan speed of a server, characterized in that, Applied to a baseboard management controller, including: Monitoring the current rotation speed of the fan and the temperatures of each target device in the server; If the current rotation speed of the fan is the policy minimum rotation speed, determining whether the temperatures of each of the target devices are all within their respective preset safe temperature ranges; If so, controlling to lower the current rotation speed of the fan, and detecting the temperatures of each of the target devices after the lowering, and performing the step of determining whether the temperatures of each of the target devices are all within their respective preset safe temperature ranges; If not, maintaining the fan to dissipate heat at the current rotation speed.

2. The method for controlling the fan speed of the server according to claim 1, wherein The controlling to lower the current rotation speed of the fan includes: Lowering the current rotation speed of the fan by using a preset adjustment value; wherein, the preset adjustment value is the product of a preset step size and the policy minimum rotation speed or the current rotation speed.

3. The method for controlling the fan speed of the server according to claim 1, wherein The controlling to lower the current rotation speed of the fan includes: Determining an adjustment step size according to the difference between the temperature of each target device and the upper temperature limit of its respective preset safe temperature range; Determining a rotation speed adjustment value according to the adjustment step size; wherein, the rotation speed adjustment value is the product of the adjustment step size and the policy minimum rotation speed or the current rotation speed; Lowering the current rotation speed of the fan by using the rotation speed adjustment value.

4. The method for controlling the fan speed of the server according to claim 1, wherein The upper temperature limit of the preset safe temperature range corresponding to the current target device is the difference between the regulation point temperature corresponding to the current target device and the preset temperature value corresponding to the current target device; The current target device is any one of the target devices.

5. The method for controlling the fan speed of the server according to claim 1, wherein Before the controlling to lower the current rotation speed of the fan, it further includes: Determining whether the temperature change trends of each of the target devices within a preset time period have not reached their respective preset rapid rising trends; If none of them have reached their respective preset rapid rising trends, performing the step of controlling to lower the current rotation speed of the fan; If there is a temperature change trend that reaches the corresponding preset rapid rising trend, maintaining the fan to dissipate heat at the current rotation speed.

6. The method for controlling the fan speed of the server according to any one of claims 1 to 5, characterized in that, The preset safe temperature range includes a speed regulation temperature range and a marginal temperature range, the speed regulation temperature range and the marginal temperature range do not intersect, and the upper temperature limit of the speed regulation temperature range is less than the upper temperature limit of the preset safe temperature range; The controlling to lower the current rotation speed of the fan, and detecting the temperatures of each of the target devices after the lowering, and performing the step of determining whether the temperatures of each of the target devices are all within their respective preset safe temperature ranges includes: Controlling to lower the current rotation speed of the fan, and detecting the temperatures of each of the target devices after the lowering; Determining whether the temperatures of each of the target devices after the lowering are all within their respective speed regulation temperature ranges; If they are all within their respective speed regulation temperature ranges, performing the step of controlling to lower the current rotation speed of the fan, and detecting the temperatures of each of the target devices after the lowering; If there is a temperature that is within the corresponding marginal temperature range, maintaining the fan to dissipate heat at the current rotation speed.

7. The method for controlling the fan speed of the server according to claim 6, wherein The controlling to lower the current rotation speed of the fan includes: When the current rotation speed of the fan is the policy minimum rotation speed, lowering the current rotation speed of the fan to the recorded historical lowered rotation speed; When the current speed of the fan is less than the minimum speed of the policy, lower the current speed of the fan; After maintaining the fan to dissipate heat at the current speed, it further includes: When the current speed of the fan is less than the minimum speed of the policy, update the recorded historical lowered speed with the current speed of the fan.

8. A fan speed control device for a server, characterized in that, Applied to a baseboard management controller, it includes: A monitoring module, configured to monitor the current speed of the fan and the temperatures of each target device in the server; A judgment module, configured to judge whether the temperatures of each target device are all within their respective preset safe temperature ranges if the current speed of the fan is the minimum speed of the policy; A lowering module, configured to control the lowering of the current speed of the fan if they are all within their respective preset safe temperature ranges, detect the temperatures of each target device after the lowering, and send a start signal to the judgment module; A maintaining module, configured to maintain the fan to dissipate heat at the current speed if they are not all within their respective preset safe temperature ranges.

9. A baseboard management controller, characterized in that, It includes: A memory, configured to store a computer program; A processor, configured to implement the steps of the fan speed control method for the server according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, it implements the steps of the fan speed control method for the server according to any one of claims 1 to 7.