CN114911332B - Method and system for regulating and controlling server fan, electronic equipment and storage medium - Google Patents

Method and system for regulating and controlling server fan, electronic equipment and storage medium Download PDF

Info

Publication number
CN114911332B
CN114911332B CN202210472294.2A CN202210472294A CN114911332B CN 114911332 B CN114911332 B CN 114911332B CN 202210472294 A CN202210472294 A CN 202210472294A CN 114911332 B CN114911332 B CN 114911332B
Authority
CN
China
Prior art keywords
bmc
fan
programmable logic
logic device
server
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
CN202210472294.2A
Other languages
Chinese (zh)
Other versions
CN114911332A (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 CN202210472294.2A priority Critical patent/CN114911332B/en
Publication of CN114911332A publication Critical patent/CN114911332A/en
Application granted granted Critical
Publication of CN114911332B publication Critical patent/CN114911332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)
  • Programmable Controllers (AREA)

Abstract

The application provides a server fan regulation and control method, which comprises the steps that BMC determines fan control information according to server configuration information and sensor temperature information; the programmable logic device receives and stores fan control information issued by the BMC; after the server alternating current power supply is electrified, judging whether the BMC works normally or not; if the BMC works normally, the programmable logic device controls the fan according to PWM issued by the BMC in real time; if the BMC does not work normally, the programmable logic device controls the fan according to the fan control information stored in the programmable logic device. According to the method, the optimal setting of the fan rotating speed according to server configuration is realized dynamically according to the pre-stored fan control information issued by the BMC during BMC inactive; on the premise of meeting the heat dissipation requirement, the power consumption and noise of the fan are reduced to the maximum extent, and the extremely experience is brought to the clients.

Description

Method and system for regulating and controlling server fan, electronic equipment and storage medium
Technical Field
The present invention relates to the field of server heat dissipation, and in particular, to a method and a system for controlling a server fan, an electronic device, and a storage medium.
Background
Currently, the server industry is increasingly competitive, and all mass manufacturers have realized the basic functions of the server; the types of servers available for clients to select are more and more, and the performance requirements of clients on the servers are also higher and higher. Thus, the user experience becomes increasingly important in meeting the conditions of normal use of the server. At present, it is proposed by a client that when a current server is in an inactive (initialization state of the BMC and a dead state in the working process of the BMC) at the BMC (Baseboard Manager Controller, baseboard management controller), the fan rotation speed cannot be effectively regulated and controlled, so that the power consumption of the server is high, meanwhile, the noise problem is serious, and the user experience is very poor.
After the server is powered on, the PCH (Platform Controller Hub, integrated south bridge) informs the BMC of the information of PCIE (Peripheral Component Interconnect Express, high-speed serial computer expansion bus standard) card through the bus; meanwhile, the BMC also obtains the temperature of each temperature measuring point of the server through the temperature sensor, and then sends PWM (pulse width modulation) to control the fan according to the heat dissipation strategy. Because the software system of the BMC is long in initialization process, the problem of dead downtime often occurs, and the fan cannot be controlled to effectively radiate the server. Therefore, the prior art proposes to process PWM using a CPLD (Complex Programmable Logic Device ) when performing fan control; CPLD, judge BMC normal work; if the BMC works normally, the CPLD thoroughly transmits PWM sent by the BMC to control the fan, and when the BMC is inactive, the CPLD controls the fan at a fixed rotating speed given by heat dissipation, so that abnormal work caused by overhigh temperature of the server is avoided. However, since the CPLD only performs fan control at a fixed rotational speed; in order to meet the heat dissipation requirement of the highest configuration of the server, the fan rotation speed setting must be very high (such as 80% -100%); however, most server shipment configurations do not use the highest configuration, and in this case, the high rotation speed of the fan brings high power consumption and high noise, and gives the client agent a poor experience.
Therefore, a method for controlling a fan of a server is needed to reasonably set the rotational speed of the fan during BMC inactive, and improve the user experience.
Disclosure of Invention
In order to solve the deficiencies of the prior art, the main objective of the present invention is to provide a method, a system, an electronic device and a storage medium for controlling a server fan, so as to solve the above technical problems of the prior art.
In order to achieve the above object, according to a first aspect of the present invention, there is provided a method for controlling a fan of a server, the method comprising:
the BMC determines fan control information according to the server configuration information and the sensor temperature information;
the programmable logic device receives and stores the fan control information issued by the BMC;
after the server alternating current power supply is electrified, judging whether the BMC works normally or not;
if the BMC works normally, the programmable logic device controls a fan according to PWM issued by the BMC in real time;
and if the BMC does not work normally, the programmable logic device controls a fan according to the fan control information stored in the programmable logic device.
In some embodiments, the BMC determines fan control information according to server configuration information, including:
when the direct-current power supply is powered on and/or PCIE equipment is hot plugged, the BMC acquires PCIE equipment information, and identifies and updates server configuration information;
and determining fan control information corresponding to different server configurations and different sensor temperatures according to the server configuration information, the sensor temperature information and a preset heat dissipation strategy, wherein the fan control information is the corresponding relation between a power-on time node and the fan rotating speed and the corresponding fan rotating speed when the BMC is dead.
In some embodiments, an internal timer is provided within the programmable logic device, the programmable logic device controlling a fan according to the fan control information already stored within the programmable logic device, comprising:
the programmable logic device identifies the power-on time node of the server after the AC power supply is powered on through the internal timer;
the programmable logic device determines the corresponding fan rotating speed according to the power-on time node and the fan control information;
the programmable logic device determines a corresponding PWM to control the fan according to the fan rotating speed.
In some embodiments, the method further comprises:
if the BMC is in a dead state, the programmable logic device determines the corresponding fan rotating speed when the BMC is dead according to the fan control information;
and the programmable logic device determines corresponding PWM (pulse width modulation) to control the fan according to the corresponding fan rotating speed when the BMC is dead.
In some embodiments, the programmable logic device is further provided with a nonvolatile storage area, and the programmable logic device receives and stores the fan control information issued by the BMC, and further includes:
the programmable logic device receives all fan control information issued by the BMC through an I2C bus;
the programmable logic device writes the received fan control information into the nonvolatile storage area.
In some embodiments, after the server ac power is powered on, determining whether the BMC is operating normally includes:
judging whether the programmable logic device receives a watchdog signal sent by the BMC or not in a first preset period after the server is electrified by the alternating current power supply;
if yes, judging that the BMC works normally;
if not, judging that the BMC is in an initialized state.
In some embodiments, after the server ac power is powered on, determining whether the BMC is operating normally further includes:
judging whether the programmable logic device receives a watchdog signal sent by the BMC or not in a second preset period after the server is electrified by the alternating current power supply;
if yes, judging that the BMC works normally;
if not, judging that the BMC is in a downtime state.
The second method, the application also provides a server fan regulation and control system, which is characterized in that the system comprises:
the BMC is used for determining fan control information according to the server configuration information;
the programmable logic device is used for receiving and storing the fan control information issued by the BMC;
the judging module is used for judging whether the BMC works normally or not after the server alternating current power supply is electrified;
the programmable logic device is also used for controlling a fan according to PWM issued by the BMC in real time when the BMC works normally;
the programmable logic device is further configured to control a fan according to the fan control information stored in the programmable logic device when the BMC does not operate normally.
In a third aspect, the present application further provides an electronic device, including:
one or more processors;
and a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the following:
the BMC determines fan control information according to the server configuration information and the sensor temperature information;
the programmable logic device receives and stores the fan control information issued by the BMC;
after the server alternating current power supply is electrified, judging whether the BMC works normally or not;
if the BMC works normally, the programmable logic device controls a fan according to PWM issued by the BMC in real time;
and if the BMC does not work normally, the programmable logic device controls a fan according to the fan control information stored in the programmable logic device.
In a fourth aspect, the present application also provides a computer-readable storage medium storing a computer program that causes a computer to perform the operations of:
the BMC determines fan control information according to the server configuration information and the sensor temperature information;
the programmable logic device receives and stores the fan control information issued by the BMC;
after the server alternating current power supply is electrified, judging whether the BMC works normally or not;
if the BMC works normally, the programmable logic device controls a fan according to PWM issued by the BMC in real time;
and if the BMC does not work normally, the programmable logic device controls a fan according to the fan control information stored in the programmable logic device.
The beneficial effect that this application realized is:
the application provides a server fan regulation and control method, which comprises the steps that BMC determines fan control information according to server configuration information and sensor temperature information; the programmable logic device receives and stores the fan control information issued by the BMC; after the server alternating current power supply is electrified, judging whether the BMC works normally or not; if the BMC works normally, the programmable logic device controls a fan according to PWM issued by the BMC in real time; and if the BMC does not work normally, the programmable logic device controls a fan according to the fan control information stored in the programmable logic device. Determining fan control information under different configurations by utilizing server configuration information and the like acquired by the BMC, and enabling the fan control information to exist in a programmable logic device, wherein the programmable logic device directly reads the stored fan control information when the BMC is initialized, and determines different fan rotating speeds according to different time nodes to regulate and control; when the fan is dead, the rotation speed of the fan corresponding to the dead fan in the fan control information is directly regulated and controlled; the optimal setting of the fan rotating speed is dynamically carried out according to the server configuration, and meanwhile, on the premise of meeting the heat dissipation requirement, the power consumption and noise of the fan are reduced to the maximum extent, and the extremely experience is brought to the clients.
Drawings
For a clearer description of the technical solutions in the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art, wherein:
FIG. 1 is a diagram of a server fan control architecture provided in an embodiment of the present application;
FIG. 2 is a flowchart of a method for controlling a fan of a server according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a fan control system for a server according to an embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be understood that throughout the description of this application, unless the context clearly requires otherwise, the words "comprise," "comprising," and the like in the description and the claims are to be construed in an inclusive sense rather than an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to".
It should also be appreciated that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
It should be noted that the terms "S1", "S2", and the like are used for the purpose of describing steps only, and are not intended to be limited to the order or sequence of steps or to limit the present application, but are merely used for convenience in describing the method of the present application and are not to be construed as indicating the sequence of steps. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be regarded as not exist and not within the protection scope of the present application.
Example 1
As shown in fig. 1, an embodiment of the present application provides a server fan regulation architecture: after the server is electrified, PCH is connected with BMC through a bus; the BMC is connected with a temperature Sensor (Sensor) and a programmable logic device (CPLD) through an I2C bus, the CPLD also receives PWM sent by the BMC and transmits the PWM to the fan, and the BMC receives a feedback signal returned by the fan. Specifically, by using the server fan regulation and control architecture provided by the embodiment of the present application, a process for regulating and controlling a rotation speed of a server fan includes:
s1, the BMC acquires server configuration information and sensor temperature information.
Specifically, when the PCIE device performs hot plug, the PCH informs the BMC of the information of the PCIE card through the ESPI/LPC bus, and the BMC reads the PCIE device information accessed out-of-band by the server and updates the configuration information of the server; and re-reading and updating the server configuration information every time the server is powered on by direct current. Meanwhile, the BMC can acquire the temperature of the temperature measuring points of the server through the temperature sensor and update the temperature information of the sensor. The server configuration information includes types and kinds of a CPU, a memory, a hard disk, a board card, and the like.
S2, the BMC acquires server configuration information and sensor temperature information to determine fan control information, and writes the fan control information into the programmable logic device.
Because the heat dissipation capacity required by the server is different under different server configurations, the application takes the server configuration and the sensor temperature as influencing factors to formulate a server heat dissipation strategy, and the heat dissipation strategy comprises fan control information corresponding to different server configurations and different sensor temperatures. After identifying the server configuration information, the BMC converts the heat dissipation policy of the heat dissipation server under the configuration into fan control information in combination with the sensor temperature, for example: the rotating speed of the fan is 10% within 1 min; 1-2 min, the rotating speed of the fan is 15%; 2-3 min, the rotating speed of the fan is 30; 3-4 min, the rotating speed of the fan is 45%; the rotating speed of the fan is 50% after more than 4 min; the BMC was dead and the fan speed was 60%. It can be understood that the fan control information provided by the application can be regarded as the corresponding relation between the time node after the server is powered on and the fan rotating speed and the corresponding fan rotating speed when the server is dead, and the change of the fan rotating speed along with the time shows a stepwise increasing trend.
The BMC transmits the fan control information to the programmable logic device through the I2C, and updates the fan control information in real time according to the server configuration. The programmable logic device is provided with a nonvolatile Memory area, which may be preferably a UFM (UsrFlash Memory) or any other Memory module applicable to the programmable logic device.
S3, judging the working state of the BMC.
Specifically, after the server is powered on, the working state of the BMC is judged. Judging whether the BMC works normally or not according to whether the programmable logic device can receive a watchdog signal sent by the BMC or not in a first preset period after the server is electrified by the alternating current power supply; if the programmable logic device receives a watchdog signal sent by the BMC in a first preset period, judging that the BMC can work normally; if the programmable logic device does not receive the watchdog signal sent by the BMC in the first preset period, the BMC is judged to not work normally and is still in an initialized state. Then, continuously monitoring whether the programmable logic device can receive the watchdog signal sent by the BMC, and if the programmable logic device does not receive the watchdog signal sent by the BMC in a second preset period after the server alternating current power supply is electrified, determining that the BMC is in a dead state at the moment; if the programmable logic device receives a watchdog signal sent by the BMC in a second preset period after the server alternating current power supply is electrified, the BMC is determined to be initialized, and the programmable logic device starts to enter a normal working state.
S4, determining the rotating speed of the fan according to the working state of the BMC so as to complete regulation and control of the server fan.
If the BMC is in a normal working state, the programmable logic device directly regulates and controls the server fan according to PWM issued by the BMC in real time. If the BMC is in an initialized state, the control right of the BMC is released, the programmable logic device reads fan control information stored in the nonvolatile storage area, a power-on time node after the server is powered on in an alternating mode is determined through an internal timer arranged in the programmable logic device, and a proper fan rotating speed is obtained according to the corresponding relation between the power-on time node and the fan rotating speed; the programmable logic device generates corresponding PWM according to the fan rotating speed, and the rotating speed of the server fan is controlled through the PWM; if the BMC is in an initialized state, the control right of the BMC is also released, the programmable logic device reads the fan control information stored in the nonvolatile storage area, inquires the fan rotating speed corresponding to the dead state of the BMC, generates corresponding PWM, and controls the rotating speed of the fan of the server through the PWM.
Example two
Corresponding to the above embodiment, the present application provides a method for controlling a server fan, as shown in fig. 2, including:
210. the BMC determines fan control information according to the server configuration information and the sensor temperature information;
preferably, the BMC determines fan control information according to server configuration information, including:
211. when the direct-current power supply is powered on and/or PCIE equipment is hot plugged, the BMC acquires PCIE equipment information, and identifies and updates server configuration information;
212. and determining fan control information corresponding to different server configurations and different sensor temperatures according to the server configuration information, the sensor temperature information and a preset heat dissipation strategy, wherein the fan control information is the corresponding relation between a power-on time node and the fan rotating speed and the corresponding fan rotating speed when the BMC is dead.
220. The programmable logic device receives and stores the fan control information issued by the BMC;
preferably, the programmable logic device is further provided with a nonvolatile storage area, and the programmable logic device receives and stores the fan control information issued by the BMC, and further includes:
221. the programmable logic device receives all fan control information issued by the BMC through an I2C bus;
222. the programmable logic device writes the received fan control information into the nonvolatile storage area.
230. After the server alternating current power supply is electrified, judging whether the BMC works normally or not;
preferably, after the ac power supply of the server is powered on, determining whether the BMC works normally includes:
231. judging whether the programmable logic device receives a watchdog signal sent by the BMC or not in a first preset period after the server is electrified by the alternating current power supply;
232. if yes, judging that the BMC works normally;
233. if not, judging that the BMC is in an initialized state.
Preferably, after the server ac power is powered on, determining whether the BMC works normally further includes:
234. judging whether the programmable logic device receives a watchdog signal sent by the BMC or not in a second preset period after the server is electrified by the alternating current power supply;
235. if yes, judging that the BMC works normally;
236. if not, judging that the BMC is in a downtime state.
240. If the BMC works normally, the programmable logic device controls a fan according to PWM issued by the BMC in real time;
250. and if the BMC does not work normally, the programmable logic device controls a fan according to the fan control information stored in the programmable logic device.
Preferably, an internal timer is provided in the programmable logic device, and the programmable logic device controls a fan according to the fan control information stored in the programmable logic device, including:
251. the programmable logic device identifies the power-on time node of the server after the AC power supply is powered on through the internal timer;
252. the programmable logic device determines the corresponding fan rotating speed according to the power-on time node and the fan control information;
253. the programmable logic device determines a corresponding PWM to control the fan according to the fan rotating speed.
Preferably, the method further comprises:
254. if the BMC is in a dead state, the programmable logic device determines the corresponding fan rotating speed when the BMC is dead according to the fan control information;
255. and the programmable logic device determines corresponding PWM (pulse width modulation) to control the fan according to the corresponding fan rotating speed when the BMC is dead.
Example III
Corresponding to the first embodiment and the second embodiment, the present application further provides a server fan regulation and control system, which includes:
BMC310 for determining fan control information according to server configuration information;
a programmable logic device 320, configured to receive and store the fan control information issued by the BMC 310;
the judging module 330 is configured to judge whether the BMC310 is operating normally after the ac power of the server is turned on;
the programmable logic device 320 is further configured to control a fan according to PWM issued by the BMC310 in real time when the BMC310 is operating normally;
the programmable logic device 320 is further configured to control a fan according to the fan control information stored in the programmable logic device 320 when the BMC310 is not operating normally.
In some embodiments, the BMC310 is further configured to obtain PCIE device information, identify and update server configuration information when the dc power supply is powered on and/or the PCIE device is hot plugged; the BMC310 is further configured to determine fan control information corresponding to different server configurations and different sensor temperatures according to the server configuration information, the sensor temperature information, and a preset heat dissipation policy, where the fan control information is a corresponding relationship between a power-on time node and a fan rotation speed and a corresponding fan rotation speed when the BMC310 is dead.
In some embodiments, the programmable logic device 320 is further configured to determine a corresponding fan speed according to the power-on time node and the fan control information of the internal timer identification server after the ac power is turned on; and determining a corresponding PWM according to the fan rotating speed to control the fan.
In some embodiments, the programmable logic device 320 is further configured to determine, when the BMC310 is in a dead state, a corresponding fan speed when the BMC310 is dead according to the fan control information; and determining a corresponding PWM to control the fan according to the corresponding fan rotation speed when the BMC310 is dead.
In some embodiments, the programmable logic device 320 is further configured to receive all fan control information issued by the BMC310 through the I2C bus; and writing the received fan control information into the nonvolatile storage area.
In some embodiments, the determining module 330 is further configured to determine, during a first preset period after the server is powered on by the ac power supply, whether the programmable logic device 320 receives a watchdog signal sent by the BMC 310; if yes, judging that the BMC310 works normally; if not, the BMC310 is determined to be in an initialized state.
In some embodiments, the determining module 330 is further configured to determine, during a second preset period after the server is powered on by the ac power supply, whether the programmable logic device 320 receives a watchdog signal sent by the BMC 310; if yes, judging that the BMC310 works normally; if not, the BMC310 is determined to be in a downtime state.
Example IV
An embodiment of the present application provides an electronic device, including:
one or more processors; and a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the following:
the BMC determines fan control information according to the server configuration information and the sensor temperature information;
the programmable logic device receives and stores the fan control information issued by the BMC;
after the server alternating current power supply is electrified, judging whether the BMC works normally or not;
if the BMC works normally, the programmable logic device controls a fan according to PWM issued by the BMC in real time;
and if the BMC does not work normally, the programmable logic device controls a fan according to the fan control information stored in the programmable logic device.
Fig. 4 illustrates an architecture of an electronic device, which may include a processor 410, a video display adapter 411, a disk drive 412, an input/output interface 413, a network interface 414, and a memory 420, among others. The processor 410, video display adapter 411, disk drive 412, input/output interface 413, network interface 414, and memory 420 may be communicatively coupled via bus 430.
The processor 410 may be implemented by a general-purpose CPU (Central Processing Unit ), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc., for executing relevant programs to implement the technical solutions provided herein.
The Memory 420 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage device, dynamic storage device, or the like. The memory 420 may store an operating system 421 for controlling the execution of the electronic device 400, and a Basic Input Output System (BIOS) 422 for controlling the low-level operation of the electronic device 400. In addition, a web browser 423, a data storage management system 424, an icon font processing system 425, and the like may also be stored. The icon font processing system 425 may be an application program that implements the operations of the foregoing steps in the embodiments of the present application. In general, when the technical solutions provided in the present application are implemented by software or firmware, relevant program codes are stored in the memory 420 and invoked by the processor 410 for execution.
The input/output interface 413 is used to connect to an input/output module to realize information input and output. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
The network interface 414 is used to connect communication modules (not shown) to enable communication interactions of the device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 430 includes a path to transfer information between various components of the device (e.g., processor 410, video display adapter 411, disk drive 412, input/output interface 413, network interface 414, and memory 420).
In addition, the electronic device 400 may also obtain information of specific acquisition conditions from the virtual resource object acquisition condition information database, for performing condition judgment, and so on.
It should be noted that although the above devices only show the processor 410, the video display adapter 411, the disk drive 412, the input/output interface 413, the network interface 414, the memory 420, the bus 430, and the like, in the specific implementation, the device may further include other components necessary to achieve normal execution. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the present application, and not all the components shown in the drawings.
Example five
Corresponding to all the above embodiments, the present embodiments also provide a computer readable storage medium, characterized in that it stores a computer program, which causes a computer to operate as follows:
the BMC determines fan control information according to the server configuration information and the sensor temperature information;
the programmable logic device receives and stores the fan control information issued by the BMC;
after the server alternating current power supply is electrified, judging whether the BMC works normally or not;
if the BMC works normally, the programmable logic device controls a fan according to PWM issued by the BMC in real time;
and if the BMC does not work normally, the programmable logic device controls a fan according to the fan control information stored in the programmable logic device.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, a cloud server, or a network device, etc.) to perform the method described in the embodiments or some parts of the embodiments of the present application.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing description of the preferred embodiments of the present application is not intended to limit the invention to the particular embodiments of the present application, but to limit the scope of the invention to the particular embodiments of the present application.

Claims (10)

1. A method for regulating and controlling a fan of a server, the method comprising:
the BMC determines fan control information according to the server configuration information and the sensor temperature information, wherein the fan control information is the corresponding relation between a power-on time node and the fan rotating speed and the corresponding fan rotating speed when the BMC is dead;
the programmable logic device receives and stores the fan control information issued by the BMC;
after the server alternating current power supply is electrified, judging whether the BMC works normally or not;
if the BMC works normally, the programmable logic device controls a fan according to PWM issued by the BMC in real time;
and if the BMC does not work normally, the programmable logic device controls a fan according to the fan control information stored in the programmable logic device.
2. The method of claim 1, wherein the BMC determining fan control information from server configuration information comprises:
when the direct-current power supply is powered on and/or PCIE equipment is hot plugged, the BMC acquires PCIE equipment information, and identifies and updates server configuration information;
and determining fan control information corresponding to different server configurations and different sensor temperatures according to the server configuration information, the sensor temperature information and a preset heat dissipation strategy, wherein the fan control information is the corresponding relation between a power-on time node and the fan rotating speed and the corresponding fan rotating speed when the BMC is dead.
3. The method of claim 2, wherein an internal timer is provided within the programmable logic device, the programmable logic device controlling a fan in accordance with the fan control information already stored within the programmable logic device, comprising:
the programmable logic device identifies the power-on time node of the server after the AC power supply is powered on through the internal timer;
the programmable logic device determines the corresponding fan rotating speed according to the power-on time node and the fan control information;
the programmable logic device determines a corresponding PWM to control the fan according to the fan rotating speed.
4. The method according to claim 2, wherein the method further comprises:
if the BMC is in a dead state, the programmable logic device determines the corresponding fan rotating speed when the BMC is dead according to the fan control information;
and the programmable logic device determines corresponding PWM (pulse width modulation) to control the fan according to the corresponding fan rotating speed when the BMC is dead.
5. The method of claim 2, wherein the programmable logic device further has a nonvolatile memory area disposed therein, the programmable logic device receiving and storing the fan control information issued by the BMC, further comprising:
the programmable logic device receives all fan control information issued by the BMC through an I2C bus;
the programmable logic device writes the received fan control information into the nonvolatile storage area.
6. The method according to any one of claims 1-5, wherein determining whether the BMC is operating properly after the server ac power is powered on comprises:
judging whether the programmable logic device receives a watchdog signal sent by the BMC or not in a first preset period after the server is electrified by the alternating current power supply;
if yes, judging that the BMC works normally;
if not, judging that the BMC is in an initialized state.
7. The method of claim 6, wherein after the server ac power is powered on, determining whether the BMC is operating properly further comprises:
judging whether the programmable logic device receives a watchdog signal sent by the BMC or not in a second preset period after the server is electrified by the alternating current power supply;
if yes, judging that the BMC works normally;
if not, judging that the BMC is in a downtime state.
8. A server fan conditioning system, the system comprising:
the BMC is used for determining fan control information according to the server configuration information;
the programmable logic device is used for receiving and storing the fan control information issued by the BMC, wherein the fan control information is the corresponding relation between the power-on time node and the fan rotating speed and the corresponding fan rotating speed when the BMC is dead;
the judging module is used for judging whether the BMC works normally or not after the server alternating current power supply is electrified;
the programmable logic device is also used for controlling a fan according to PWM issued by the BMC in real time when the BMC works normally;
the programmable logic device is also used for controlling a fan according to the fan control information stored in the programmable logic device when the BMC does not work normally.
9. An electronic device, the electronic device comprising:
one or more processors;
and a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that it stores a computer program, which causes a computer to perform the method of any one of claims 1-7.
CN202210472294.2A 2022-04-29 2022-04-29 Method and system for regulating and controlling server fan, electronic equipment and storage medium Active CN114911332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210472294.2A CN114911332B (en) 2022-04-29 2022-04-29 Method and system for regulating and controlling server fan, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210472294.2A CN114911332B (en) 2022-04-29 2022-04-29 Method and system for regulating and controlling server fan, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114911332A CN114911332A (en) 2022-08-16
CN114911332B true CN114911332B (en) 2023-08-04

Family

ID=82764639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210472294.2A Active CN114911332B (en) 2022-04-29 2022-04-29 Method and system for regulating and controlling server fan, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114911332B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115405550B (en) * 2022-09-06 2024-01-19 苏州浪潮智能科技有限公司 Fan control method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3442319A1 (en) * 2017-08-09 2019-02-13 Quanta Computer Inc. Multi-node system-fan-control switch
CN109375750A (en) * 2018-11-21 2019-02-22 郑州云海信息技术有限公司 Control method, device, medium and the equipment of storage server fan cooling group
CN109857614A (en) * 2018-12-28 2019-06-07 曙光信息产业(北京)有限公司 A kind of disaster tolerance device and method of rack server
CN110990199A (en) * 2019-10-18 2020-04-10 苏州浪潮智能科技有限公司 Server fan redundancy control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3442319A1 (en) * 2017-08-09 2019-02-13 Quanta Computer Inc. Multi-node system-fan-control switch
CN109375750A (en) * 2018-11-21 2019-02-22 郑州云海信息技术有限公司 Control method, device, medium and the equipment of storage server fan cooling group
CN109857614A (en) * 2018-12-28 2019-06-07 曙光信息产业(北京)有限公司 A kind of disaster tolerance device and method of rack server
CN110990199A (en) * 2019-10-18 2020-04-10 苏州浪潮智能科技有限公司 Server fan redundancy control method and device

Also Published As

Publication number Publication date
CN114911332A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
US20210352148A1 (en) Remote management for a computing device
US7921203B2 (en) Specifying associations among attributes of entities in
US20170090896A1 (en) Automatic system software installation on boot
US20090070611A1 (en) Managing Computer Power Consumption In A Data Center
US8307220B2 (en) Managing power consumption of a computer
US8103884B2 (en) Managing power consumption of a computer
US8230237B2 (en) Pre-boot environment power management
CN109388604B (en) Hot plug control method, device and storage medium based on PCIe
JP2006221641A (en) Control of cooling system for computer
TWI261748B (en) Policy-based response to system errors occurring during OS runtime
US20200183872A1 (en) Platform controller hub (pch) chipsets in platforms as extended io expander(s)
CN114911332B (en) Method and system for regulating and controlling server fan, electronic equipment and storage medium
US9229729B2 (en) Initializing processor cores in a multiprocessor system
US20220066530A1 (en) Information processing apparatus and method
CN111124508A (en) Method and device for adjusting PXE (PCI extensions for instrumentation) starting sequence of network card
CN111983412B (en) Monitoring system, monitoring method, monitoring terminal and storage medium
CN116521378B (en) Sensor access method and device of server and baseboard management controller
CN113900718B (en) Decoupling method, system and device for BMC and BIOS asset information
CN112631414A (en) Fan control method, system and medium
US11086371B2 (en) Heat suppression in an information processing device in an initial setting mode
Kiertscher et al. Cherub: Power consumption aware cluster resource management
CN111176958A (en) Information monitoring method, system and storage medium
CN115858292A (en) IPMI management method and system based on MCU
US9772869B2 (en) System and method for performing efficient failover and virtual machine (VM) migration in virtual desktop infrastructure (VDI)
CN113867506A (en) Server heat dissipation control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant