CN113534929A - Server fan speed regulation method and device, terminal equipment and storage medium - Google Patents
Server fan speed regulation method and device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN113534929A CN113534929A CN202110745405.8A CN202110745405A CN113534929A CN 113534929 A CN113534929 A CN 113534929A CN 202110745405 A CN202110745405 A CN 202110745405A CN 113534929 A CN113534929 A CN 113534929A
- Authority
- CN
- China
- Prior art keywords
- fan
- value
- server
- target device
- temperature
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000033228 biological regulation Effects 0.000 title claims abstract description 42
- 238000004590 computer program Methods 0.000 claims description 19
- 238000004422 calculation algorithm Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 3
- 230000017525 heat dissipation Effects 0.000 abstract description 2
- 230000000875 corresponding effect Effects 0.000 description 15
- 230000001276 controlling effect Effects 0.000 description 12
- 239000000306 component Substances 0.000 description 10
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 101100134058 Caenorhabditis elegans nth-1 gene Proteins 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000008844 regulatory mechanism Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003828 downregulation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
- G06F1/206—Cooling means comprising thermal management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Control Of Temperature (AREA)
- Cooling Or The Like Of Electrical Apparatus (AREA)
Abstract
The application is applicable to the technical field of server heat dissipation, and provides a server fan speed regulation method, a device, terminal equipment and a storage medium, wherein the server fan speed regulation method comprises the following steps: acquiring an ideal temperature value and an actual temperature value of each target device in a server; calculating the difference value between the ideal temperature value and the actual temperature value of each target device, and taking the minimum value in the difference values as an adjusting reference value for indicating the comprehensive temperature deviation of the server; and controlling the fan to operate based on the regulation reference value. The method can reduce the complexity of the speed regulation strategy under the condition of ensuring the regulation and control precision.
Description
Technical Field
The application belongs to the technical field of server heat dissipation, and particularly relates to a server fan speed regulation method and device, terminal equipment and a storage medium.
Background
With the development of server technology, the architecture of the server is also greatly changed, and compared with a large-scale server architecture, the existing server has a smaller and smaller volume and a higher and higher density of internal integrated components.
The current server fan speed regulation method mainly adopts an environment speed regulation mechanism and a critical component PID (proportional Integral Differential) speed regulation mechanism, and due to numerous critical components, the speed regulation strategy of the server fan is complex, the debugging time is long, and the regulation precision is low. Therefore, how to reduce the complexity of the speed regulation strategy under the condition of ensuring the regulation and control precision becomes an important problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a server fan speed regulation method, a server fan speed regulation device, terminal equipment and a storage medium, and complexity of a speed regulation strategy can be reduced under the condition of ensuring regulation and control precision.
A first aspect of an embodiment of the present application provides a server fan speed regulation method, where the server fan speed regulation method includes:
acquiring an ideal temperature value and an actual temperature value of each target device in a server;
calculating the difference value between the ideal temperature value and the actual temperature value of each target device, and taking the minimum value in the difference values as an adjusting reference value for indicating the comprehensive temperature deviation of the server;
and controlling the fan to operate based on the regulation reference value.
A second aspect of an embodiment of the present application provides a server fan speed adjustment device, including:
the acquisition module is used for acquiring an ideal temperature value and an actual temperature value of each target device in the server;
the calculation module is used for calculating the difference value between the ideal temperature value and the actual temperature value of each target device, and the minimum value in the difference value is used as an adjustment reference value for indicating the comprehensive temperature deviation of the server;
and the control module is used for controlling the fan to operate based on the adjusting reference value.
A third aspect of an embodiment of the present application provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the server fan speed control method according to the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the server fan speed regulation method according to the first aspect.
A fifth aspect of embodiments of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the server fan speed regulation method according to the first aspect.
In the embodiment of the application, the difference between the ideal temperature and the actual temperature of each target device can be obtained by obtaining the ideal temperature and the actual temperature of each target device, the minimum difference in the differences of the plurality of target devices is taken as an adjusting reference value for indicating the comprehensive temperature deviation of the server, the fan is controlled to operate based on the adjusting reference value, and the adjusting reference value for indicating the comprehensive temperature deviation of the server is obtained, so that compared with the temperature deviation of each device adjusted in the prior art, the method reduces the complexity of a speed regulation strategy, adjusts the operation of the fan based on the comprehensive temperature deviation of the server, and simultaneously ensures the accuracy of the speed regulation method of the fan of the server.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a first flowchart of a server fan speed regulation method according to an embodiment of the present application;
fig. 2 is a second flowchart of a server fan speed regulation method according to an embodiment of the present application;
fig. 3 is a structural diagram of a server fan speed regulation device according to an embodiment of the present application;
fig. 4 is a structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical solution of the present application, the following description is given by way of specific examples.
Referring to fig. 1, a first flowchart of a server fan speed regulation method provided in an embodiment of the present application is shown, and as shown in fig. 1, a server fan speed regulation method includes the following steps:
In the server, each target device has an ideal temperature value of the target device, and when each target device operates at the ideal temperature of the target device, the service life of the target device can be prolonged, and the service life of the server can be prolonged.
The target device may refer to a key device in the server, the key device refers to a more important device in the server, such as a power supply, a processor, a hard disk, and the like, the target device may be selected from a plurality of key devices in the server according to different application scenarios, and the specific type of the target device is not limited in the present application.
In this embodiment, the ideal temperature value of each target device in the server may be formulated by the user according to the optimal operating performance of the target device, and taking the target device as the processor as an example, if the operating performance of the processor is optimal when the processor operates at 60 degrees (the operating performance includes the operating speed and the operating frequency, etc.), the user may directly set the ideal temperature value of the processor to be 60 degrees. The actual temperature value of each target device in the server can be acquired by additionally installing a temperature sensor on each target device.
In one possible embodiment, obtaining the desired temperature value for each target device comprises:
obtaining the rated temperature of each target device and the weight value corresponding to each target device;
and taking the product of the rated temperature and the weighted value of each target device as an ideal temperature value of each target device.
Wherein, the rated temperature of each target device may refer to the highest temperature at which the target device can operate for a long time. The weight value corresponding to each target device can be set according to the importance degree of the target device in the server, the value range of the weight value can be [0,1], wherein the smaller the weight value is, the higher the importance degree of the target device in the server is represented.
In this embodiment, the ideal temperature value of each target device may be obtained according to the importance degree of the target device in the server and the maximum temperature at which the target device can operate for a long time, and the ideal temperature value of the target device may be obtained by multiplying the maximum temperature at which the target device can operate for a long time by the importance degree of the target device in the server.
For example, for a processor in the server, the processor is responsible for the calculation and control of the whole server in the server and is the most core component affecting the performance of the server, so the weight value corresponding to the processor can be set to be 0.8, and since the maximum temperature at which the processor can operate for a long time is 80, an ideal temperature value of the processor can be obtained to be 64 degrees.
It should be understood that the weighted value in the embodiment of the present application may be set according to the importance level of the target device in the server, and the importance level of each target device is different in different application scenarios. For example, when playing a game, the running speed of the processor is more important, and the performance of the graphics card is lower than that of the processor, and at this time, the weight value of the processor may be set to be smaller than that of the graphics card; when the server is used for watching videos, the display performance of the display card is more important, the running speed of the processor is lower than the display performance of the display card in importance, and the weight value of the display card can be set to be smaller than that of the processor. In general, the user can adaptively adjust the weight value of each target device according to different application scenarios.
And 102, calculating a difference value between the ideal temperature value and the actual temperature value of each target device, and taking the minimum value in the difference value as an adjusting reference value for indicating the comprehensive temperature deviation of the server.
In the embodiment of the application, the difference between the ideal temperature value and the actual temperature value of each target device is a difference obtained by subtracting the actual temperature value from the ideal temperature value of each target device, and if the difference is a positive value, it indicates that the actual temperature value of each target device is smaller than the ideal temperature value, so that the operation requirement of the server is met, and the rotation speed of the system fan can be adjusted down according to the deviation. If the minimum value in the difference value is a negative value, it is indicated that the actual temperature value of the target device with the negative value is higher than the ideal temperature value of the target device, and the rotating speed of the system fan needs to be adjusted up according to the deviation to cool the target device, so that the actual temperature value of the target device can reach the ideal temperature value of the target device.
And taking the minimum value in the difference value as an adjusting reference value for indicating the comprehensive temperature deviation of the server, and performing down-regulation treatment on the rotating speed of the system fan to improve the temperature of the target device when the difference value is positive. The deviation between the actual temperature of the target device and the actual temperature value and the ideal temperature value of the target device is minimum (wherein, the deviation is obtained by taking a negative value for the difference value between the actual temperature value and the ideal temperature value of the target device), and the minimum deviation value is used as an adjusting reference value for indicating the comprehensive temperature deviation of the server, so that the actual temperature values of other target devices can be less than or equal to the ideal temperature values of the other target devices after the rotating speed of the server is adjusted downwards.
And when the difference is negative, the rotating speed of the system fan is adjusted upwards to reduce the temperature of the target device. The deviation between the actual temperature value and the ideal temperature value of the target device is the largest (wherein, the deviation is obtained by taking a negative value for the difference value between the actual temperature value and the ideal temperature value of the target device), and the maximum deviation value is used as an adjusting reference value for indicating the comprehensive temperature deviation of the server, so that the actual temperature values of other target devices in the server can be ensured to be less than or equal to the ideal temperature value of the server.
In this embodiment, the server integrated temperature deviation may refer to a difference between a server integrated temperature and a server integrated temperature threshold, and the server integrated temperature may be specifically represented by the following formula:
keyT=Taim-Min((Ar·Tah-Ta),(Br·Tbh-Tb),(Cr·Tch-Tc)…)
wherein, keyT refers to the comprehensive temperature of the server; taim refers to a server aggregate temperature threshold, with a target value that can be understood to be a server aggregate temperature; ar, Br and Cr respectively refer to weight values corresponding to the device A, the device B and the device C; tah, Tbh and Tch respectively refer to rated temperatures of the device A, the device B and the device C; ta, Tb and Tc respectively refer to the actual temperature values of the device A, the device B and the device C; min (a, b, c) is the minimum value of a, b, c.
The comprehensive temperature deviation of the server can be obtained by the formula as follows:
e(n)=keyT(n)-Taim
=-Min((Ar·Tah-Ta(n)),(Br·Tbh-Tb(n)),(Cr·Tch-Tc(n))…)
wherein e (n) is the comprehensive temperature deviation of the server at the nth time, and n is the nth time; ta (n), Tb (n), Tc (n) are actual temperature values of the device A, the device B and the device C at the nth time respectively.
It should be understood that the server integrated temperature is an integrated temperature corresponding to all target devices in the server, and the server integrated temperature threshold is an ideal value of the server integrated temperature, where the server integrated temperature threshold may be obtained based on a weight value of each target device, and may be set by a user according to an ideal temperature value of each target device, and the size of the server integrated temperature threshold is not limited in the present application.
And 103, controlling the fan to operate based on the adjusting reference value.
In the embodiment of the present application, the adjustment reference value indicates the server integrated temperature deviation, and the control of the fan operation based on the adjustment reference value indicates adjusting the integrated temperature deviation so that the server integrated temperature approaches the server integrated temperature threshold, and outputting the fan control signal to control the fan operation when the adjusted integrated temperature deviation enables the server integrated temperature to approach the server integrated temperature threshold.
In one possible embodiment, controlling the fan operation based on the adjustment reference value includes:
when the adjusting reference value is a negative value in the difference value between the ideal temperature value and the actual temperature value of each target device, adjusting the current rotating speed of the fan to the target fan rotating speed based on the adjusting reference value;
the fan operation is controlled based on the target fan speed.
In the embodiment of the present application, when the adjustment reference value is a negative value of the difference between the ideal temperature value and the actual temperature value of each target device, it can be determined that the actual temperature value of a target device is greater than the ideal temperature value of the target device in all target devices. Because the adjustment reference value is the minimum difference value in the difference values between the ideal temperature value and the actual temperature value of each target device, if the minimum difference value is a negative value, it indicates that the target device corresponding to the minimum difference value is the target device with the largest difference between the actual temperature value and the ideal temperature value, and therefore, the rotation speed of the fan should be adjusted based on the adjustment reference value, the current rotation speed of the fan is adjusted to the target rotation speed of the fan, and the operation of the fan is controlled based on the target rotation speed of the fan.
It should be understood that the target fan speed may be such that the actual temperature value of the target device corresponding to the minimum difference is less than or equal to its own desired temperature value.
In one possible embodiment, adjusting the current rotation speed of the fan to the target fan rotation speed based on the adjustment reference value includes:
taking the negative value of the adjusting reference value;
obtaining a fan control signal through a PID control algorithm based on the negative value of the regulation reference value;
and controlling the fan to adjust the current rotating speed to the target rotating speed of the fan according to the fan control signal.
In the embodiment of the present application, since the server integrated temperature deviation is a difference between the server integrated temperature and the server integrated temperature threshold, when the server integrated temperature is greater than the server integrated temperature threshold, it is determined that the server integrated temperature deviation is a positive value, and the adjustment reference value for indicating the server integrated temperature deviation is a negative value, the adjustment reference value should be first negatively adjusted to obtain a negative value of the adjustment reference value equal to the server integrated temperature deviation.
The PID control algorithm may adopt an incremental PID control algorithm, and a control formula of the incremental PID control algorithm may be represented by the following equation:
wherein u (n) refers to the fan speed at the nth time (i.e., the target fan speed), and u (n-1) refers to the fan speed at the nth-1 time; kp refers to the PID control algorithmThe coefficient of the scale term of (a),refers to the integral term coefficient in the PID control algorithm,the method refers to a differential term coefficient in a PID control algorithm; and e (n) is the comprehensive temperature deviation of the server at the nth time, e (n-1) is the comprehensive temperature deviation of the server at the nth-1 time, and e (n-2) is the comprehensive temperature deviation of the server at the nth-2 time.
And obtaining the target fan rotating speed of the fan according to the equation, and adjusting the current rotating speed of the fan to the target fan rotating speed according to the obtained fan control signal.
In one possible embodiment, controlling the fan to adjust from the current fan speed to the target fan speed according to the fan control signal comprises:
and adjusting the current rotating speed of the fan to the target rotating speed of the fan according to a duty ratio signal of PWM (Pulse Width Modulation).
In the embodiment of the application, the difference between the ideal temperature and the actual temperature of each target device can be obtained by obtaining the ideal temperature and the actual temperature of each target device, the minimum difference in the differences of the plurality of target devices is taken as an adjusting reference value for indicating the comprehensive temperature deviation of the server, the fan is controlled to operate based on the adjusting reference value, and the adjusting reference value for indicating the comprehensive temperature deviation of the server is obtained, so that compared with the temperature deviation of each device adjusted in the prior art, the method reduces the complexity of a speed regulation strategy, adjusts the operation of the fan based on the comprehensive temperature deviation of the server, and ensures the accuracy of the speed regulation method of the fan of the server.
Referring to fig. 2, a second flowchart of a server fan speed regulation method provided in an embodiment of the present application is shown, and as shown in fig. 2, a server fan speed regulation method includes the following steps:
And 203, when the adjusting reference value is a negative value in the difference value between the ideal temperature value and the actual temperature value of each target device, adjusting the current rotating speed of the fan to the target fan rotating speed based on the adjusting reference value, and controlling the fan to operate based on the target fan rotating speed.
The steps 201-203 of this embodiment are the same as the steps 101-103 of the previous embodiment, which can be referred to each other, and the description of this embodiment is omitted here.
And 204, when the adjusting reference value is a positive value in the difference value between the ideal temperature value and the actual temperature value of each target device, adjusting the current rotating speed of the fan to the target fan rotating speed based on the adjusting reference value, and controlling the fan to operate based on the target fan rotating speed.
In the embodiment of the present application, the adjustment reference value refers to a minimum value of a difference between an ideal temperature value and an actual temperature value of each target device, and if the minimum value is a positive value, it indicates that the actual temperature value of each target device is smaller than its own ideal temperature value.
It should be appreciated that when the actual temperature value of each target device is less than its own desired temperature value, then the fan may be controlled to turn down in an attempt to achieve lower power consumption and noise levels.
Exemplarily, it is assumed that the actual temperature values and ideal temperature values of the device a, the device B, and the device C in the server are shown in table 1, where the rated temperature of the device a is 85 degrees, and the corresponding weight value is 0.7; the rated temperature of the device B is 100 ℃, and the corresponding weight value is 0.65; the rated temperature of the device C is 105 ℃, and the corresponding weight value is 0.6; and the server integrated temperature threshold is set to 80, the following server integrated temperature and corresponding fan action can be obtained.
TABLE 1
Compared with the first embodiment, the embodiment shows the corresponding action of the fan when the actual temperature value of each target device is smaller than the ideal temperature value of the target device, and when the actual temperature value of each target device is smaller than the ideal temperature value of the target device, the fan is controlled to reduce the rotating speed, the running resources of the server are reduced, and the resource occupancy rate of the server is reduced.
Referring to fig. 3, a structural diagram of a server fan speed regulation device according to an embodiment of the present application is shown, and for convenience of description, only the portions related to the embodiment of the present application are shown.
The server fan speed regulation module specifically comprises the following modules:
an obtaining module 301, configured to obtain an ideal temperature value and an actual temperature value of each target device in the server;
a calculating module 302, configured to calculate a difference between an ideal temperature value and an actual temperature value of each target device, and use a minimum value of the difference as an adjustment reference value for indicating a server comprehensive temperature deviation;
and a control module 303 for controlling the operation of the fan based on the adjustment reference value.
In this embodiment, the obtaining module 301 may specifically include the following sub-modules:
the weight obtaining submodule is used for obtaining the rated temperature of each target device and the weight value corresponding to each target device;
and the product determination submodule is used for taking the product of the rated temperature and the weighted value of each target device as the ideal temperature value of each target device.
In this embodiment, the control module 303 may specifically include the following sub-modules:
the first rotating speed adjusting submodule is used for adjusting the current rotating speed of the fan to the target rotating speed of the fan when the adjusting reference value is a positive value in the difference value between the ideal temperature value and the actual temperature value of each target device;
and the first rotating speed control submodule is used for controlling the fan to operate based on the target rotating speed of the fan.
The second rotating speed adjusting submodule is used for adjusting the current rotating speed of the fan to the target rotating speed of the fan based on the adjusting reference value when the adjusting reference value is a negative value in the difference value between the ideal temperature value and the actual temperature value of each target device;
and the second rotating speed control submodule is used for controlling the fan to operate based on the target fan rotating speed.
In this embodiment, the rotation speed adjustment submodule may specifically include the following units:
a negative value acquisition unit for taking the negative value of the regulation reference value;
the signal output unit is used for obtaining a fan control signal through a PID control algorithm based on the negative value of the regulation reference value;
and the fan control unit is used for controlling the fan to be adjusted from the current rotating speed to the target rotating speed of the fan according to the fan control signal.
In this embodiment, the fan control unit may be specifically configured to:
and adjusting the current rotating speed of the fan to the target rotating speed of the fan according to the duty ratio signal of the PWM.
In this embodiment of the present application, the calculating module 302 may specifically include:
the server comprehensive temperature deviation refers to a difference value between a server comprehensive temperature and a server comprehensive temperature threshold, the server comprehensive temperature is an integrated temperature corresponding to all target devices in the server, and the server comprehensive temperature threshold is an ideal value of the server comprehensive temperature.
The server fan speed regulation device provided in the embodiment of the present application may be applied to the foregoing method embodiment, and for details, reference is made to the description of the foregoing method embodiment, and details are not described herein again.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 4, the terminal device 400 of this embodiment includes: at least one processor 410 (only one shown in fig. 4), a memory 420, and a computer program 421 stored in the memory 420 and executable on the at least one processor 410, the steps in any of the various server fan throttling method embodiments described above being implemented when the computer program 421 is executed by the processor 410.
The terminal device 400 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 410, a memory 420. Those skilled in the art will appreciate that fig. 4 is merely an example of the terminal device 400, and does not constitute a limitation of the terminal device 400, and may include more or less components than those shown, or combine some of the components, or different components, such as an input-output device, a network access device, etc.
The Processor 410 may be a Central Processing Unit (CPU), and the Processor 410 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 420 may in some embodiments be an internal storage unit of the terminal device 400, such as a hard disk or a memory of the terminal device 400. The memory 420 may also be an external storage device of the terminal device 400 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 400. Further, the memory 420 may also include both an internal storage unit and an external storage device of the terminal device 400. The memory 420 is used for storing an operating system, an application program, a Boot Loader (Boot Loader), data, and other programs, such as program codes of the computer programs. The memory 420 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
When the computer program product runs on a terminal device, the steps in the method embodiments can be implemented when the terminal device executes the computer program product.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A speed regulation method for a server fan is characterized by comprising the following steps:
acquiring an ideal temperature value and an actual temperature value of each target device in a server;
calculating the difference value between the ideal temperature value and the actual temperature value of each target device, and taking the minimum value in the difference values as an adjusting reference value for indicating the comprehensive temperature deviation of the server;
and controlling the fan to operate based on the regulation reference value.
2. The server fan throttling method of claim 1, wherein the obtaining a desired temperature value for each target device comprises:
obtaining the rated temperature of each target device and the weight value corresponding to each target device;
and taking the product of the rated temperature of each target device and the weighted value as an ideal temperature value of each target device.
3. The server fan throttling method of claim 1, wherein controlling fan operation based on the adjustment reference comprises:
when the adjusting reference value is a positive value in the difference value between the ideal temperature value and the actual temperature value of each target device, adjusting the current rotating speed of the fan to a target fan rotating speed;
controlling the fan operation based on the target fan speed.
4. The server fan throttling method of claim 1, wherein controlling fan operation based on the adjustment reference comprises:
when the adjusting reference value is a negative value in the difference value between the ideal temperature value and the actual temperature value of each target device, adjusting the current rotating speed of the fan to a target fan rotating speed based on the adjusting reference value;
controlling the fan operation based on the target fan speed.
5. The server fan throttling method of claim 3 or 4, wherein the adjusting the current speed of the fan to a target fan speed based on the adjustment reference value comprises:
taking the negative value of the adjusting reference value;
obtaining a fan control signal through a PID control algorithm based on the negative value of the regulation reference value;
and controlling the fan to be adjusted from the current rotating speed to the target rotating speed of the fan according to the fan control signal.
6. The method as claimed in claim 5, wherein the fan control signal is a duty cycle signal of a PWM for controlling the operation of the fan, and the controlling the fan to adjust from the current speed to the target fan speed according to the fan control signal comprises:
and adjusting the current rotating speed of the fan to the target rotating speed of the fan according to the duty ratio signal of the PWM.
7. The method as claimed in claim 1, wherein the server integrated temperature deviation is a difference between a server integrated temperature and a server integrated temperature threshold, the server integrated temperature is an integrated temperature corresponding to all the target devices in the server, and the server integrated temperature threshold is an ideal value of the server integrated temperature.
8. A server fan speed adjustment device, characterized in that, server fan speed adjustment device includes:
the acquisition module is used for acquiring an ideal temperature value and an actual temperature value of each target device in the server;
the calculation module is used for calculating the difference value between the ideal temperature value and the actual temperature value of each target device, and the minimum value in the difference value is used as an adjustment reference value for indicating the comprehensive temperature deviation of the server;
and the control module is used for controlling the fan to operate based on the adjusting reference value.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110745405.8A CN113534929B (en) | 2021-06-30 | 2021-06-30 | Method and device for regulating speed of server fan, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110745405.8A CN113534929B (en) | 2021-06-30 | 2021-06-30 | Method and device for regulating speed of server fan, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113534929A true CN113534929A (en) | 2021-10-22 |
CN113534929B CN113534929B (en) | 2024-07-05 |
Family
ID=78097626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110745405.8A Active CN113534929B (en) | 2021-06-30 | 2021-06-30 | Method and device for regulating speed of server fan, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113534929B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114135513A (en) * | 2021-12-10 | 2022-03-04 | 锐捷网络股份有限公司 | Fan control method, device, equipment and storage medium |
CN114635868A (en) * | 2022-03-25 | 2022-06-17 | 峰米(重庆)创新科技有限公司 | Method and device for controlling rotating speed of cooling fan, computer equipment and storage medium |
CN115263793A (en) * | 2022-07-26 | 2022-11-01 | 苏州浪潮智能科技有限公司 | Speed regulation method, speed regulation device, equipment and medium for server fan |
CN115657822A (en) * | 2022-10-31 | 2023-01-31 | 中科可控信息产业有限公司 | Hard disk performance adjusting method, device, server, storage medium and program product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080019767A (en) * | 2006-08-29 | 2008-03-05 | 엘지전자 주식회사 | Apparatus and method of fan control |
CN101660539A (en) * | 2009-09-21 | 2010-03-03 | 中兴通讯股份有限公司 | Method and device for controlling rotating speed of fan |
CN103122844A (en) * | 2011-11-17 | 2013-05-29 | 株式会社神户制钢所 | Compression apparatus |
KR101539067B1 (en) * | 2015-02-10 | 2015-07-22 | 엘아이지넥스원 주식회사 | Apparatus for controlling fan |
WO2017020696A1 (en) * | 2015-07-31 | 2017-02-09 | 中兴通讯股份有限公司 | Fan control method and device for multiple service boards |
CN108302059A (en) * | 2015-12-10 | 2018-07-20 | 中国长城科技集团股份有限公司 | Fan rotational frequency control method and device |
-
2021
- 2021-06-30 CN CN202110745405.8A patent/CN113534929B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080019767A (en) * | 2006-08-29 | 2008-03-05 | 엘지전자 주식회사 | Apparatus and method of fan control |
CN101660539A (en) * | 2009-09-21 | 2010-03-03 | 中兴通讯股份有限公司 | Method and device for controlling rotating speed of fan |
CN103122844A (en) * | 2011-11-17 | 2013-05-29 | 株式会社神户制钢所 | Compression apparatus |
KR101539067B1 (en) * | 2015-02-10 | 2015-07-22 | 엘아이지넥스원 주식회사 | Apparatus for controlling fan |
WO2017020696A1 (en) * | 2015-07-31 | 2017-02-09 | 中兴通讯股份有限公司 | Fan control method and device for multiple service boards |
CN108302059A (en) * | 2015-12-10 | 2018-07-20 | 中国长城科技集团股份有限公司 | Fan rotational frequency control method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114135513A (en) * | 2021-12-10 | 2022-03-04 | 锐捷网络股份有限公司 | Fan control method, device, equipment and storage medium |
CN114635868A (en) * | 2022-03-25 | 2022-06-17 | 峰米(重庆)创新科技有限公司 | Method and device for controlling rotating speed of cooling fan, computer equipment and storage medium |
CN114635868B (en) * | 2022-03-25 | 2024-10-11 | 峰米(重庆)创新科技有限公司 | Method and device for controlling rotation speed of cooling fan, computer equipment and storage medium |
CN115263793A (en) * | 2022-07-26 | 2022-11-01 | 苏州浪潮智能科技有限公司 | Speed regulation method, speed regulation device, equipment and medium for server fan |
CN115263793B (en) * | 2022-07-26 | 2024-01-23 | 苏州浪潮智能科技有限公司 | Speed regulation method, speed regulation device, equipment and medium for server fan |
CN115657822A (en) * | 2022-10-31 | 2023-01-31 | 中科可控信息产业有限公司 | Hard disk performance adjusting method, device, server, storage medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN113534929B (en) | 2024-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113534929A (en) | Server fan speed regulation method and device, terminal equipment and storage medium | |
EP3674883B1 (en) | Multiplication circuit, system on chip, and electronic device | |
CN113133286B (en) | Heat dissipation control method, device, equipment and storage medium | |
CN112671232B (en) | LLC resonant circuit control method and device and terminal equipment | |
CN113474760B (en) | Generating device, generating system, generating method, and recording medium | |
CN111258398A (en) | AI server fan speed adjusting method, system, terminal device and storage medium | |
JP2021022373A (en) | Method, apparatus and device for balancing loads, computer-readable storage medium, and computer program | |
CN112347154A (en) | Slag crust shedding index calculation method, terminal equipment and storage medium | |
CN107800338B (en) | Stepping motor speed increasing and decreasing control method based on FPGA | |
CN111697556A (en) | Operation control method of electrical equipment and terminal equipment | |
CN108922478B (en) | Backlight brightness adjusting method and system and display device | |
CN113301785A (en) | Dynamic control method and device of data center air conditioner, terminal and storage medium | |
CN117570049A (en) | Fan control method and device, baseboard management controller and server | |
CN111862894A (en) | Backlight brightness adjusting method, device, terminal and readable storage medium | |
CN112653330A (en) | Control method for improving LLC resonant circuit load dynamic response and terminal equipment | |
CN111523653A (en) | Arithmetic device and method | |
CN102312850A (en) | Heat-radiation control system and method of fan | |
US8089236B2 (en) | System and method for adjusting pulse width modulation signals according to component temperatures in a computer | |
CN112054741B (en) | Motor control method and device, terminal equipment and storage medium | |
CN112421760A (en) | Method and device for controlling exciting current of UPS (uninterrupted Power supply) isolation transformer | |
CN113726196B (en) | Midpoint balance control method, device and terminal of Vienna rectifying circuit in power supply | |
CN117311293B (en) | Industrial main board based on remote management and control method thereof | |
CN118349365B (en) | Resource scheduling method and device, electronic equipment and storage medium | |
CN118313324B (en) | Chip temperature management method and device, storage medium and electronic equipment | |
CN117072473A (en) | Fan speed regulating method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |