CN112286333B - Power supply control method and device - Google Patents

Power supply control method and device Download PDF

Info

Publication number
CN112286333B
CN112286333B CN202011111854.9A CN202011111854A CN112286333B CN 112286333 B CN112286333 B CN 112286333B CN 202011111854 A CN202011111854 A CN 202011111854A CN 112286333 B CN112286333 B CN 112286333B
Authority
CN
China
Prior art keywords
liquid level
detection device
power supply
level detection
signal
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
CN202011111854.9A
Other languages
Chinese (zh)
Other versions
CN112286333A (en
Inventor
苏航
曾明强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202011111854.9A priority Critical patent/CN112286333B/en
Publication of CN112286333A publication Critical patent/CN112286333A/en
Application granted granted Critical
Publication of CN112286333B publication Critical patent/CN112286333B/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/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC
    • 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/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/20Indexing scheme relating to G06F1/20
    • G06F2200/201Cooling arrangements using cooling fluid
    • 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)
  • Power Engineering (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a power supply control method and a power supply control device, which are used for solving the problem of over-temperature damage caused by electrifying a liquid cooling switch in the installation or debugging process of the liquid cooling switch. The method comprises the steps that after a first signal output by a liquid level detection device is received, a first power supply corresponding to a CPU module of a control device is electrified, after a second signal is received, a second power supply corresponding to an exchange module of the control device and at least one third power supply corresponding to a port module are electrified, the first signal is sent after the liquid level height of a liquid cooling medium is detected to be not lower than a first preset height, and the second signal is sent after the liquid level height is detected to be not lower than a second preset height. Because different power supplies of the control equipment are powered on at different liquid level heights of the liquid cooling medium, the problem that the liquid cooling equipment is overheated and damaged due to the fact that the liquid cooling equipment is powered on in the environment without the liquid cooling medium in the installation and debugging process of the liquid cooling equipment can be solved, and the safety of the liquid cooling equipment is improved.

Description

Power supply control method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a power control method and apparatus.
Background
With the vigorous development of cloud computing and big data technologies, the performance requirements of actual businesses on underlying infrastructure are higher and higher. The data center switch, as a core device of data switching, is also rapidly developed in the direction of high performance, high port density and high bandwidth, with the concomitant increase in power consumption, and the problem of heat dissipation has become an obstacle to the development of the industry.
Traditional air-cooled heat dissipation can not satisfy the heat dissipation demand of switch because reasons such as the consumption is big, noise pollution is serious, focuses on the liquid cooling technique gradually in the trade, and liquid cooling heat dissipation appears in data center computer lab more and more frequently.
Liquid cooling heat dissipation refers to the fact that liquid is used as a medium for heat transmission to reduce the temperature of a data center, the liquid can be directly guided to a heat source to take away heat, and air cooling is not needed to be conducted indirectly like air cooling. Liquid cooling heat dissipation takes away most heat through the circulation medium, and the switch does not need the fan, and whole rack can use a fan heat dissipation, and the whole air supply demand of computer lab also reduces thereupon, and the local hot spot that the computer lab backward flow that significantly reduces leads to. The liquid cooling heat dissipation can also inhibit the instant increase of the internal temperature of elements such as a Central Processing Unit (CPU), and the like, thereby allowing the CPU to work in an over-frequency manner to a certain extent, increasing the deployment density and improving the integration level. In addition, the specific heat capacity of liquid is far higher than that of gas, a large amount of heat can be absorbed, the temperature change is kept small, and the heat dissipation efficiency is greatly improved.
When using the liquid cooling to dispel the heat for the switch, a liquid level threshold value is set for in general the manual work, and this liquid level threshold value is higher than the upper surface of switch, and when detecting the liquid level height and being higher than the liquid level threshold value, the switch is whole to be electrified, and the switch begins work.
However, the liquid cooling switch may have an environment without a liquid cooling medium during installation or debugging, and the liquid cooling switch may be damaged by over-temperature when being powered on.
Disclosure of Invention
The invention provides a power supply control method and a power supply control device, which are used for solving the problem that in the prior art, if a liquid cooling switch is electrified due to misoperation in the installation or debugging process of the liquid cooling switch, the liquid cooling switch is possibly damaged due to over-temperature.
The invention provides a power supply control method and a power supply control device, which are used for solving the problem that in the prior art, a liquid-cooled switch is electrified in the installation or debugging process, and the switch is possibly damaged due to over-temperature.
In a first aspect, an embodiment of the present application provides a power supply control method, where the method includes:
after receiving a first signal output by a liquid level detection device, controlling a first power supply corresponding to a CPU module of equipment to be powered on, wherein the first signal is sent after the liquid level detection device detects that the liquid level height of a liquid cooling medium for radiating the equipment is not lower than a first preset height;
and after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to an exchange module of the equipment and at least one third power supply corresponding to a port module of the equipment to be powered on, wherein the second signal is sent after the liquid level detection device detects that the liquid level height is not lower than a second preset height, and the second preset height is higher than the first preset height.
In a possible implementation manner, after receiving the second signal output by the liquid level detection apparatus, the controlling a second power supply corresponding to a switching module of the device and at least one third power supply corresponding to a port module of the device to be powered on includes:
after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to a switching module of the equipment to be powered on;
if a third signal output by the liquid level detection device is received, controlling all third power supplies of the equipment to be powered on, wherein the third signal is sent after the liquid level detection device detects that the liquid level height is not lower than a third preset height;
if a fourth signal output by the liquid level detection device is received, controlling a preset number of third power supplies to be powered on, wherein the fourth signal is sent after the liquid level detection device detects that the liquid level is lower than a third preset height;
wherein the third preset height is higher than the second preset height.
In a possible implementation manner, the preset number of third power supplies includes third power supplies corresponding to port modules arranged at intervals.
In a possible implementation manner, after the first power supply corresponding to the CPU module of the control device is powered on, the method further includes:
if a fifth signal and a fourth signal output by the liquid level detection device are received, controlling the second power supply and the third power supply to be powered off or to maintain a non-power state, wherein the fifth signal is sent after the liquid level detection device detects that the liquid level height is lower than a second preset height; or
And if the fifth signal and the third signal output by the liquid level detection device are received, performing alarm operation.
In one possible embodiment, the method further comprises:
and after receiving a sixth signal output by the liquid level detection device, controlling the first power supply to be powered off or to maintain an electroless state, wherein the sixth signal is sent after the liquid level detection device detects that the liquid level is lower than the first preset height.
In a second aspect, an embodiment of the present application provides a power control apparatus, including:
the first power supply control module is used for controlling a first power supply corresponding to a CPU module of the equipment to be powered on after receiving a first signal output by the liquid level detection device, wherein the first signal is sent after the liquid level detection device detects that the liquid level height of a liquid cooling medium for radiating the equipment is not lower than a first preset height;
and the second power supply control module is used for controlling a second power supply corresponding to the exchange module of the equipment and at least one third power supply corresponding to the port module of the equipment to be powered on after receiving a second signal output by the liquid level detection device, wherein the second signal is sent after the liquid level detection device detects that the liquid level height is not lower than a second preset height, and the second preset height is higher than the first preset height.
In a possible implementation manner, the second power control module is specifically configured to:
after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to a switching module of the equipment to be powered on;
if a third signal output by the liquid level detection device is received, controlling all third power supplies of the equipment to be powered on, wherein the third signal is sent after the liquid level detection device detects that the liquid level height is not lower than a third preset height;
if a fourth signal output by the liquid level detection device is received, controlling a preset number of third power supplies to be powered on, wherein the fourth signal is sent after the liquid level detection device detects that the liquid level is lower than a third preset height;
wherein the third preset height is higher than the second preset height.
In a possible implementation manner, the preset number of third power supplies includes third power supplies corresponding to port modules arranged at intervals.
In a possible implementation manner, after the first power supply corresponding to the CPU module of the first power supply control module control device is powered on, the second power supply control module is further configured to:
if a fifth signal and a fourth signal output by the liquid level detection device are received, controlling the second power supply and the third power supply to be powered off or to maintain a non-power state, wherein the fifth signal is sent after the liquid level detection device detects that the liquid level height is lower than a second preset height; or
And if the fifth signal and the third signal output by the liquid level detection device are received, performing alarm operation.
In one possible implementation, the first power control module is further configured to:
and after receiving a sixth signal output by the liquid level detection device, controlling the first power supply to be powered off or maintain a non-power state, wherein the sixth signal is sent after the liquid level detection device detects that the liquid level is lower than the first preset height.
In a third aspect, an embodiment of the present application provides a computing apparatus, including at least one processing unit and at least one storage unit, where the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit is caused to execute any one of the steps of the power control method.
In a fourth aspect, there is provided a computer readable medium storing a computer program executable by a terminal device, the program, when run on the terminal device, causing the terminal device to perform the steps of any of the power control methods described above.
The embodiment of the application provides a power control method and device, after a first signal output by a liquid level detection device is received, a first power supply corresponding to a CPU module of a control device is powered on, wherein the first signal is sent after the liquid level detection device detects that the liquid level height of a liquid cooling medium for heat dissipation of the device is not lower than a first preset height, after a second signal output by the liquid level detection device is received, a second power supply corresponding to an exchange module of the device and at least one third power supply corresponding to a port module of the device are controlled to be powered on, wherein the second signal is sent after the liquid level detection device detects that the liquid level height is not lower than a second preset height, and the second preset height is higher than the first preset height. Because different power supplies of the equipment are respectively controlled to be powered on according to different liquid level heights of the liquid cooling medium, the problem that the liquid cooling equipment is overheated and damaged due to the fact that the liquid cooling equipment is powered on in the environment without the liquid cooling medium in the installation and debugging process of the liquid cooling equipment can be solved, and the safety of the liquid cooling equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a power control method according to an embodiment of the present invention;
FIG. 2 is a block diagram of the internal structure of the switch;
FIG. 3 is a schematic diagram of switch power pin numbers according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a liquid level sensor according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a preset height according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the operation of the level sensor;
fig. 7 is a circuit diagram of a power output control circuit of the switch according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating an overall power control method according to an embodiment of the present invention;
fig. 9 is a structural diagram of a power supply control device according to another embodiment of the present invention;
fig. 10 is a structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The data center switch has the characteristics of high bandwidth, large power consumption, high performance and the like, when a power supply of the traditional air-cooled data center switch is electrified, the fan immediately starts to rotate to provide a cooling effect for the whole machine, and the rotating speed of the fan is generally adjusted according to the temperature of a key device after the system is started.
The liquid cooling heat dissipation needs to complete the filling of the liquid cooling medium in the liquid refrigerator, so that the liquid level of the liquid cooling medium is ensured to be higher than or equal to the upper surface of the switch, and then the power is supplied, and the normal heat dissipation requirement of the equipment is ensured.
When the equipment is normally installed or debugged on site, the situation of no heat dissipation medium exists, and at the moment, if the equipment is electrified due to misoperation, the equipment is damaged due to over-temperature.
Based on the above problem, an embodiment of the present application provides a power control method, as shown in fig. 1, which specifically includes the following steps:
s101, after receiving a first signal output by a liquid level detection device, controlling a first power supply corresponding to a CPU module of the equipment to be powered on, wherein the first signal is sent after the liquid level detection device detects that the liquid level height of a liquid cooling medium for heat dissipation of the equipment is not lower than a first preset height.
And S102, after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to a switching module of the equipment and at least one third power supply corresponding to a port module of the equipment to be powered on, wherein the second signal is sent after the liquid level detection device detects that the liquid level height is not lower than a second preset height, and the second preset height is not lower than the first preset height.
In the embodiment of the application, because according to the different liquid level height of liquid cooling medium, the different powers of controlgear respectively go up the electricity to controlgear's operating condition, and then can improve liquid cooling medium's utilization ratio, and can improve equipment's working property.
The equipment in the embodiment of the invention can be a switch, a server and computer equipment, and all equipment capable of using liquid cooling for heat dissipation is suitable for the embodiment of the invention.
The present application will be described in detail below with reference to a switch as an example.
Fig. 2 is a block diagram of the internal structure of the switch. The internal structure of the switch will be explained below.
1. A CPU module: the CPU module mainly includes a hardware system supporting the CPU to normally work, and usually includes a memory, a Flash (non-volatile storage medium), a VR (voltage regulator), a CPLD (Complex Programmable Logic Device), and the like. The CPU is responsible for managing the work of the whole machine, and mainly has the functions of hardware monitoring and adjusting, management of the exchange module, realization of related communication protocols and the like, the CPU module also manages a console interface and an MGMT (management) port, the console interface is mainly used in the field debugging process, and the MGMT port can realize remote control and configuration of equipment.
2. A BMC module: the BMC (Baseboard Management Controller) is a system independent of the CPU, does not depend on other hardware on the system, and can interact with a software system of the CPU to share information. The main function of the BMC module is platform management, i.e., a series of monitoring and control functions, and the object of operation is system hardware. For example, the temperature, voltage, fan, power supply, etc. of the system are monitored and adjusted accordingly to ensure that the system is in a normal state, and if the system is abnormal, the system can be restarted in a reset mode. Meanwhile, the platform management is also responsible for recording information and log records of various hardware and is used for prompting a user and positioning subsequent problems, and the BMC can be managed through a console port and an MGMT port.
3. A switching module: the Media Access Control (MAC) chip is a core of the whole switch system and completes data forwarding decision and implementation of an Ethernet Media Access Control protocol, the MAC chip is usually an application specific integrated circuit and is generally integrated with a switch cache for temporarily storing queue messages, and the performance of the MAC determines the performance of the switch.
4. The port module is mainly an interface for connecting transmission media and equipment, and the number of ports, the working speed, the supported media and the like of different switches are different.
5. An on-board power supply: the part provides the working voltage of each chip in the single board, simultaneously provides overcurrent, short circuit, overvoltage and undervoltage protection, simultaneously monitors and controls the working state of the power supply, ensures the system to be powered off when abnormity occurs, and prevents safety accidents.
6. Connector (Connector): primarily to provide connections between signals within the board and power supplies.
As can be seen from fig. 2, the first power supply in the embodiment of the present application is a switch overall power supply, that is, the power supply 1 and the power supply 2 in fig. 2, and the second power supply and the third power supply both belong to the on-board power supply in fig. 2.
The switch power pins are explained below.
Fig. 3 is a schematic diagram of the number of power pins of the switch according to the embodiment of the present invention; table 1 shows definitions of the power pins of the switch according to the embodiment of the present invention. Referring to fig. 3 and table 1, the method provided by the present invention mainly uses pins a21, B21 and GND, wherein pin PSON of a21 is mainly used to control the output of the power supply, pin B21, VSB, is mainly used to provide the power supply for the level sensor and the control circuit, and GND is used to provide the ground loop.
TABLE 1
Figure BDA0002728847580000081
The execution main body of the embodiment of the present application may be a controller, a control module, a control unit, and the like, and both the physical device and the virtual device that can control power-on and power-off of the power supply are applicable to the embodiment of the present application.
In the implementation, liquid level detection device can set up on the switch, and liquid level detection device detects liquid cooling medium's liquid level height, when detecting that liquid level height is not less than the first height of predetermineeing after, sends first signal, when detecting that liquid level height is not less than the second and predetermine highly the back, sends the second signal, and first preset height here is less than the second and predetermines highly.
Wherein, the liquid level detection device can be a liquid level sensor, for example, 3 liquid level sensors are provided, and are respectively used for monitoring the liquid level height of the CPU module, the exchange module and the port module.
Fig. 4 is a schematic structural diagram of a liquid level sensor according to an embodiment of the present invention. When the switch is placed in the liquid refrigerator, the port module is located at the top of the liquid refrigerator, and the CPU module is located at the bottom of the liquid refrigerator.
As can be seen from fig. 4, in the embodiment of the present application, the first preset height is a height corresponding to the liquid level sensor at the CPU module, the second preset height is a height corresponding to the liquid level sensor at the switching module, and the third preset height is a height corresponding to the sensor at the port module.
Fig. 5 is a schematic structural diagram of a preset height according to an embodiment of the present invention.
In a possible implementation manner, the liquid level sensor corresponding to the port module in fig. 4 can detect that the liquid level is above the upper surface of the port module, similarly, the liquid level sensor corresponding to the switching module can detect that the liquid level is above the upper surface of the switching module, and the liquid level sensor corresponding to the CPU module can detect that the liquid level is above the upper surface of the CPU module.
The first preset height is not lower than the upper surface of the CPU module, the second preset height is not lower than the upper surface of the exchange module, and the third preset height is not lower than the upper surface of the port module.
In another possible implementation manner, the liquid level sensor corresponding to the port module may detect that the liquid level is between the upper surface and the lower surface of the port module, similarly, the liquid level sensor corresponding to the exchange module may detect that the liquid level is between the upper surface and the lower surface of the exchange module, and the liquid level sensor corresponding to the CPU module may detect that the liquid level is between the upper surface and the lower surface of the CPU module.
I.e. a first preset height between the upper and lower surfaces of the CPU module, a second preset height between the upper and lower surfaces of the switch module, and a third preset height between the upper and lower surfaces of the port module. Although the design can not ensure that the module is completely immersed in the liquid cooling medium, the design can ensure that the module is partially immersed in the liquid cooling medium. A part of the module is soaked in the liquid cooling medium, so that the module can also dissipate heat, but the specific position set by the preset height needs to be determined according to the actual heat dissipation condition of each module in work and the specific heat capacity of the liquid cooling medium.
The above is an explanation of the position where the level sensor is provided, and the following is an explanation of the operating principle of the level sensor.
Fig. 6 shows the working principle of the liquid level sensor. In fig. 6, the Vs pin may provide an operating power supply for the liquid level sensor, the OUTPUT pin is an OUTPUT terminal of the liquid level sensor, the OUTPUT signal may be a TTL level signal, when the liquid level sensor is in the air, the OUTPUT signal is a low level, and when the liquid level sensor is in a liquid cooling medium, the OUTPUT signal is a high level. OUTPUT OUTPUT of liquid level sensor can connect the input of controller, when OUTPUT exports low level, then liquid level sensor is judged in the air to the controller, when OUTPUT exports high level, then liquid level sensor is judged in the liquid cooling medium to the controller. 0V is a ground signal, providing a ground return.
Fig. 7 is a circuit diagram of a power OUTPUT control circuit of an exchanger according to an embodiment of the present invention, where OUTPUT is an OUTPUT of a liquid level sensor corresponding to a CPU module.
When the selector switch is in the position 1, the power control function is not started, at the moment, Q1 is conducted, Q2 is cut off, PSON is always in a high level, and the power supply of the whole machine is normally started and is not controlled by an electric signal output by the liquid level sensor.
When the selector switch is in the position 2, a power supply control function is started, the state of the PSON is controlled by an electric signal output by the liquid level sensor at the moment, when the liquid level sensor is in the air, the output is low level, at the moment, Q1 is cut off, Q2 is conducted, the PSON is kept at the low level, the power supply output of the whole machine is closed, and the whole machine is in a power-off state; when the liquid cooling medium submerges the CPU module, the liquid level sensor is positioned in the liquid cooling medium, the output pin of the liquid level sensor is at a high level, the Q1 is controlled to be switched on, the Q2 is controlled to be switched off, the PSON is changed into a high level, the power supply of the whole computer is powered on at the moment, the CPU module and the BMC module are normally started, and the whole computer software starts to work.
The user selects according to the current service condition of the equipment, when the equipment is used in a debugging state, the heat dissipation of the equipment is ensured to meet the requirement, for example, under the condition of air cooling heat dissipation, the power supply control function can be selected to be turned off, at the moment, the switch is the same as the traditional switch, after the power supply is powered on, the whole machine starts to be powered on, the system is initialized normally, the local power supply control is not performed any more, and the equipment can perform full-performance work after being started.
The user uses in the liquid cooling environment, the optional power control function that opens, at this moment, the power of equipment is electrified, but the complete machine is in the outage state, and power output is 0, and until the liquid level that the hardware circuit monitored the liquid cooling medium satisfies the basic heat dissipation demand of equipment, control power output this moment, CPU module can normally work, and equipment software normal operating, basic control and the remote control of equipment can normally realize.
The following describes the power control method provided in the present application in detail.
And after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to a switching module of the equipment and at least one third power supply corresponding to a port module to be powered on.
And when the liquid level is not lower than the second preset height, at least one third power supply corresponding to the port module of the control equipment is powered on.
In specific implementation, after receiving the second signal output by the liquid level detection device, if receiving a third signal output by the liquid level detection device, controlling all third power supplies of the device to be powered on, where the third signal is sent after the liquid level detection device detects that the liquid level height is not lower than a third preset height, and the third preset height is higher than the second preset height.
Because the liquid level height is not lower than the third preset height, namely the port module is completely or partially immersed in the liquid cooling medium, all power supplies corresponding to the port module can be controlled to be powered on, and all the port modules can work normally.
After receiving the second signal output by the liquid level detection device, if receiving a fourth signal output by the liquid level detection device, the third power supplies of the preset number can be controlled to be powered on, wherein the fourth signal is sent after the liquid level detection device detects that the liquid level height is lower than a third preset height.
Because the liquid level is lower than the third preset height, the port module is not immersed in the liquid cooling medium, and the heat dissipation of the port module is not very large when the port module works, the power supplies corresponding to the preset number of port modules can be controlled to be powered on, so that the powered-on port modules can work normally.
The predetermined number of port modules may be spaced apart from each other. For example, if there are 5 port modules, the power supplies corresponding to the 1 st port module, the 3 rd port module and the 5 th port module may be controlled to be powered on.
In implementation, after a first power supply corresponding to the CPU module is powered on, if a fifth signal and a fourth signal output by the liquid level detection device are received, the second power supply and the third power supply are controlled to be powered off or to maintain a non-power state, where the fifth signal is sent after the liquid level detection device detects that the liquid level is lower than a second preset height;
the first power supply is powered on, the CPU module is completely or partially immersed in the liquid cooling medium, the liquid level detection device outputs a fourth signal, the port module is not immersed in the liquid cooling medium, the liquid level detection device outputs a fifth signal, the exchange module is not immersed in the liquid cooling medium, and therefore in order to enable the equipment to normally dissipate heat, the second power supply and the third power supply need to be controlled to be powered off, or the second power supply and the third power supply need to be maintained in a non-power state.
In implementation, after the first power supply corresponding to the CPU module is powered on, if the fifth signal and the third signal output by the liquid level detection device are received, an alarm operation is performed.
The third signal is sent after the liquid level is not lower than the third preset height, the fifth signal is sent after the liquid level is lower than the second preset height, and the second preset height is lower than the third preset height, so that the situation shows that the liquid level detection device possibly has faults, and the alarm operation can be carried out.
In the power control method provided by the embodiment of the invention, if a sixth signal output by the liquid level detection device is received, the first power supply is controlled to be powered off or to be in a non-power state, wherein the sixth signal is sent after the liquid level detection device detects that the liquid level is lower than a first preset height.
If the liquid level is lower than the first preset height, the CPU module is not immersed in the liquid cooling medium, so that the first power supply is powered off or the first power supply is maintained in a non-electricity state.
The first signal may be at a high level, the second signal may be at a high level, the third signal may be at a high level, the fourth signal may be at a low level, the fifth signal may be at a low level, and the sixth signal may be at a low level.
The liquid level detection device detects the liquid level height, and can detect the liquid level height periodically, for example, once in 10 ms.
Fig. 8 is a flowchart illustrating an overall power control according to an embodiment of the present invention.
S801, starting a power supply control function;
s802, judging whether the output of the liquid level sensor at the CPU module is 1, if so, executing S803, otherwise, ending;
in the embodiment of the present application, 1 indicates a high level, and 0 indicates a low level.
S803, controlling a power supply corresponding to the CPU module to be powered on;
s804, determining the output of the liquid level sensor at the exchange module and the output of the liquid level sensor at the port module, and if the output of the liquid level sensor at the exchange module is high level and the output of the liquid level sensor at the port module is high level, executing S805; if the output of the liquid level sensor at the exchange module is at a high level and the output of the liquid level sensor at the port module is at a low level, executing S806; if the output of the liquid level sensor at the exchange module is at a low level and the output of the liquid level sensor at the port module is at a low level, executing S807; if the output of the liquid level sensor at the exchange module is at a low level and the output of the liquid level sensor at the port module is at a high level, executing S808;
s805, all power supplies corresponding to the switching module and the port module are powered on;
s806, powering on a power supply corresponding to the switching module, and powering on a power supply corresponding to the 1/4 port module;
s807, neither the power supply corresponding to the switching module nor the power supply corresponding to the port module is powered on;
if the power supply corresponding to the switching module and the power supply corresponding to the port module are in a charged state, the power supply corresponding to the switching module and the power supply corresponding to the port module are controlled to be powered off.
And S808, alarming.
In the embodiment of the application, after system software starts and accomplishes, exchange module and port module are still in the outage state, after the equipment self-checking is successful, begin to read and judge the level sensor of exchange module and port module department, the OUTPUT pin of the level sensor of port module and exchange module department can the direct connection to CPU's GIPO (General-purpose input/OUTPUT, the input/OUTPUT of General type) mouth, CPU can directly carry out the liquid level judgement according to the level condition of GPIO, the monitoring value exists the condition in table 2:
TABLE 2
Figure BDA0002728847580000141
All monitoring values of liquid level sensors of the switching module and the port module are 1, which indicates that the whole machine is in a liquid cooling medium, a power module in a system control panel is used for electrifying the switching module and the port module, simultaneously starting to initialize MAC driving, preparing to start data exchange work, and reporting to a remote control console through an MGMT port, so that the liquid level is normal, and the equipment can work normally.
The monitoring value of the liquid level sensor at the exchange module is 1, the monitoring value of the liquid level sensor at the port module is 0, which shows that only the exchange module is positioned in the liquid cooling medium at the moment, the port module has no relevant cooling measures, the system controls the power supply corresponding to the exchange module and the power supply corresponding to the 1/4 port module to be electrified, the electrified port module needs to be dispersed, so that the port module can radiate heat through a printed board and an adjacent module, the problem of overheating is avoided, the system reports the liquid level state of the remote control console, the working performance of the equipment is about one fourth of the full performance, and meanwhile, the alarm for adding the liquid cooling medium can be reported.
The monitoring values of the liquid level sensors at the exchange module and the port module are all 0, which shows that only the CPU is positioned in the liquid cooling medium at the moment, the exchange module and the port module have no heat dissipation measures, the system keeps the power-off operation of the power supply corresponding to the exchange module and the port module, at the moment, only system software runs, the exchange part cannot work, the system reports the equipment state to a remote control console, and the alarm of adding the liquid cooling medium is set.
The monitoring value of the liquid level sensor at the switching module is 0, the monitoring value of the liquid level sensor at the port module is 1, when the equipment is placed in the liquid refrigerator, the position of the switching module is lower than that of the port module, the fault of the liquid level sensor of the switching module and/or the port module can be judged under the condition, at the moment, the system keeps the power-off operation of the switching module and the port module, and simultaneously reports the equipment state of the remote control console to prompt the fault alarm of the liquid level sensor.
Based on the same inventive concept, the embodiment of the application also provides a power supply control device. As shown in fig. 9, the apparatus includes:
the first power control module 901 is configured to control a first power supply corresponding to a CPU module of a device to be powered on after receiving a first signal output by a liquid level detection device, where the first signal is sent after the liquid level detection device detects that a liquid level height of a liquid cooling medium dissipating heat for the device is not lower than a first preset height;
the second power control module 902 is configured to control, after receiving a second signal output by the liquid level detection device, a second power corresponding to the switching module of the apparatus and at least one third power corresponding to the port module of the apparatus to be powered on, where the second signal is sent after the liquid level detection device detects that the liquid level height is not lower than a second preset height, and the second preset height is higher than the first preset height.
Optionally, the second power control module 902 is specifically configured to:
after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to a switching module of the equipment to be powered on;
if a third signal output by the liquid level detection device is received, controlling all third power supplies of the equipment to be powered on, wherein the third signal is sent after the liquid level detection device detects that the liquid level height is not lower than a third preset height;
if a fourth signal output by the liquid level detection device is received, controlling a preset number of third power supplies to be powered on, wherein the fourth signal is sent after the liquid level detection device detects that the liquid level is lower than a third preset height;
wherein the third preset height is higher than the second preset height.
Optionally, the preset number of third power supplies includes third power supplies corresponding to the port modules that are arranged at intervals.
Optionally, after the first power supply corresponding to the CPU module of the first power supply control module control device is powered on, the second power supply control module 902 is further configured to:
if a fifth signal and a fourth signal output by the liquid level detection device are received, controlling the second power supply and the third power supply to be powered off or to maintain a non-power state, wherein the fifth signal is sent after the liquid level detection device detects that the liquid level height is lower than a second preset height; or
And if the fifth signal and the third signal output by the liquid level detection device are received, performing alarm operation.
Optionally, the first power control module 901 is further configured to:
and after receiving a sixth signal output by the liquid level detection device, controlling the first power supply to be powered off or maintain a non-power state, wherein the sixth signal is sent after the liquid level detection device detects that the liquid level is lower than the first preset height.
Based on the same inventive concept, the present application further provides a terminal device 1000, and referring to fig. 10, the terminal device 1000 is configured to implement the methods described in the above various method embodiments, for example, implement the embodiment shown in fig. 1, and the terminal device 1000 may include a memory 1001, a processor 1002, an input unit 1003, and a display panel 1004.
A memory 1001 for storing computer programs executed by the processor 1002. The memory 1001 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal device 1000, and the like. The processor 1002 may be a Central Processing Unit (CPU), a digital processing unit, or the like. The input unit 1003 may be used to obtain a user instruction input by a user. The display panel 1004 is configured to display information input by a user or information provided to the user, and in this embodiment, the display panel 1004 is mainly configured to display interfaces of application programs in the terminal device and control entities displayed in the display interfaces. Alternatively, the display panel 1004 may be configured by a Liquid Crystal Display (LCD) or an organic light-emitting diode (OLED) or the like.
The embodiment of the present application does not limit a specific connection medium among the memory 1001, the processor 1002, the input unit 1003, and the display panel 904. In the embodiment of the present application, the memory 1001, the processor 1002, the input unit 1003, and the display panel 1004 are connected by the bus 1005 in fig. 10, the bus 1005 is shown by a thick line in fig. 10, and the connection manner between the other components is only schematically illustrated and is not limited. Bus 1005 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
Memory 901 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 1001 may also be a non-volatile memory (non-volatile memory) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD), or the memory 901 may be any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 1001 may be a combination of the above memories.
The processor 1002, configured to implement the embodiment shown in fig. 1, includes:
a processor 1002 for invoking a computer program stored in the memory 1001 to perform the embodiment as shown in fig. 1.
The embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions required to be executed by the processor, and includes a program required to be executed by the processor.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for controlling a power supply, the method comprising:
after receiving a first signal output by a liquid level detection device, controlling a first power supply corresponding to a Central Processing Unit (CPU) module of equipment to be powered on, wherein the first signal is sent after the liquid level detection device detects that the liquid level height of a liquid cooling medium for radiating the equipment is not lower than a first preset height;
and after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to an exchange module of the equipment and at least one third power supply corresponding to a port module of the equipment to be powered on, wherein the second signal is sent after the liquid level detection device detects that the liquid level height is not lower than a second preset height, and the second preset height is higher than the first preset height.
2. The method of claim 1, wherein the controlling the second power source corresponding to the switching module of the device and the at least one third power source corresponding to the port module of the device to be powered on after receiving the second signal output by the liquid level detection apparatus comprises:
after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to a switching module of the equipment to be powered on;
if a third signal output by the liquid level detection device is received, controlling all third power supplies of the equipment to be powered on, wherein the third signal is sent after the liquid level detection device detects that the liquid level height is not lower than a third preset height;
if a fourth signal output by the liquid level detection device is received, controlling a preset number of third power supplies to be powered on, wherein the fourth signal is sent after the liquid level detection device detects that the liquid level is lower than a third preset height;
wherein the third preset height is higher than the second preset height.
3. The method of claim 2, wherein the predetermined number of third power supplies comprises third power supplies corresponding to port modules arranged at intervals.
4. The method of claim 2, wherein after the first power supply corresponding to the CPU module of the control device is powered on, the method further comprises:
if a fifth signal and a fourth signal output by the liquid level detection device are received, controlling the second power supply and the third power supply to be powered off or to maintain a non-power state, wherein the fifth signal is sent after the liquid level detection device detects that the liquid level height is lower than a second preset height;
and if the fifth signal and the third signal output by the liquid level detection device are received, performing alarm operation.
5. The method of any of claims 1 to 4, further comprising:
and after receiving a sixth signal output by the liquid level detection device, controlling the first power supply to be powered off or maintain a non-power state, wherein the sixth signal is sent after the liquid level detection device detects that the liquid level is lower than the first preset height.
6. A power control apparatus, comprising:
the first power supply control module is used for controlling a first power supply corresponding to a Central Processing Unit (CPU) module of the equipment to be powered on after receiving a first signal output by the liquid level detection device, wherein the first signal is sent after the liquid level detection device detects that the liquid level height of a liquid cooling medium for heat dissipation of the equipment is not lower than a first preset height;
and the second power supply control module is used for controlling a second power supply corresponding to the exchange module of the equipment and at least one third power supply corresponding to the port module of the equipment to be powered on after receiving a second signal output by the liquid level detection device, wherein the second signal is sent after the liquid level detection device detects that the liquid level height is not lower than a second preset height, and the second preset height is higher than the first preset height.
7. The apparatus of claim 6, wherein the second power control module is specifically configured to:
after receiving a second signal output by the liquid level detection device, controlling a second power supply corresponding to a switching module of the equipment to be powered on;
if a third signal output by the liquid level detection device is received, all parts of the equipment are controlled to be powered on by the third power supply, wherein the third signal is sent after the liquid level detection device detects that the liquid level height is not lower than a third preset height;
if a fourth signal output by the liquid level detection device is received, controlling a preset number of third power supplies to be powered on, wherein the fourth signal is sent after the liquid level detection device detects that the liquid level is lower than a third preset height;
wherein the third preset height is higher than the second preset height.
8. The apparatus of claim 7, wherein after the first power control module powers on the first power corresponding to the CPU module of the device, the second power control module is further configured to:
if a fifth signal and a fourth signal output by the liquid level detection device are received, controlling the second power supply and the third power supply to be powered off or to maintain a non-power state, wherein the fifth signal is sent after the liquid level detection device detects that the liquid level height is lower than the second preset height; or
And if the fifth signal and the third signal output by the liquid level detection device are received, performing alarm operation.
9. A computer-readable medium storing computer-executable instructions for performing the method of any one of claims 1-5.
10. A computing device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
CN202011111854.9A 2020-10-16 2020-10-16 Power supply control method and device Active CN112286333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011111854.9A CN112286333B (en) 2020-10-16 2020-10-16 Power supply control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011111854.9A CN112286333B (en) 2020-10-16 2020-10-16 Power supply control method and device

Publications (2)

Publication Number Publication Date
CN112286333A CN112286333A (en) 2021-01-29
CN112286333B true CN112286333B (en) 2023-03-21

Family

ID=74497317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011111854.9A Active CN112286333B (en) 2020-10-16 2020-10-16 Power supply control method and device

Country Status (1)

Country Link
CN (1) CN112286333B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681152A (en) * 2007-05-24 2010-03-24 罗斯蒙德公司 Industrial field device with reduced power consumption
CN103814491A (en) * 2011-11-04 2014-05-21 科勒公司 Power management system that includes generator controller
CN105487624A (en) * 2014-10-10 2016-04-13 汤金菊 High-density server liquid immersion cooling cabinet
CN108844268A (en) * 2018-06-25 2018-11-20 广州市粤联水产制冷工程有限公司 A kind of fluid level control device of refrigeration system mesolow circulation barrel
CN210222687U (en) * 2019-07-25 2020-03-31 深圳市荣为信科技有限公司 Waterproof dustproof high-efficient anticorrosive power adapter

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6741442B1 (en) * 2000-10-13 2004-05-25 American Power Conversion Corporation Intelligent power distribution system
CN101174168A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司 Cooling structure of electronic device
US7793125B2 (en) * 2007-01-10 2010-09-07 International Business Machines Corporation Method and apparatus for power throttling a processor in an information handling system
US10067555B2 (en) * 2014-02-20 2018-09-04 Advanced Micro Devices, Inc. Control of performance levels of different types of processors via a user interface
CN105589539A (en) * 2016-02-19 2016-05-18 南京华旗资讯科技有限公司 Intelligent control system for PC (Personal Computer) host
CN107741777A (en) * 2017-11-02 2018-02-27 曙光节能技术(北京)股份有限公司 Cooling system and liquid cooled server for server
US10405462B2 (en) * 2018-01-30 2019-09-03 Quanta Computer Inc. Power supply unit having a cold redundant cold detection capability
CN208907826U (en) * 2018-09-19 2019-05-28 轩慧科技股份有限公司 Level monitoring device and system
CN109491237A (en) * 2018-11-20 2019-03-19 郑州云海信息技术有限公司 A kind of fan of the single control storage equipment during booting powers on surely controls method and device
CN209460694U (en) * 2019-01-31 2019-10-01 广东合一新材料研究院有限公司 A kind of liquid cooled server of controllable coolant liquid liquid level
CN110708172A (en) * 2019-09-29 2020-01-17 杭州迪普科技股份有限公司 Chip power-on sequence control method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681152A (en) * 2007-05-24 2010-03-24 罗斯蒙德公司 Industrial field device with reduced power consumption
CN103814491A (en) * 2011-11-04 2014-05-21 科勒公司 Power management system that includes generator controller
CN105487624A (en) * 2014-10-10 2016-04-13 汤金菊 High-density server liquid immersion cooling cabinet
CN108844268A (en) * 2018-06-25 2018-11-20 广州市粤联水产制冷工程有限公司 A kind of fluid level control device of refrigeration system mesolow circulation barrel
CN210222687U (en) * 2019-07-25 2020-03-31 深圳市荣为信科技有限公司 Waterproof dustproof high-efficient anticorrosive power adapter

Also Published As

Publication number Publication date
CN112286333A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
US8656003B2 (en) Method for controlling rack system using RMC to determine type of node based on FRU's message when status of chassis is changed
US20120136502A1 (en) Fan speed control system and fan speed reading method thereof
US20140277807A1 (en) System and method of rack management
US10856438B2 (en) Fan control circuit and fan control system
CN101689070A (en) Dynamicizer control for high efficiency manipulation
CN108469890B (en) Intelligent power supply management for high standby power system
US9170618B2 (en) Power management circuit, server, and power management method thereof
CN208607606U (en) A kind of server fan radiating system
CN106371540B (en) System power management method, chip and electronic equipment
CN111142644A (en) Hard disk operation control method and device and related components
CN104660440A (en) Blade server management system and control method thereof
CN105425932A (en) Management method and system for whole cabinet sever power source
CN115686935A (en) Data backup method, computer device and storage medium
CN112286333B (en) Power supply control method and device
CN113835508A (en) Power consumption management method and device of server, BMC and storage medium
CN111984471B (en) Cabinet power BMC redundancy management system and method
CN111190468B (en) OCP network card heat dissipation device and method
CN109708265B (en) Starting method of fan in outdoor unit and outdoor unit
CN111794996A (en) Fan control circuit, method and server
CN114217942B (en) Power management in blade enclosure
US20140327384A1 (en) Electronic device and control method
CN115795568A (en) Liquid cooling server liquid leakage protection method, device, equipment and storage medium
CN115407861A (en) Target equipment power supply method, system and device and computer readable storage medium
CN104680087A (en) Blade server hot plugging control circuit and device
CN117608676B (en) Network card control method and device of server, storage medium and electronic equipment

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