Fan control method and related device

By designing a multi-process structure in the substrate management controller, the disaster recovery mechanism of fan control is realized, and the problem of the existing technology of the stroke-cooled cooling system deteriorates when the main process fails, improving the reliability and electronics of the cooling system The heat dissipation effect of the device.

CN119467385APending Publication Date: 2025-02-18NINGCHANG INFORMATION TECH (HANGZHOU) CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411450778.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art lacks an effective disaster recovery mechanism when controlling the fan speed in the air-cooled cooling system, resulting in a decrease in reliability of the cooling system when the main process fails, affecting the heat dissipation effect of electronic equipment.

Method used

By designing a multi-process structure in a substrate management controller (BMC), including a first and a second process, the second process has the ability to provide speed control parameters to a complex programmable logic device (CPLD). When the first process fails, the second process takes over the fan control algorithm, generates and provides speed control parameters to ensure the adjustment of fan speed and the maintenance of heat dissipation effect.

Benefits of technology

The disaster recovery effect of the cooling system in the event of a main process failure is achieved, the reliability of the system is improved, the effective heat dissipation of electronic equipment is ensured, and the performance degradation caused by failure is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119467385A_ABST
    Figure CN119467385A_ABST
Patent Text Reader

Abstract

The invention provides a fan control method and a related device, which can improve the reliability of a heat dissipation system and guarantee the heat dissipation effect of electronic equipment. The fan control method can be applied to the heat dissipation system, the heat dissipation system comprises a baseboard management controller (BMC) and a complex programmable logic device (CPLD), and the BMC comprises a first process and a second process. The method comprises the steps that a first process generates a first rotating speed control parameter and provides the first rotating speed control parameter to a second process; the second process responds to the received first rotating speed control parameter and provides the first rotating speed control parameter for the CPLD; and the second process generates a second rotating speed control parameter in response to the fact that the first process does not work, and provides the second rotating speed control parameter for the CPLD.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control technology, and in particular to a fan control method and related devices. Background Art

[0002] At present, the demand for improving the performance of electronic equipment is increasing, and cooling down electronic equipment can effectively improve the performance of electronic equipment. For example, improving the heat dissipation effect of a server can improve the performance of the server. For air cooling, the heat dissipation effect can be adjusted by controlling the speed of the fan in the cooling system. Summary of the invention

[0003] The embodiments of the present application provide a fan control method and related devices, which can improve the reliability of the heat dissipation system and ensure the heat dissipation effect of the electronic equipment.

[0004] In a first aspect, an embodiment of the present application provides a fan control method, which can be applied to a heat dissipation system, wherein the heat dissipation system includes a baseboard management controller BMC and a complex programmable logic device CPLD, wherein the BMC includes a first process and a second process, and the method includes:

[0005] The first process generates a first speed control parameter, and provides the first speed control parameter to a second process;

[0006] The second process provides the first speed control parameter to the CPLD in response to receiving the first speed control parameter;

[0007] In response to the first process not being in operation, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD.

[0008] In the embodiment of the present application, in the embodiment of the present application, of the first process and the second process in the BMC, the second process may have the ability to provide the speed control parameter to the CPLD. The first process does not have the ability to provide the speed control parameter to the CPLD. The second process obtains the first speed control parameter provided by the first process, which can reflect that the first process is working normally. The second process can provide the first speed control parameter to the CPLD. In the case where the first process is not working, for example, when the first process is hung or other failures occur, the second process can respond to the first process not working, and the second process executes the fan control algorithm, generates the second speed control parameter, and provides the second speed control parameter to the CPLD. So that the CPLD adjusts the fan speed control circuit based on the second speed control parameter to adjust the fan speed.

[0009] When the first process is working normally, the speed control parameters need to be provided to the CPLD through the second process. The first process and the second process in the BMC can achieve disaster recovery effect and have high reliability. In the event of a failure of the first process, the BMC can still output the second speed control parameters, so that the BMC will not be considered as a failure by other devices or other modules.

[0010] In a possible implementation manner, the present application embodiment provides a fan control method, further comprising:

[0011] The CPLD adjusts the speed of the fan based on the speed control parameter provided by the BMC;

[0012] In response to the second process not being operational, the CPLD adjusts the rotation speed of the fan in a preset manner.

[0013] In the embodiment of the present application, the CPLD adjusts the speed of the fan based on the speed control parameter provided by the BMC. When the BMC does not provide the speed control parameter, the CPLD adjusts the speed of the fan in a preset manner, which can improve the reliability of the cooling system.

[0014] In a possible implementation manner, the present application embodiment provides a fan control method, further comprising:

[0015] The second process provides a heartbeat signal to the CPLD when the second process is working;

[0016] After the CPLD adjusts the rotation speed of the fan in a preset manner in response to the second process not working, the CPLD adjusts the rotation speed of the fan based on the rotation speed control parameter provided by the BMC in response to receiving the heartbeat signal.

[0017] In the embodiment of the present application, the second process has the ability to provide a heartbeat signal to the CPLD when the second process is working. The CPLD can know whether the second process is working through the heartbeat signal, so that the CPLD can switch to the speed control parameters based on the BMC in time, adjust the speed of the fan, and improve the heat dissipation effect.

[0018] In a possible implementation manner, in a fan control method provided by an embodiment of the present application, the second process generates a second speed control parameter in response to the first process not working, and provides the second speed control parameter to the CPLD, including:

[0019] If the preset process disaster recovery condition is met, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD;

[0020] The process disaster recovery condition is that the second process does not receive the first speed control parameter provided by the first process, or the second process does not receive the first speed control parameter provided by the first process within a first time period.

[0021] In an embodiment of the present application, the second process can generate a second speed control parameter when the preset process disaster recovery condition is met, and provide the second speed control parameter to the CPLD, so that when the first process hangs or fails, the second process executes the fan speed control algorithm to perform heat dissipation disaster recovery, improve the reliability of the BMC, and improve the reliability of the heat dissipation system.

[0022] In a possible implementation manner, in a fan control method provided by an embodiment of the present application, the first process generates a first speed control parameter, including:

[0023] The first process generates the first speed control parameter based on data provided by the sensor.

[0024] In the embodiment of the present application, the first process can be configured with a more complex fan speed control algorithm, such as a PID control algorithm, or an open-loop speed control algorithm. The first process can generate a first speed control parameter based on the data provided by the sensor. Such a design can make the heat dissipation system have lower power consumption and better heat dissipation effect.

[0025] In a possible implementation manner, in a fan control method provided by an embodiment of the present application, the second speed control parameter generated by the second process is used as a speed control parameter corresponding to the target speed.

[0026] In the embodiment of the present application, the second process may have basic fan speed control capability. In response to the first process not working, the second process may use the speed control parameter corresponding to the target speed as the second speed control parameter and provide it to the CPLD. The target speed may be a preset speed value. It can be seen that the second process has high reliability. When the first process is hung or fails, the second process can guarantee the fan speed control function of the BMC, has a high disaster recovery effect, and improves the reliability of the cooling system.

[0027] In a possible implementation manner, in a fan control method provided by an embodiment of the present application, the BMC further includes a third process, and the third process is a backup process of the second process; the method further includes:

[0028] In response to the second process not being in operation, the third process generates the second speed control parameter and provides the second speed control parameter to the CPLD;

[0029] The CPLD adjusts the speed of the fan based on the speed control parameter provided by the BMC;

[0030] In response to the second process not being operational and the third process not being operational, the CPLD adjusts the rotation speed of the fan in a preset manner.

[0031] In the embodiment of the present application, when the second process fails, the CPLD can receive the speed control parameter and the heartbeat signal provided by the third process, and in this case the BMC still works normally for the CPLD or other devices. The BMC has high reliability, which is conducive to improving the reliability of the cooling system.

[0032] In a second aspect, an embodiment of the present application further provides a baseboard management controller, including a first process and a second process;

[0033] The first process generates a first speed control parameter, and provides the first speed control parameter to a second process;

[0034] The second process provides the first speed control parameter to the CPLD in response to receiving the first speed control parameter provided by the first process;

[0035] In response to the first process not being in operation, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD.

[0036] In a third aspect, the present application also provides a complex programmable logic device. The complex programmable logic device is used for:

[0037] Adjust the fan speed based on the speed control parameters provided by the baseboard management controller BMC;

[0038] In response to a target process in the BMC not working, adjusting the rotation speed of the fan in a preset manner, the BMC including a plurality of processes, and the target process being one of the plurality of processes.

[0039] In a fourth aspect, an embodiment of the present application provides a computer storage medium. When the instructions in the computer storage medium are executed by a processor, the processor executes the steps performed by the baseboard management controller in the fan control method provided in the first aspect and any possible implementation manner thereof, or executes the steps performed by the complex programmable logic device in the fan control method provided in the first aspect and any possible implementation manner thereof.

[0040] The beneficial effects of the second to fourth aspects can be found in the relevant description of the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0042] Figure 1 A schematic diagram of the structure of a heat dissipation system provided in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of a flow chart of a fan control method provided in an embodiment of the present application;

[0044] Figure 3 A schematic diagram of the working process of a heat dissipation system is provided for an embodiment of the present application;

[0045] Figure 4 A schematic diagram of the working process of a heat dissipation system is provided for an embodiment of the present application;

[0046] Figure 5 A schematic diagram of the working process of a heat dissipation system is provided for an embodiment of the present application;

[0047] Figure 6 A schematic diagram of the working process of a heat dissipation system is provided for an embodiment of the present application;

[0048] Figure 7 A schematic diagram of the structure of a fan control method provided in an embodiment of the present application;

[0049] Figure 8 A schematic diagram of the structure of a fan control method provided in an embodiment of the present application;

[0050] Fig. 9 A schematic diagram of a flow chart of a fan control method provided in an embodiment of the present application;

[0051] Fig.10 A schematic diagram of the structure of a baseboard management controller provided in an embodiment of the present application;

[0052] Fig.11 A schematic diagram of the structure of a complex programmable logic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] At least one of the embodiments of the present application includes one or more; wherein, multiple means greater than or equal to two. In addition, it should be understood that in the description of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as an explicit or implicit relative importance, nor can they be understood as an explicit or implicit order. In the description of the present application, "A and / or B" includes three schemes, namely including A; including B; and including A and B.

[0054] Figure 1 An application scenario schematic diagram is shown as an example. The heat dissipation system can control the working state of the fan. The heat dissipation system can include a control module. The heat dissipation system can also include a sensor module. The heat dissipation system can also include a fan. The control module can control the working state of the fan. The sensor module can include but is not limited to a temperature sensor, a humidity sensor, etc.

[0055] The sensor module can provide temperature data to the control module so that the control module can control the working state of the fan based on the temperature data. The control module can control the speed of the fan and change the working state of the fan to achieve different heat dissipation effects. The control module can use any of a variety of fan control algorithms to control the speed of the fan.

[0056] The embodiments of the present application provide a fan control method and related devices, which can improve the reliability of the heat dissipation system and ensure the heat dissipation effect of the electronic equipment.

[0057] The control module in the heat dissipation system may include a plurality of control units. Any control unit may include any one of devices with control functions such as a baseboard management controller (BMC) and a complex programmable logic device (CPLD).

[0058] Any control unit is configured to execute at least one fan control algorithm. Optionally, the fan control algorithms configured by two control units may be the same. Optionally, the fan control methods configured by two control units are partially the same and partially different. Optionally, the fan control algorithms configured by two control units are completely different.

[0059] In some possible implementations, the heat dissipation system may include a first control unit and a second control unit. The first control unit may include a BMC, and the second control unit may include a CPLD. The BMC is configured with a fan control algorithm, which may be more complex than the fan control algorithm configured with the CPLD. For example, the BMC may be configured with automatic speed control technologies such as a proportional integral differential (PID) control algorithm. The BMC may be configured with a fan speed control process (FSC), and the fan control algorithm may be implemented through the FSC.

[0060] The FSC can obtain the data provided by the sensor module and calculate the fan speed control parameters based on the data. The BMC provides the speed control parameters to the CPLD, which adjusts the fan control circuit based on the speed control parameters to adjust the fan speed.

[0061] The BMC and CPLD can communicate with each other, including but not limited to wireless communication and wired communication. The CPLD can learn the working status of the BMC through communication connection detection. For example, the CPLD can determine whether the BMC is in normal working condition through the heartbeat signal sent by the BMC (of course, it can also be other indication signals). If the BMC fails, the BMC will stop sending heartbeat signals to the CPLD. In this case, the CPLD can execute the fan control algorithm to control the speed of the fan. For example, the CPLD can increase the fan speed. Such a design can achieve the effect of heat dissipation and disaster recovery for electronic equipment.

[0062] During the power-on process of the cooling system, the CPLD usually starts before the BMC. Since the CPLD does not receive the heartbeat signal from the BMC, the CPLD executes the fan control algorithm to control the fan speed. After the BMC starts, it sends a heartbeat signal to the CPLD, executes the fan control algorithm, and provides the CPLD with speed control parameters.

[0063] BMC is not only configured with FSC, but also with other processes. For example, it manages the process of sensors in the sensor module. When the FSC process in the BMC starts, it will load a large number of sensor configurations and control parameters, so it starts slowly. After the FSC starts, it is easy to hang due to abnormal sensor data, incorrect speed control parameter settings, memory overflow and other problems, resulting in the inability to update the speed control parameters in the CPLD register, that is, the inability to provide the speed control parameters to the CPLD.

[0064] If the FSC process hangs, the BMC can stop sending BMC heartbeat signals to the CPLD, so that the CPLD can take over the BMC to control the fan speed and increase the fan speed to a higher value. In this case, the BMC in the cooling system may be judged as a fail state by the electronic equipment, which may cause some functions of the electronic equipment, such as the server system, to fail to work properly, which is very costly.

[0065] In some other possible implementations, the heat dissipation system may include a first control unit and a second control unit. The first control unit may include a BMC, and the second control unit may include a CPLD. The BMC is configured with a fan control algorithm, which may be more complex than the fan control algorithm configured with the CPLD. For example, the BMC may be configured with automatic speed control technologies such as a proportional integral differential (PID) control algorithm. The BMC may be configured with a fan speed control process (FSC), and the fan control algorithm may be implemented through the FSC.

[0066] The cooling system can execute the fan control method provided in the embodiment of the present application, wherein the BMC includes a first process and a second process, such as Figure 2 As shown, the method may include the following steps:

[0067] S201: The first process generates a first speed control parameter, and provides the first speed control parameter to the second process.

[0068] S202: In response to receiving the first speed control parameter provided by the first process, the second process provides the first speed control parameter to the CPLD.

[0069] S203: In response to the first process not being in operation, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD.

[0070] Please combine Figure 3 , the BMC may include a first process and a second process. The first process may be configured with a fan control algorithm. The second process may be configured with a fan control algorithm. Optionally, the fan control algorithms of the first process and the second process may be the same or different. Optionally, the number of processes configured with fan control algorithms in the BMC may be an integer greater than or equal to 2. Optionally, the BMC may also include other processes, which may be used to handle other tasks besides fan control. It should be understood that in an embodiment of the present application, a process provides a speed control parameter to the CPLD, which may be understood as the process directly or indirectly using a device with a sending capability or a writing capability to provide the speed control parameter to the CPLD.

[0071] In the embodiment of the present application, in the first process and the second process in the BMC, the second process may have the ability to provide the speed control parameter to the CPLD. The first process does not have the ability to provide the speed control parameter to the CPLD. When the first process works normally, the speed control parameter needs to be provided to the CPLD through the second process.

[0072] The second process obtains the first speed control parameter provided by the first process, which can reflect that the first process is working normally. The second process can provide the first speed control parameter to the CPLD. In the case where the first process is not working, for example, when the first process is hung or has other faults, the second process can respond to the first process not working, and the second process can execute the fan control algorithm, generate the second speed control parameter, and provide the second speed control parameter to the CPLD. So that the CPLD adjusts the fan speed control circuit based on the second speed control parameter to adjust the fan speed.

[0073] The first process and the second process in the BMC can achieve a disaster recovery effect, so that when the first process fails, the BMC can still output the second speed control parameter, so that the BMC will not be considered as a failure by other devices or other modules.

[0074] In a possible design, based on the fan control method provided in the aforementioned embodiment, the method may also include: the CPLD adjusts the speed of the fan based on the speed control parameters provided by the BMC; the CPLD adjusts the speed of the fan in a preset manner in response to the second process not working.

[0075] In a specific implementation, the CPLD adjusts the speed of the fan based on the speed control parameter provided by the BMC. When the BMC does not provide the speed control parameter, the CPLD adjusts the speed of the fan in a preset manner. For example, the CPLD may control the fan to operate at a preset speed parameter, and the difference between the preset speed parameter and the maximum speed may be less than or equal to a preset difference threshold.

[0076] In a possible design, based on the fan control method provided in any of the foregoing embodiments, the method may further include:

[0077] The second process provides a heartbeat signal to the CPLD when the second process is working;

[0078] After the CPLD adjusts the rotation speed of the fan in a preset manner in response to the second process not working, the CPLD adjusts the rotation speed of the fan based on the rotation speed control parameter provided by the BMC in response to receiving the heartbeat signal.

[0079] Please combine Figure 4, when the second process is working, a heartbeat signal can be provided to the CPLD. In other words, the second process can support communication connection with the CPLD. The CPLD can determine whether the second process in the BMC is in working state through the heartbeat signal. In some examples, if the CPLD does not receive a heartbeat signal within a preset time, it can reflect that the second process is not working, and the second process may be hung or faulty. In response to the second process not working, the CPLD can adjust the fan speed according to a preset method to achieve disaster recovery and heat dissipation.

[0080] In some application scenarios, when the second process in the BMC is not working, the first process and / or the second process can be restarted. After the second process is in working state, it continues to provide the heartbeat signal and the speed control parameter to the CPLD. The CPLD can stop executing the fan control algorithm configured by itself according to the received heartbeat signal, that is, stop adjusting the fan speed according to the preset method. Instead, the CPLD adjusts the fan speed according to the speed control parameter provided by the BMC in response to receiving the heartbeat signal.

[0081] In a possible design, based on the fan control method provided in any of the foregoing embodiments, in the operation in which the second process generates a second speed control parameter in response to the first process not working, and provides the second speed control parameter to the CPLD, the following process may be performed:

[0082] If the preset process disaster recovery condition is met, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD;

[0083] The process disaster recovery condition is that the second process does not receive the first speed control parameter provided by the first process, or the second process does not receive the first speed control parameter provided by the first process within a first time period.

[0084] In specific implementation, the second process can generate a second speed control parameter in response to not receiving the first speed control parameter provided by the first process, and provide the second speed control parameter to the CPLD, so that when the first process hangs or fails, the second process executes the fan speed control algorithm to perform heat dissipation disaster recovery.

[0085] Alternatively, the second process can generate a second speed control parameter in response to not receiving the first speed control parameter provided by the first process within a first time period, and provide the second speed control parameter to the CPLD, so that when the first process hangs or fails, the second process executes the fan speed control algorithm to perform heat dissipation disaster recovery.

[0086] In the fan control method provided in any of the aforementioned embodiments, in some application scenarios, the fan speed control algorithm configured in the first process is the same as the fan speed control algorithm configured in the second process. In other application scenarios, the fan speed control algorithm configured in the first process is different from the fan speed control algorithm configured in the second process.

[0087] In a possible design, based on the fan control method provided in any of the foregoing embodiments, the first process generates a first speed control parameter, including:

[0088] The first process generates the first speed control parameter based on data provided by the sensor.

[0089] In specific implementation, the first process can be implemented as an advanced fan speed control process (AFSC), and the first process can be configured with a more complex fan speed control algorithm, such as a PID control algorithm, or an open-loop speed control algorithm. The first process can generate a first speed control parameter based on data provided by the sensor. Such a design can make the heat dissipation system have lower power consumption and better heat dissipation effect.

[0090] The first process can load the configuration file and parameters for fan control when starting up. After the first process starts up successfully, it can send the first speed control parameter to the second process.

[0091] In one possible design, based on the fan control method provided by any of the aforementioned embodiments, the second speed control parameter generated by the second process is used as the speed control parameter corresponding to the target speed.

[0092] In specific implementation, the second process can be implemented as a Basic Fan Speed ​​Control (BFSC) process. The second process can be configured with a simple fan control algorithm, or in other words, the second process can have basic fan speed control capabilities. In response to the first process not working, the second process can use the speed control parameter corresponding to the target speed as the second speed control parameter and provide it to the CPLD. The target speed can be a preset speed value. It can be seen that the second process has high reliability. When the first process hangs or fails, the second process can guarantee the fan speed control function of the BMC, has a high disaster recovery effect, and improves the reliability of the cooling system.

[0093] In a possible design, based on the fan control method provided in any of the above embodiments, the BMC further includes a third process. The third process can serve as a backup process of the second process. The fan speed control algorithm configured in the third process is the same as the fan speed control algorithm configured in the second process.

[0094] The fan control method provided in the embodiment of the present application may also include the following steps:

[0095] In response to the second process not being in operation, the third process generates the second speed control parameter and provides the second speed control parameter to the CPLD;

[0096] The CPLD adjusts the speed of the fan based on the speed control parameter provided by the BMC;

[0097] In response to the second process not being operated and the third process not being operated, the CPLD adjusts the rotation speed of the fan in a preset manner.

[0098] Please combine Figure 5 , a third process may also be configured in the BMC. When the second process is not working, the third process may take over the second process to communicate with the CPLD. The third process may send a heartbeat signal to the CPLD, and the third process may generate a second speed control parameter and provide it to the CPLD.

[0099] In the case of a second process failure, the CPLD can receive the speed control parameters and heartbeat signal provided by the third process. In this case, the BMC still works normally for the CPLD or other devices. The BMC has high reliability, which is conducive to improving the reliability of the cooling system.

[0100] Figure 6 The working process of a heat dissipation system is shown as an example. The heat dissipation system may include a BMC and a CPLD. Among them, the BMC may include an AFSC process and a BFSC process.

[0101] After the cooling system is powered on, during the CPLD and BMC startup phase, the CPLD starts before the BMC. The CPLD can adjust the fan speed according to the preset method, that is, Figure 6 F1 operation.

[0102] During the BMC startup phase, BFSC starts before AFSC. After the BFSC process is loaded, it sends a heartbeat signal to the CPLD, generates the second speed control parameter, and outputs it to the CPLD. Figure 6 In response to receiving the heartbeat signal, the CPLD adjusts the fan speed based on the speed control parameters provided by the BMC, that is, Figure 6 F3 operation in .

[0103] During the BMC startup phase, the BFSC executes the BMC fan speed control function until the AFSC process is loaded. After the AFSC is loaded, it generates the first speed control parameter and sends it to the CPLD through the BFSC. Figure 6The AFSC sends the first speed control parameter through the BFSC. The AFSC can provide the first speed control parameter to the BFSC process by calling the BFSC process, and make the BFSC process send the first speed control parameter. The BFSC process sends the first speed control parameter to the CPLD, that is, Figure 6 F5 operation.

[0104] After the BMC is started, if the AFSC process fails, it will stop calling BFSC to output the first speed control parameter. If the BFSC process does not receive the first speed control parameter provided by the AFSC within the preset time, the BFSC process generates a second speed control parameter and provides it to the CPLD, that is, executes the F2 operation. The BMC can restart the AFSC process. The AFSC process usually loads slowly. After the AFSC is reloaded successfully, it will output the first speed control parameter to the BFSC process. After the BFSC process receives the first speed control parameter provided by the AFSC process, it stops providing the second speed control parameter to the CPLD and provides the first speed control parameter to the CPLD. In this process, since the BMC keeps sending the heartbeat signal to the CPLD, the impact of the fan control process hanging on the heat dissipation effect and the electronic equipment that needs heat dissipation can be reduced.

[0105] Based on the same inventive concept, the embodiment of the present application also provides a fan control method, which can be applied to a baseboard management controller BMC, such as Figure 7 As shown, the method may include the following steps:

[0106] S701: The first process generates a first speed control parameter, and provides the first speed control parameter to a second process.

[0107] S702: In response to receiving the first speed control parameter provided by the first process, the second process provides the first speed control parameter to the CPLD.

[0108] S703: In response to the first process not being in operation, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD.

[0109] In a possible implementation manner, the second process provides a heartbeat signal to the CPLD when the second process is running.

[0110] In a possible implementation manner, in response to the first process not working, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD, including:

[0111] If the preset process disaster recovery condition is met, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD;

[0112] The process disaster recovery condition is that the second process does not receive the first speed control parameter provided by the first process, or the second process does not receive the first speed control parameter provided by the first process within a first time period.

[0113] In a possible implementation manner, the first process generates a first speed control parameter, including:

[0114] The first process generates the first speed control parameter based on data provided by the sensor.

[0115] In a possible implementation manner, the second speed control parameter generated by the second process is used as a speed control parameter corresponding to the target speed.

[0116] In a possible implementation manner, the BMC further includes a third process, where the third process is a backup process of the second process; and the method further includes:

[0117] In response to the second process not being in operation, the third process generates the second speed control parameter and provides the second speed control parameter to the CPLD.

[0118] Based on the same inventive concept, the embodiment of the present application also provides a fan control method, which can be applied to a complex programmable logic device CPLD, such as Figure 8 As shown, the method may include the following steps:

[0119] S801, adjusting the speed of the fan based on the speed control parameter provided by the baseboard management controller BMC.

[0120] S802: In response to a target process in the BMC not working, adjusting a fan speed in a preset manner, wherein the BMC includes a plurality of processes, and the target process is one of the plurality of processes.

[0121] Optionally, the BMC may include the aforementioned first process and second process, and the target process may include the second process. Alternatively, the BMC may include the aforementioned first process, second process and third process, and the target process may include the second process and / or the third process.

[0122] In a possible implementation, after executing step S802 , the CPLD adjusts the speed of the fan based on the speed control parameter provided by the BMC in response to receiving the heartbeat signal from the BMC.

[0123] Fig. 9A schematic diagram showing an exemplary interaction process between a BMC and a CPLD may include the following steps:

[0124] S901: The first process generates a first speed control parameter, and provides the first speed control parameter to a second process.

[0125] S902, the second process determines whether the first speed control parameter is received, if so, the next step is to execute step S903, if not, the next step is to execute step S904.

[0126] S903: The second process provides the first speed control parameter to the CPLD.

[0127] S904: The second process generates a second speed control parameter, and provides the second speed control parameter to the CPLD.

[0128] S905, the CPLD determines whether the second process in the BMC is working, if so, the next step is to execute step S906, if not, the next step is to execute step S907.

[0129] S906: The CPLD adjusts the speed of the fan based on the speed control parameter provided by the baseboard management controller BMC.

[0130] S907: The CPLD adjusts the fan speed according to the preset method.

[0131] Similarly, the present application also provides a baseboard management controller, which can execute the aforementioned fan control method executed by the BMC, or execute the function of the BMC in the aforementioned cooling system.

[0132] like Fig.10 As shown, the baseboard management controller may include a memory and a processor. The memory stores computer program instructions, and the processor executes the computer program instructions to implement the fan control method executed by the BMC or to perform the operation of the BMC in the cooling system.

[0133] In one possible design, the baseboard management controller may include a first process and a second process;

[0134] The first process generates a first speed control parameter, and provides the first speed control parameter to a second process;

[0135] The second process provides the first speed control parameter to the CPLD in response to receiving the first speed control parameter provided by the first process;

[0136] In response to the first process not being in operation, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD.

[0137] Similarly, the present application also provides a complex programmable logic device. Fig.11 As shown, the complex programmable logic device may include a memory and a processor. The memory stores computer program instructions, and the processor executes the computer program instructions to implement the fan control method executed by the CPLD or to execute the operation of the CPLD in the heat dissipation system.

[0138] In one possible design, CPLDs can be used to:

[0139] Adjust the fan speed based on the speed control parameters provided by the baseboard management controller BMC;

[0140] In response to a target process in the BMC not working, adjusting the rotation speed of the fan in a preset manner, the BMC including a plurality of processes, and the target process being one of the plurality of processes.

[0141] In one possible design, after the CPLD adjusts the speed of the fan in a preset manner, in response to receiving a heartbeat signal from the BMC, the CPLD adjusts the speed of the fan based on a speed control parameter provided by the BMC.

[0142] In the above embodiments provided by the present application, the method provided by the embodiment of the present application is introduced from the perspective of the heat dissipation system, BMC or CPLD as the execution subject. In order to realize the various functions in the method provided by the above embodiments of the present application, the heat dissipation system, BMC or CPLD may include a hardware structure and / or a software module, and the above functions are realized in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a certain function of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0143] In addition, an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program. When the computer program runs on a computer, the computer executes the steps in any one of the above-mentioned fan control methods, such as the steps in the fan control method executed by the BMC, and / or the steps in the fan control method executed by the CPLD.

[0144] As used in the above embodiments, the term "when..." or "after..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrase "when determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "when (the stated condition or event) is detected" or "in response to detecting (the stated condition or event)", depending on the context. In addition, in the above embodiments, relational terms such as first and second are used to distinguish one entity from another, without limiting any actual relationship and order between the entities.

[0145] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0146] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0147] The present application embodiment also provides a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk (SSD)), etc. In the absence of conflict, the schemes of the above embodiments may be used in combination.

[0148] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0149] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0150] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0152] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A fan control method, characterized in that: Applied to a heat dissipation system, the heat dissipation system includes a baseboard management controller BMC and a complex programmable logic device CPLD, the BMC includes a first process and a second process, and the method includes: The first process generates a first speed control parameter, and provides the first speed control parameter to a second process; The second process provides the first speed control parameter to the CPLD in response to receiving the first speed control parameter; In response to the first process not being in operation, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD.

2. The method according to claim 1, characterized in that The method further comprises: The CPLD adjusts the speed of the fan based on the speed control parameter provided by the BMC; In response to the second process not being operational, the CPLD adjusts the rotation speed of the fan in a preset manner.

3. The method according to claim 2, characterized in that The method further comprises: The second process provides a heartbeat signal to the CPLD when the second process is working; After the CPLD adjusts the rotation speed of the fan in a preset manner in response to the second process not working, the CPLD adjusts the rotation speed of the fan based on the rotation speed control parameter provided by the BMC in response to receiving the heartbeat signal.

4. The method according to any one of claims 1 to 3, characterized in that: In response to the first process not working, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD, including: If the preset process disaster recovery condition is met, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD; The process disaster recovery condition is that the second process does not receive the first speed control parameter provided by the first process, or the second process does not receive the first speed control parameter provided by the first process within a first time period.

5. The method according to any one of claims 1 to 3, characterized in that: The first process generates a first speed control parameter, including: The first process generates the first speed control parameter based on data provided by the sensor.

6. The method according to claim 5, characterized in that The second speed control parameter generated by the second process is used as a speed control parameter corresponding to the target speed.

7. The method according to claim 1, characterized in that The BMC further includes a third process, and the third process is a backup process of the second process; and the method further includes: In response to the second process not being in operation, the third process generates the second speed control parameter and provides the second speed control parameter to the CPLD; The CPLD adjusts the speed of the fan based on the speed control parameter provided by the BMC; In response to the second process not being operated and the third process not being operated, the CPLD adjusts the rotation speed of the fan in a preset manner.

8. A baseboard management controller, characterized in that: Includes the first process and the second process; The first process generates a first speed control parameter, and provides the first speed control parameter to a second process; The second process provides the first speed control parameter to the CPLD in response to receiving the first speed control parameter provided by the first process; In response to the first process not being in operation, the second process generates a second speed control parameter and provides the second speed control parameter to the CPLD.

9. A complex programmable logic device, characterized in that: The complex programmable logic device is used for: Adjust the fan speed based on the speed control parameters provided by the baseboard management controller BMC; In response to a target process in the BMC not working, the rotation speed of the fan is adjusted in a preset manner, the BMC includes a plurality of processes, and the target process is one of the plurality of processes.

10. A computer storage medium, characterized in that: When the instructions in the computer storage medium are executed by a processor, the processor executes the steps performed by the baseboard management controller in the fan control method as described in any one of claims 1-7, or executes the steps performed by the complex programmable logic device in the fan control method as described in any one of claims 1-7.

Citation Information

Cited By

  • Rotating speed adjusting method and device, electronic equipment and storage medium

    CN120798850A