Fan control method, system and equipment, storage medium and program product

By adjusting the baseline operating parameters of the server fan assembly and reducing the fan speed, the problem of reverse rotation during fan insertion and removal was resolved, ensuring normal fan startup and simplifying the maintenance process.

CN121630778APending Publication Date: 2026-03-10ALIBABA CLOUD COMPUTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

During server fan plugging and unplugging maintenance, the plugged-in fan may be driven in reverse by other fans, causing it to fail to start normally.

Method used

By obtaining the fan assembly connection information of the target device, the reference operating parameters are adjusted to increase the temperature difference, and the speed of the second fan in the fan assembly is reduced to avoid reversal.

Benefits of technology

This effectively prevents the fan from reversing due to excessive speed when the status changes, ensuring that the fan can start normally and simplifying the plug-in and unplug maintenance process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121630778A_ABST
    Figure CN121630778A_ABST
Patent Text Reader

Abstract

The invention discloses a fan control method, system and device, a storage medium and a program product, and the method comprises the steps that first connection information of a fan set corresponding to a target device is obtained, and the fan set comprises at least one first fan and at least one second fan; under the condition that the reference working parameter of the target device is the first working parameter, if the first connection information represents that the connection state of any first fan is changed, the reference working parameter is set to be a second working parameter, and the target temperature difference corresponding to the second working parameter is larger than the target temperature difference corresponding to the first working parameter; and at the first moment, according to the first actual temperature and the reference temperature of the target device, first speed regulation processing is carried out on the fan set, and the first speed regulation processing is used for reducing the rotating speed of the second fan. The problem that due to the fact that the rotating speed of the second fan is too high, the first fan is driven to rotate reversely, and the first fan cannot be normally started can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent control technology, specifically to a fan control method, system, device, storage medium, and program product. Background Technology

[0002] With the continuous development of artificial intelligence, the demand for server computing power is also constantly increasing. When server components such as GPUs (Graphics Processing Units) and CPUs (Central Processing Units) are operating, their temperatures rise. To prevent damage caused by overheating, servers typically have multiple fans. When a fan malfunctions, it needs to be plugged in and out for maintenance. However, during this process, if the fan is inserted slowly, it may be driven in reverse by other fans. If the reverse rotation speed is too high, the inserted fan may fail to start properly. Summary of the Invention

[0003] This application addresses the problem in the aforementioned related technologies where the inserted fan is reversed by other fans, causing the inserted fan to fail to start normally. It provides a fan control method, system, device, storage medium, and program product.

[0004] A first aspect of this application provides a fan control method, the method comprising:

[0005] Obtain the first connection information of the fan set corresponding to the target device; the fan set includes at least one first fan and at least one second fan;

[0006] When the reference operating parameters of the target device are the first operating parameters, if the first connection information indicates that the connection status of any first fan has changed, the reference operating parameters are set to the second operating parameters; the target temperature difference corresponding to the second operating parameters is greater than the target temperature difference corresponding to the first operating parameters, and the target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature.

[0007] At the first moment, based on the first actual temperature and reference temperature of the target device, the fan assembly is subjected to a first speed regulation process; the first speed regulation process is used to reduce the speed of the second fan.

[0008] A second aspect of this application provides a fan control device, the device comprising:

[0009] The first acquisition module is used to acquire the first connection information of the fan set corresponding to the target device; the fan set includes at least one first fan and at least one second fan.

[0010] The setting module is used to set the reference operating parameters to the second operating parameters when the reference operating parameters of the target device are the first operating parameters, and if the first connection information indicates that the connection status of any first fan has changed; the target temperature difference corresponding to the second operating parameter is greater than the target temperature difference corresponding to the first operating parameter, and the target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature.

[0011] The speed control module is used to perform a first speed control process on the fan assembly based on the first actual temperature and reference temperature of the target device at a first moment; the first speed control process is used to reduce the speed of the second fan.

[0012] A third aspect of this application provides a fan control system, which includes: a control component, a fan assembly, and a target device corresponding to the fan assembly, wherein the fan assembly includes at least one first fan and at least one second fan;

[0013] A control component is used to acquire first connection information of the fan assembly; when the reference operating parameters of the target device are the first operating parameters, if the first connection information indicates that the connection state of any first fan has changed, the reference operating parameters are set to the second operating parameters; the target temperature difference corresponding to the second operating parameters is greater than the target temperature difference corresponding to the first operating parameters, and the target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature; at a first moment, based on the first actual temperature and the reference temperature of the target device, the fan assembly is subjected to a first speed regulation process, which is used to reduce the speed of the second fan.

[0014] A fourth aspect of this application provides an apparatus comprising the fan control system described in the third aspect above.

[0015] The fifth aspect of this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the method as described in the first aspect above.

[0016] A sixth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, the program being executed by a processor to implement the method described in the first aspect above.

[0017] A seventh aspect of this application provides a computer program product including a computer program that is executed by a processor to implement the method described in the first aspect above.

[0018] Based on the fan control method provided in the first aspect above, this application has at least the following beneficial effects or advantages:

[0019] In this embodiment, by acquiring the first connection information of the fan set corresponding to the target device, and when the reference operating parameter of the target device is the first operating parameter, if the connection state of any first fan in the fan set changes as indicated by the first connection information, the reference operating parameter is set to the second operating parameter. At a first moment, based on the first actual temperature and the reference temperature of the target device, the fan set undergoes a first speed adjustment process to reduce the speed of the second fan in the fan set. The target temperature difference corresponding to the second operating parameter is greater than the target temperature difference corresponding to the first operating parameter; the target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature. Therefore, when the connection state of the first fan changes, by setting the reference operating parameter from the first operating parameter to the second operating parameter, the target temperature difference of the target device increases. To reduce this target temperature difference, the cooling effect of the fans needs to be reduced to increase the actual temperature of the target device. Therefore, the fan set needs to be speed-adjusted to reduce the fan speed. Since the speed adjustment of the fan set reduces the speed of the second fan, it avoids the problem that the first fan cannot start normally when the first fan changes from an off-position state to an on-position state due to the excessive speed of the second fan causing the first fan to reverse.

[0020] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application, it can be implemented according to the contents of the specification. In order to make the above and other objects, features and advantages of this application more obvious and understandable, specific embodiments of this application are given below. Attached Figure Description

[0021] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0022] Figure 1 This is a schematic diagram illustrating an application scenario of a fan control method provided in an embodiment of this application;

[0023] Figure 2 This is a first flowchart of a fan control method provided in an embodiment of this application;

[0024] Figure 3 This is a second flowchart of a fan control method provided in an embodiment of this application;

[0025] Figure 4 This is a third flowchart of a fan control method provided in an embodiment of this application;

[0026] Figure 5 This is a fourth flowchart of a fan control method provided in an embodiment of this application;

[0027] Figure 6 A fifth flowchart of a fan control method provided in an embodiment of this application;

[0028] Figure 7 A sixth flowchart of a fan control method provided in an embodiment of this application;

[0029] Figure 8 A seventh flowchart of a fan control method provided in an embodiment of this application;

[0030] Figure 9 The eighth flowchart of a fan control method provided in this application embodiment;

[0031] Figure 10 A ninth flowchart of a fan control method provided in an embodiment of this application;

[0032] Figure 11 This is a schematic diagram of the structure of a fan control device provided in an embodiment of this application;

[0033] Figure 12 A schematic diagram illustrating the composition of a fan control system provided in an embodiment of this application;

[0034] Figure 13 This is a schematic diagram of the composition of a device provided in an embodiment of this application;

[0035] Figure 14 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0036] Figure 15 This is a schematic diagram of the structure of a storage medium provided in an embodiment of this application. Detailed Implementation

[0037] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0038] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0039] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination," etc.

[0040] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0041] Computing power, algorithms, and data are the three essential elements for the development of the artificial intelligence industry. Servers are the carriers of computing power. During data processing, the temperature of the server's GPUs and CPUs, which are used to generate computing power, rises. To avoid damage caused by overheating, servers typically have multiple fans. When a fan malfunctions, it needs to be plugged in and out for maintenance. However, during this process, if the fan is inserted slowly, it may be reversed by other fans. If the reverse speed is too high, the inserted fan may fail to start. To solve this problem, some existing fan plugging and unplugging maintenance techniques involve manually reducing the speed of all fans, for example, to 60% of their maximum speed. Then, the faulty fan is removed and a new fan is inserted. After the new fan starts normally, the server is manually instructed to restore automatic speed control. However, this process requires human intervention, is time-consuming, and prone to errors.

[0042] Based on this, embodiments of this application provide a fan control method. Figure 1 This is a schematic diagram illustrating an application scenario of a fan control method provided in an embodiment of this application. For example... Figure 1 As shown, the scenario includes a target device equipped with a fan control system. The fan control system includes control components, a fan assembly, and target devices corresponding to the fan assemblies. The fan assembly includes multiple fans, and the target devices can be GPUs, CPUs, etc. The target device can be a terminal device or a server device. Terminal devices can be mobile phones, tablets, desktop computers, laptops, home appliances, automotive terminals, etc. Server devices can be physical servers, cloud servers, etc. Figure 1The example shown uses a physical server equipped with a fan control system. It should be understood that... Figure 1 The illustration is merely a schematic representation of an application scenario for the fan control method involved in this application and does not constitute a limitation on the technical solution of this application. In other embodiments, the application scenario of the fan control method involved in this application may include more or fewer components.

[0043] Specifically, the control component can maintain the in-situ / out-of-situ detection strategy for the fan set, the temperature detection strategy for the target device, the temperature attribute information of the target device, the setting strategy for the reference operating parameters of the target device, and the speed control strategy for the fan set. The in-situ / out-of-situ detection strategy instructs the control component to acquire the first connection information of the fan set every second preset time interval, and to determine the first fan whose connection status has changed and the second fan whose connection status has not changed based on the first connection information. The temperature detection strategy for the target device instructs the control component to acquire the actual temperature of the target device every first preset time interval. When the reference operating parameter is a reference temperature (also referred to as the reference working temperature), the temperature attribute information of the target device can include a first preset temperature and a second preset temperature, wherein the first preset temperature is lower than the second preset temperature, and the second preset temperature is determined in advance based on the number of target devices corresponding to the fan set. That is, the reference temperature of the target device can be either the first preset temperature or the second preset temperature. Accordingly, the strategy for setting the reference operating parameters of the target device is used to instruct the control component to set the reference temperature to the second preset temperature when the reference temperature of the target device is a first preset temperature and the first actual temperature of the target device is lower than a second preset temperature, and the first connection information indicates that the first fan has changed from an off-site state to an on-site state; and when it is determined that all fans in the fan set have adjusted their current speed to the first target speed, the reference temperature is set to the first preset temperature; wherein, the first target speed is determined based on the first actual temperature and the second preset temperature of the target device. When the reference operating parameter is a reference power consumption, the temperature attribute information of the target device may include the first preset temperature of the target device, that is, the first preset temperature is the reference temperature of the target device, and the target speed is determined based on the first preset temperature when adjusting the fan speed. Accordingly, the strategy for setting the reference operating parameters of the target device is used to instruct the control component to set the reference power consumption of the target device to a preset first power consumption, and when the first connection information indicates that the first fan has changed from an off-site state to an on-site state, set the reference power consumption to a second power consumption less than the first power consumption, and when all fans in the fan set have adjusted their current speed to the first target speed, set the reference power consumption to the first power consumption. Alternatively, when the first connection information indicates that the first fan has changed from an in-position state to an out-of-position state, the reference power consumption is set to a second power consumption that is less than the first power consumption. When each fan in the fan set adjusts its current speed to the first target speed and obtains the second connection information that the first fan has changed from an out-of-position state to an in-position state, the reference power consumption is set to the first power consumption.The fan assembly speed control strategy is used to instruct the control component to perform a first speed regulation process on the fan assembly based on the first actual temperature and the first preset temperature of the target device when the reference operating parameter is set to the second operating parameter; and to perform a second speed regulation process on the fan assembly based on the second actual temperature and the first preset temperature when it is determined that the fan speed regulation conditions are met based on the second actual temperature and the first preset temperature of the target device.

[0044] Therefore, when the connection state of the first fan changes, by setting the reference operating parameters from the first operating parameter to the second operating parameter, the target temperature difference of the target device increases. To reduce this target temperature difference, the cooling effect of the fan needs to be reduced to increase the actual temperature of the target device. Therefore, the fan assembly needs to be speed-adjusted to reduce the fan speed. Since adjusting the speed of the fan assembly reduces the speed of the second fan, it avoids the problem of the first fan failing to start normally when it changes from an off-position state to an on-position state, due to the second fan's excessive speed causing the first fan to reverse.

[0045] The technical solution of this application and how it solves the aforementioned technical problems are described in detail below with specific embodiments. The listed specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0046] Figure 2 A flowchart of a fan control method provided in an embodiment of this application. Figure 2 The method shown can be used by Figure 1 The control components within it execute. For example... Figure 2 As shown, the method includes the following steps 101-103.

[0047] Step 101: Obtain the first connection information of the fan set corresponding to the target device. The fan set includes at least one first fan and at least one second fan.

[0048] Step 102: If the reference operating parameter of the target device is the first operating parameter, and the first connection information indicates that the connection status of any first fan has changed, then the reference operating parameter is set to the second operating parameter; the target temperature difference corresponding to the second operating parameter is greater than the target temperature difference corresponding to the first operating parameter, and the target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature.

[0049] Step 103: At the first moment, based on the first actual temperature and reference temperature of the target device, the fan assembly is subjected to a first speed regulation process, which is used to reduce the speed of the second fan.

[0050] In some implementations, multiple fans in a fan set correspond one-to-one with multiple fan positions. For any fan, when the fan is inserted into the corresponding fan position, it indicates that the fan is in an in-position state, i.e., the connection state is in-position; when the fan is not inserted into a fan position, it indicates that the fan is in an out-of-position state, i.e., the connection state is out-of-position. Accordingly, step 101 above may include: sending a detection command to the fan positions of the fan set corresponding to the target device every second preset time interval, and receiving the first connection information of the corresponding fan returned by each fan position. In some implementations, the first connection information may include an Assert signal and a De-assert signal; wherein, the Assert signal indicates that the fan is in an in-position state, and the De-assert signal indicates that the fan is in an out-of-position state. The second preset time interval can be set flexibly as needed in actual applications, such as 30 seconds, 1 minute, etc. The first fan mentioned above is the fan whose connection state has changed. The connection state change can be from an out-of-position state to an in-position state, or from an in-position state to an out-of-position state, as detailed in the relevant description below. The second fan is the fan that is in an in-position state during the connection state change of the first fan. There can be one or more first fans, and there can also be one or more second fans.

[0051] To facilitate the identification of the first fan whose state has changed, in some embodiments, when the control component determines that the first connection information includes a De-assert signal, it records the off-position state information of the first fan at the corresponding fan position. Furthermore, when the first connection information for that fan position is obtained as an Assert signal, it determines that the first fan has transitioned from an off-position state to an in-position state, and deletes the recorded off-position state information of the first fan. The off-position state information may include the identifier of the corresponding fan position, etc., which is not specifically limited in this application.

[0052] To avoid adverse effects on the target device due to excessively low or high temperatures, the target device is equipped with a reference temperature. The fan speed is controlled to maintain the third temperature difference between the actual temperature of the target device and the reference temperature within a preset range. To prevent a fan from reversing due to higher speeds of other fans when it transitions from an off-center to an on-center state, in some embodiments, each fan is equipped with a temperature-related reference operating parameter. This reference operating parameter can be set as a first operating parameter or a second operating parameter. The target temperature difference corresponding to the second operating parameter is greater than the target temperature difference corresponding to the first operating parameter. This target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature. The reference temperature can be either the aforementioned first preset temperature or the second preset temperature, as described in the following section. When all fans in the fan assembly are running normally, the first preset temperature is determined as the reference temperature of the target device, and the reference operating parameter of the target device is set as the first operating parameter. At this point, regardless of whether the actual temperature of the target device is higher or lower than the first preset temperature (i.e., the reference temperature), the third temperature difference between the actual temperature of the target device and the first preset temperature (i.e., the reference temperature) remains within the preset temperature difference range. If the first connection information indicates a change in the connection status of the first fan when the reference operating parameters of the target device are the first operating parameters, then the reference operating parameters of the target device are set to the second operating parameters.

[0053] Understandably, after setting the reference operating parameters of the target device from the first operating parameter to the second operating parameter, the target temperature difference corresponding to the second operating parameter is greater than that corresponding to the first operating parameter, thus increasing the temperature difference between the actual temperature of the target device and the reference temperature. For ease of description, the target temperature difference corresponding to the second operating parameter is denoted as the fourth temperature difference. This fourth temperature difference is greater than the aforementioned third temperature difference and is often not within the preset temperature difference range. Therefore, in order to reduce the fourth temperature difference between the actual temperature of the target device and the reference temperature, it is necessary to reduce the speed of the fans in the fan assembly, thereby reducing the heat dissipation effect and increasing the actual temperature of the target device. Therefore, in step 103, it is necessary to perform a first speed adjustment process on the fan assembly based on the first actual temperature and the reference temperature of the target device to reduce the speed of the second fan in the fan assembly. In this process, on the one hand, the operating temperature of the target device is brought closer to the reference temperature, and on the other hand, the first fan can start smoothly.

[0054] It should be noted that since setting the reference operating parameters of the target device to the second operating parameters and adjusting the fan assembly speed is a short process, increasing the temperature difference between the actual temperature of the target device and the reference temperature during this short process will not have an adverse effect on the target device.

[0055] In the fan control method provided in this application embodiment, first connection information of the fan set corresponding to the target device is obtained. If the connection state of any first fan in the fan set changes when the reference operating parameter of the target device is the first operating parameter, the reference operating parameter is set to the second operating parameter. At a first moment, the fan set is subjected to a first speed adjustment process based on the first actual temperature and the reference temperature of the target device to reduce the speed of the second fan in the fan set. The target temperature difference corresponding to the second operating parameter is greater than the target temperature difference corresponding to the first operating parameter; the target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature. Therefore, when the connection state of the first fan changes, by setting the reference operating parameter from the first operating parameter to the second operating parameter, the target temperature difference of the target device increases. To reduce this target temperature difference, the cooling effect of the fan needs to be reduced to increase the actual temperature of the target device. Therefore, the fan set needs to be speed adjusted to reduce the fan speed. Since the speed adjustment of the fan set reduces the speed of the second fan, the problem of the first fan failing to start normally due to excessive speed of the second fan causing the first fan to reverse when the first fan changes from an off-position state to an on-position state can be avoided.

[0056] To ensure the first fan can start normally when transitioning from an off-position to an on-position state, in some implementations, the fan speed is reduced by changing the reference temperature of the target device. That is, the reference operating parameter can be the reference temperature of the target device, the first operating parameter can be a first preset temperature, and the second operating parameter can be a second preset temperature. Correspondingly, such as... Figure 3 As shown, step 102 may include step 1021, and step 103 may include step 1031:

[0057] Step 1021: When the reference temperature of the target device is the first preset temperature, if the first connection information indicates that any first fan changes from an off-site state to an on-site state, then the reference temperature is set to the second preset temperature, which is higher than the first preset temperature.

[0058] Step 1031: At the first moment, based on the first actual temperature and the second preset temperature of the target device, the fan assembly is subjected to a first speed regulation process, which is used to reduce the speed of the second fan.

[0059] Specifically, the target temperature difference corresponding to the second preset temperature (i.e., the second operating parameter) is the temperature difference between the actual temperature of the target device and the second preset temperature (i.e., the reference temperature), and the target temperature difference corresponding to the first preset temperature (i.e., the first operating parameter) is the temperature difference between the actual temperature of the target device and the first preset temperature (i.e., the reference temperature). The target temperature difference corresponding to the second preset temperature is greater than the target temperature difference corresponding to the first preset temperature. In other words, setting the reference temperature of the target device from the first preset temperature to the second preset temperature increases the target temperature difference. To reduce this target temperature difference, ensuring that the temperature difference between the actual temperature of the target device and the second preset temperature (i.e., the reference temperature) falls within the preset temperature difference range, it is necessary to reduce the fan speed in the fan assembly, thereby reducing the heat dissipation effect and increasing the actual temperature of the target device. Therefore, at the first moment, based on the first actual temperature and the second preset temperature of the target device, a first speed adjustment process is performed on the fan assembly to reduce the speed of the second fan. Because the speed of the second fan is reduced, the problem of the first fan failing to start normally due to excessively high second fan speed causing it to reverse is avoided.

[0060] Considering that in practical applications, the higher the power consumption of the target device, the higher its actual temperature, the actual temperature of the target device can be changed by adjusting its power consumption limit. Specifically, in some embodiments, the reference operating parameter can be a reference power consumption, the first operating parameter can be a preset first power consumption (which is the preset power consumption limit of the target device), and the reference temperature of the target device is a first preset temperature. Correspondingly, such as... Figure 4 As shown, step 102 may include the following steps: 1022; step 103 may include the following steps: 1032.

[0061] Step 1022: If the reference power consumption of the target device is a preset first power consumption, and the first connection information indicates that any first fan changes from an off-site state to an on-site state, then the second power consumption is determined according to a preset rule, and the reference power consumption is set to the second power consumption, which is less than the first power consumption.

[0062] Step 1032: At the first moment, based on the first actual temperature and the first preset temperature of the target device, the fan assembly is subjected to a first speed regulation process, which is used to reduce the speed of the second fan.

[0063] Specifically, by setting the reference power consumption of the target device from a first power consumption to a second power consumption that is less than the first power consumption, the execution rate of the target device for each task will decrease, and the decrease in execution rate will cause the actual temperature of the target device to decrease. This decrease in actual temperature will increase the temperature difference between the actual temperature and the first preset temperature (i.e., the reference temperature). To reduce this temperature difference, the speed of the fans in the fan assembly needs to be reduced, thereby reducing the heat dissipation effect and increasing the actual temperature of the target device. Therefore, at the first moment, based on the first actual temperature and the first preset temperature of the target device, the fan assembly undergoes a first speed adjustment process to reduce the speed of the second fan. Because the speed of the second fan is reduced, the problem of the first fan failing to start normally due to its excessively high speed causing it to reverse is avoided.

[0064] Considering that in practical applications, fan replacement typically involves unplugging the old fan and inserting the new one, a process often completed quickly, in some implementations, when the reference operating parameter is a reference power consumption, the first operating parameter is a preset first power consumption, and the reference temperature of the target device is a first preset temperature, the fan assembly speed can be adjusted when the first fan transitions from an in-position to an out-of-position state. Specifically, for example... Figure 5 As shown, step 102 may include step 1023, and step 103 may include step 1033:

[0065] Step 1023: If the reference power consumption of the target device is a preset first power consumption, and the first connection information indicates that any first fan changes from an in-position state to an out-of-position state, then the second power consumption is determined according to a preset rule, and the reference power consumption is set to the second power consumption, which is less than the first power consumption.

[0066] Step 1033: At the first moment, based on the first actual temperature and the first preset temperature of the target device, the fan assembly is subjected to a first speed regulation process, which is used to reduce the speed of the second fan.

[0067] Specifically, when any of the first fans transitions from an in-position state to an out-of-position state, the target device's reference power consumption is set from a first power consumption to a second power consumption lower than the first power consumption. This causes the target device's execution rate for each task to decrease, which in turn lowers the actual temperature of the target device. This decrease in actual temperature increases the temperature difference between the actual temperature and the first preset temperature (i.e., the reference temperature). To reduce this temperature difference, the fan speeds in the fan assembly need to be reduced, thereby reducing heat dissipation and further increasing the actual temperature of the target device. Therefore, at the first moment, based on the first actual temperature and the first preset temperature of the target device, the fan assembly undergoes a first speed adjustment process to reduce the speed of the second fan. By reducing the speed of the second fan, the problem of the first fan failing to start normally due to its excessively high speed being reversed when the first fan is reconnected can be avoided.

[0068] Furthermore, in steps 1032 and 1033 above, determining the second power consumption according to a preset rule includes: acquiring the actual power consumption of the target device; determining the reduced power consumption based on the actual power consumption and a preset reduction ratio; and subtracting the reduced power consumption from the actual power consumption to obtain the second power consumption. Acquiring the actual power consumption of the target device can be achieved by sending an acquisition request to the target device and receiving the actual power consumption returned during the target period. The method for acquiring the actual power consumption can be set as needed in practical applications, and this application does not impose specific limitations on it.

[0069] It is evident that when the connection status of the first fan changes, whether it is changing the reference temperature of the target device or changing the reference power consumption of the target device, the temperature difference between the actual temperature of the target device and the reference temperature can be increased, thereby reducing the speed of the fan assembly and avoiding the problem that the first fan cannot start normally due to the second fan speed being too high.

[0070] Based on any of the aforementioned implementation methods, in order to ensure that the fan speed, after adjusting the speed of the fan assembly, can bring the temperature of the target device close to the second preset temperature, in some implementation methods, during the first speed adjustment process, a first target speed is first determined based on the current first actual temperature and the current reference temperature of the target device, and then the speed is adjusted according to the first target speed. Specifically, as shown in... Figure 6 As shown, step 103 may include steps 1034 and 1035:

[0071] Step 1034: At the first moment, determine the first target rotational speed based on the first actual temperature and the reference temperature of the target device.

[0072] To obtain the actual temperature of the target device in a timely manner, thereby accurately adjusting the speed of the fan assembly, and considering that the first target speed is usually related to the rate of temperature change of the target device during speed adjustment, in some embodiments, the actual temperature of the target device can be acquired every first preset time interval, and the first target speed can be determined based on the first historical actual temperature of the target device during the first speed adjustment process. Specifically, such as... Figure 7 As shown, the method may further include the following step 100:

[0073] Step 100: Obtain the actual temperature of the target device every first preset time interval.

[0074] In some embodiments, a temperature sensor can be provided for the target device, and the actual temperature of the target device can be obtained from the temperature sensor at first preset intervals. The first preset interval can be the same as or different from the aforementioned second preset interval; this application does not impose a specific limitation on this. For example, the first preset interval and the aforementioned second preset interval can both be 30 seconds. It is understood that the execution order of step 100 is not limited to... Figure 7 As shown, it can be executed simultaneously with any step, before any step, or after any step.

[0075] To facilitate speed adjustment of the fan assembly, in some embodiments, after step 100, the process may further include: recording the acquired actual temperatures and cleaning up the recorded actual temperatures according to a preset cleaning strategy.

[0076] By using a preset cleanup strategy, recorded historical temperatures can be promptly cleared, avoiding the storage of numerous useless historical temperatures that would occupy storage space. The preset cleanup strategy can be customized as needed in practical applications, and this application does not impose specific limitations on it. As an example, every third preset time interval, using the current time as the end time, the first historical temperature within the target time interval can be determined, and all historical temperatures other than the first historical temperature can be deleted. The target time interval can be a preset multiple of the first preset time interval, and the third preset time interval is longer than the first preset time interval; for example, the first preset time interval is 20 seconds, the third preset time interval is 3 minutes, and the preset multiple is 2 times, etc.

[0077] Correspondingly, such as Figure 7 As shown, step 1034 may include steps 1034-1 to 1034-3:

[0078] Step 1034-1: At the first moment, determine the first temperature difference between the first actual temperature of the target device and the reference temperature.

[0079] Specifically, the first temperature difference is obtained by subtracting the reference temperature from the first actual temperature. The first actual temperature can be the actual temperature of the target device obtained in the last acquisition.

[0080] It should be noted that when the reference operating parameter is the reference temperature, the reference temperature in step 1034-1 is the second preset temperature; when the reference operating parameter is the reference power consumption, the reference temperature in step 1034-1 is the first preset temperature.

[0081] Step 1034-2: Obtain the first historical actual temperature of the target device, and determine the temperature change rate of the target device based on the first actual temperature, the first historical actual temperature and the first preset duration; the first historical actual temperature is the historical actual temperature at a target duration interval from the first actual temperature, and the target duration is a preset multiple of the first preset duration.

[0082] Specifically, the first historical actual temperature within the target time period is obtained from the recorded historical actual temperatures. The first historical actual temperature and the first actual temperature are sorted in chronological order. The actual temperatures that are adjacent to each other in the sorting result are subtracted to obtain the third temperature difference. The third temperature difference is then divided by the first preset time period to obtain the corresponding temperature change rate.

[0083] As an example, the first preset duration is 20 seconds, the target duration is twice the first preset duration, the first actual temperature is 52 degrees Celsius, and the first actual temperature was acquired at 2:10:30 AM on July 10, 2024. Therefore, the first historical actual temperature of 50 degrees Celsius was acquired at 2:10:10 AM on July 10, 2024, and the first historical actual temperature of 55 degrees Celsius was acquired at 2:09:50 AM on July 10, 2024. The actual temperatures, sorted chronologically, are 50 degrees, 55 degrees, and 51 degrees Celsius. Therefore, the temperature change rates are (55-50) / 20 = 0.25 and (51-50) / 20 = 0.05.

[0084] Step 1034-3: Determine the first target rotational speed based on the first temperature difference and the rate of temperature change.

[0085] In some implementations, the first target rotational speed can be determined based on a PID (Proportional-Integral-Derivative) algorithm, taking into account the first temperature difference and the rate of temperature change. The specific implementation process of the PID algorithm is not detailed in this application; however, relevant technologies can be consulted.

[0086] Step 1035: Send a speed adjustment command to the fan assembly according to the first target speed. The speed adjustment command is used to control each fan in the fan assembly to adjust its current speed to the first target speed.

[0087] In some implementations, the speed of each fan in the same fan set is adjusted according to the same target speed. Therefore, in step 1034, the control component can send speed adjustment commands to the first and second fans corresponding to the target device according to the determined first target speed, and receive the speed adjustment results sent by each fan. The speed adjustment result indicates whether the corresponding fan has adjusted its speed to the first target speed.

[0088] Therefore, the first target speed is determined based on the first actual temperature, the second preset temperature and the first historical actual temperature of the target device, and a speed adjustment command is sent to the fan assembly based on the first target speed, ensuring that the determined first target speed matches the current temperature change trend of the target device, thereby ensuring the accuracy of the first speed adjustment process.

[0089] Since the first fan starts successfully after the first speed adjustment is successful, to avoid adverse effects on the target device caused by using a higher second preset temperature as the reference temperature for an extended period when the reference operating parameter is the reference temperature, and to prevent the processing progress of each task from being affected by using a lower second power consumption as the reference power consumption for an extended period when the reference operating parameter is the reference power consumption, in some embodiments, if it is determined that the parameter recovery condition is met, the reference operating parameter of the target device is adjusted back to the first operating parameter. That is, as follows... Figure 8 As shown, step 103 may be followed by steps 104 and 105:

[0090] Step 104: If it is determined that the parameter recovery conditions are met, then set the reference working parameter as the first working parameter.

[0091] The parameter recovery conditions can vary depending on the change in connection status. Specifically, when the connection status changes from an off-site state to an in-situ state, the parameter recovery condition is that all fans in the fan set adjust their current speed to the first target speed. When the connection status changes from an in-situ state to an off-site state, the parameter recovery condition is that all fans in the fan set adjust their current speed to the first target speed, and the second connection information of the first fan changing from an off-site state to an in-situ state is obtained.

[0092] Furthermore, when the reference operating parameter is a reference temperature, setting the reference operating parameter as the first operating parameter may include setting the reference temperature to a first preset temperature. When the reference operating parameter is a reference power consumption, setting the reference operating parameter as the first operating parameter may include setting the reference power consumption to a preset first power consumption. As described above, when the reference operating parameter is a reference power consumption, the reference temperature of the target device is always the first preset temperature.

[0093] Step 105: At a second moment later than the first moment, if it is determined that the fan speed regulation conditions are met based on the second actual temperature and the first preset temperature of the target device, then the fan assembly is subjected to a second speed regulation process based on the second actual temperature and the first preset temperature.

[0094] Considering that the actual temperature of the target device changes continuously with the temperature variations of the external environment and the load conditions of the target device, in order to ensure that after adjusting the reference operating parameters of the target device back to the first operating parameters, the actual temperature of the target device is close to the first preset temperature (i.e., the current reference temperature), in some embodiments, the control component determines a fifth temperature difference between the second actual temperature of the target device and the first preset temperature, and determines whether the fifth temperature difference is within the preset temperature difference range; if so, it is determined that the fan speed regulation condition is not met; if not, it is determined that the fan speed regulation condition is met. Here, the second actual temperature is the last actual temperature currently acquired.

[0095] Furthermore, step 105, which involves performing a second speed adjustment on the fan assembly based on the second actual temperature and the first preset temperature, may include: determining a second target speed based on the second actual temperature and the first preset temperature, and sending a speed adjustment command to the fan assembly based on the second target speed. The speed adjustment command is used to control each fan in the fan assembly to adjust its current speed to the second target speed. The process for determining the second target speed is the same as the process for determining the first target speed, as described above; any repetitions will not be repeated here.

[0096] Understandably, when the reference operating parameter is the reference temperature, since the actual temperature of the target device is close to the second preset temperature before the reference temperature is set to the first preset temperature in step 104, after the reference temperature is set to the first preset temperature in step 104, the second actual temperature of the target device is usually higher than the first preset temperature, and the temperature difference is not within the preset temperature difference range. Therefore, it is necessary to increase the speed of each fan in the fan assembly to reduce the actual temperature of the target device. However, inevitably, some special cases may exist in actual applications. For example, during the process of setting the reference temperature to the first preset temperature, or after the first speed adjustment process, the load of the target device is reduced, so that after the reference temperature is set to the first preset temperature, the second actual temperature of the target device is lower than the first preset temperature, and the temperature difference is not within the preset temperature difference range. In this case, it is necessary to reduce the speed of each fan in the fan assembly to increase the actual temperature of the target device.

[0097] When the reference operating parameter is the reference power consumption, since the target device's processing power is increased after setting the reference power consumption to the preset first power consumption in step 104, the actual temperature of the target device also increases. When the actual temperature increases significantly and exceeds the first preset temperature (i.e., the reference temperature), the fan assembly speed needs to be increased to reduce the actual temperature of the target device. When the actual temperature increases slightly and the temperature difference between the actual temperature and the first preset temperature (i.e., the reference temperature) is not within the preset temperature difference range, the actual temperature of the target device needs to be increased and the fan assembly speed needs to be decreased to reduce the temperature difference between the actual temperature and the first preset temperature.

[0098] In other words, the second speed regulation process for the fan assembly in step 105 may include: reducing the speed of each fan in the fan assembly when the second actual temperature is lower than the first preset temperature; and increasing the speed of each fan in the fan assembly when the second actual temperature is higher than the first preset temperature.

[0099] After each fan in the fan assembly adjusts its current speed to the first target speed, the target device's reference operating parameters are set to the first operating parameters, ensuring that the target device can operate within a reasonable temperature range.

[0100] Considering that in practical applications, the target device corresponding to the fan set may include multiple sub-devices, such as a GPU and a CPU, where the GPU and CPU correspond to the same fan set. To ensure that all these sub-devices can operate within a reasonable temperature range, in some implementations, such as... Figure 9 As shown, the steps A1 and A2 may be included before step 105 above:

[0101] Step A1: Determine the actual temperatures of the multiple sub-devices included in the target device.

[0102] Specifically, it is determined whether the temperature detection time has been reached. If so, the actual temperature of the sub-device is obtained from the temperature sensor corresponding to the sub-device for any one of the multiple sub-devices. If not, the last actual temperature is obtained from the recorded actual temperatures of the sub-devices for any one of the multiple sub-devices, and the obtained actual temperature is determined as the actual temperature of the sub-device.

[0103] Step A2: Based on the temperature attribute information of multiple sub-devices, determine the actual temperature that meets the preset conditions among the actual temperatures of multiple sub-devices as the second actual temperature.

[0104] Specifically, if the temperature attribute information indicates that the first preset temperature corresponding to multiple sub-devices is the same, then the maximum actual temperature among the actual temperatures of the multiple sub-devices is determined as the second actual temperature; if the temperature attribute information indicates that the first preset temperature corresponding to multiple sub-devices is different, then for any one of the multiple sub-devices, a second temperature difference between the actual temperature of the sub-device and the first preset temperature corresponding to the sub-device is determined; and the actual temperature corresponding to the smallest second temperature difference is determined as the second actual temperature.

[0105] More specifically, a first reference temperature for each sub-device is read from the preset temperature attribute information of multiple sub-devices, and this first reference temperature is determined as the first preset temperature corresponding to the respective sub-device. The first preset temperatures of the multiple sub-devices are compared. If the comparison results show that the first preset temperatures of the multiple sub-devices are the same, the maximum actual temperature among the actual temperatures of the multiple sub-devices is determined, and this maximum actual temperature is determined as the second actual temperature. If the comparison results show that the first preset temperatures of the multiple sub-devices are different, a second temperature difference is determined between the actual temperature of any of the multiple sub-devices and its corresponding first preset temperature; the minimum second temperature difference among the second temperature differences among the multiple sub-devices is determined, and the actual temperature corresponding to the minimum second temperature difference is determined as the second actual temperature.

[0106] Therefore, when the target device includes multiple sub-devices, by determining the actual temperature of the multiple sub-devices that meets the preset conditions as the second actual temperature, it is ensured that each sub-device can work within a reasonable temperature range. This prevents some sub-devices from being controlled within a reasonable temperature range due to speed regulation, while other sub-devices are subjected to excessively high or low temperatures, which would have an adverse effect on those other sub-devices.

[0107] Furthermore, when the target device comprises multiple sub-devices and the reference operating parameter is a reference temperature, such as Figure 10 As shown, step 102 may include steps 1024 to 1026:

[0108] Step 1024: If the reference temperature of the target device is the first preset temperature, and the first connection information indicates that the first fan has changed from an off-site state to an on-site state, then the second reference temperature corresponding to each of the multiple sub-devices is determined according to the temperature attribute information of the multiple sub-devices included in the target device.

[0109] The step of determining the second reference temperature corresponding to each of the multiple sub-devices based on the temperature attribute information of the target device can include: reading the second reference temperature corresponding to each sub-device from the preset temperature attribute information of the multiple sub-devices.

[0110] Step 1025: If the second reference temperatures corresponding to multiple sub-devices are different, then the lowest second reference temperature among the multiple sub-devices is determined as the second preset temperature.

[0111] Specifically, the second reference temperature corresponding to multiple sub-devices is compared. If the comparison results indicate that the second reference temperatures corresponding to multiple sub-devices are different, the minimum second reference temperature among the multiple second reference temperatures corresponding to the sub-devices is determined and set as the second preset temperature.

[0112] Step 1026: If the first actual temperature of multiple sub-devices is lower than the second preset temperature, then the reference temperature is set to the second preset temperature.

[0113] Therefore, when the target device includes multiple sub-devices, by determining the smallest second reference temperature among the second reference temperatures corresponding to the multiple sub-devices as the second preset temperature, it is ensured that each sub-device can operate within a reasonable temperature range, and that the actual temperature of some sub-devices will not be controlled within a reasonable temperature range due to subsequent speed adjustment processing, while the temperature of other sub-devices will be too high or too low, thus causing adverse effects on the other sub-devices.

[0114] Corresponding to the aforementioned embodiments of the fan control method, this application also provides embodiments of the fan control device. Figure 11 This is a schematic diagram illustrating the structure of a fan control device according to an exemplary embodiment, which can be configured in... Figure 1 The control component shown is used to execute the fan control method provided in any of the above embodiments, such as... Figure 11 As shown, the fan control device includes:

[0115] The first acquisition module 201 is used to acquire the first connection information of the fan set corresponding to the target device; the fan set includes at least one first fan and at least one second fan.

[0116] The setting module 202 is used to set the reference operating parameters to the second operating parameters when the reference operating parameters of the target device are the first operating parameters, and if the first connection information indicates that the connection status of any first fan has changed; the target temperature difference corresponding to the second operating parameter is greater than the target temperature difference corresponding to the first operating parameter, and the target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature.

[0117] The speed control module 203 is used to perform a first speed control process on the fan assembly based on the first actual temperature of the target device and the target preset temperature at a first moment; the first speed control process is used to reduce the speed of the second fan.

[0118] The fan control device provided in this application obtains first connection information of a fan set corresponding to a target device. When the reference operating parameters of the target device are the first operating parameters, if the connection state of any first fan in the fan set changes as indicated by the first connection information, the reference operating parameters are set to second operating parameters. At a first moment, based on the first actual temperature and the reference temperature of the target device, the fan set undergoes a first speed adjustment process to reduce the speed of the second fan in the fan set. The target temperature difference corresponding to the second operating parameters is greater than the target temperature difference corresponding to the first operating parameters; the target temperature difference is the temperature difference between the actual temperature of the target device and the reference temperature. Therefore, when the connection state of the first fan changes, by setting the reference operating parameters from the first operating parameters to the second operating parameters, the target temperature difference of the target device increases. To reduce this target temperature difference, the cooling effect of the fans needs to be reduced to increase the actual temperature of the target device. Therefore, the fan set needs to be speed-adjusted to reduce the fan speed. Since the speed adjustment of the fan set reduces the speed of the second fan, it avoids the problem of the first fan failing to start normally when the first fan changes from an off-position state to an on-position state due to the excessive speed of the second fan causing the first fan to reverse.

[0119] In some implementations, the reference operating parameters include the reference temperature, and the first operating parameters include a first preset temperature.

[0120] Accordingly, the setting module 202 is specifically used to set the reference temperature to a second preset temperature if the first connection information indicates that any first fan changes from an off-site state to an on-site state, wherein the second preset temperature is higher than the first preset temperature.

[0121] The speed control module 203 is specifically used to perform a first speed control process on the fan assembly based on the first actual temperature and the second preset temperature of the target device.

[0122] In some implementations, the reference operating parameters include reference power consumption, and the first operating parameters include a preset first power consumption.

[0123] Accordingly, the setting module 202 is specifically used to determine the second power consumption according to a preset rule if the first connection information indicates that any first fan changes from an off-site state to an on-site state, and set the reference power consumption as the second power consumption, wherein the second power consumption is less than the first power consumption.

[0124] The speed control module 203 is specifically used to perform a first speed control process on the fan assembly based on the first actual temperature and the first preset temperature of the target device.

[0125] In some implementations, the reference operating parameters include reference power consumption, and the first operating parameters include a preset first power consumption.

[0126] Accordingly, the setting module 202 is specifically used to determine the second power consumption according to a preset rule if the first connection information indicates that any first fan changes from an in-position state to an out-of-position state, and set the reference power consumption as the second power consumption, wherein the second power consumption is less than the first power consumption.

[0127] The speed control module 203 is specifically used to perform a first speed control process on the fan assembly based on the first actual temperature and the first preset temperature of the target device.

[0128] In some implementations, the setting module 202 is further specifically used for:

[0129] Obtain the actual power consumption of the target device.

[0130] The power consumption reduction is determined based on the actual power consumption and the preset reduction ratio.

[0131] The second power consumption is obtained by subtracting the actual power consumption from the reduced power consumption.

[0132] In some implementations, the speed control module 203 is specifically used for:

[0133] The first target rotational speed is determined based on the first actual temperature and the reference temperature.

[0134] A speed adjustment command is sent to the fan assembly based on the first target speed. The speed adjustment command is used to control each fan in the fan assembly to adjust its current speed to the first target speed.

[0135] In some embodiments, the device further includes a second acquisition module.

[0136] The second acquisition module is used to acquire the actual temperature of the target device every first preset time interval.

[0137] Accordingly, the speed control module 203 is further specifically used for:

[0138] Determine the first temperature difference between the first actual temperature and the reference temperature.

[0139] The first historical actual temperature of the target device is obtained, and the temperature change rate of the target device is determined based on the first actual temperature, the first historical actual temperature and the first preset duration; the first historical actual temperature is the historical actual temperature at a target duration interval from the first actual temperature, and the target duration is a preset multiple of the first preset duration.

[0140] The first target rotational speed is determined based on the first temperature difference and the rate of temperature change.

[0141] In some implementations, the reference temperature includes a first preset temperature.

[0142] Correspondingly, the setting module 202 is also used to, after the speed adjustment module 203 performs the first speed adjustment process on the fan set, if it is determined that the parameter recovery condition is met, set the reference working parameter to the first working parameter; when the connection state changes from an off-site state to an in-situ state, the parameter recovery condition is that each fan in the fan set adjusts the current speed to the first target speed; when the connection state changes from an in-situ state to an off-site state, the parameter recovery condition is that each fan in the fan set adjusts the current speed to the first target speed and obtains the second connection information of the first fan changing from the off-site state to the in-situ state.

[0143] Correspondingly, the speed control module 203 is also used to perform a second speed control process on the fan assembly based on the second actual temperature and the first preset temperature if the fan speed control conditions are met at a second time later than the first time.

[0144] In some embodiments, the target device includes multiple sub-devices, and the apparatus further includes a determining module:

[0145] The determination module is used to determine the actual temperature of each sub-device before the speed control module 203 determines that the fan speed control conditions are met based on the second actual temperature and the first preset temperature of the target device; and to determine the actual temperature that meets the preset conditions as the second actual temperature based on the temperature attribute information of each sub-device.

[0146] In some implementations, the determining module is specifically used for:

[0147] If the temperature attribute information indicates that the first preset temperature corresponding to multiple sub-devices is the same, then the maximum actual temperature among the actual temperatures of the multiple sub-devices is determined as the second actual temperature.

[0148] If the temperature attribute information indicates that the first preset temperature corresponding to multiple sub-devices is different, then for any one of the multiple sub-devices, a second temperature difference between the actual temperature of the sub-device and the first preset temperature corresponding to the sub-device is determined; the actual temperature corresponding to the smallest second temperature difference is determined as the second actual temperature.

[0149] In some implementations, the reference operating parameters include a reference temperature, the second operating parameters include a second preset temperature, and the target device includes multiple sub-devices. Accordingly, the setting module 202 is further specifically used for:

[0150] Based on the temperature attribute information of multiple sub-devices, determine the second reference temperature corresponding to each of the multiple sub-devices.

[0151] If the second reference temperatures corresponding to multiple sub-devices are different, then the lowest second reference temperature among the multiple sub-devices is determined as the second preset temperature.

[0152] In some implementations, the speed control module 203 is specifically used for:

[0153] If the second actual temperature is lower than the first preset temperature, reduce the speed of each fan in the fan assembly.

[0154] If the second actual temperature is higher than the first preset temperature, increase the speed of each fan in the fan assembly.

[0155] The fan control device and the fan control method provided in this application are based on the same inventive concept and have the same beneficial effects as the methods they employ, operate, or implement.

[0156] The specific implementation process of the functions and roles of each module in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0157] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components illustrated as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0158] Corresponding to the aforementioned embodiments of the fan control method, this application also provides embodiments of the fan control system. Figure 12 This is a schematic diagram illustrating the structure of a fan control system according to an exemplary embodiment, such as... Figure 12 As shown, the fan control system 30 includes: a control component 301, a fan assembly 302, and a target device 303 corresponding to the fan assembly 302. The fan assembly 302 includes at least one first fan 3021 and at least one second fan 3022.

[0159] Control component 301 is used to acquire first connection information of fan assembly 302; when the reference operating parameter of target device 303 is the first operating parameter, if the first connection information indicates that the connection state of any first fan 3021 has changed, the reference operating parameter is set to the second operating parameter; the target temperature difference corresponding to the second operating parameter is greater than the target temperature difference corresponding to the first operating parameter, and the target temperature difference is the temperature difference between the actual temperature of target device 303 and the reference temperature; at a first moment, according to the first actual temperature and the reference temperature of target device 303, the fan assembly 302 is subjected to a first speed regulation process, which is used to reduce the speed of the second fan.

[0160] In some embodiments, the control component 301 is specifically used to determine a first target speed based on a first actual temperature and a reference temperature; send a speed adjustment command to the fan set 302 based on the first target speed; and receive the speed adjustment results sent by each fan in the fan set 302.

[0161] Correspondingly, any fan in the fan set 302 is used to adjust the current speed of the fan to the first target speed according to the speed adjustment command, and send the speed adjustment result to the control component 301.

[0162] The fan control system and the fan control method provided in this application are based on the same inventive concept and have the same beneficial effects as the methods they employ, operate, or implement.

[0163] Corresponding to the aforementioned fan control method embodiments, this application also provides an embodiment of a device. Figure 13 This is a schematic diagram illustrating the structure of a device according to an exemplary embodiment, such as... Figure 13 As shown, the device 40 includes Figure 12 The fan control system 30 shown.

[0164] The device and the fan control method provided in this application are based on the same inventive concept and have the same beneficial effects as the methods they employ, operate, or implement.

[0165] It is understandable that the above division of modules is only a logical functional division. In actual implementation, the functions of the above modules can be integrated into hardware entities. For example, the function of the first acquisition module 201 can be integrated into the transceiver, and the functions of the setting module 202 and the speed adjustment module 203 can be integrated into the processor, etc.

[0166] Based on this, some embodiments of this application also provide an electronic device corresponding to the fan control method provided in the foregoing embodiments, which can be configured as follows: Figure 1 The target device shown is used to execute the fan control method described above.

[0167] Figure 14 The present invention illustrates a hardware structure diagram of an electronic device according to an exemplary embodiment. The electronic device includes a communication interface 501, a processor 502, a memory 503, and a bus 504. The communication interface 501, processor 502, and memory 503 communicate with each other via the bus 504. The processor 502 can execute the fan control method described above by reading and executing machine-executable instructions corresponding to the control logic of the fan control method stored in the memory 503. The specific content of this method is described in the above embodiment and will not be repeated here.

[0168] The memory 503 mentioned in this embodiment can be any electronic, magnetic, optical, or other physical storage device, and can contain stored information such as executable instructions, data, etc. Specifically, the memory 503 can be RAM (Random Access Memory), flash memory, storage drive (such as hard disk drive), any type of storage disk (such as optical disc, DVD, etc.), or similar storage media, or combinations thereof. Communication between this system network element and at least one other network element is achieved through at least one communication interface 501 (which can be wired or wireless), which can use the Internet, wide area network, local area network, metropolitan area network, etc.

[0169] Bus 504 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. Memory 503 is used to store programs, and processor 502 executes these programs after receiving execution instructions.

[0170] Processor 502 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 502 or by instructions in software form. The processor 502 can be a general-purpose processor, including a network processor (NP), digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware controls, etc. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor.

[0171] The electronic device provided in this application embodiment and the fan control method provided in this application embodiment are based on the same inventive concept and have the same beneficial effects as the methods they adopt, operate or implement.

[0172] This application also provides a computer-readable storage medium corresponding to the fan control method provided in the foregoing embodiments. Please refer to... Figure 15 As shown, the computer-readable storage medium is an optical disc 60, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it executes the fan control method provided in any of the foregoing embodiments.

[0173] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be elaborated here.

[0174] The computer-readable storage medium provided in the above embodiments of this application and the fan control method provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application stored therein.

[0175] This application also provides a computer program product corresponding to the fan control method provided in the foregoing embodiments. The computer program product includes a computer program that is executed by a processor to implement the fan control method provided in the foregoing embodiments.

[0176] The computer program products provided in the above embodiments of this application and the fan control methods provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the applications stored therein.

[0177] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.

[0178] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0179] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A fan control method characterized by, The method comprises: obtaining first connection information of a fan set corresponding to a target device; the fan set comprises at least one first fan and at least one second fan; in a case where a reference working parameter of the target device is a first working parameter, if the first connection information indicates that a connection state of any first fan changes, setting the reference working parameter as a second working parameter; the target temperature difference corresponding to the second working parameter is greater than the target temperature difference corresponding to the first working parameter, and the target temperature difference is a temperature difference between an actual temperature and a reference temperature of the target device; at a first time, performing first speed regulation processing on the fan set according to the first actual temperature of the target device and the reference temperature; the first speed regulation processing is used to reduce the rotating speed of the second fan.

2. The method of claim 1, wherein, the reference working parameter comprises the reference temperature, and the first working parameter comprises a first preset temperature; if the first connection information indicates that any first fan changes from an off-site state to an on-site state, the reference temperature is set as a second preset temperature, and the second preset temperature is higher than the first preset temperature; the first speed regulation processing on the fan set according to the first actual temperature of the target device and the reference temperature comprises: performing the first speed regulation processing on the fan set according to the first actual temperature of the target device and the second preset temperature. the reference working parameter comprises reference power consumption, and the first working parameter comprises a preset first power consumption; 3. The method of claim 1, wherein, if the first connection information indicates that any first fan changes from an off-site state to an on-site state, the reference power consumption is set as a second power consumption determined according to a preset rule, and the second power consumption is less than the first power consumption; the first speed regulation processing on the fan set according to the first actual temperature of the target device and the reference temperature comprises: performing the first speed regulation processing on the fan set according to the first actual temperature of the target device and the first preset temperature. the reference working parameter comprises reference power consumption, and the first working parameter comprises a preset first power consumption; if the first connection information indicates that any first fan changes from an on-site state to an off-site state, the reference power consumption is set as a second power consumption determined according to a preset rule, and the second power consumption is less than the first power consumption; 4. The method of claim 1, wherein, the first speed regulation processing on the fan set according to the first actual temperature of the target device and the reference temperature comprises: performing the first speed regulation processing on the fan set according to the first actual temperature of the target device and the first preset temperature. ​ ​ ​ 5. The method according to claim 3 or 4, characterized in that, The second power consumption is determined according to the preset rule, and the method comprises the following steps: acquiring the actual power consumption of the target device; determining a down-regulated power consumption according to the actual power consumption and a preset down-regulation ratio; subtracting the actual power consumption from the down-regulated power consumption to obtain the second power consumption.

6. The method according to any one of claims 1 to 4, characterized in that, The first speed regulation processing is performed on the fan set according to the first actual temperature of the target device and the reference temperature, and the method comprises the following steps: determining a first target rotating speed according to the first actual temperature and the reference temperature; sending a speed regulation instruction to the fan set according to the first target rotating speed, wherein the speed regulation instruction is used to control the fan in the fan set to adjust the current rotating speed to the first target rotating speed.

7. The method of claim 6, wherein, The method further comprises the following steps: acquiring the actual temperature of the target device every first preset time length; The first speed regulation processing is performed on the fan set according to the first actual temperature and the reference temperature, and the method comprises the following steps: determining a first temperature difference between the first actual temperature and the reference temperature; acquiring a first historical actual temperature of the target device, and determining a temperature change rate of the target device according to the first actual temperature, the first historical actual temperature and the first preset time length; the first historical actual temperature is a historical actual temperature that is spaced from the first actual temperature by a target time length, and the target time length is a preset multiple of the first preset time length; determining the first target rotating speed according to the first temperature difference and the temperature change rate.

8. The method according to any one of claims 1 to 4, characterized in that, The reference temperature comprises a first preset temperature, and after the first speed regulation processing is performed on the fan set, the method further comprises the following steps: if it is determined that a parameter recovery condition is met, setting the reference working parameter as the first working parameter; in the case that the connection state is changed from an off-site state to an on-site state, the parameter recovery condition is that each fan in the fan set adjusts the current rotating speed to the first target rotating speed; in the case that the connection state is changed from the on-site state to the off-site state, the parameter recovery condition is that each fan in the fan set adjusts the current rotating speed to the first target rotating speed, and second connection information of the first fan is acquired, which indicates that the first fan is changed from the off-site state to the on-site state; at a second time point later than the first time point, if it is determined that a fan speed regulation condition is met according to a second actual temperature of the target device and the first preset temperature, performing second speed regulation processing on the fan set according to the second actual temperature and the first preset temperature.

9. The method of claim 8, wherein, The target device comprises a plurality of sub-devices, and before the fan speed regulation condition is determined according to the second actual temperature of the target device and the first preset temperature, the method further comprises the following steps: acquiring the actual temperature of the sub-device; determining the actual temperature that meets a preset condition as the second actual temperature according to temperature attribute information of the sub-device.

10. The method of claim 9, wherein, The actual temperature that meets the preset condition is determined as the second actual temperature according to the temperature attribute information of the sub-device, and the method comprises the following steps: If the temperature attribute information indicates that the first preset temperatures corresponding to the plurality of sub-devices are the same, a maximum actual temperature among the actual temperatures of the plurality of sub-devices is determined as the second actual temperature. If the temperature attribute information indicates that the first preset temperatures corresponding to the plurality of sub-devices are different, for each sub-device, a second temperature difference between the actual temperature of the sub-device and the first preset temperature corresponding to the sub-device is determined, and an actual temperature corresponding to a minimum second temperature difference is determined as the second actual temperature.

11. The method of claim 9, wherein, The reference operating parameter includes a reference temperature, and the second operating parameter includes a second preset temperature, and before the reference operating parameter is set as the second operating parameter, the method further includes: According to temperature attribute information of the plurality of sub-devices, second reference temperatures corresponding to the plurality of sub-devices are determined. If the second reference temperatures corresponding to the plurality of sub-devices are different, a minimum second reference temperature among the second reference temperatures corresponding to the plurality of sub-devices is determined as the second preset temperature.

12. The method of claim 8, wherein, The second speed regulation processing on the fan set includes: If the second actual temperature is lower than the first preset temperature, the rotation speed of each fan in the fan set is reduced. If the second actual temperature is higher than the first preset temperature, the rotation speed of each fan in the fan set is increased.

13. A fan control device, characterized by comprising: The device includes: A first obtaining module is configured to obtain first connection information of a fan set corresponding to a target device; the fan set includes at least one first fan and at least one second fan; A setting module is configured to, if the first connection information indicates that the connection state of any first fan changes, set a reference operating parameter of the target device as a second operating parameter when the reference operating parameter is a first operating parameter; the target temperature difference corresponding to the second operating parameter is greater than the target temperature difference corresponding to the first operating parameter, and the target temperature difference is a temperature difference between an actual temperature of the target device and a reference temperature; A speed regulation module is configured to, at a first time, perform first speed regulation processing on the fan set according to a first actual temperature of the target device and the target preset temperature; the first speed regulation processing is used to reduce the rotation speed of the second fan.

14. A fan control system, characterized by The system includes a control component, a fan set, and a target device corresponding to the fan set; the fan set includes at least one first fan and at least one second fan. The control component is configured to: acquire first connection information of the fan set; in a case where the reference working parameter of the target device is a first working parameter, if the first connection information indicates that a connection state of any first fan changes, set the reference working parameter as a second working parameter; the target temperature difference corresponding to the second working parameter is greater than the target temperature difference corresponding to the first working parameter, and the target temperature difference is a temperature difference between an actual temperature of the target device and a reference temperature; and perform first speed regulation processing on the fan set according to the first actual temperature and the reference temperature of the target device at a first time, so as to reduce the rotating speed of the second fan.

15. The system of claim 14, wherein, The control component is configured to: determine a first target rotating speed according to the first actual temperature and the reference temperature; send a speed regulation instruction to the fan set according to the first target rotating speed, and receive a speed regulation result sent by each fan in the fan set; Any fan in the fan set is configured to: adjust a current rotating speed of the fan to the first target rotating speed according to the speed regulation instruction, and send the speed regulation result to the control component.

16. An apparatus, comprising: A fan control system according to any one of claims 14-15.

17. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to implement the method according to any one of claims 1-12.

18. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method according to any one of claims 1-12.

19. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the method according to any one of claims 1-12.