A server fan control method, device, electronic equipment, and storage medium
By acquiring server temperature information and hard drive backplane activity duty cycle, the hard drive fan speed is dynamically adjusted, solving the balance problem between heat dissipation and hard drive performance in server fan control. This achieves intelligent speed adjustment, avoiding unnecessary heat loss and high maintenance costs.
Patent Information
- Application Number
- CN202611237235.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-11-17
AI Technical Summary
Existing technologies in server fan control struggle to balance heat dissipation capacity with hard drive read/write performance, especially when hard drive configurations vary. Conventional methods can lead to unnecessary loss of heat dissipation capacity or increased maintenance costs.
By acquiring the temperature information of the components to be cooled inside the server and the maximum active duty cycle of the programmable logic devices in the hard drive backplane, the speed limit and base value of the hard drive fan group are dynamically adjusted. The target speed value is determined by combining the two to control the operation of the fan group, thereby achieving intelligent adjustment.
It enables dynamic adjustment of the fan speed limit based on the actual activity status of the hard drive, avoiding unnecessary loss of heat dissipation capacity and high maintenance costs, while ensuring hard drive read/write performance and heat dissipation efficiency.
Smart Images

Figure CN123114218A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a server fan control method, device, electronic device, and storage medium. Background Technology
[0002] In the field of server thermal design, fan speed control is a core element in ensuring stable hardware operation. Conventional technologies involve collecting temperature information from components such as the CPU and memory, and then using speed adjustment algorithms to control the fan speed to match real-time cooling requirements. However, hard disk drives (HDDs) contain precision mechanical structures such as high-speed rotating platters and movable read / write heads, making them extremely sensitive to vibration. When the fan operates within a specific speed range, the vibration generated by the fan will resonate with the chassis and hard drive mounting structure and be transmitted to the HDD, causing a decrease in hard drive read / write performance. This problem is particularly prominent under high fan speed conditions. Therefore, fan speed control must simultaneously consider both cooling capacity and hard drive read / write performance.
[0003] Current technologies typically use a uniform limit on the maximum fan speed to avoid resonance speed range. However, this method unnecessarily limits the fan's heat dissipation capacity when the server is not configured with the corresponding hard drive or the hard drive is idle, and cannot fully utilize the heat dissipation performance. If custom control firmware is customized for different hard drive configurations, it will increase the cost of firmware development and daily maintenance, making it difficult to achieve a balance between heat dissipation efficiency, hard drive performance assurance and operation and maintenance costs. Summary of the Invention
[0004] To address the above issues, this application provides a server fan control method, apparatus, electronic device, and storage medium.
[0005] Firstly, this application provides a server fan control method, including: The system obtains the temperature information of the components to be cooled within the server, and obtains the maximum active duty cycle within the current statistical period from the programmable logic device. The programmable logic device is located in the hard disk backplane within the server. The programmable logic device is used to detect the active duty cycle of each hard disk in the hard disk backplane within the current statistical period and record the maximum active duty cycle among the active duty cycles. Based on the maximum active duty cycle, the speed limit value of the hard disk fan group in the server is determined. The hard disk fan group is used to provide cooling airflow for the component to be cooled and each hard disk in the hard disk backplane. Based on the temperature information, determine the base speed value corresponding to the hard drive fan assembly; The target speed value corresponding to the hard drive fan group is determined from the speed limit value and the speed base value; The target rotational speed value is used to control the operation of the hard disk fan assembly.
[0006] In one optional implementation, determining the rotational speed limit value corresponding to the hard disk fan group within the server based on the maximum active duty cycle includes: When the maximum active duty cycle is less than the first duty cycle threshold or the maximum active duty cycle is greater than the second duty cycle threshold, the speed limit value corresponding to the hard disk fan group in the server is determined as the maximum speed value of the hard disk fan group. When the maximum active duty cycle is greater than or equal to a first duty cycle threshold and the maximum active duty cycle is less than or equal to a second duty cycle threshold, the speed limit value corresponding to the hard disk fan group in the server is determined as a preset speed value, and the preset speed value is less than the maximum speed value.
[0007] In an optional implementation, determining the rotational speed limit value corresponding to the hard disk fan group within the server based on the maximum active duty cycle includes: Obtain the formula for determining the limit value corresponding to the speed limit value; The maximum active duty cycle is input into the limit value determination formula to obtain the speed limit value corresponding to the hard disk fan group in the server. The limit value determination formula includes:
[0008] In the above formula, Indicates the speed limit value. Indicates the maximum activity duty cycle. , and They represent coefficients, all of which are greater than 0.
[0009] In an optional implementation, determining the rotational speed limit value corresponding to the hard disk fan group within the server based on the maximum active duty cycle includes: Obtain the maximum activity duty cycle within multiple consecutive historical statistical periods preceding the current statistical period; Determine the average value of the maximum activity duty cycle within the current statistical period and the maximum activity duty cycle within multiple historical statistical periods to obtain the average maximum activity duty cycle. The maximum activity duty cycle is updated using the average maximum activity duty cycle in the current statistical period, and the speed limit value corresponding to the hard disk fan group in the server is determined using the updated maximum activity duty cycle.
[0010] In an optional implementation, determining the target rotational speed value corresponding to the hard drive fan assembly from the rotational speed limit value and the base rotational speed value includes: The minimum speed value is determined from the speed limit value and the speed base value; The minimum rotational speed value is determined as the target rotational speed value corresponding to the hard drive fan assembly.
[0011] In an optional implementation, before determining the rotational speed limit value corresponding to the hard disk fan group within the server, the method further includes: Obtain the corresponding hard drive asset information from the hard drive backplane; Based on the hard disk asset information, determine the hard disk type corresponding to each hard disk in the hard disk backplane; When at least one of the hard disk types indicates a mechanical hard disk, the step of determining the speed limit value corresponding to the hard disk fan group in the server based on the maximum active duty cycle is performed.
[0012] In an optional implementation, determining the rotational speed limit value corresponding to the hard disk fan group within the server based on the maximum active duty cycle includes: Based on the maximum active duty cycle, determine the initial speed limit value corresponding to the hard disk fan group in the server; Obtain the backplane temperature corresponding to the hard drive backplane and the ambient temperature of the server's environment; When the backplane temperature is less than a preset temperature threshold, the initial speed limit value is determined as the speed limit value corresponding to the hard disk fan group in the server. When the backplane temperature is greater than or equal to a preset temperature threshold, the initial rotation speed limit value is corrected using the ambient temperature to obtain the rotation speed limit value corresponding to the hard drive fan group to which the hard drive backplane belongs in the server.
[0013] Secondly, this application provides a server fan control device, comprising: The acquisition module is used to acquire the temperature information of the component to be cooled in the server, and to acquire the maximum active duty cycle in the current statistical period from the programmable logic device. The programmable logic device is located in the hard disk backplane in the server. The programmable logic device is used to detect the active duty cycle of each hard disk in the hard disk backplane in the current statistical period and record the maximum active duty cycle among the active duty cycles. The determining module is used to determine the speed limit value of the hard disk fan group in the server based on the maximum active duty cycle. The hard disk fan group is used to provide cooling airflow for the component to be cooled and each hard disk in the hard disk backplane. The determining module is also used to determine the base speed value of the hard disk fan group based on the temperature information; The determining module is used to determine the target speed value corresponding to the hard disk fan group from the speed limit value and the speed base value; A control module is used to control the operation of the hard disk fan assembly using the target rotational speed value. In a third aspect, this application provides an electronic device including a processor and a memory, the processor being used to execute a server fan control program stored in the memory to implement the server fan control method described above.
[0014] Fourthly, this application provides a storage medium storing one or more programs that can be executed by one or more processors to implement the server fan control method described above.
[0015] Compared with the prior art, the technical solution provided in this application has the following advantages. The server fan control method provided in this application includes: acquiring temperature information of the component to be cooled within the server, and acquiring the maximum active duty cycle within the current statistical period from a programmable logic device (PLD). The PLD is located in the hard disk backplane within the server and is used to detect the active duty cycle of each hard disk in the hard disk backplane within the current statistical period and record the maximum active duty cycle among the active duty cycles. Based on the maximum active duty cycle, a speed limit value corresponding to the hard disk fan group within the server is determined. The hard disk fan group is used to provide cooling airflow for the component to be cooled and each hard disk in the hard disk backplane. Based on the temperature information, a base speed value corresponding to the hard disk fan group is determined. A target speed value corresponding to the hard disk fan group is determined from the speed limit value and the base speed value. The hard disk fan group is controlled to operate using the target speed value. By using the above methods, this embodiment obtains the temperature information of the components to be cooled within the server and the maximum duty cycle of the hard drive activity in the current statistical period obtained from the programmable logic devices in the hard drive backplane. It then determines the base speed value and speed limit value of the hard drive fan group, and combines the base speed value and speed limit value to derive the target speed value to control the operation of the hard drive fan group. This achieves intelligent adjustment of the upper limit of the hard drive fan group speed based on the actual activity status of the hard drive, avoiding unnecessary heat dissipation capacity loss caused by uniform speed limiting and the high maintenance costs added by custom firmware for different configurations. It ensures hard drive read and write performance while taking into account heat dissipation efficiency and reducing operation and maintenance costs. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0019] Figure 1 A schematic flowchart illustrating a server fan control method provided in an embodiment of this application; Figure 2 A flowchart illustrating another server fan control method provided in this application embodiment; Figure 3 This is a schematic diagram of the structure of a server fan control device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0022] refer to Figure 1 , Figure 1 This is a schematic flowchart illustrating a server fan control method provided in this embodiment. The server fan control method provided in this embodiment includes the following steps: S101: Obtain the temperature information of the components to be cooled inside the server and obtain the maximum active duty cycle in the current statistical period from the programmable logic device.
[0023] In this embodiment, the method is executed by the Baseboard Management Controller (BMC), which is a controller in the server that provides intelligent management functions. It is responsible for monitoring the operating status of each key component in the server and performing management operations such as fan speed control.
[0024] The programmable logic device (PLD) is located in the hard disk backplane within the server. The PLD is used to detect the active duty cycle of each hard disk in the backplane during the current statistical period and record the maximum active duty cycle. The hard disk backplane is the circuit board in the server used to install and connect hard disks. The PLD can be a Complex Programmable Logic Device (CPLD) or other types of PLD; this embodiment does not limit this.
[0025] The activity duty cycle is the pulse width modulation duty cycle of the hard drive activity indicator signal, referring to the percentage of time the indicator is effectively lit within the current statistical period. A continuously flashing indicator indicates that the hard drive is reading or writing data, with a duty cycle between 0% and 100%. A constantly lit indicator indicates that the hard drive is present and idle, with a duty cycle of 100%. A constantly off indicator indicates that the hard drive is not present, with a duty cycle of 0%. The hard drive activity indicator (HDD_ACT) is an indicator signal on the hard drive backplate that indicates the hard drive's activity status.
[0026] Temperature information is collected in real time by temperature sensors installed near or inside the components to be cooled. The duration of the statistical period can be set according to actual needs, for example, it can be 10 seconds. The components to be cooled can be understood as a collective term for all hardware components inside the server that require heat dissipation. This includes core computing components such as the central processing unit (CPU) and memory, as well as the various hard drives on the hard drive backplane.
[0027] Specifically, during server operation, the programmable logic devices on the hard disk backplane will count the active duty cycle of each hard disk HDD_ACT signal on the hard disk backplane within the current statistical period, and calculate the maximum active duty cycle within the current statistical period, storing it in the register as the maximum active duty cycle.
[0028] The baseboard management controller communicates with the programmable logic devices on the hard drive backplane to obtain the maximum active duty cycle in the registers in real time. At the same time, the baseboard management controller reads the temperature information collected by the temperature sensors of the components to be cooled inside the server, providing data support for subsequent calculation of the base value of the hard drive fan speed.
[0029] S102: Determine the speed limit value of the hard disk fan group in the server based on the maximum active duty cycle.
[0030] In this embodiment, the hard drive fan assembly is used to dissipate heat from the components to be cooled and the individual hard drives in the hard drive backplane. The hard drive fan assembly is physically deployed in the adjacent area of the hard drive backplane, and the airflow it generates not only directly cools the individual hard drives in the backplane but also flows through and cools other components within the server. Because the high-speed rotation of this hard drive fan assembly is the direct physical cause of hard drive resonance, it becomes the sole specific target for speed limit control in this embodiment.
[0031] The speed limit can be understood as a constraint indicator. It is the upper limit of fan speed calculated to protect the hard drive from fan resonance. It represents the highest speed that the hard drive fan assembly is allowed to reach under the current working state of the hard drive.
[0032] Specifically, after obtaining the maximum active duty cycle, the baseboard management controller calculates the maximum allowable speed of the hard drive fan assembly, i.e., the speed limit value, based on the maximum active duty cycle. The speed limit value is used to restrict the maximum speed of the hard drive fan assembly to avoid problems such as resonance or degraded read / write performance of the hard drive due to excessively high fan speeds.
[0033] In an optional implementation, step S102 determines the speed limit value corresponding to the hard disk fan group within the server based on the maximum active duty cycle, including: When the maximum active duty cycle is less than the first duty cycle threshold or the maximum active duty cycle is greater than the second duty cycle threshold, the speed limit value corresponding to the hard disk fan group in the server is determined as the maximum speed value of the hard disk fan group. When the maximum active duty cycle is greater than or equal to the first duty cycle threshold and the maximum active duty cycle is less than or equal to the second duty cycle threshold, the speed limit value corresponding to the hard disk fan group in the server is determined as the preset speed value.
[0034] The first duty cycle threshold can be understood as a preset, low active duty cycle threshold, such as 5%, to determine whether the hard drive is inactive or nearly inactive. When the maximum active duty cycle is less than the first duty cycle threshold, it indicates that there is likely no hard drive installed on the backplane, or that the hard drive is not performing any data read / write operations at all. Therefore, there is no risk of resonance caused by the high-speed fan rotation.
[0035] The second duty cycle threshold can be understood as a preset, relatively high active duty cycle threshold, such as 95%, to determine whether the hard drive is in an active but completely idle state. When the maximum active duty cycle is greater than the second duty cycle threshold, it indicates that the hard drive activity indicator light is almost constantly on. This corresponds to the hard drive being powered on and in place, but not performing read or write operations, and there is no risk of resonance.
[0036] The maximum speed can be understood as the highest operating speed that the hard drive fan assembly can achieve physically and in design. It is usually expressed as the upper limit of the speed percentage, i.e., 100% speed.
[0037] The preset speed value is less than the maximum speed. It can be understood as a fixed speed percentage, such as 85%, that is set beforehand to be lower than the maximum speed. When it is detected that the hard drive is indeed reading or writing data and there is a risk of resonance, it serves as a safe speed limit and forces the speed of the hard drive fan assembly to be suppressed to the preset speed value, thereby actively avoiding the resonance speed range that may cause hard drive performance degradation.
[0038] Specifically, after the baseboard management controller reads the maximum active duty cycle in the current statistical period from the register of the programmable logic device, it obtains the pre-configured first duty cycle threshold and second duty cycle threshold, and compares the maximum active duty cycle with the first duty cycle threshold and the second duty cycle threshold respectively.
[0039] If the comparison result shows that the maximum active duty cycle is less than the first duty cycle threshold, it is determined that the current hard drive is in a low-activity state or no hard drive is installed. The speed limit value of the hard drive fan group is set to the maximum speed value of the hard drive fan group, that is, no speed limit is applied.
[0040] If the comparison result shows that the maximum active duty cycle is greater than the second duty cycle threshold, it is determined that the current hard drive is in place but there is almost no data transmission, and the speed limit value is also set to the maximum speed value.
[0041] When the comparison result shows that the maximum active duty cycle is greater than or equal to the first duty cycle threshold and less than or equal to the second duty cycle threshold, it is determined that the hard drive is currently in place and data transmission is in progress. The speed limit value is set to the preset speed value, and the preset speed value is output to the speed control register of the hard drive fan group to limit the maximum speed of the hard drive fan group from not exceeding the preset speed value.
[0042] For example, the first duty cycle threshold can be 5%, the second duty cycle threshold can be 95%, and the preset speed value can be 85% of the maximum speed value. When the maximum active duty cycle is less than 5%, the hard drive fan speed can be left unlimited; when the maximum active duty cycle is greater than 95%, the speed is also not limited; when the maximum active duty cycle is greater than or equal to 5% and less than or equal to 95%, the hard drive fan speed is limited, and the speed limit value is set at 85% of the maximum speed value to protect the hard drive's data transmission.
[0043] By using the above method, the activity status of the hard drive is accurately identified through segmented judgment. When speed limiting is required, the speed of the hard drive fan group is limited to protect the hard drive data transmission. When speed limiting is not required, the fan speed is not limited to give full play to the heat dissipation performance. This avoids the problem of wasted heat dissipation performance or insufficient hard drive protection caused by a one-size-fits-all speed limit.
[0044] In another optional implementation, step S102 determines the speed limit value corresponding to the hard disk fan group within the server based on the maximum active duty cycle, including: Obtain the formula for determining the speed limit value; Input the maximum active duty cycle into the limit value determination formula to obtain the corresponding speed limit value for the hard drive fan group in the server. The limit value determination formula includes:
[0045] In the above formula, Indicates the speed limit value. Indicates the maximum activity duty cycle. , and They represent coefficients, all of which are greater than 0.
[0046] The formula for determining the limit value is a quadratic function, where the independent variable is the maximum active duty cycle, ranging from 0 to 100%, and the dependent variable is the speed limit value, ranging from 0 to 100%, with all coefficients greater than 0.
[0047] For example, the formula for determining the speed limit can be y = 0.006x² - 0.6x + 100, where x represents the maximum duty cycle, ranging from 0 to 100%; and y represents the speed limit, also ranging from 0 to 100%. When x equals 0% or 100%, y is calculated as 100%, meaning there is no speed limit; when x equals 50%, y is calculated as 85%, meaning the maximum speed limit is 85%. It should be noted that the above quadratic function is merely an example, and those skilled in the art can choose other forms of function mapping relationships according to actual needs.
[0048] Specifically, the baseboard management controller reads the coefficients of a pre-configured quadratic function from memory and constructs a limit value determination formula. Then, it substitutes the maximum active duty cycle value within the current statistical period into the limit value determination formula and calculates the corresponding speed limit value according to the quadratic function's operational rules. After calculation, the speed limit value is written to the speed control register corresponding to the hard drive fan group, serving as the maximum speed limit for the hard drive fan group. At the start of the next statistical period, the latest maximum active duty cycle is retrieved again and substituted into the limit value determination formula for calculation, thus achieving dynamic updates to the speed limit value.
[0049] By using the above method and employing a quadratic function mapping approach to determine the fan speed limit, a smoother speed adjustment effect can be achieved, avoiding sudden changes in fan speed. This allows the fan speed to be continuously adjusted according to changes in hard drive activity, ensuring hard drive protection while improving server stability and user experience.
[0050] In another optional implementation, step S102 determines the speed limit value corresponding to the hard disk fan group within the server based on the maximum active duty cycle, including: Determine the initial speed limit value for the hard drive fan group in the server based on the maximum active duty cycle; Get the backplane temperature corresponding to the hard drive backplane and the ambient temperature of the server's environment; When the backplane temperature is lower than the preset temperature threshold, the initial speed limit value is set to the speed limit value corresponding to the hard drive fan group in the server. When the backplane temperature is greater than or equal to the preset temperature threshold, the initial speed limit value is corrected using the ambient temperature to obtain the speed limit value corresponding to the hard drive fan group to which the hard drive backplane belongs in the server.
[0051] The initial rotational speed limit is calculated directly based on the maximum active duty cycle, without taking into account the influence of the ambient temperature of the server's environment.
[0052] The backplane temperature is the temperature value collected by the temperature sensor on the hard drive backplane. The ambient temperature is the temperature value of the environment in which the server is located, collected by the temperature sensor at the server's air intake.
[0053] The preset temperature threshold can be understood as a pre-set safety threshold for the backplane temperature. When the backplane temperature is below the preset temperature threshold, it indicates that the heat dissipation of the hard drive backplane area is sufficient, and anti-resonance protection can be performed without interference. When the backplane temperature is greater than or equal to the preset temperature threshold, it indicates that the heat dissipation safety of the hard drive backplane area has been threatened, and the relationship between anti-resonance and heat dissipation needs to be re-evaluated.
[0054] Specifically, the baseboard management controller first calculates the initial rotational speed limit based on the maximum active duty cycle within the current statistical period, using the aforementioned piecewise threshold method or quadratic function mapping method. Subsequently, the baseboard management controller reads the backplane temperature corresponding to the hard drive backplane through the temperature sensor interface on the hard drive backplane, and reads the ambient temperature through the temperature sensor at the server air inlet.
[0055] The baseboard management controller compares the backplane temperature with a preset temperature threshold. When the backplane temperature is lower than the preset threshold, it indicates good heat dissipation, and the initial speed limit is directly used as the final speed limit without correction. When the backplane temperature is greater than or equal to the preset threshold, it indicates high heat dissipation pressure, and the initial speed limit is corrected using a preset correction factor based on the ambient temperature. Specifically, the higher the ambient temperature, the higher the corrected speed limit to enhance heat dissipation; the lower the ambient temperature, the lower the corrected speed limit to reduce noise and energy consumption. After correction, the baseboard management controller outputs the corrected speed limit to the hard drive fan assembly for speed control.
[0056] By incorporating backplane temperature and ambient temperature to dynamically adjust the rotational speed limit, the system prioritizes preventing resonance when the hard drive area temperature is safe and appropriately relaxes the speed limit to enhance heat dissipation when the hard drive temperature is too high. This achieves an intelligent balance between hard drive vibration safety and thermal safety, avoiding the risk of hard drive overheating that may be caused by simply reducing the speed to protect the hard drive from resonance.
[0057] It should be noted that the speed limit value of the hard drive fan group within the server can also be determined in the following way: While obtaining the maximum active duty cycle, the maximum switching frequency within the current statistical period is obtained from the programmable logic device (PLD). The PLD is also used to detect the switching frequency of the active signals of each hard drive in the hard drive backplane within the current statistical period and to record the maximum switching frequency among all active signals. The switching frequency can be understood as the number of times the active signal switches between high and low levels within the current statistical period. The maximum active duty cycle and the maximum switching frequency are normalized to obtain processed maximum active duty cycle and processed maximum switching frequency. These processed maximum active duty cycle and processed maximum switching frequency are then weighted to obtain the activity status score corresponding to the hard drive in the hard drive backplane. Based on the correspondence between the activity status score and the speed limit value, the speed limit value corresponding to the hard drive fan group in the server is determined; the higher the activity score, the smaller the speed limit value. The processed maximum active duty cycle and the processed maximum switching frequency are weighted and calculated. The weights corresponding to these weights can be set according to actual needs; this embodiment does not impose any limitations. The sum of the weights for the processed maximum active duty cycle and the processed maximum switching frequency is 1. By combining the active duty cycle and the signal switching frequency for comprehensive evaluation, the sequential read / write mode and random read / write mode of the hard drive can be effectively distinguished. This allows for differentiated determination of fan speed limits based on the read / write mode, making anti-resonance control more accurate.
[0058] In this embodiment, before performing step S102, the server fan control method provided in this embodiment further includes the following steps: Retrieve the corresponding hard drive asset information from the hard drive backplane; Based on hard drive asset information, determine the hard drive type corresponding to each hard drive in the hard drive backplane; When at least one hard drive type indicates a mechanical hard drive, perform the step of determining the speed limit value of the hard drive fan group in the server based on the maximum active duty cycle.
[0059] The hard drive asset information includes identification information such as the brand, model, and serial number of the hard drive. The baseboard management controller can determine the type of hard drive by reading the hard drive asset information.
[0060] Hard drive types include hard disk drives (HDDs) and non-hard disk drives (such as solid-state drives, SSDs). When all drives on the backplane are non-hard disk drives, there is no speed limit. Hard disk drives are storage devices that rely on the operation of mechanical parts to read and write data.
[0061] Specifically, the baseboard management controller reads the hard drive asset information corresponding to the hard drives installed in each hard drive slot on the hard drive backplane through the hard drive management interface. Based on the read hard drive asset information, it parses the hard drive type of each hard drive and determines whether it is a mechanical hard drive (HDD) or a solid-state drive (SSD). After completing the type determination for all hard drives, it iterates through all hard drive types to check if there is at least one mechanical hard drive (HDD). If at least one mechanical hard drive (HDD) is present, it enters speed limiting mode, that is, it executes the subsequent steps of determining the speed limit value based on the maximum active duty cycle. If all hard drives are non-mechanical hard drives (such as SSDs), the speed limiting logic is skipped, and the hard drive fan group is not subject to speed limit and operates at maximum speed.
[0062] By determining the hard drive type before limiting the speed, the speed limiting logic is only executed when a mechanical hard drive is present. This avoids unnecessary speed limiting operations when only non-mechanical hard drives (such as solid-state drives) are configured, allowing the hard drive fan group to achieve maximum heat dissipation performance.
[0063] S103: Determine the base speed value of the hard drive fan group based on temperature information.
[0064] In this embodiment, the baseboard management controller reads the temperature information of the component to be cooled and calculates the fan speed using a fan speed control algorithm, thereby determining the base speed value of the hard drive fan assembly. The fan speed control algorithm can be a proportional-integral-derivative (PID) control algorithm, and this embodiment does not limit it to this.
[0065] Specifically, the baseboard management controller reads the temperature information of the components to be cooled (such as CPU, GPU, and hard drive) within the server via the corresponding bus according to a preset sampling period. The baseboard management controller selects the highest temperature value from all temperature information and inputs it into a pre-configured fan speed control algorithm. The algorithm calculates the fan speed corresponding to the highest temperature value and uses this fan speed as the base value for the hard drive fan assembly. The core idea of the fan speed control algorithm is: the higher the temperature, the higher the required fan speed to ensure effective heat dissipation; the lower the temperature, the lower the required fan speed to reduce noise and energy consumption.
[0066] S104: Determine the target speed value corresponding to the fan group from the speed limit value and the speed base value.
[0067] In this embodiment, after obtaining the speed limit value and the speed base value, the baseboard management controller determines the minimum speed value from the speed limit value and the speed base value, and sets the minimum speed value as the target speed value corresponding to the hard disk fan group.
[0068] Specifically, the baseboard management controller compares the speed limit value and the base speed value, selecting the smaller value as the target speed value for the hard drive fan assembly. When the base speed value is less than or equal to the speed limit value, it indicates that the heat dissipation demand under the current temperature conditions does not exceed the maximum speed allowed by hard drive protection, and the baseboard management controller determines the base speed value as the target speed value. When the base speed value is greater than the speed limit value, it indicates that the heat dissipation demand under the current temperature conditions has exceeded the maximum speed allowed by hard drive protection, and the baseboard management controller determines the speed limit value as the target speed value to prioritize the protection of hard drive data transmission security.
[0069] For example, when the fan speed control algorithm calculates a base speed of 90% and the speed limit is 85%, the final target speed is determined to be 85% to ensure that the heat dissipation requirements are met without exceeding the speed limit, thus avoiding adverse effects on the hard drive.
[0070] By using the above method, and taking the minimum speed value between the speed limit value and the base speed value as the target speed value, it is possible to ensure that the heat dissipation requirements are met while not exceeding the speed limit value, thus avoiding adverse effects on the hard drive and achieving a balance between heat dissipation and hard drive protection.
[0071] S105: Controls the operation of the hard drive fan assembly using the target rotation speed value.
[0072] In this embodiment, the baseboard management controller outputs the target rotational speed value to the hard drive fan assembly to control its rotational speed. It should be noted that this embodiment distinguishes between the hard drive fan assembly and the system fan assembly, limiting only the rotational speed of the corresponding partition's hard drive fan assembly, not the system fan assembly. The system fan assembly refers to the fan assembly located near the core computing area of the server, primarily providing cooling for core components such as the CPU, memory, and motherboard chipset; it is a core component of the server's overall cooling airflow. For servers with multiple hard drive partitions, each partition has its own hard drive backplane and hard drive fan assembly. Rotational speeds are limited for the hard drive fan assemblies of each partition, while no speed limit is applied to the system fan assembly. This ensures hard drive data security without affecting the overall cooling performance of the server.
[0073] Specifically, the baseboard management controller converts the target speed value into a corresponding PWM control signal, and outputs the PWM control signal to each fan in the hard drive fan group through the fan control interface, so as to control the fan speed of each fan in the hard drive fan group to run according to the target speed value. At the same time, the system fan group determines the corresponding fan speed according to an independent fan speed regulation algorithm, which is not affected by the speed limit of the hard drive fan group, so as to ensure that the heat dissipation effect of critical components such as the CPU is not affected by the hard drive fan speed limit.
[0074] This implementation provides a server fan control method that obtains the temperature information of the components to be cooled within the server and the maximum duty cycle of the hard drive activity in the current statistical period obtained from the programmable logic devices in the hard drive backplane. It then determines the base speed value and speed limit value of the hard drive fan group, and combines these values to derive the target speed value to control the operation of the hard drive fan group. This achieves intelligent adjustment of the upper limit of the hard drive fan group's speed based on the actual activity status of the hard drive, avoiding unnecessary heat dissipation capacity loss caused by uniform speed limiting and the high maintenance costs added by custom firmware for different configurations. It balances hard drive read / write performance with heat dissipation efficiency and reduced maintenance costs.
[0075] refer to Figure 2 , Figure 2 This is a flowchart illustrating another server fan control method provided in this application embodiment. The server fan control method provided in this embodiment includes the following steps: S201: Obtain the temperature information of the components to be cooled inside the server, and obtain the maximum active duty cycle in the current statistical period from the programmable logic device.
[0076] In this embodiment, step S201 is the same as step S101 described above. For details, please refer to step S101 described above. This embodiment will not repeat the details here.
[0077] S202: Get the maximum activity duty cycle in multiple consecutive historical statistical periods prior to the current statistical period.
[0078] S203: Determine the average of the maximum activity duty cycle in the current statistical period and the maximum activity duty cycle in multiple historical statistical periods to obtain the average maximum activity duty cycle.
[0079] S204: Update the maximum active duty cycle in the current statistical period using the average maximum active duty cycle, and use the updated maximum active duty cycle to determine the speed limit value of the hard disk fan group in the server.
[0080] For steps S202 to S204 above, the number of historical statistical periods can be set according to actual needs, for example, it can be the first 10 statistical periods.
[0081] Specifically, the baseboard management controller maintains a sliding window buffer in memory to store the maximum active duty cycle over the most recent consecutive statistical periods. At the end of each new statistical period, the baseboard management controller retrieves the maximum active duty cycle for the current statistical period from the registers of the programmable logic device, stores it in the sliding window buffer, and removes any older data that exceeds the window range. Subsequently, it calculates the arithmetic mean of all maximum active duty cycles stored in the sliding window buffer (including those for the current and historical statistical periods) to obtain the average maximum active duty cycle. This average maximum active duty cycle replaces the maximum active duty cycle for the current statistical period, thus updating the maximum active duty cycle for the current statistical period.
[0082] After obtaining the updated maximum active duty cycle, the speed limit value can be determined using the methods described above for determining the various speed limit values, and the calculated speed limit value can be output to the hard drive fan group for speed control.
[0083] By using the above method and applying a moving average to the maximum active duty cycle, instantaneous data fluctuations can be effectively smoothed out, making the determination of the speed limit value more stable and reliable. This avoids frequent changes in fan speed caused by instantaneous data fluctuations and improves the stability and reliability of speed regulation.
[0084] S205: Determine the base speed value of the hard drive fan assembly based on temperature information.
[0085] S206: Determine the target speed value corresponding to the hard drive fan group from the speed limit value and the speed base value.
[0086] S207: Controls the operation of the hard drive fan assembly using the target rotation speed value.
[0087] Regarding steps S205 to S207, step S205 is the same as step S103, step S206 is the same as step S104, and step S207 is the same as step S105. For details, please refer to steps S103 to S105 above; this embodiment will not repeat them here.
[0088] This implementation provides a server fan control method that obtains the temperature information of the components to be cooled within the server and the maximum duty cycle of the hard drive activity in the current statistical period obtained from the programmable logic devices in the hard drive backplane. It then determines the base speed value and speed limit value of the hard drive fan group, and combines these values to derive the target speed value to control the operation of the hard drive fan group. This achieves intelligent adjustment of the upper limit of the hard drive fan group's speed based on the actual activity status of the hard drive, avoiding unnecessary heat dissipation capacity loss caused by uniform speed limiting and the high maintenance costs added by custom firmware for different configurations. It balances hard drive read / write performance with heat dissipation efficiency and reduced maintenance costs.
[0089] The following is a detailed description of the main speed control process of the server fan, using a specific example.
[0090] During server operation, the programmable logic device (CPLD) on the hard drive backplane continuously counts the active duty cycle of the HDD_ACT signal of each hard drive in a 10-second statistical cycle, and calculates the maximum active duty cycle PWM_ACT within the current 10-second cycle and stores it in a register.
[0091] The baseboard management controller communicates with the CPLD on the hard disk backplane to obtain the maximum active duty cycle in the registers in real time, and calculates its moving average over 10 seconds, i.e., the average maximum active duty cycle value PWM_ACT_MA10, to smooth out instantaneous fluctuations. The average maximum active duty cycle value is then used to update the maximum active duty cycle value within the current statistical period. In other words, the maximum active duty cycle value within the current statistical period is PWM_ACT_MA10.
[0092] The baseboard management controller determines the hard drive type by checking the hard drive asset information. When it detects that a mechanical hard drive (HDD) is connected to the hard drive backplane, it enters the speed limiting mode and executes the subsequent speed limiting logic. When only a solid-state drive (SSD) is connected to the hard drive backplane, no speed limiting is performed, and the hard drive fan group operates at its maximum speed.
[0093] In speed-limited mode, the hard drive fan speed limit is calculated based on the maximum active duty cycle within the current statistical period. For example, a quadratic function mapping method can be used: y = 0.006x² - 0.6x + 100, where x is PWM_ACT_MA10. When PWM_ACT_MA10 equals 0% or 100%, the calculated result of y is 100%, meaning there is no speed limit; when PWM_ACT_MA10 equals 50%, the calculated result of y is 85%, meaning the maximum speed is limited to 85%.
[0094] The baseboard management controller acquires temperature information of the components to be cooled within the server using temperature sensors. It then calculates the base rotational speed of the hard drive fan assembly using a fan speed control algorithm. This base speed is compared to a speed limit, and the smaller of the two is output as the target rotational speed to the hard drive fan assembly. For example, if the fan speed control algorithm calculates a base speed of 90% and the hard drive fan assembly's speed limit is 85%, then 85% rotational speed will be output to the hard drive fan assembly.
[0095] Meanwhile, for system fans used to cool critical components such as the CPU, the aforementioned speed limits are not applied. The system fans operate normally at the speed calculated from the baseline value to ensure effective cooling of critical components. Through this process, adaptive fan speed control based on hard drive activity is achieved, maximizing fan cooling performance while ensuring hard drive data security.
[0096] refer to Figure 3 , Figure 3 This is a schematic diagram of a server fan control device provided in an embodiment of this application. The server fan control device provided in this embodiment includes: an acquisition module 10, a determination module 20, and a control module 30; the acquisition module 10 is used to acquire temperature information corresponding to the component to be cooled within the server, and to acquire the maximum active duty cycle within the current statistical period from a programmable logic device (PLD). The PLD is located in the hard disk backplane within the server, and is used to detect the active duty cycle of each hard disk in the hard disk backplane within the current statistical period and record the maximum active duty cycle among the active duty cycles; the determination module 20 is used to determine the speed limit value corresponding to the hard disk fan group within the server based on the maximum active duty cycle, the hard disk fan group being used to provide cooling airflow to the component to be cooled and each hard disk in the hard disk backplane; the determination module 20 is also used to determine the base speed value corresponding to the hard disk fan group based on the temperature information; the determination module 20 is used to determine the target speed value corresponding to the hard disk fan group from the speed limit value and the base speed value; the control module 30 is used to control the operation of the hard disk fan group using the target speed value.
[0097] In this embodiment, the determining module 20 is further configured to: When the maximum active duty cycle is less than the first duty cycle threshold or the maximum active duty cycle is greater than the second duty cycle threshold, the speed limit value corresponding to the hard disk fan group in the server is determined as the maximum speed value of the hard disk fan group. When the maximum active duty cycle is greater than or equal to a first duty cycle threshold and the maximum active duty cycle is less than or equal to a second duty cycle threshold, the speed limit value corresponding to the hard disk fan group in the server is determined as a preset speed value, and the preset speed value is less than the maximum speed value.
[0098] In this embodiment, the determining module 20 is further configured to: Obtain the formula for determining the limit value corresponding to the speed limit value; The maximum active duty cycle is input into the limit value determination formula to obtain the speed limit value corresponding to the hard disk fan group in the server. The limit value determination formula includes:
[0099] In the above formula, Indicates the speed limit value. Indicates the maximum activity duty cycle. , and They represent coefficients, all of which are greater than 0.
[0100] In this embodiment, the determining module 20 is further configured to: Obtain the maximum activity duty cycle within multiple consecutive historical statistical periods preceding the current statistical period; Determine the average value of the maximum activity duty cycle within the current statistical period and the maximum activity duty cycle within multiple historical statistical periods to obtain the average maximum activity duty cycle. The maximum activity duty cycle is updated using the average maximum activity duty cycle in the current statistical period, and the speed limit value corresponding to the hard disk fan group in the server is determined using the updated maximum activity duty cycle.
[0101] In this embodiment, the determining module 20 is further configured to: The minimum speed value is determined from the speed limit value and the speed base value; The minimum rotational speed value is determined as the target rotational speed value corresponding to the hard drive fan assembly.
[0102] In this embodiment, the determining module 20 is further configured to: Obtain the corresponding hard drive asset information from the hard drive backplane; Based on the hard disk asset information, determine the hard disk type corresponding to each hard disk in the hard disk backplane; When at least one of the hard disk types indicates a mechanical hard disk, the step of determining the speed limit value corresponding to the hard disk fan group in the server based on the maximum active duty cycle is performed.
[0103] In this embodiment, the determining module 20 is further configured to: Based on the maximum active duty cycle, determine the initial speed limit value corresponding to the hard disk fan group in the server; Obtain the backplane temperature corresponding to the hard drive backplane and the ambient temperature of the server's environment; When the backplane temperature is less than a preset temperature threshold, the initial speed limit value is determined as the speed limit value corresponding to the hard disk fan group in the server. When the backplane temperature is greater than or equal to a preset temperature threshold, the initial rotation speed limit value is corrected using the ambient temperature to obtain the rotation speed limit value corresponding to the hard drive fan group to which the hard drive backplane belongs in the server.
[0104] This embodiment provides a server fan control device that obtains the temperature information of the components to be cooled within the server and the maximum activity duty cycle of the hard drive in the current statistical period obtained from the programmable logic devices in the hard drive backplane. It then determines the base speed value and speed limit value of the hard drive fan group, and combines the base speed value and speed limit value to derive the target speed value to control the operation of the hard drive fan group. This achieves intelligent adjustment of the upper limit of the hard drive fan group's speed based on the actual activity status of the hard drive, avoiding unnecessary heat dissipation capacity loss caused by uniform speed limiting and the high maintenance costs added by custom firmware for different configurations. It ensures hard drive read and write performance while taking into account heat dissipation efficiency and reducing operation and maintenance costs.
[0105] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 The illustrated electronic device 400 includes at least one processor 401, a memory 402, at least one network interface 404, and other user interfaces 403. The various components in the electronic device 400 are coupled together via a bus system 405. It is understood that the bus system 405 is used to implement communication between these components. In addition to a data bus, the bus system 405 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 4 The general designated all buses as Bus System 405.
[0106] The user interface 403 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).
[0107] It is understood that the memory 402 in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 402 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0108] In some implementations, memory 402 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 4021 and application program 4022.
[0109] The operating system 4021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 4022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of this embodiment can be included in the application program 4022.
[0110] In this embodiment of the invention, the processor 401 executes the method steps provided in each method embodiment by calling the program or instructions stored in the memory 402, specifically the program or instructions stored in the application program 4022.
[0111] The methods disclosed in the above embodiments of the present invention can be applied to processor 401, or implemented by processor 401. Processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 401 or by instructions in the form of software. The processor 401 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 402. Processor 401 reads the information in memory 402 and, in conjunction with its hardware, completes the steps of the above method.
[0112] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0113] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0114] The electronic device provided in this embodiment may be as follows: Figure 4 The electronic device shown can perform the following: Figure 1 and Figure 2 All steps of the method, thus achieving Figure 1 and Figure 2 For details on the technical effects of the method shown, please refer to [link / reference]. Figure 1 and Figure 2 The relevant descriptions are presented concisely and will not be elaborated upon here.
[0115] This invention also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; it may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and it may also include combinations of the above types of memory.
[0116] When one or more programs in the storage medium can be executed by one or more processors to achieve the above-described method of execution on the device side.
[0117] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0118] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0119] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A server fan control method, characterized in that, include: The system obtains the temperature information of the components to be cooled within the server, and obtains the maximum active duty cycle within the current statistical period from the programmable logic device. The programmable logic device is located in the hard disk backplane within the server. The programmable logic device is used to detect the active duty cycle of each hard disk in the hard disk backplane within the current statistical period and record the maximum active duty cycle among the active duty cycles. Based on the maximum active duty cycle, the speed limit value of the hard disk fan group in the server is determined. The hard disk fan group is used to provide cooling airflow for the component to be cooled and each hard disk in the hard disk backplane. Based on the temperature information, determine the base speed value corresponding to the hard drive fan assembly; The target speed value corresponding to the hard drive fan group is determined from the speed limit value and the speed base value; The target rotational speed value is used to control the operation of the hard disk fan assembly.
2. The method according to claim 1, characterized in that, The step of determining the speed limit value of the hard disk fan group in the server based on the maximum active duty cycle includes: When the maximum active duty cycle is less than the first duty cycle threshold or the maximum active duty cycle is greater than the second duty cycle threshold, the speed limit value corresponding to the hard disk fan group in the server is determined as the maximum speed value of the hard disk fan group. When the maximum active duty cycle is greater than or equal to a first duty cycle threshold and the maximum active duty cycle is less than or equal to a second duty cycle threshold, the speed limit value corresponding to the hard disk fan group in the server is determined as a preset speed value, and the preset speed value is less than the maximum speed value.
3. The method according to claim 1, characterized in that, The step of determining the speed limit value of the hard disk fan group in the server based on the maximum active duty cycle includes: Obtain the formula for determining the limit value corresponding to the speed limit value; The maximum active duty cycle is input into the limit value determination formula to obtain the speed limit value corresponding to the hard disk fan group in the server. The limit value determination formula includes: In the above formula, Indicates the speed limit value. Indicates the maximum activity duty cycle. , and They represent coefficients, all of which are greater than 0.
4. The method according to any one of claims 1 to 3, characterized in that, The step of determining the speed limit value of the hard disk fan group in the server based on the maximum active duty cycle includes: Obtain the maximum activity duty cycle within multiple consecutive historical statistical periods preceding the current statistical period; Determine the average value of the maximum activity duty cycle within the current statistical period and the maximum activity duty cycle within multiple historical statistical periods to obtain the average maximum activity duty cycle. The maximum activity duty cycle is updated using the average maximum activity duty cycle in the current statistical period, and the speed limit value corresponding to the hard disk fan group in the server is determined using the updated maximum activity duty cycle.
5. The method according to claim 1, characterized in that, Determining the target speed value corresponding to the hard drive fan assembly from the speed limit value and the base speed value includes: The minimum speed value is determined from the speed limit value and the speed base value; The minimum rotational speed value is determined as the target rotational speed value corresponding to the hard drive fan assembly.
6. The method according to claim 1, characterized in that, Before determining the speed limit value corresponding to the hard disk fan group within the server, the method further includes: Obtain the corresponding hard drive asset information from the hard drive backplane; Based on the hard disk asset information, determine the hard disk type corresponding to each hard disk in the hard disk backplane; When at least one of the hard disk types indicates a mechanical hard disk, the step of determining the speed limit value corresponding to the hard disk fan group in the server based on the maximum active duty cycle is performed.
7. The method according to claim 1, characterized in that, The step of determining the speed limit value of the hard disk fan group in the server based on the maximum active duty cycle includes: Based on the maximum active duty cycle, determine the initial speed limit value corresponding to the hard disk fan group in the server; Obtain the backplane temperature corresponding to the hard drive backplane and the ambient temperature of the server's environment; When the backplane temperature is less than a preset temperature threshold, the initial speed limit value is determined as the speed limit value corresponding to the hard disk fan group in the server. When the backplane temperature is greater than or equal to a preset temperature threshold, the initial rotation speed limit value is corrected using the ambient temperature to obtain the rotation speed limit value corresponding to the hard drive fan group to which the hard drive backplane belongs in the server.
8. A server fan control device, characterized in that, include: The acquisition module is used to acquire the temperature information of the component to be cooled in the server, and to acquire the maximum active duty cycle in the current statistical period from the programmable logic device. The programmable logic device is located in the hard disk backplane in the server. The programmable logic device is used to detect the active duty cycle of each hard disk in the hard disk backplane in the current statistical period and record the maximum active duty cycle among the active duty cycles. The determining module is used to determine the speed limit value of the hard disk fan group in the server based on the maximum active duty cycle. The hard disk fan group is used to provide cooling airflow for the component to be cooled and each hard disk in the hard disk backplane. The determining module is also used to determine the base speed value of the hard disk fan group based on the temperature information; The determining module is used to determine the target speed value corresponding to the hard disk fan group from the speed limit value and the speed base value; The control module is used to control the operation of the hard disk fan assembly using the target rotation speed value.
9. An electronic device, characterized in that, include: A processor and a memory, the processor being configured to execute a server fan control program stored in the memory to implement the server fan control method according to any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the server fan control method of any one of claims 1 to 7.
