CN111309123B - Fan regulation and control method, device, equipment and medium - Google Patents

Fan regulation and control method, device, equipment and medium Download PDF

Info

Publication number
CN111309123B
CN111309123B CN202010095152.XA CN202010095152A CN111309123B CN 111309123 B CN111309123 B CN 111309123B CN 202010095152 A CN202010095152 A CN 202010095152A CN 111309123 B CN111309123 B CN 111309123B
Authority
CN
China
Prior art keywords
regulation
control
historical
current
fan
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
CN202010095152.XA
Other languages
Chinese (zh)
Other versions
CN111309123A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010095152.XA priority Critical patent/CN111309123B/en
Publication of CN111309123A publication Critical patent/CN111309123A/en
Application granted granted Critical
Publication of CN111309123B publication Critical patent/CN111309123B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • 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

Abstract

The invention discloses a fan regulation and control method, which comprises the following steps: determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information; acquiring historical power consumption generated by the whole system in a historical regulation and control period and current power consumption generated in a current regulation and control period; judging whether the historical power consumption is larger than the current power consumption; if the current operation is larger than the preset value, the current operation is carried out on the fan control parameters again; if the current operation is less than or equal to the preset operation, the fan control parameter is reversely operated; and performing current operation on the fan control parameters at the end time of the historical regulation and control period, wherein the current operation is specifically up-regulation or down-regulation of the fan control parameters. The control parameters of the fan are regulated and controlled towards the direction with the minimum power consumption, and the final power consumption of the whole system is ensured to be stabilized at the minimum state. In addition, the invention provides a fan regulating and controlling device, equipment and a storage medium, which correspond to the method.

Description

Fan regulation and control method, device, equipment and medium
Technical Field
The invention relates to the technical field of heat dissipation, in particular to a fan regulation and control method, device, equipment and medium.
Background
The BMC (Baseboard Management Controller) is a specific Management Controller of the server, and the BMC can automatically monitor the running state of the server and timely regulate and control the running state according to the current state, wherein one of the main functions is to regulate and control the rotating speed of the cooling fan to perform air cooling and heat dissipation of the server.
At present, the fan is usually regulated and controlled by a PID (Proportional-Integral-Derivative) speed regulation method in the industry, and the lowest rotating speed of the fan is realized on the basis of meeting the heat dissipation requirement of the whole server, so that the power loss of the whole server is reduced. However, factors affecting the overall power consumption of the server include not only the rotation speed of the fan, but also the temperature of key components such as a CPU and a memory of the system. When the temperature of the key component is reduced, the whole server can reach a smaller power consumption value. Therefore, other factors influencing the overall power consumption of the server are not considered in the fan regulation and control method provided by the prior art, and unnecessary power consumption waste can still be generated in the regulation and control process.
Therefore, the problem to be solved at present is to provide a fan control method for ensuring the minimum power consumption under the condition of meeting the heat dissipation requirement of the whole server.
Disclosure of Invention
The invention aims to provide a fan regulation and control method, device, equipment and medium. When the historical power consumption is larger than the current power consumption, regulating and controlling the fan control parameters again according to the current operation; and when the historical power consumption is less than or equal to the current power consumption, regulating and controlling the fan control parameters according to the reverse operation of the current operation. The control parameters of the fan are regulated and controlled towards the direction with the minimum power consumption, and the final power consumption of the whole system is ensured to be stabilized at the minimum state. The power consumption of the whole system is minimized as much as possible under the condition of meeting the heat dissipation requirement of the whole system.
In order to solve the above technical problem, the present invention provides a fan control method, including:
determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information;
acquiring historical power consumption generated by the whole system in the historical regulation and control period and current power consumption generated in the current regulation and control period;
judging whether the historical power consumption is larger than the current power consumption;
if the current operation is larger than the preset value, the current operation is carried out on the fan control parameters again;
if the current operation is less than or equal to the preset operation threshold, performing reverse operation of the current operation on the fan control parameter;
and performing the current operation on the fan control parameter at the end time of the historical regulation and control period, wherein the current operation is specifically adjusting the fan control parameter up or down.
Preferably, before the determining the historical regulation and control period and the current regulation and control period according to the prestored regulation and control information, the method further includes:
detecting whether the temperature linear parameters of the whole system are consistent within a preset time period;
if so, determining the historical regulation and control period and the current regulation and control period according to prestored regulation and control information.
Preferably, the determining the historical regulation and control period and the current regulation and control period according to the prestored regulation and control information specifically includes:
judging whether an enabling identifier in the regulation and control information is effective or not;
if yes, determining the historical regulation and control period and the current regulation and control period according to the regulation and control period in the regulation and control information.
Preferably, the obtaining of the historical power consumption generated by the complete machine of the system in the historical regulation and control period specifically includes:
acquiring inherent power consumption generated in each inherent regulation time period in the historical regulation and control period;
accumulating the inherent power consumptions to obtain historical total power consumption, and calculating the number of the inherent regulation time periods in the historical period;
dividing the historical total power consumption by the number to obtain the historical power consumption;
wherein the fan control parameter is inherently operated once every the inherent regulation and control period.
Preferably, the method further comprises the following steps:
and when the detected current temperature linear parameter of the complete machine of the system is inconsistent with the historical temperature linear parameter, stopping the regulation operation.
Preferably, the method further comprises the following steps:
and updating the regulation and control information according to the received updating instruction.
Preferably, the performing the current operation on the fan control parameter again specifically includes:
and performing current operation on the fan control parameters according to the preset regulation value again.
In order to solve the above technical problem, the present invention further provides a fan control device, including:
the determining module is used for determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information;
the acquisition module is used for acquiring historical power consumption generated by the complete machine of the system in the historical regulation and control period and current power consumption generated in the current regulation and control period;
the judging module is used for judging whether the historical power consumption is larger than the current power consumption; if the current value is greater than the preset value, entering a first control module, and if the current value is less than or equal to the preset value, entering a second control module;
the first control module is used for carrying out current operation on the fan control parameters again;
the second control module is used for carrying out reverse operation of the current operation on the fan control parameters;
And performing the current operation on the fan control parameter at the end time of the historical regulation and control period, wherein the current operation is specifically adjusting the fan control parameter up or down.
In order to solve the above technical problem, the present invention further provides a fan control apparatus, including a memory for storing a computer program;
a processor for implementing the steps of the fan regulation method as described in any one of the above when executing the computer program.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the fan control method according to any one of the above items.
The fan regulation and control method provided by the invention comprises the following steps: determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information; acquiring historical power consumption generated by the whole system in a historical regulation and control period and current power consumption generated in a current regulation and control period; judging whether the historical power consumption is larger than the current power consumption; if the current operation is larger than the preset value, the current operation is carried out on the fan control parameters again; if the current operation is less than or equal to the preset operation, the fan control parameter is reversely operated; and performing current operation on the fan control parameters at the end time of the historical regulation and control period, wherein the current operation is specifically up-regulation or down-regulation of the fan control parameters. Therefore, when the historical power consumption is larger than the current power consumption, the power consumption of the whole system is reduced by the current operation, and the fan control parameters are regulated and controlled according to the current operation again; when the historical power consumption is less than or equal to the current power consumption, the current operation does not play a role in the power consumption of the whole system or the power consumption is increased, and the fan control parameters are regulated and controlled according to the opposite operation of the current operation. Therefore, the control parameters of the fan are regulated and controlled towards the direction with the minimum power consumption, and the final power consumption of the whole system is ensured to be stabilized at the minimum state. The power consumption of the whole system is minimized as much as possible under the condition of meeting the heat dissipation requirement of the whole system.
In addition, the fan regulating and controlling device, the equipment and the storage medium provided by the invention correspond to the method, and have the same beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention, the drawings required for the embodiments will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a fan control method according to an embodiment of the present invention;
fig. 2 is a structural diagram of a fan control device according to an embodiment of the present invention;
fig. 3 is a structural diagram of a fan control device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
The core of the invention is to provide a fan regulation and control method, a device, equipment and a medium. When the historical power consumption is larger than the current power consumption, regulating and controlling the fan control parameters again according to the current operation; and when the historical power consumption is less than or equal to the current power consumption, regulating and controlling the fan control parameters according to the reverse operation of the current operation. The control parameters of the fan are regulated and controlled towards the direction with the minimum power consumption, and the final power consumption of the whole system is ensured to be stabilized at the minimum state. The power consumption of the whole system is minimized as much as possible under the condition of meeting the heat dissipation requirement of the whole system.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
It should be noted that IPMI (Intelligent Platform Management Interface) is an industrial standard adopted for managing peripheral devices used in an enterprise system, and a user may monitor physical health characteristics of a server, such as temperature, voltage, fan operating state, power state, and the like, by using IPMI, and may also develop a command thereof to set or read a regulation parameter of the server, and the BMC may perform a corresponding operation according to the IPMI command. In the embodiment of the invention, the regulation and control information can be obtained and stored in the nonvolatile memory chip according to the IPMI command received in advance.
Fig. 1 is a flowchart of a fan control method according to an embodiment of the present invention; as shown in fig. 1, a method for regulating and controlling a fan according to an embodiment of the present invention includes steps S101 to S105:
step S101: determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information;
in an embodiment, the pre-stored regulation and control information includes information such as an enable identifier and a regulation and control period, and a historical regulation and control period and a current regulation and control period can be determined according to the regulation and control period obtained from the regulation and control information. For example, if the acquired regulation cycle is 300s, 300s is taken as a time interval, the currently experienced 300s time interval is the current regulation cycle, and the last 300s of the current regulation cycle is the historical regulation cycle.
It should be noted that, in the fan control method provided in the embodiment of the present invention, the fan control parameter is once controlled every one control period to adjust the rotation speed of the fan, so that the power consumption is reduced as much as possible under the condition of meeting the heat dissipation requirement. Specifically, the current operation is performed on the fan control parameter at the end of the historical regulation period, and then the current regulation period is entered. The current operation is specifically to adjust the fan control parameter up or down.
Step S102: acquiring historical power consumption generated by the whole system in a historical regulation and control period and current power consumption generated in a current regulation and control period;
in specific implementation, historical power consumption generated by the whole system in a historical regulation and control period is obtained. It should be noted that the historical power consumption is used to indicate a power consumption situation of the whole system in the historical regulation and control period, and may be a total power consumption generated in the historical regulation and control period, or a ratio of the total power consumption to a duration of the historical regulation and control period, that is, a power consumption average value. Those skilled in the art may determine the specific expression of the historical power consumption according to the actual application, and the embodiment of the present invention is not limited. Further, the current power consumption is used for representing the power consumption condition of the whole system in the current regulation and control period. It is understood that the representation of the current power consumption needs to be unified with the representation of the historical power consumption. For example, the historical power consumption is an average power consumption value generated in the historical regulation and control period, and the current power consumption is also an average power consumption value generated in the current regulation and control period, so that the historical power consumption and the current power consumption can be compared conveniently in the following process.
In one embodiment, the obtaining of the historical power consumption of the complete machine of the system generated in the historical regulation and control period provided by the embodiment of the present invention specifically includes:
Acquiring inherent power consumption generated in each inherent regulation time period in a historical regulation and control cycle;
accumulating the inherent power consumptions to calculate historical total power consumption, and calculating the number of the inherent regulation and control time periods in the historical period;
taking the ratio of the historical total power consumption divided by the number as the historical power consumption;
wherein, every interval inherent regulation and control time quantum, carry out one inherent operation to fan control parameter.
It should be noted that the fan control method provided by the embodiment of the present invention is implemented based on the condition that the current fan speed can meet the heat dissipation requirement, and the system maintains the fan speed to meet the heat dissipation requirement by performing the inherent operation on the fan control parameter. Specifically, the fan control parameters are subjected to one-time inherent operation at each inherent regulation and control time interval, so that the heat dissipation requirement of the whole system is met. Further, the regulation cycle comprises a plurality of intrinsic regulation time periods. For example, if the historical regulation and control period is 300s and the inherent regulation and control time period is 3s, each regulation and control period comprises 100 inherent regulation and control time periods, and the inherent operation is performed every 3s to ensure that the heat dissipation requirement of the whole system is met; the fan control parameters are regulated and controlled at intervals of 300s according to the method provided by the embodiment of the invention so as to reduce the power consumption generated by the whole system under the condition that the heat dissipation requirement is met.
In specific implementation, the inherent power consumption generated in each inherent regulation time period in a historical regulation and control period is obtained; the inherent power consumption is specifically the total power consumption generated by the whole system in the inherent regulation and control time period. And obtaining the historical total power consumption of the historical regulation and control period by accumulating the inherent power consumption corresponding to each inherent time period. Calculating the number of each inherent regulation and control time period in the history period; and taking the ratio of the historical total power consumption divided by the quantity as the historical power consumption. It is understood that the current power consumption needs to be consistent with the historical power consumption acquisition method.
Step S103: judging whether the historical power consumption is larger than the current power consumption; if yes, the step S104 is entered; if less than or equal to, go to step S105;
step S104: performing current operation on the fan control parameters again;
step S105: carrying out reverse operation of current operation on the fan control parameters;
in one embodiment, whether the current operation achieves the effect of reducing the power consumption generated by the whole system is determined by judging whether the historical power consumption is larger than the current power consumption; if the historical power consumption is larger than the current power consumption, the power consumption generated by the whole system is reduced through the current operation, and the current operation can be performed on the fan control parameters again at the moment when the current regulation and control period is finished, so that the power consumption of the whole system is adjusted to be developed continuously in a reduction trend. For example, if the historical power consumption is larger than the current power consumption and the current operation is to adjust the fan control parameter upward, the fan control parameter is adjusted upward again at the end of the current regulation and control period. If the historical power consumption is less than or equal to the current power consumption, the effect of reducing the power consumption is not achieved through the current operation, and even the power consumption is possibly increased, the opposite operation of the current operation is carried out on the fan control parameter at the moment when the current regulation and control period is finished. For example, if the current operation is an up-regulation of the fan control parameter, the opposite operation is a down-regulation of the fan control parameter. Thereby preventing the power consumption of the whole system from increasing through reverse operation. As known to those skilled in the art, through the above operations, the power consumption of the whole system tends to be stable and is stabilized near the minimum power consumption required by the system. It should be noted that, when the first regulation and control period elapses, the up-regulation fan control parameter may be used as the current operation to ensure that the adjusted fan speed still meets the heat dissipation requirement.
In one embodiment, the current operation of the fan control parameter again specifically includes:
and performing current operation on the fan control parameters again according to the preset regulation value.
Specifically, the fan control parameters may be regulated according to preset regulation values. Further, the preset regulation value may be a fixed value or a certain proportion of the current fan rotation speed value. For example, the preset regulation value may be one percent of the current fan speed value. A person skilled in the art may determine the preset regulation value according to a specific application, and the embodiment of the present invention is not limited.
The fan regulation and control method provided by the invention comprises the following steps: determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information; acquiring historical power consumption generated by the whole system in a historical regulation and control period and current power consumption generated in a current regulation and control period; judging whether the historical power consumption is larger than the current power consumption; if the current operation is larger than the preset value, the current operation is carried out on the fan control parameters again; if the current operation is less than or equal to the preset operation, the fan control parameter is reversely operated; and performing current operation on the fan control parameters at the end time of the historical regulation and control period, wherein the current operation is specifically up-regulation or down-regulation of the fan control parameters. Therefore, when the historical power consumption is larger than the current power consumption, the power consumption of the whole system is reduced by the current operation, and the fan control parameters are regulated and controlled according to the current operation again; when the historical power consumption is less than or equal to the current power consumption, the current operation does not play a role in the power consumption of the whole system or the power consumption is increased, and the fan control parameters are regulated and controlled according to the opposite operation of the current operation. Therefore, the control parameters of the fan are regulated and controlled towards the direction with the minimum power consumption, and the final power consumption of the whole system is ensured to be stabilized at the minimum state. The power consumption of the whole system is minimized as much as possible under the condition of meeting the heat dissipation requirement of the whole system.
In an embodiment, the method for regulating and controlling a fan according to an embodiment of the present invention further includes, before determining the historical regulation and control period and the current regulation and control period according to prestored regulation and control information:
detecting whether the temperature linear parameters of the complete machine of the system are consistent in a preset time period;
if so, determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information.
It should be noted that whether the current rotation speed of the fan meets the heat dissipation requirement of the whole system can be determined by whether the temperature linear parameter is stable. The fan regulating and controlling method provided by the invention reduces the power consumption of the system as much as possible under the condition that the rotating speed of the fan meets the heat dissipation requirement. Therefore, before the historical regulation and control period and the current regulation and control period are determined according to the prestored regulation and control information, whether the temperature linear parameters of the whole system in the preset time period are consistent or not can be detected, if so, the heat dissipation requirement is met, and the fan can be regulated and controlled according to the method provided by the invention so as to further reduce the power consumption of the system. Specifically, the preset time period may be a plurality of intrinsic control time periods, and when the temperature linear parameters of the intrinsic control time periods are the same, it indicates that the heat dissipation requirement is currently met. The preset time period may also be determined in other ways by those skilled in the art according to the actual application, and the embodiment of the present invention is not limited.
In an embodiment, the method for regulating and controlling a fan according to the embodiment of the present invention includes, according to pre-stored regulation and control information, specifically:
judging whether an enabling identifier in the regulation and control information is effective or not;
if so, determining a historical regulation and control period and a current regulation and control period according to the regulation and control period in the regulation and control information.
Specifically, the pre-stored regulation and control information includes an enabling identifier for indicating whether the fan regulation and control method provided by the present invention needs to be started. For example, when the enable flag is 1, it indicates that the fan control method provided in the embodiment of the present invention can be started on the basis of the inherent operation of the fan control parameter, even if the enable flag is 1, which is effective. When the enable flag is 0, it may be determined as invalid, the fan regulation operation proposed by the present invention is not performed, and an error prompt is fed back. And when the enabling identification is effective, determining a historical regulation and control period and a current regulation and control period according to the regulation and control period given in the regulation and control information.
In an embodiment, the fan control method provided in the embodiment of the present invention further includes:
and when the detected current temperature linear parameter of the complete machine of the system is inconsistent with the historical temperature linear parameter, stopping the regulation operation.
Specifically, the fan control method provided in the embodiment of the present invention is performed based on the condition that the system heat dissipation requirement is met, and when the rotation speed of the fan fails to meet the system heat dissipation requirement, the fan control operation provided in the embodiment of the present invention needs to be stopped. When the detected current temperature linear parameter of the system complete machine is inconsistent with the historical temperature linear parameter, the heat dissipation requirement of the current system complete machine cannot be met, the regulation and control operation can be stopped, the rotating speed of the fan can be regulated and controlled according to the inherent operation, and the heat dissipation requirement of the system complete machine is guaranteed to be met, so that the safety of the system is improved, and the stability of the system is guaranteed.
In an embodiment, the method for regulating and controlling a fan provided in the embodiment of the present invention further includes:
and updating the regulation and control information according to the received updating instruction.
Specifically, the pre-stored regulation and control information provided by the embodiment of the present invention may be modified according to the received update instruction. Therefore, the information such as the regulation and control period can be flexibly changed according to the actual application condition, and the activity and universality of the fan regulation and control are improved.
The invention also provides a fan regulating device and a corresponding embodiment of the fan regulating device. It should be noted that the present invention is described from two perspectives, one is based on the function module and the other is based on the hardware.
Fig. 2 is a structural diagram of a fan control device according to an embodiment of the present invention; as shown in fig. 2, an embodiment of the present invention provides a fan control device, including:
the determining module 10 is configured to determine a historical regulation and control period and a current regulation and control period according to prestored regulation and control information;
the acquisition module 11 is used for acquiring historical power consumption generated by the complete machine of the system in a historical regulation and control period and current power consumption generated in a current regulation and control period;
the judging module 12 is used for judging whether the historical power consumption is larger than the current power consumption; if the current value is greater than the preset value, entering a first control module 13, and if the current value is less than or equal to the preset value, entering a second control module 14;
the first control module 13 is used for carrying out current operation on the fan control parameters again;
a second control module 14 for performing a reverse operation of the current operation on the fan control parameter;
and performing current operation on the fan control parameters at the end time of the historical regulation and control period, wherein the current operation is specifically up-regulation or down-regulation of the fan control parameters.
The fan regulating device provided by the embodiment of the invention further comprises:
the detection module is used for detecting whether the temperature linear parameters of the whole system in a preset time period are consistent or not before determining the historical regulation and control period and the current regulation and control period according to the prestored regulation and control information; if so, determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information.
And the stopping module is used for stopping the regulation and control operation when the detected current temperature linear parameter of the whole system is inconsistent with the historical temperature linear parameter.
And the updating module is used for updating the regulation and control information according to the received updating instruction.
Since the embodiment of this section corresponds to the embodiment of the method section, please refer to the description of the embodiment of the method section for the embodiment of this section, and details are not repeated here. The fan regulating and controlling device provided by the invention has the same beneficial effects as the fan regulating and controlling method provided by the invention.
Fig. 3 is a structural diagram of a fan control device according to an embodiment of the present invention. As shown in fig. 3, a fan control apparatus according to an embodiment of the present invention includes a memory for storing a computer program;
a processor for implementing the steps of the fan control method as claimed in any one of the above when executing the computer program.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after the computer program is loaded and executed by the processor 21, the relevant steps in the fan control method disclosed in any one of the foregoing embodiments can be implemented. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among other things, Windows, Unix, Linux, etc.
In some embodiments, the fan control device may further include an input/output interface 22, a communication interface 23, a power supply 24, and a communication bus 25.
Those skilled in the art will appreciate that the configuration shown in FIG. 3 is not intended to be limiting and may include more or fewer components than those shown.
Since the embodiment of the device portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the device portion, which is not repeated here. In some embodiments of the invention, the processor and memory may be connected by a bus or other means. The fan regulating and controlling equipment provided by the invention has the same beneficial effects as the fan regulating and controlling method provided by the invention.
Finally, the invention also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is understood that, if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and performs all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The method, device, equipment and medium for regulating and controlling the fan provided by the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.

Claims (9)

1. A fan control method is characterized by comprising the following steps:
determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information;
acquiring historical power consumption generated by the whole system in the historical regulation and control period and current power consumption generated in the current regulation and control period;
Judging whether the historical power consumption is larger than the current power consumption;
if the current operation is larger than the preset operation threshold, performing current operation on the fan control parameters again;
if the current operation is less than or equal to the preset operation threshold, performing reverse operation of the current operation on the fan control parameters;
performing the current operation on the fan control parameter at the end time of the historical regulation and control period, wherein the current operation is specifically adjusting the fan control parameter up or down;
before determining the historical regulation and control period and the current regulation and control period according to the prestored regulation and control information, the method further comprises the following steps:
detecting whether the temperature linear parameters of the whole system are consistent within a preset time period;
if so, determining the historical regulation and control period and the current regulation and control period according to prestored regulation and control information.
2. The method as claimed in claim 1, wherein the determining the historical regulation period and the current regulation period according to the pre-stored regulation information specifically comprises:
judging whether an enabling identifier in the regulation and control information is effective or not;
if yes, determining the historical regulation and control period and the current regulation and control period according to the regulation and control period in the regulation and control information.
3. The method for regulating and controlling the fan according to claim 1, wherein the obtaining of the historical power consumption generated by the complete machine of the system in the historical regulation and control period specifically comprises:
acquiring inherent power consumption generated in each inherent regulation time period in the historical regulation and control period;
accumulating the inherent power consumptions to obtain historical total power consumption, and calculating the number of the inherent regulation time periods in a historical period;
dividing the historical total power consumption by the number to obtain the historical power consumption;
wherein the fan control parameter is inherently operated once every the inherent regulation and control period.
4. The fan regulation method of claim 1, further comprising:
and when the detected current temperature linear parameter of the complete machine of the system is inconsistent with the historical temperature linear parameter, stopping the regulation operation.
5. The fan regulation method of claim 1, further comprising:
and updating the regulation and control information according to the received updating instruction.
6. The method as claimed in claim 1, wherein said re-performing the current operation on the fan control parameter specifically comprises:
And performing current operation on the fan control parameters according to the preset regulation value again.
7. A fan control apparatus, comprising:
the determining module is used for determining a historical regulation and control period and a current regulation and control period according to prestored regulation and control information;
the acquisition module is used for acquiring historical power consumption generated by the complete machine of the system in the historical regulation and control period and current power consumption generated in the current regulation and control period;
the judging module is used for judging whether the historical power consumption is larger than the current power consumption; if the current value is greater than the preset value, entering a first control module, and if the current value is less than or equal to the preset value, entering a second control module;
the first control module is used for carrying out current operation on the fan control parameters again;
the second control module is used for carrying out reverse operation of the current operation on the fan control parameters;
performing the current operation on the fan control parameter at the end time of the historical regulation and control period, wherein the current operation is specifically adjusting the fan control parameter up or down;
before determining the historical regulation and control period and the current regulation and control period according to the prestored regulation and control information, the method further comprises the following steps:
detecting whether the temperature linear parameters of the whole system are consistent within a preset time period;
If so, determining the historical regulation and control period and the current regulation and control period according to prestored regulation and control information.
8. A fan conditioning apparatus comprising a memory for storing a computer program;
a processor for implementing the steps of the fan regulation method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the fan regulation method according to any one of claims 1 to 6.
CN202010095152.XA 2020-02-14 2020-02-14 Fan regulation and control method, device, equipment and medium Active CN111309123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010095152.XA CN111309123B (en) 2020-02-14 2020-02-14 Fan regulation and control method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010095152.XA CN111309123B (en) 2020-02-14 2020-02-14 Fan regulation and control method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN111309123A CN111309123A (en) 2020-06-19
CN111309123B true CN111309123B (en) 2022-05-24

Family

ID=71150897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010095152.XA Active CN111309123B (en) 2020-02-14 2020-02-14 Fan regulation and control method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111309123B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992170A (en) * 2019-03-27 2019-07-09 联想(北京)有限公司 A kind of control method for fan and control device
CN110244587A (en) * 2018-03-08 2019-09-17 佛山市顺德区美的电热电器制造有限公司 A kind of control method, device, household appliance and computer storage medium
CN110410353A (en) * 2019-06-27 2019-11-05 深圳中电长城信息安全系统有限公司 Control method for fan, device and terminal device
CN110566492A (en) * 2019-09-12 2019-12-13 苏州浪潮智能科技有限公司 fan speed regulation method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244587A (en) * 2018-03-08 2019-09-17 佛山市顺德区美的电热电器制造有限公司 A kind of control method, device, household appliance and computer storage medium
CN109992170A (en) * 2019-03-27 2019-07-09 联想(北京)有限公司 A kind of control method for fan and control device
CN110410353A (en) * 2019-06-27 2019-11-05 深圳中电长城信息安全系统有限公司 Control method for fan, device and terminal device
CN110566492A (en) * 2019-09-12 2019-12-13 苏州浪潮智能科技有限公司 fan speed regulation method, device, equipment and medium

Also Published As

Publication number Publication date
CN111309123A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
US8464086B2 (en) Software-based power capping
CN107770088B (en) Flow control method and device
WO2017080273A1 (en) Task management methods and system, and computer storage medium
US9563226B2 (en) Dynamic clock regulation based on duty cycle thresholds
US10467054B2 (en) Resource management method and system, and computer storage medium
CN112324693B (en) Monitoring method, monitoring device, monitoring equipment and storage medium for fan rotating speed
CN111490711B (en) Method for controlling motor rotation speed of fire-fighting robot based on PID and electronic equipment
CN111142644A (en) Hard disk operation control method and device and related components
CN110795238B (en) Load calculation method and device, storage medium and electronic equipment
CN111309123B (en) Fan regulation and control method, device, equipment and medium
US11573619B2 (en) Information processing apparatus and method
CN113835508A (en) Power consumption management method and device of server, BMC and storage medium
CN113468617A (en) Method, equipment and storage medium for power failure protection of equipment
CN108369488B (en) Using volatile memory as non-volatile memory
CN108241522B (en) Sleep state switching method and device in virtualization environment and electronic equipment
CN114911332B (en) Method and system for regulating and controlling server fan, electronic equipment and storage medium
JP2007122527A (en) Flow control method
CN110737320B (en) Power consumption detection method and device, electronic equipment and storage medium
CN111140529B (en) Blower control method, blower control device and storage medium
CN113360344A (en) Server monitoring method, device, equipment and computer readable storage medium
CN112162710A (en) Method and device for reducing chip power consumption, computer equipment and storage medium
CN110780597A (en) Control method, device, equipment and medium for preventing steering engine from oscillating
CN110673977B (en) Data recovery optimization method, device, equipment and medium
CN116780981A (en) Equipment control method and device in locked rotor state, electronic equipment and medium
CN110794937A (en) Temperature regulation and control method and system for standby power supply in storage equipment and related device

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