CN113672065B - Method and device for regulating speed of fan and storage medium - Google Patents

Method and device for regulating speed of fan and storage medium Download PDF

Info

Publication number
CN113672065B
CN113672065B CN202110980320.8A CN202110980320A CN113672065B CN 113672065 B CN113672065 B CN 113672065B CN 202110980320 A CN202110980320 A CN 202110980320A CN 113672065 B CN113672065 B CN 113672065B
Authority
CN
China
Prior art keywords
temperature
power consumption
fan
current
speed
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.)
Active
Application number
CN202110980320.8A
Other languages
Chinese (zh)
Other versions
CN113672065A (en
Inventor
李博雅
赖国洪
刘伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202110980320.8A priority Critical patent/CN113672065B/en
Publication of CN113672065A publication Critical patent/CN113672065A/en
Application granted granted Critical
Publication of CN113672065B publication Critical patent/CN113672065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • G06F1/206Cooling means comprising thermal management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The disclosure relates to the field of computers, and discloses a method, a device and a storage medium for fan speed regulation, wherein the method comprises the following steps: the method comprises the steps of obtaining the current running state of the network equipment, determining a first speed regulation parameter and a second speed regulation parameter of a fan based on the proportional relation between the current running state and the preset full-load running state, wherein the first speed regulation parameter and the second speed regulation parameter represent the influence of the proportional relation on the actual rotating speed of the fan, the second speed regulation parameter is related to a power consumption device, calculating the first rotating speed of the fan based on the current environment temperature and the first speed regulation parameter of the network equipment, calculating the second rotating speed of the fan based on the current device temperature and the second speed regulation parameter of the power consumption device in the network equipment, and adjusting the actual rotating speed of the fan based on the first rotating speed and the second rotating speed.

Description

Method and device for regulating speed of fan and storage medium
Technical Field
The present disclosure relates to computer technologies, and in particular, to a method and an apparatus for adjusting a speed of a fan, and a storage medium.
Background
As the bandwidth of the network device is larger and larger, the energy consumption of the network device during operation is higher and higher. In practical applications, an application scenario of the network device, particularly an application scenario of the data center, has a very strict requirement on energy consumption of the device, and a fan cooling method is usually adopted to ensure that the device operates at a proper temperature, but the use of the fan further increases the energy consumption.
At present, in a common fan speed regulation method applied to a network device, the rotation speed of a fan is usually calculated according to the current air inlet temperature of the device, the temperature of a main chip on a board or the temperature of a port module by combining an algorithm of a temperature and a rotation speed given by a system. However, in the process of adjusting the fan speed, in order to ensure that the algorithm is applicable to all load conditions of the equipment, the algorithm is generally given according to a 100% load model of the equipment, in this case, the problem of higher fan speed setting generally exists, and obviously, the energy consumption is further increased.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device and a storage medium for fan speed regulation, which are used for effectively saving energy consumption on the basis of ensuring the current running state of network equipment.
The specific technical scheme provided by the disclosure is as follows:
in a first aspect, a method of regulating fan speed, the method comprising:
acquiring the current running state of the network equipment, and determining a first speed regulation parameter and a second speed regulation parameter of the fan based on the proportional relation between the current running state and the preset full-load running state, wherein the fan is installed in the network equipment, the first speed regulation parameter and the second speed regulation parameter are both used for representing the influence of the proportional relation on the actual rotating speed of the fan, and the second speed regulation parameter is related to a power consumption device;
calculating a first rotating speed of the fan based on the current environment temperature and a first speed regulating parameter of the network equipment, and calculating a second rotating speed of the fan based on the current device temperature and a second speed regulating parameter of a power consumption device in the network equipment;
the actual rotational speed of the fan is adjusted based on the first rotational speed and the second rotational speed.
Optionally, before obtaining the current operating state of the network device, the method further includes:
controlling the network equipment to run in full load, and collecting the full load voltage and the full load current of the network equipment under the full load running;
and calculating the full-load running state of the network equipment according to the full-load voltage and the full-load current.
Optionally, determining a first speed-regulating parameter of the fan based on a proportional relationship between the current operating state and a preset full-load operating state, including:
determining a corresponding environment coefficient based on the current environment temperature and the current running state, wherein the environment coefficient is used for representing the ratio relation between the actual rotating speed of the fan and the environment temperature value;
determining an actual minimum rotating speed value in the actual rotating speeds of the fans based on the environment coefficient;
and taking the actual minimum rotating speed value and the environmental coefficient as first speed regulating parameters of the fan.
Optionally, before determining the corresponding environmental coefficient based on the current ambient temperature and the current operating state, the method further includes:
acquiring an environment temperature range which can be borne by network equipment;
controlling the running power consumption of the network equipment from no-load power consumption running to full-load running state in each environment temperature interval corresponding to the environment temperature range, and respectively collecting the actual rotating speed of each fan corresponding to each running power consumption interval between the no-load power consumption and the full-load running state;
and determining the environmental coefficients of the fans in different operation power consumption sections based on the environment temperature sections, the operation power consumption sections and the actual rotating speeds of the fans.
Optionally, calculating the first rotation speed of the fan based on the current ambient temperature of the network device and the first speed regulation parameter includes:
acquiring the current ambient temperature of the network equipment, and acquiring the initial ambient temperature of the network equipment;
determining an environmental impact temperature based on the environmental coefficient, the current environmental temperature of the network device, and the starting environmental temperature, and calculating a first rotational speed of the fan based on the actual minimum rotational speed value and the environmental impact temperature.
Optionally, determining a second speed-regulating parameter of the fan based on a proportional relationship between the current operating state and a preset full-load operating state, including:
acquiring the maximum temperature which can be borne by a power consumption device of the network equipment;
determining a power consumption coefficient and a preset proportion corresponding to a power consumption device based on the proportional relation between the current operation state and the preset full-load operation state;
and determining the preset temperature of the power consumption device based on the maximum temperature and the preset proportion, and taking the power consumption coefficient and the preset temperature as a second speed regulation parameter of the fan.
Optionally, before obtaining the maximum temperature that the power consumption device of the network device can withstand, the method further includes:
controlling the ambient temperature of the network equipment to be unchanged, controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state, and respectively collecting the actual rotating speed of each fan and the actual temperature of each power consumption device corresponding to each running power consumption interval from the no-load power consumption to the full-load running state;
and under the ambient temperature, calculating the power consumption coefficient of the power consumption device in the network equipment in each operation power consumption section according to the actual rotating speed of each fan and each actual temperature of the power consumption device.
Optionally, calculating a second rotation speed of the fan based on a current device temperature of a power consumption device in the network device and a second speed regulation parameter, including:
acquiring the device temperature of the last time period, the device temperature of the last time period and the current device temperature of a power consumption device in the network equipment in two current nearest time periods;
acquiring an actual rotating speed value of the fan in the last time period of the fan and a current actual rotating speed value of the fan;
the method comprises the steps of calculating device influence temperature based on the device temperature, the current device temperature and the power consumption coefficient of the previous time period, calculating first compensation temperature based on the current device temperature, the preset temperature and the power consumption coefficient, calculating second compensation temperature based on the device temperature of the previous time period, the current device temperature and the power consumption coefficient, and calculating second rotating speed of a fan based on the actual rotating speed value of the fan, the device influence temperature, the first compensation temperature and the second compensation temperature of the previous time period.
Optionally, the power consuming device comprises a central processor; and the system also comprises one or more of a memory, a switching chip and an optical module.
In a second aspect, a fan speed regulation device comprises:
the system comprises an acquisition module, a power consumption device and a control module, wherein the acquisition module is used for acquiring the current running state of the network device and determining a first speed regulation parameter and a second speed regulation parameter of a fan based on the proportional relation between the current running state and the preset full-load running state, the fan is installed in the network device, the first speed regulation parameter and the second speed regulation parameter are both used for representing the influence of the proportional relation on the actual rotating speed of the fan, and the second speed regulation parameter is related to the power consumption device;
the calculating module is used for calculating a first rotating speed of the fan based on the current environment temperature and the first speed regulating parameter of the network equipment, and calculating a second rotating speed of the fan based on the current device temperature and the second speed regulating parameter of a power consumption device in the network equipment;
and the adjusting module is used for adjusting the actual rotating speed of the fan based on the first rotating speed and the second rotating speed.
Optionally, before obtaining the current operating state of the network device, the method further includes:
controlling the network equipment to run in full load, and collecting the full load voltage and the full load current of the network equipment under the full load running;
and calculating the full-load running state of the network equipment according to the full-load voltage and the full-load current.
Optionally, the first speed-adjusting parameter of the fan is determined based on a proportional relationship between the current operating state and a preset full-load operating state, and the obtaining module is configured to:
determining a corresponding environment coefficient based on the current environment temperature and the current running state, wherein the environment coefficient is used for representing the ratio relation between the actual rotating speed of the fan and the environment temperature value;
determining an actual minimum rotating speed value in the actual rotating speeds of the fans based on the environment coefficient;
and taking the actual minimum rotating speed value and the environmental coefficient as first speed regulating parameters of the fan.
Optionally, before determining the corresponding environmental coefficient based on the current ambient temperature and the current operating state, the method further includes:
acquiring an environment temperature range which can be borne by network equipment;
controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state in each environment temperature interval corresponding to the environment temperature range, and respectively collecting the actual rotating speed of each fan corresponding to each running power consumption interval between the no-load power consumption and the full-load running state;
and determining the environmental coefficients of the fans in different operation power consumption sections based on each environmental temperature section, each operation power consumption section and the actual rotating speed of each fan.
Optionally, the first rotation speed of the fan is calculated based on the current ambient temperature of the network device and the first speed regulation parameter, and the calculating module is configured to:
acquiring the current ambient temperature of the network equipment, and acquiring the initial ambient temperature of the network equipment;
and determining an environment influence temperature based on the environment coefficient, the current environment temperature of the network equipment and the initial environment temperature, and calculating a first rotating speed of the fan based on the actual minimum rotating speed value and the environment influence temperature.
Optionally, a second speed-adjusting parameter of the fan is determined based on a proportional relation between the current operating state and a preset full-load operating state, and the obtaining module is configured to:
acquiring the maximum temperature which can be born by a power consumption device of the network equipment;
determining a power consumption coefficient and a preset proportion corresponding to a power consumption device based on the proportional relation between the current operation state and the preset full-load operation state;
and determining the preset temperature of the power consumption device based on the maximum temperature and the preset proportion, and taking the power consumption coefficient and the preset temperature as a second speed regulation parameter of the fan.
Optionally, before obtaining the maximum temperature that the power consumption device of the network device can withstand, the method further includes:
controlling the environmental temperature of the network equipment to be unchanged, controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state, and respectively collecting the actual rotating speed of each fan and the actual temperature of each power consumption device corresponding to each running power consumption interval from the no-load power consumption to the full-load running state;
and under the ambient temperature, calculating the power consumption coefficient of the power consumption device in the network equipment in each operation power consumption section according to the actual rotating speed of each fan and each actual temperature of the power consumption device.
Optionally, the second rotation speed of the fan is calculated based on a current device temperature and a second speed regulation parameter of a power consumption device in the network device, and the calculation module is configured to:
acquiring the device temperature of the last time period, the device temperature of the last time period and the current device temperature of a power consumption device in the network equipment in two current nearest time periods;
acquiring an actual rotating speed value of the fan in the last time period of the fan and a current actual rotating speed value of the fan;
the method comprises the steps of calculating device influence temperature based on device temperature, current device temperature and power consumption coefficient of a previous time period, calculating first compensation temperature based on the current device temperature, preset temperature and power consumption coefficient, calculating second compensation temperature based on the device temperature of the previous time period, the current device temperature and the power consumption coefficient, and calculating second rotating speed of a fan based on an actual rotating speed value of the fan of the previous time period, the device influence temperature, the first compensation temperature and the second compensation temperature.
Optionally, the power consuming device comprises a central processor; and the system also comprises one or more of a memory, a switching chip and an optical module.
In a third aspect, a terminal includes:
a memory for storing executable instructions;
a processor for reading and executing executable instructions stored in the memory to implement a method as in any one of the first aspect.
In a fourth aspect, a computer-readable storage medium, wherein instructions, when executed by a processor, enable the processor to perform the method of any of the first aspect.
In summary, in the embodiment of the present disclosure, a method for adjusting a speed of a fan is disclosed, which includes: the method comprises the steps of obtaining a current operation state of the network equipment, determining a first speed regulation parameter and a second speed regulation parameter of a fan based on a proportional relation between the current operation state and a preset full-load operation state, wherein the first speed regulation parameter and the second speed regulation parameter represent the influence of the proportional relation on the actual rotating speed of the fan, the second speed regulation parameter is related to a power consumption device, calculating a first rotating speed of the fan based on the current environment temperature and the first speed regulation parameter of the network equipment, calculating a second rotating speed of the fan based on the current device temperature and the second speed regulation parameter of the power consumption device in the network equipment, namely obtaining the first rotating speed and the second rotating speed after referring to the current operation state of the network equipment, and adjusting the actual rotating speed of the fan based on the first rotating speed and the second rotating speed.
Drawings
FIG. 1 is a schematic diagram of a system for regulating fan speed according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a method for executing fan speed adjustment by a computing device according to an embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating a process for determining a fan speed control parameter according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a process for determining environmental coefficients according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an embodiment of determining an environmental coefficient according to a current operating state;
FIG. 6 is a schematic flow chart illustrating another example of determining a fan speed control parameter according to the present disclosure;
FIG. 7 is a schematic diagram of a process for determining a power consumption coefficient according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating a process of calculating a first rotational speed of a fan according to an embodiment of the present disclosure;
FIG. 9 is a flowchart illustrating a second rotation speed of the fan according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram illustrating an effect of determining a rotation speed of a fan according to a preset temperature that can be set according to an embodiment of the present disclosure;
FIG. 11 is a diagram illustrating the effect of determining the fan speed using a fixed preset temperature in the prior art;
FIG. 12a is a schematic diagram illustrating a logic structure of a fan speed control apparatus according to an embodiment of the present disclosure;
FIG. 12b is a schematic diagram of a logic structure of another fan speed regulation apparatus according to an embodiment of the present disclosure;
fig. 13 is a schematic entity architecture diagram of a terminal in the embodiment of the present disclosure.
Detailed Description
The following detailed description of preferred embodiments of the present application will be made with reference to the accompanying drawings, which first illustrate a first aspect of the embodiments of the present disclosure: referring to fig. 1, the system includes at least one network device and at least one computing device, and it is added that the network device is installed with a fan. In the implementation process, data interaction can be performed between the computing device and the network device, common computing devices include computers, tablet computers and the like, and here, a method for executing fan speed regulation by using a computer as the computing device is described. In the second case: the method for directly executing the fan speed regulation by the network equipment omits the process of acquiring the operation parameters of the network equipment by the external computing equipment under the condition.
Referring to fig. 2, a case of a method for executing fan speed regulation by a computing device is described below, in an embodiment of the present disclosure, a specific flow of the method for executing fan speed regulation by a computing device is as follows:
step 201: the method comprises the steps of obtaining the current running state of the network equipment, and determining a first speed regulation parameter and a second speed regulation parameter of a fan based on the proportional relation between the current running state and the preset full-load running state, wherein the fan is installed in the network equipment, the first speed regulation parameter and the second speed regulation parameter are both used for representing the influence of the proportional relation on the actual rotating speed of the fan, and the second speed regulation parameter is related to a power consumption device.
Generally, a network device is responsible for data processing tasks of several orders of magnitude, but in an actual operation process, when received data processing instructions are different, loads carried by the network device are also different, and data volumes processed by the network device are also greatly different, that is, operation power consumption of the network device is continuously changed along with the data volumes processed by the network device. Therefore, in the implementation process, the current operation state of the network device is obtained in real time, and it should be noted that the current operation state may be current operation power consumption, current utilization rate of the central processing unit, and the like, for example, when the current operation state is the current operation power consumption, the current voltage and the current of the network device are obtained, and the current operation power consumption is calculated by using the current voltage and the current.
And the fan is installed in the network equipment, the specific position of the fan in the network equipment can be flexibly set according to the specific use scene, and the fan is used for cooling the network equipment.
In addition, it should be further explained that, before acquiring the current operating state of the network device, acquiring the full operating state of the network device in advance is further included, which specifically includes:
(1) And controlling the full-load operation of the network equipment, and collecting the full-load voltage and the full-load current of the network equipment under the full-load operation.
In the implementation process, the full-load operation of the network equipment is controlled by the way that the computing equipment sends a data processing instruction to the network equipment, and the like, so as to obtain the maximum operation power consumption of the network equipment, namely the full-load operation state. The network equipment monitoring device is characterized in that the network equipment monitoring device can be externally connected with a monitoring unit, full-load voltage and full-load current of network equipment under full-load operation are collected through the monitoring unit, and the full-load voltage and the full-load current are both for the whole network equipment.
(2) And calculating the full-load running state of the network equipment according to the full-load voltage and the full-load current.
After the full-load voltage and the full-load current are collected, the full-load running state of the network equipment is calculated by multiplying the full-load voltage and the full-load current.
Preferably, the above (1) and (2) correspond to the case that the current operation state is the current operation power consumption and the full-load operation state is the full-load operation power consumption, if the current operation state is the utilization rate of the current central processing unit, the current operation power consumption of the central processing unit can also be determined by monitoring the current voltage and current of the current central processing unit, and the full-load voltage and full-load current of the current central processing unit are collected to determine the full-load operation state of the central processing unit.
After the current operating state and the full-load operating state are obtained, calculating a proportional relation between the current operating state and the full-load operating state to determine a first speed regulation parameter and a second speed regulation parameter of the fan, wherein the first speed regulation parameter and the second speed regulation parameter are both used for representing the influence of the proportional relation on the actual rotating speed of the fan, and the second speed regulation parameter is related to a power consumption device, namely when the actual rotating speed of the fan is specifically calculated, the first speed regulation parameter and the second speed regulation parameter play a certain role, namely the current operating state condition of the network equipment is considered. The following describes the determination of the speed-adjusting parameters:
the first mode is as follows: based on the proportional relation between the current operating state and the preset full-load operating state, determining a first speed-regulating parameter of the fan, referring to fig. 3, including:
step 2011: and determining a corresponding environment coefficient based on the current environment temperature and the current running state, wherein the environment coefficient is used for representing the ratio relation between the actual rotating speed of the fan and the environment temperature value.
The environment coefficient is used for representing the ratio relation between the actual rotating speed of the fan and the environment temperature value, namely the environment coefficient is determined according to the environment temperature value, the operation power consumption and the actual rotating speed of the fan. Therefore, before determining the corresponding environmental coefficient based on the current environmental temperature and the current operating state, the environmental coefficients of the fan in different operating power consumption sections are further determined, so as to prepare for determining the environmental coefficients according to the current operating state, as shown in fig. 4, specifically including:
step 20100: and acquiring the range of the ambient temperature which can be borne by the network equipment.
Typically, each type of network device can carry different ambient temperature ranges, resulting in different fan speeds required by the network device. For example, when the ambient temperature range that the network device 1 can carry is 5-100 degrees celsius, then when the ambient temperature that the network device 1 is located is 10 degrees celsius, a relatively small rotation speed is required to maintain the normal operation of the network device; when the ambient temperature of the network device 1 is 100 degrees celsius, a relatively large rotation speed is required to maintain the normal operation of the network device.
In the implementation process, in order to consider the influence of the ambient temperature on the fan speed regulation, the ambient temperature range that can be borne by the network device is obtained first, and for example, the ambient temperature range can be obtained according to the type and model of the network device.
Step 20101: and in each environment temperature interval corresponding to the environment temperature range, controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state, and respectively collecting the actual rotating speed of each fan corresponding to each running power consumption interval between the no-load power consumption and the full-load running state.
In the implementation process, after the environment temperature range is obtained, in each environment temperature interval corresponding to the environment temperature range, that is, each environment temperature interval of the whole environment temperature range is traversed, and in order to reduce the calculation amount, the processing can be performed by taking the environment temperature interval as a unit, that is, the point calculation of a plurality of environment temperature values is converted into the calculation of a plurality of continuous environment temperature intervals.
On the basis of considering the influence of the environment temperature on the fan speed regulation, the influence of the running power consumption condition of the network equipment on the fan speed regulation is also considered, therefore, when the network equipment is in each environment temperature interval, the running power consumption of the network equipment is controlled to run from no-load power consumption to full-load running state, namely, various running conditions of the network equipment are simulated in different environment temperature values, and the actual rotating speeds of the fans corresponding to the running power consumption intervals between the no-load power consumption and the full-load running state are respectively collected, namely, the actual rotating speeds of the fans corresponding to the different running power consumption conditions in different environment temperature values are obtained.
Step 20102: and determining the environmental coefficients of the fans in different operation power consumption sections based on the environment temperature sections, the operation power consumption sections and the actual rotating speeds of the fans.
After obtaining each environment temperature interval and each fan actual rotating speed, calculating a ratio between two difference values of the difference value of each fan actual rotating speed and the difference value of the corresponding environment temperature value aiming at the operation power consumption corresponding to each operation power consumption interval, wherein the ratio is the environment coefficient of the fan under the operation power consumption. And by analogy, calculating a plurality of environment coefficients of the fan under different operation power consumptions.
Generally, for each operation power consumption section, an abscissa may represent each environment temperature section, an ordinate represents each actual fan speed, in a quadrant formed by the above abscissa and ordinate, a fan actual speed straight line of the network device in the current operation state is drawn, and after each operation power consumption is drawn, referring to fig. 5, a plurality of straight lines may be obtained.
In the implementation process, in order to obtain the corresponding environment coefficient, the current environment temperature and the current operation state need to be determined, that is, the corresponding environment coefficient is searched according to the current environment temperature and the current operation state. And still explaining the straight lines, searching the corresponding straight lines according to the current running state, and obtaining the slope of the straight lines determined by the current environment temperature after the current environment temperature of the abscissa is determined, so as to obtain the corresponding environment coefficients.
In other embodiments, after the environmental temperature interval, the operating power consumption interval, the actual fan speed, and the environmental coefficient are all determined, they may be represented in the form of a table, and correspondingly, in the process of determining the environmental coefficient, they may be obtained by directly looking up the table according to the current environmental temperature and the current operating state.
Step 2012: and determining an actual minimum rotating speed value in the actual rotating speeds of the fans based on the environment coefficient.
In the implementation process, after the environmental coefficient is obtained, the actual minimum rotating speed value in the actual rotating speeds of the fans is further determined.
Still explaining by the straight line, according to the current operating state, searching for the corresponding straight line, and after obtaining the corresponding environmental coefficient by solving the slope of the straight line determined by the current environmental temperature, further searching for the actual rotating speed of the fan corresponding to the lowest value of the straight line in the environmental temperature range, which is the actual minimum rotating speed value.
In other embodiments, after the environmental temperature interval, the operating power consumption interval, the actual fan speed and the environmental coefficient are determined, the environmental temperature interval, the operating power consumption interval, the actual fan speed and the environmental coefficient may be represented in the form of a table or the like.
Step 2013: and taking the actual minimum rotating speed value and the environmental coefficient as first speed regulating parameters of the fan.
In the implementation process, the actual minimum rotating speed value and the environmental coefficient are both used as the first speed regulating parameter of the fan. For convenience of candidate operation, use V min The actual minimum rotation speed value is shown, and the environment coefficient is shown by K.
The second mode is as follows: the second speed-regulating parameter of the fan is determined based on the proportional relationship between the current operating state and the preset full-load operating state, as shown in fig. 6, and includes:
step 2011': and acquiring the maximum temperature which can be borne by the power consumption device of the network equipment.
The power consumption device comprises a central processing unit, and further comprises one or more of a memory, a switching chip and an optical module. The power consumption devices are usually the main devices executing data processing tasks in the network device, and when the data amount of the executed data processing tasks is different, the operation power consumption of each power consumption device is also different.
In order to ensure the service life and the service efficiency of each power consumption device, in the implementation process, the maximum temperature which can be borne by the power consumption device of the network equipment is obtained first, so that the working temperature of the power consumption device does not exceed the maximum temperature in the subsequent use process.
In addition, the power consumption coefficient is a performance index representing that the power consumption device corresponds to different actual temperatures under different actual rotating speeds of the fan. Before obtaining the maximum temperature that the power consumption device of the network device can bear, the power consumption coefficient of the network device in each operation power consumption section is obtained, as shown in fig. 7, specifically including:
step 20100': the method comprises the steps of controlling the ambient temperature of the network equipment to be unchanged, controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state, and respectively collecting the actual rotating speed of each fan and the actual temperature of each power consumption device corresponding to each running power consumption interval from the no-load power consumption to the full-load running state.
Because the environment temperature has an influence on the actual rotating speed of the fan, the environment temperature where the control network device is located is unchanged when the power consumption coefficient is calculated, so that the influence of the environment temperature on the actual rotating speed of the fan is eliminated. And then, controlling the running power consumption of the network equipment to run from the no-load power consumption state to the full-load running state, and correspondingly calculating each running power consumption section from the no-load power consumption state to the full-load running state so as to fully consider the influence of each running power consumption section on the power consumption coefficient.
Furthermore, the corresponding actual rotating speeds of the fans and the actual temperatures of the power consumption devices are respectively collected in each operation power consumption section. For the sake of simple calculation, the above-mentioned each operation power consumption segment may be set in intervals, so that the data amount of the actual rotational speed of each fan and each actual temperature of the power consumption device acquired in this way may also be reduced, and in addition, the actual rotational speed of each fan and each actual temperature of the power consumption device acquired in intervals may also be enough to calculate the power consumption coefficient.
Step 20101': and under the ambient temperature, calculating the power consumption coefficient of the network equipment in each operation power consumption section according to the actual rotating speed of each fan and each actual temperature of each power consumption device.
In the implementation process, under a certain set environmental temperature, the power consumption coefficient of the network equipment in each operation power consumption section is determined according to the ratio of two differences, namely the difference 1 between the actual rotating speeds of the fans and the difference 2 between the actual temperatures of the power consumption devices.
In the implementation process, in order to measure the actual rotation speed of each fan and the actual temperature of each power consumption device in different time periods, the power consumption coefficient can be specifically divided into three. That is, a first power consumption coefficient is calculated by the actual rotation speed of the fan and the actual temperature of the power consumption device in the current time period and the previous time period, respectively, where the first power consumption coefficient is denoted as K p (ii) a Calculating a second power consumption coefficient by the actual rotation speed of the fan and the actual temperature of the power consumption device in the current time period, the previous time period and the previous time period, respectively, wherein the second power consumption coefficient is denoted as K d (ii) a And, passing the current timeCalculating a third power consumption coefficient by actual rotation speed of the fan in the previous time period, actual temperature of the power consumption device in the current time period and an assumed target temperature of the power consumption device in the current time period, wherein the third power consumption coefficient is marked as K i
Step 2012': and determining a power consumption coefficient and a preset proportion corresponding to the power consumption device based on the proportional relation between the current operation state and the preset full-load operation state.
In the implementation process, after the maximum temperature that the power consumption device can bear is obtained, the proportional relation between the current operation state of the network device and the preset full-load operation state is calculated, and further, the power consumption coefficients corresponding to the power consumption device, namely the first power consumption coefficient, the second power consumption coefficient and the third power consumption coefficient, are searched according to the proportional relation. And, the appropriate temperature corresponding to the power consumption device under the proportional relationship needs to be correspondingly determined, that is, the preset proportion under the current operation state is determined according to the proportional relationship.
Step 2013': and determining the preset temperature of the power consumption device based on the maximum temperature and the preset proportion, and taking the power consumption coefficient and the preset temperature as a second speed regulation parameter of the fan.
In the implementation process, the preset temperature of the power consumption device, namely the suitable temperature of the power consumption device in the current operation state, is obtained by multiplying the maximum temperature by the preset proportion, so that the corresponding power consumption coefficient and the preset temperature are used as the speed regulation parameters of the fan.
Step 202: the method comprises the steps of calculating a first rotating speed of a fan based on the current environment temperature and a first speed regulating parameter of the network equipment, and calculating a second rotating speed of the fan based on the current device temperature and a second speed regulating parameter of a power consumption device in the network equipment.
Corresponding to the first manner, calculating the first rotation speed of the fan based on the current ambient temperature of the network device and the first speed regulation parameter, as shown in fig. 8, includes:
step 2021: the current ambient temperature of the network device is collected, and a starting ambient temperature of the network device is collected.
Because the current ambient temperature of the network device has a direct influence on the first rotating speed of the fan thereof, for example, when the network device is in an ultra-cold environment (minus thirty degrees centigrade), even if the current operating state of the network device is large, the heat generation amount is large, the temperature can be reduced through the environment, and even the fan does not need to be started. Therefore, in the implementation process, the current ambient temperature of the network device is collected first.
In addition, in the implementation process, the initial environment temperature of the network equipment is also acquired, so that the difference between the current environment temperature and the initial environment temperature is calculated, and the influence of the environment on the network equipment can be measured more accurately.
Step 2022: and determining an environment influence temperature based on the environment coefficient, the current environment temperature of the network equipment and the initial environment temperature, and calculating a first rotating speed of the fan based on the actual minimum rotating speed value and the environment influence temperature.
Obtaining the current environment temperature T K And an initial ambient temperature T min And then, after determining a first speed regulating parameter of the fan according to the proportional relation between the current operation state and the preset full-load operation state in the step 201, determining a corresponding environment coefficient K according to the current environment temperature and the current operation state, and calculating the environment influence temperature T according to the formula (1).
T=K(T K -T min ) Formula (1)
After calculating the environmental influence temperature, combining the actual minimum rotating speed value V min And an ambient influence temperature, calculating a first rotational speed of the fan according to equation (2).
V K1 =V min + T formula (2)
Corresponding to the second manner, calculating the second rotation speed of the fan based on the current device temperature and the second speed-adjusting parameter of the power consumption device in the network device, as shown in fig. 9, includes:
step 2021': the method comprises the steps of obtaining the device temperature of the last time period, the device temperature of the last time period and the current device temperature of the power consumption device in the network equipment in two time periods which are nearest to the current time.
Due to the fact thatIn the real-time operation process of the network equipment, the temperature of the power consumption device changes in real time along with the size of the current operation state. In order to accurately measure the change condition of the power consumption device, the device temperature T of the last time period of the power consumption device in two time periods nearest to the current time period is obtained by taking the current time period as a starting point k-2 Temperature T of the device during the previous period k-1 And the current device temperature T k
Step 2022': and acquiring the actual rotating speed value of the fan in the last time period of the fan and the current actual rotating speed value of the fan.
In order to accurately calculate the second rotating speed of the fan, the actual rotating speed value V of the fan in the last time period is acquired in the implementation process k-1 And the current actual rotating speed value V of the fan k
Step 2023': the method comprises the steps of calculating device influence temperature based on device temperature, current device temperature and power consumption coefficient of a previous time period, calculating first compensation temperature based on the current device temperature, preset temperature and power consumption coefficient, calculating second compensation temperature based on the device temperature of the previous time period, the current device temperature and the power consumption coefficient, and calculating second rotating speed of a fan based on an actual rotating speed value of the fan of the previous time period, the device influence temperature, the first compensation temperature and the second compensation temperature.
In the implementation process, the temperature T of the device is based on the last time period k-1 Current device temperature T k And a first coefficient of power consumption K p Calculating the device influence temperature T according to the formula (3) p
T p =K P (T k -T k-1 ) Formula (3)
Based on the current device temperature T k A predetermined temperature T Target And a third coefficient of power consumption K i Calculating a first compensated temperature T according to equation (4) i
T i =K i (T k -T Target ) Formula (4)
Device based on last time periodTemperature T k-2 Temperature T of the device during the previous period k-1 Current device temperature T k And a second coefficient of power consumption K d Calculating a second compensated temperature T according to equation (5) d
T d =K d [(T k -T k-1 )-(T k-1 -T k-2 )]Formula (5)
Actual fan rotating speed value V based on last time period k-1 Device influencing temperature T p First compensation temperature T i And a second compensation temperature T d Calculating a second rotation speed V of the fan according to the formula (6) k2
V k2 =V k-1 +T p +T i +T d Formula (6)
Step 203: the actual rotational speed of the fan is adjusted based on the first rotational speed and the second rotational speed.
In practice, the first rotational speed V is obtained k1 And a second rotational speed V k2 Then, the first rotational speed V is compared k1 And a second rotational speed V k2 And the greater of them, i.e. the first speed V, is selected k1 And a second rotational speed V k2 The actual rotating speed of the fan is adjusted by the larger rotating speed of the fan, so that the actual rotating speed of the fan reaches the first rotating speed V of the larger rotating speed of the fan k1 Or a second rotational speed V k2
It should be noted that, since the current operating state of the network device during operation is changed in real time, in order to avoid the situation that the fan speed is difficult to meet the use requirement when the environmental temperature suddenly changes or the power consumption device suddenly increases too much load, it is necessary to set the first speed V at the first speed V k1 And a second rotational speed V k2 And a larger fan rotating speed is selected to ensure the normal operation of the network equipment to the maximum extent.
By adopting the first power consumption coefficient, the second power consumption coefficient and the third power consumption coefficient which can change in a self-adaptive manner, the preset temperature which is more suitable for a use scene can be obtained, and the measured curve relation between the temperature of the power consumption device and the actual rotating speed of the fan is shown in figure 10. However, in the prior art, the first power consumption coefficient, the second power consumption coefficient, the third power consumption coefficient and the preset temperature are all fixed, and then, the measured curve relationship between the temperature of the power consumption device and the actual rotating speed of the fan is shown in fig. 11, as can be seen from the graph, the actual rotating speed of the fan is set to be smaller under the condition that the temperature of the power consumption device is higher, so that the power consumption device can work at a higher temperature for a period of time, and obviously the service life of the power consumption device can be damaged to a certain extent.
Based on the same inventive concept, referring to fig. 12a and 12b, in an embodiment of the present application, there is provided a device for regulating speed of a fan, including:
an obtaining module 1210, configured to obtain a current operating state of a network device, and determine a first speed regulation parameter and a second speed regulation parameter of a fan based on a proportional relationship between the current operating state and a preset full-load operating state, where the fan is installed in the network device, the first speed regulation parameter and the second speed regulation parameter are both used to represent an influence of the proportional relationship on an actual rotation speed of the fan, and the second speed regulation parameter is related to a power consumption device;
the calculating module 1220 is configured to calculate a first rotation speed of the fan based on the current ambient temperature and the first speed adjustment parameter of the network device, and calculate a second rotation speed of the fan based on the current device temperature and the second speed adjustment parameter of the power consumption device in the network device;
an adjusting module 1230 is configured to adjust the actual rotation speed of the fan based on the first rotation speed and the second rotation speed.
Optionally, before acquiring the current operating state of the network device, the network device further includes a power consumption calculating module 1200, where the power consumption calculating module 1200 is configured to:
controlling the network equipment to run in full load, and collecting the full load voltage and the full load current of the network equipment under the full load running;
and calculating the full-load running state of the network equipment according to the full-load voltage and the full-load current.
Optionally, a first speed-adjusting parameter of the fan is determined based on a proportional relationship between the current operating state and a preset full-load operating state, and the obtaining module 1210 is configured to:
determining a corresponding environment coefficient based on the current environment temperature and the current running state, wherein the environment coefficient is used for representing the ratio relation between the actual rotating speed of the fan and the environment temperature value;
determining an actual minimum rotating speed value in the actual rotating speeds of the fans based on the environment coefficient;
and taking the actual minimum rotating speed value and the environmental coefficient as first speed regulating parameters of the fan.
Optionally, before determining the corresponding environmental coefficient based on the current ambient temperature and the current operating state, the method further includes:
acquiring an environment temperature range which can be borne by network equipment;
controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state in each environment temperature interval corresponding to the environment temperature range, and respectively collecting the actual rotating speed of each fan corresponding to each running power consumption interval between the no-load power consumption and the full-load running state;
and determining the environmental coefficients of the fans in different operation power consumption sections based on the environment temperature sections, the operation power consumption sections and the actual rotating speeds of the fans.
Optionally, the first rotation speed of the fan is calculated based on the current ambient temperature of the network device and the first speed-adjusting parameter, and the calculating module 1220 is configured to:
acquiring the current ambient temperature of the network equipment, and acquiring the initial ambient temperature of the network equipment;
determining an environmental impact temperature based on the environmental coefficient, the current environmental temperature of the network device, and the starting environmental temperature, and calculating a first rotational speed of the fan based on the actual minimum rotational speed value and the environmental impact temperature.
Optionally, a second speed-adjusting parameter of the fan is determined based on a proportional relationship between the current operating state and a preset full-load operating state, and the obtaining module 1210 is configured to:
acquiring the maximum temperature which can be borne by a power consumption device of the network equipment;
determining a power consumption coefficient and a preset proportion corresponding to a power consumption device based on the proportional relation between the current operation state and the preset full-load operation state;
and determining the preset temperature of the power consumption device based on the maximum temperature and the preset proportion, and taking the power consumption coefficient and the preset temperature as a second speed regulation parameter of the fan.
Optionally, before obtaining the maximum temperature that the power consumption device of the network device can withstand, the method further includes:
controlling the ambient temperature of the network equipment to be unchanged, controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state, and respectively collecting the actual rotating speed of each fan and the actual temperature of each power consumption device corresponding to each running power consumption interval from the no-load power consumption to the full-load running state;
and under the ambient temperature, calculating the power consumption coefficient of the power consumption device in the network equipment in each operation power consumption section according to the actual rotating speed of each fan and each actual temperature of the power consumption device.
Optionally, the second rotation speed of the fan is calculated based on the current device temperature of the power consumption device in the network device and the second speed regulation parameter, and the calculating module 1220 is configured to:
acquiring the device temperature of the last time period, the device temperature of the last time period and the current device temperature of a power consumption device in the network equipment in two current nearest time periods;
acquiring an actual rotating speed value of the fan in the last time period and a current actual rotating speed value of the fan;
the method comprises the steps of calculating device influence temperature based on the device temperature, the current device temperature and the power consumption coefficient of the previous time period, calculating first compensation temperature based on the current device temperature, the preset temperature and the power consumption coefficient, calculating second compensation temperature based on the device temperature of the previous time period, the current device temperature and the power consumption coefficient, and calculating second rotating speed of a fan based on the actual rotating speed value of the fan, the device influence temperature, the first compensation temperature and the second compensation temperature of the previous time period.
Optionally, the power consuming device comprises a central processor; and the system also comprises one or more of a memory, a switching chip and an optical module.
Based on the same inventive concept, referring to fig. 13, an embodiment of the present disclosure provides a terminal, including:
a memory 1301 for storing executable instructions;
a processor 1302 for reading and executing executable instructions stored in a memory for implementing a method as in any one of the first aspect.
In FIG. 13, among other things, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 1302 and various circuits of memory represented by memory 1301 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver may be a plurality of elements, i.e., including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 1302 is responsible for managing the bus architecture and general processing, and the memory 1301 may store data used by the processor 1302 in performing operations.
The processor 1302 is responsible for managing the bus architecture and general processing, and the memory 1301 may store data used by the processor 1300 in performing operations.
The memory 1301 and the processor 1302 cooperate with each other to implement any one of the methods executed by the computing device in steps 201 to 203 in the foregoing embodiments, which is not described herein again.
Based on the same inventive concept, embodiments of the present application provide a computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor, enable the processor to perform the method of any one of the first aspect.
In summary, the embodiment of the present application discloses a method for adjusting a speed of a fan, which includes: the method comprises the steps of obtaining a current operation state of the network equipment, determining a first speed regulation parameter and a second speed regulation parameter of a fan based on a proportional relation between the current operation state and a preset full-load operation state, wherein the first speed regulation parameter and the second speed regulation parameter represent the influence of the proportional relation on the actual rotating speed of the fan, the second speed regulation parameter is related to a power consumption device, calculating a first rotating speed of the fan based on the current environment temperature and the first speed regulation parameter of the network equipment, calculating a second rotating speed of the fan based on the current device temperature and the second speed regulation parameter of the power consumption device in the network equipment, namely obtaining the first rotating speed and the second rotating speed after referring to the current operation state of the network equipment, and adjusting the actual rotating speed of the fan based on the first rotating speed and the second rotating speed.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product system. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product system embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program product systems according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (8)

1. A method of regulating speed of a fan, the method comprising:
the method comprises the steps of obtaining a current running state of network equipment, and determining a first speed regulation parameter and a second speed regulation parameter of a fan based on a proportional relation between the current running state and a preset full-load running state, wherein the fan is installed in the network equipment, the first speed regulation parameter and the second speed regulation parameter are used for representing the influence of the proportional relation on the actual rotating speed of the fan, and the second speed regulation parameter is related to a power consumption device;
calculating a first rotating speed of a fan based on the current environment temperature of the network equipment and the first speed regulating parameter, and calculating a second rotating speed of the fan based on the current device temperature of a power consumption device in the network equipment and the second speed regulating parameter;
adjusting the actual rotation speed of the fan based on the first rotation speed and the second rotation speed;
the determining a first speed regulation parameter of the fan based on the proportional relation between the current operation state and the preset full-load operation state comprises the following steps:
determining a corresponding environment coefficient based on the current environment temperature and the current running state, wherein the environment coefficient is used for representing the ratio relation between the actual rotating speed of the fan and the environment temperature value;
determining an actual minimum rotating speed value in the actual rotating speeds of the fans based on the environment coefficient;
taking the actual minimum rotating speed value and the environmental coefficient as first speed regulating parameters of the fan;
the calculating a first rotation speed of a fan based on the current ambient temperature of the network device and the first speed regulation parameter includes:
collecting the current ambient temperature of the network equipment, and collecting the initial ambient temperature of the network equipment;
determining an environmental impact temperature based on the environmental coefficient, a current environmental temperature of the network device, and the starting environmental temperature, and calculating the first rotational speed of the fan based on the actual minimum rotational speed value and the environmental impact temperature;
the determining a second speed regulating parameter of the fan based on the proportional relation between the current operation state and the preset full-load operation state comprises the following steps:
acquiring the maximum temperature which can be borne by the power consumption device of the network equipment;
determining a power consumption coefficient and a preset proportion corresponding to the power consumption device based on the proportional relation between the current operation state and a preset full-load operation state;
determining a preset temperature of the power consumption device based on the maximum temperature and the preset proportion, and taking the power consumption coefficient and the preset temperature as a second speed regulation parameter of the fan;
calculating a second rotating speed of the fan based on the current device temperature of the power consumption device in the network equipment and the second speed regulation parameter, wherein the calculating comprises the following steps:
acquiring the device temperature of the last time period, the device temperature of the last time period and the current device temperature of the power consumption device in the network equipment in the two current nearest time periods;
acquiring an actual rotating speed value of the fan in the last time period of the fan and a current actual rotating speed value of the fan;
calculating a device influence temperature based on the device temperature of the last time period, the current device temperature and the power consumption coefficient, calculating a first compensation temperature based on the current device temperature, the preset temperature and the power consumption coefficient, calculating a second compensation temperature based on the device temperature of the last time period, the current device temperature and the power consumption coefficient, and calculating a second rotating speed of the fan based on the actual rotating speed value of the fan of the last time period, the device influence temperature, the first compensation temperature and the second compensation temperature.
2. The method of claim 1, wherein prior to obtaining the current operational state of the network device, further comprising:
controlling the network equipment to run in full load, and collecting full load voltage and full load current of the network equipment under full load running;
and calculating the full-load running state of the network equipment according to the full-load voltage and the full-load current.
3. The method of claim 1, wherein prior to determining the corresponding environmental coefficient based on the current ambient temperature and the current operating state, further comprising:
acquiring an environment temperature range which can be borne by the network equipment;
controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state in each environment temperature interval corresponding to the environment temperature range, and respectively collecting the actual rotating speed of each fan corresponding to each running power consumption interval between the no-load power consumption and the full-load running state;
and determining the environmental coefficients of the fans in different operation power consumption sections based on the environment temperature sections, the operation power consumption sections and the actual rotating speeds of the fans.
4. The method of claim 1, wherein prior to obtaining the maximum temperature that the power consuming device of the network device can withstand, further comprising:
controlling the ambient temperature of the network equipment to be unchanged, controlling the running power consumption of the network equipment to run from no-load power consumption to full-load running state, and respectively collecting the actual rotating speed of each fan and the actual temperature of each power consumption device corresponding to each running power consumption interval from the no-load power consumption to the full-load running state;
under the environment temperature, calculating the power consumption coefficient of the power consumption device in the network equipment in each operation power consumption section according to the actual rotating speed of each fan and each actual temperature of the power consumption device.
5. The method of claim 1, wherein the power consuming device comprises a central processor; and the system also comprises one or more of a memory, a switching chip and an optical module.
6. A fan governor device, comprising:
the system comprises an acquisition module, a power consumption device and a control module, wherein the acquisition module is used for acquiring the current running state of the network device and determining a first speed regulation parameter and a second speed regulation parameter of a fan based on the proportional relation between the current running state and the preset full-load running state, the fan is installed in the network device, the first speed regulation parameter and the second speed regulation parameter are both used for representing the influence of the proportional relation on the actual rotating speed of the fan, and the second speed regulation parameter is related to the power consumption device;
the calculation module is used for calculating a first rotating speed of the fan based on the current environment temperature of the network equipment and the first speed regulating parameter, and calculating a second rotating speed of the fan based on the current device temperature of a power consumption device in the network equipment and the second speed regulating parameter;
the adjusting module is used for adjusting the actual rotating speed of the fan based on the first rotating speed and the second rotating speed;
wherein,
the determining a first speed regulating parameter of the fan based on the proportional relation between the current operation state and the preset full-load operation state comprises the following steps:
determining a corresponding environment coefficient based on the current environment temperature and the current running state, wherein the environment coefficient is used for representing the ratio relation between the actual rotating speed of the fan and the environment temperature value;
determining an actual minimum rotating speed value in the actual rotating speeds of the fans based on the environment coefficient;
taking the actual minimum rotating speed value and the environment coefficient as first speed regulating parameters of the fan;
the calculating a first rotation speed of a fan based on the current ambient temperature of the network device and the first speed regulation parameter includes:
collecting the current ambient temperature of the network equipment, and collecting the initial ambient temperature of the network equipment;
determining an environmental impact temperature based on the environmental coefficient, a current environmental temperature of the network device, and the starting environmental temperature, and calculating the first rotational speed of the fan based on the actual minimum rotational speed value and the environmental impact temperature;
the determining a second speed regulating parameter of the fan based on the proportional relation between the current operation state and the preset full-load operation state comprises the following steps:
acquiring the maximum temperature which can be borne by the power consumption device of the network equipment;
determining a power consumption coefficient and a preset proportion corresponding to the power consumption device based on the proportional relation between the current operation state and a preset full-load operation state;
determining a preset temperature of the power consumption device based on the maximum temperature and the preset proportion, and taking the power consumption coefficient and the preset temperature as a second speed regulation parameter of the fan;
the calculating a second rotation speed of the fan based on the current device temperature of the power consumption device in the network device and the second speed regulation parameter comprises:
acquiring the device temperature of the last time period, the device temperature of the last time period and the current device temperature of the power consumption device in the network equipment in the two current nearest time periods;
acquiring an actual rotating speed value of the fan in the last time period of the fan and a current actual rotating speed value of the fan;
calculating a device influence temperature based on the device temperature of the last time period, the current device temperature and the power consumption coefficient, calculating a first compensation temperature based on the current device temperature, the preset temperature and the power consumption coefficient, calculating a second compensation temperature based on the device temperature of the last time period, the current device temperature and the power consumption coefficient, and calculating a second rotating speed of the fan based on the actual rotating speed value of the fan of the last time period, the device influence temperature, the first compensation temperature and the second compensation temperature.
7. A terminal, comprising:
a memory for storing executable instructions;
a processor for reading and executing executable instructions stored in the memory to implement the method of any one of claims 1-5.
8. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor, enable the processor to perform the method of any of claims 1-5.
CN202110980320.8A 2021-08-25 2021-08-25 Method and device for regulating speed of fan and storage medium Active CN113672065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110980320.8A CN113672065B (en) 2021-08-25 2021-08-25 Method and device for regulating speed of fan and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110980320.8A CN113672065B (en) 2021-08-25 2021-08-25 Method and device for regulating speed of fan and storage medium

Publications (2)

Publication Number Publication Date
CN113672065A CN113672065A (en) 2021-11-19
CN113672065B true CN113672065B (en) 2023-03-21

Family

ID=78546076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110980320.8A Active CN113672065B (en) 2021-08-25 2021-08-25 Method and device for regulating speed of fan and storage medium

Country Status (1)

Country Link
CN (1) CN113672065B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116126062B (en) * 2023-02-09 2024-07-12 艾奕康设计与咨询(深圳)有限公司 Operation and maintenance coding and identification method and system of electromechanical facility based on BIM

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036816A (en) * 2012-12-13 2013-04-10 迈普通信技术股份有限公司 Fan rotating speed controlling method and switchboard equipment
CN104571439A (en) * 2015-01-04 2015-04-29 浪潮电子信息产业股份有限公司 Heat dissipation power consumption optimization regulation and control method compatible with environment temperature speed regulation
CN107957763A (en) * 2017-11-30 2018-04-24 紫光华山信息技术有限公司 The control method for fan and control device of server
CN108071607A (en) * 2016-11-23 2018-05-25 海信集团有限公司 Laser projection device cooling control method and device
CN109563844A (en) * 2018-09-30 2019-04-02 北京比特大陆科技有限公司 Rotation speed of the fan method of adjustment, device, equipment, storage medium, program product
CN111538392A (en) * 2020-04-24 2020-08-14 苏州浪潮智能科技有限公司 Fan control method and device, electronic equipment and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5177896B2 (en) * 2009-03-06 2013-04-10 エヌイーシーコンピュータテクノ株式会社 Fan dynamic rotational speed control device, fan dynamic rotational speed control method, and fan dynamic rotational speed control program
CN101922464B (en) * 2010-06-23 2012-11-21 北京星网锐捷网络技术有限公司 Method, device and network equipment for adjusting fan speed
US10175748B2 (en) * 2017-01-05 2019-01-08 Nuvoton Technology Corporation System, method and computer program product for improved regulation of an electrical device's consumption of power from an external power supply
CN108571460B (en) * 2017-08-30 2020-03-06 新华三信息技术有限公司 Fan rotating speed control method and device
CN109782827B (en) * 2019-02-14 2021-10-12 西安易朴通讯技术有限公司 Heat dissipation control method and device, electronic device and computer-readable storage medium
CN109973409A (en) * 2019-03-29 2019-07-05 联想(北京)有限公司 A kind of fan rotational frequency control method and control device
CN111810432A (en) * 2020-06-28 2020-10-23 新华三信息技术有限公司 Fan speed regulation method, device, equipment and machine readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036816A (en) * 2012-12-13 2013-04-10 迈普通信技术股份有限公司 Fan rotating speed controlling method and switchboard equipment
CN104571439A (en) * 2015-01-04 2015-04-29 浪潮电子信息产业股份有限公司 Heat dissipation power consumption optimization regulation and control method compatible with environment temperature speed regulation
CN108071607A (en) * 2016-11-23 2018-05-25 海信集团有限公司 Laser projection device cooling control method and device
CN107957763A (en) * 2017-11-30 2018-04-24 紫光华山信息技术有限公司 The control method for fan and control device of server
CN109563844A (en) * 2018-09-30 2019-04-02 北京比特大陆科技有限公司 Rotation speed of the fan method of adjustment, device, equipment, storage medium, program product
CN111538392A (en) * 2020-04-24 2020-08-14 苏州浪潮智能科技有限公司 Fan control method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113672065A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
WO2021063033A1 (en) Energy consumption model training method for air conditioner and air conditioning system control method
US7464278B2 (en) Combining power prediction and optimal control approaches for performance optimization in thermally limited designs
CN110345099B (en) Method, device and system for regulating speed of server fan
CN105587681A (en) Fan regulation and control method applied to SmartRack cabinet based on PID algorithm
CN108224697A (en) Air conditioner electronic expansion valve adjusting method, computer installation, storage medium
CN111258398A (en) AI server fan speed adjusting method, system, terminal device and storage medium
CN113672065B (en) Method and device for regulating speed of fan and storage medium
CN115355640B (en) Method and device for controlling water chilling unit, water chilling unit and storage medium
CN113530659B (en) Fan control method and device, electronic equipment and medium
CN106325464B (en) Method and apparatus for adjusting fan speed
CN112050346A (en) Method, device and equipment for controlling starting number of air conditioning system and air conditioning system
CN109185208B (en) Fan speed regulation method and related device
CN111076390A (en) Method and device for managing operation of precise air conditioner
CN104747295A (en) Gas turbine power control method and gas turbine power control device
CN110832251B (en) Fuel reduction rate output system, fuel reduction rate output method, and storage medium
WO2019054022A1 (en) Demand response system and method for controlling power consumption
CN104884809A (en) Optimized technique for staging and de-staging pumps in a multiple pump system
US20220075443A1 (en) Regulating power core consumption
CN114837977B (en) Fan speed regulating method and device
CN116163976A (en) Fan speed regulation method, device, equipment and machine-readable storage medium
CN112268010A (en) Fan control method, device and equipment and readable storage medium
CN114167963A (en) Fan control management method, device, equipment and machine readable storage medium
CN118349365B (en) Resource scheduling method and device, electronic equipment and storage medium
US11871540B2 (en) Optimizing waste heat recovery and return water temperature using dynamic flow control based on server power profiles and cooling capacity of servers
CN118012159A (en) Heat dissipation control method and system, electronic equipment, storage medium and vehicle

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