Disclosure of Invention
The application aims to provide a liquid leakage detection and alarm system, method, device and equipment, so that the problem of resource shortage caused by the fact that more GPIOs need to be occupied when multiple signals exist in the related technology is avoided, more point positions can be compatible, the response is quicker, and the safety of a liquid cooling server is higher. The specific scheme is as follows:
the application provides a weeping detects and alarm system, includes:
a leakage detection plate;
a server motherboard, comprising: the system comprises a power supply chip, a BMC connected with the leakage detection plate through an I3C bus, and a CPLD connected with the BMC;
the BMC is used for acquiring feedback signals of a plurality of detection points of the leakage detection plate in real time, and generating a shutdown instruction when the feedback signals comprise leakage detection signals and leakage alarm signals; and sending the shutdown instruction to the CPLD, so that the CPLD obtains a shutdown time sequence control signal according to the shutdown instruction and controls the power supply chip to be closed.
Preferably, the leakage detection plate includes:
the I/O Expander is used for sending a leakage alarm signal and a leakage detection signal to the BMC through an I3C bus when the port receives low level trigger, wherein the leakage detection signal comprises a leakage detection port number, and the leakage detection port number corresponds to a leakage position.
Preferably, the CPLD connected to the leakage detection board through the I3C bus is further configured to obtain feedback signals of multiple detection points of the leakage detection board in real time if the BMC is not started, generate the shutdown instruction when the feedback signals include the leakage detection signal and the leakage alarm signal, and obtain the shutdown timing control signal according to the shutdown instruction to control the power chip to be turned off.
Preferably, the CPLD is further configured to control the BMC to take over the I3C bus if the BMC is successfully started.
Preferably, the server motherboard is a two-way motherboard, a four-way motherboard or an eight-way motherboard.
Preferably, the leakage detection plate is connected with the server mainboard in a manner that a connector is butted with a buckling plate.
The application provides a liquid leakage detection and alarm method, which comprises the following steps:
acquiring a feedback signal of the leakage detection plate in real time through an I3C bus;
when the feedback signal comprises a leakage detection signal and a leakage alarm signal, generating a shutdown instruction;
and sending the shutdown instruction to the CPLD, so that the CPLD obtains a shutdown time sequence control signal according to the shutdown instruction and controls the power supply chip to be closed.
Preferably, when the feedback signal includes a leakage detection signal and a leakage alarm signal, the generating of the shutdown instruction includes:
when the feedback signal comprises the leakage detection signal and the leakage alarm signal, repeatedly acquiring the feedback signal for a preset number of times from the leakage detection plate;
and if the feedback signals comprise the leakage detection signal and the leakage alarm signal, executing to generate the shutdown instruction.
The application provides a weeping detects and alarm device includes:
the feedback signal acquisition module is used for acquiring a feedback signal of the leakage detection plate in real time through an I3C bus;
the shutdown instruction generating module is used for generating a shutdown instruction when the feedback signal comprises a liquid leakage detection signal and a liquid leakage alarm signal;
and the issuing module is used for issuing the shutdown instruction to the CPLD so that the CPLD obtains a shutdown time sequence control signal according to the shutdown instruction and controls the power supply chip to be closed.
The application provides a weeping detects and alarm device includes:
a memory for storing a computer program;
and the processor is used for realizing the steps of the liquid leakage detection and alarm method when the computer program is executed.
The application provides a weeping detects and alarm system includes: a leakage detection plate; a server motherboard, comprising: the system comprises a power supply chip, a BMC connected with a leakage detection plate through an I3C bus, and a CPLD connected with the BMC; the BMC is used for acquiring feedback signals of a plurality of detection points of the leakage detection plate in real time, and generating a shutdown instruction when the feedback signals comprise leakage detection signals and leakage alarm signals; and sending the shutdown instruction to the CPLD so that the CPLD obtains a shutdown time sequence control signal according to the shutdown instruction and controls the power supply chip to be shut down.
It can be seen that the BMC of the present application is connected with the leakage detection plate through the I3C bus, and can simultaneously transmit the leakage detection signals and the leakage alarm signals of the multiple detection points to the BMC through the I3C bus, thereby avoiding the occurrence of resource shortage caused by the need of occupying more GPIOs when multiple signals exist in the related art, and being compatible with more point locations and faster responding, so that the security of the liquid cooling server is higher.
The application also provides a method, a device and equipment for detecting and alarming leakage, which have the beneficial effects and are not repeated herein.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
In the related art, when a plurality of leakage detection channels exist, a plurality of GPIOs are needed to realize the leakage detection. However, the GPIO resources of the CPLD in the server are tense, and sometimes, more leak detection points cannot be supported, which may cause that some leak detection points cannot be covered, resulting in liquid leakage, and affecting the heat dissipation of the system and the safety of the system.
Based on the above technical problem, this embodiment provides a weeping detects and alarm system, has avoided the resource shortage's problem that needs to occupy more GPIO when there are many signals to take place in the correlation technique, can be compatible more points and faster response to make the security of liquid cooling server higher, please refer to fig. 3 specifically, fig. 3 is a structural schematic diagram of a weeping detects and alarm system that this application embodiment provided, specifically includes:
a leakage detection plate 100;
server motherboard 200, comprising: a power supply chip 210, a BMC220 connected to the leakage detection board 100 via an I3C bus, and a CPLD230 connected to the BMC 220;
the BMC is used for acquiring feedback signals of a plurality of detection points of the leakage detection plate 100 in real time, and generating a shutdown instruction when the feedback signals comprise leakage detection signals and leakage alarm signals; and issuing the shutdown instruction to the CPLD230, so that the CPLD230 obtains a shutdown timing control signal according to the shutdown instruction, and controls the power chip 210 to be turned off.
Based on the above technical solution, the BMC220 of this embodiment is connected to the leakage detection board through the I3C bus, and can simultaneously transmit the leakage detection signals and the leakage alarm signals of the multiple detection points to the BMC220 through the I3C bus, thereby avoiding the occurrence of resource shortage caused by the need of occupying more GPIOs when multiple signals exist in the related art, and being compatible with more points and faster responding, so that the security of the liquid cooling server is higher.
The leakage detection plate 100 will be further described. The leakage detection plate 100 may include a comparison module. In one implementation, the comparison module is a comparator, wherein the comparator is a device that compares an analog voltage signal with a reference voltage; the two paths of input of the comparator are analog signals, the output is binary signals 0 or 1, and when the difference value of the input voltage is increased or decreased and the positive sign and the negative sign are unchanged, the output is kept constant; the comparator is used to obtain a leakage detection signal.
In another implementation manner, please refer to fig. 4, where fig. 4 is a schematic structural diagram of another liquid leakage detecting and alarming system provided in the embodiment of the present application, and the liquid leakage detecting plate 100 includes: the I/O Expander110 is used for sending a leakage alarm signal and a leakage detection signal to the BMC220 through the I3C bus when the port receives low level trigger, wherein the leakage detection signal comprises a leakage detection port number, and the leakage detection port number corresponds to a leakage position.
Wherein, the comparison module is specifically I/O Expander110, and the reliability is higher. The I/O Expander is a chip for converting I3C into GPIO, and is mainly used for collecting changes of a leakage detection port, the normal port is in a high-level state, and when leakage occurs at the leakage detection end, the level of the port is changed into a low-level state, so that leakage alarm is triggered.
The port number of the rear end of the I/O Expander is designed according to actual needs, so that more detection points are configured according to actual liquid cooling detection points. When the port number receives low level trigger (leakage is detected), the I/O Expander sends a leakage alarm signal and a leakage detection signal (which can comprise a leakage detection port number) to the BMC220 for leakage alarm and leakage position feedback at the first time through the I3C.
Further explanation is provided for server motherboard 200, wherein server motherboard 200 refers to a single-wide or full-width motherboard in a server, and may include two, four, or even eight paths.
The server board 200 includes: power chip 210, BMC220, CPLD 230.
The BMC220 included in the server motherboard 200 refers to an asped manufacturer chip, and generally includes AST2500/AST2600, and preferably, the BMC220 is an AST 2600-series chip. The CPLD230 included in the server motherboard 200 refers to a programmable machine, and preferably, the CPLD230 is a chip of a Lattice manufacturer. The power supply chip 210 is a power supply chip for supplying various kinds of electricity required by the motherboard in the server, and has various levels, which is not specified.
The BMC220 is connected with the leakage detection plate 100 through an I3C bus, and the leakage detection method is realized through an I3C bus, so that GPIO (general purpose input/output) resources are reduced, the leakage response speed is increased, and the safety and the stability of the system are enhanced. Specifically, the leakage detection plate 100 and the server motherboard 200 are connected in a cable manner, or the leakage detection plate 100 and the server motherboard 200 are connected in a manner of butting a connector with a buckle plate.
The I3C bus is a bus supporting multiple hosts, and when both BMC220 and CPLD230 are normally started, BMC220 is the main host, that is, BMC220 may fixedly poll the condition of the leakage detection board 100 to obtain a feedback signal in real time. Compared with the condition that the I2C needs an additional warning signal, the I3C bus does not need the additional warning signal, the warning signal is integrated in the protocol of the bus, and the priority is higher for triggering; the I3C bus can support faster response speed and only requires 2 signals, which can respond faster than the previous I2C bus. And I3C supports multiple hosts, i.e., allows both BMC220 and CPLD230 access and control of the weep board 100 on the same I3C bus.
When there is no leakage, the feedback signal includes a leakage detection signal; when leakage exists, the feedback signal comprises a leakage detection signal and a leakage alarm signal; the liquid leakage detection signal at least comprises a signal whether liquid leakage exists or not, and certainly can also comprise information such as a liquid leakage position and detection time, and the liquid leakage alarm signal comprises warning information and a liquid leakage position. When the leakage detection plate 100 is abnormal, namely leakage is detected, a leakage detection signal and a leakage alarm signal are sent to the BMC220 in the I3C bus. Furthermore, the priority of the liquid leakage alarm signal in the I3C bus is higher, and the transmission is earlier and better than normal data; so that the server can give an alarm in time for processing when liquid leakage occurs, and the safety of the server is ensured.
Specifically, when the BMC220 receives the leakage detection signal and the leakage alarm signal, a shutdown instruction is generated. The CPLD230 receives a shutdown instruction of the BMC220 to trigger a shutdown timing control signal to the power chip 210 to perform shutdown and other actions; the safety of the server is ensured.
Further, in order to avoid the situation that the liquid leakage risk cannot be detected, in this embodiment, the CPLD230 may further implement a redundant backup function, specifically, the CPLD230 connected to the liquid leakage detection board 100 through the I3C bus is further configured to obtain feedback signals of multiple detection points of the liquid leakage detection board 100 in real time if the BMC220 is not started, generate a shutdown instruction when the feedback signals include the liquid leakage detection signal and the liquid leakage alarm signal, and obtain a shutdown timing control signal according to the shutdown instruction to control the power chip 210 to be turned off.
Specifically, CPLD230 mainly plays a role of redundant backup, generally speaking, the startup time of CPLD230 is shorter than that of BMC220, as long as CPLD230 is powered on, the startup time of CPLD230 is within milliseconds, and the startup time of BMC220 is longer than that controlled by the code configuration in BMC220 FW, which takes ten seconds or even twenty seconds. Therefore, the CPLD230 is also a redundant function in the scheme, namely, when the system is powered on and the BMC220 is not started, the CPLD230 detects the leakage condition and triggers the shutdown according to the leakage alarm signal and the internal design logic of the CPLD230, so that the problem that the leakage risk can not be detected within a period of time when the BMC220 is started is avoided.
Further, CPLD230 is also configured to control BMC220 to take over I3C bus if BMC220 successfully boots. After the BMC220 is started, the I3C bus is taken over for processing such as leakage detection.
Based on the foregoing embodiments, the present embodiment provides a method for detecting and alarming leakage, specifically referring to fig. 5, where fig. 5 is a flowchart of the method for detecting and alarming leakage provided by the present embodiment, and the method includes:
s201, acquiring a feedback signal of the leakage detection plate in real time through an I3C bus;
s202, when the feedback signal comprises a liquid leakage detection signal and a liquid leakage alarm signal, generating a shutdown instruction;
and S203, issuing a shutdown instruction to the CPLD so that the CPLD can obtain a shutdown time sequence control signal according to the shutdown instruction and control the power supply chip to be shut down.
Preferably, when the feedback signal includes a leakage detection signal and a leakage alarm signal, the shutdown instruction is generated, and the shutdown instruction includes:
when the feedback signals comprise a leakage detection signal and a leakage alarm signal, repeatedly acquiring feedback signals of preset times from the leakage detection plate;
and if the feedback signals comprise the leakage detection signal and the leakage alarm signal, executing to generate a shutdown instruction.
Based on the above technical solution, the BMC220 of this embodiment is connected to the leakage detection board through the I3C bus, and can simultaneously transmit the leakage detection signals and the leakage alarm signals of the multiple detection points to the BMC220 through the I3C bus, thereby avoiding the occurrence of resource shortage caused by the need of occupying more GPIOs when multiple signals exist in the related art, and being compatible with more points and faster responding, so that the security of the liquid cooling server is higher.
In the following, a device for detecting and alarming leakage provided by the embodiment of the present application is introduced, the device described below and the method described above may be referred to each other and set in the BMC, referring to fig. 6, where fig. 6 is a schematic structural diagram of a device for detecting and alarming leakage provided by the embodiment of the present application, and includes:
the feedback signal acquisition module 610 is used for acquiring a feedback signal of the leakage detection plate in real time through an I3C bus;
a shutdown instruction generating module 620, configured to generate a shutdown instruction when the feedback signal includes a liquid leakage detection signal and a liquid leakage alarm signal;
the issuing module 630 is configured to issue a shutdown instruction to the CPLD, so that the CPLD obtains a shutdown timing control signal according to the shutdown instruction and controls the power chip to be turned off.
Preferably, the shutdown instruction generating module 620 includes:
when the feedback signals comprise a leakage detection signal and a leakage alarm signal, repeatedly acquiring feedback signals of preset times from the leakage detection plate;
and if the feedback signals comprise the leakage detection signal and the leakage alarm signal, executing to generate a shutdown instruction.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
In the following, a description is given of the liquid leakage detection and alarm device provided in the embodiments of the present application, and the liquid leakage detection and alarm device described below and the liquid leakage detection and alarm method described above may be referred to correspondingly.
This embodiment provides a weeping detects and alarm device, includes:
a memory for storing a computer program;
a processor for implementing the steps of the above method when executing the computer program.
Since the embodiment of the liquid leakage detecting and alarming apparatus corresponds to the embodiment of the liquid leakage detecting and alarming method, reference is made to the description of the embodiment of the liquid leakage detecting and alarming apparatus, and details are not repeated here.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above details a system, method, apparatus and device for detecting and alarming leakage provided by the present application. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.