CN113190398B - Method, system and medium for detecting state of counter flow valve - Google Patents
Method, system and medium for detecting state of counter flow valve Download PDFInfo
- Publication number
- CN113190398B CN113190398B CN202110327984.4A CN202110327984A CN113190398B CN 113190398 B CN113190398 B CN 113190398B CN 202110327984 A CN202110327984 A CN 202110327984A CN 113190398 B CN113190398 B CN 113190398B
- Authority
- CN
- China
- Prior art keywords
- flow valve
- reverse flow
- state
- bmc
- fan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000001514 detection method Methods 0.000 claims abstract description 23
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012423 maintenance Methods 0.000 abstract description 2
- 238000010992 reflux Methods 0.000 abstract 3
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000001816 cooling Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000017525 heat dissipation Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及散热控制领域,特别是涉及一种检测逆流阀状态的方法、系统及介质。The invention relates to the field of heat dissipation control, in particular to a method, system and medium for detecting the state of a reverse flow valve.
背景技术Background technique
目前随着技术的不断进步,对于服务器的需求越来越强烈,由于服务器负责存储数据以及数据运算,需要24小时不间断地进行开机处理数据,而且对于目前AI(ArtificialIntelligence)人工智能与大数据运算分析来说,往往需要非常大的功耗,相应的服务器中风扇的运转也需要长时间的开启,并且进行长时间不间断的散热。At present, with the continuous advancement of technology, the demand for servers is becoming stronger and stronger. Since the server is responsible for data storage and data calculation, it needs to be powered on 24 hours a day to process data, and for the current AI (Artificial Intelligence) artificial intelligence and big data computing In terms of analysis, very large power consumption is often required, and the operation of the corresponding fan in the server also needs to be turned on for a long time, and long-term uninterrupted heat dissipation.
目前服务器中都会有逆流阀设计,当出现单一风扇停止运转或者出现问题发生故障时,可以让风流可以较集中于中间区域排风,这样会有较佳的散热效果;但是往往都没有额外检测逆流阀的装置,当风扇出现其他状况或者有异物卡住时,无法检测逆流阀的状态,从而做出针对性的动作,导致让散热用的风流从这个风扇口被导引出来,对服务器中散热产生较大的影响,严重时可能会导致服务器因为温度过高而宕机。At present, there will be a reverse flow valve design in the server. When a single fan stops running or a problem occurs, the air flow can be concentrated in the middle area for exhaust air, which will have a better cooling effect; however, there is often no additional detection of reverse flow. The valve device, when the fan has other conditions or a foreign object is stuck, it cannot detect the status of the reverse flow valve, so as to make targeted actions, so that the air flow for heat dissipation is guided from the fan port to dissipate heat in the server. It has a large impact, and in severe cases, it may cause the server to go down due to excessive temperature.
发明内容SUMMARY OF THE INVENTION
本发明主要解决是当风扇出现状况或者有异物卡住时,无法检测逆流阀的状态,从而对服务器产生影响的问题。The present invention mainly solves the problem that the state of the reverse flow valve cannot be detected when the fan is in a condition or a foreign object is stuck, thereby affecting the server.
为解决上述技术问题,本发明采用的一个技术方案是:提供一种检测逆流阀状态的方法,应用于服务器,所述方法包括以下步骤:In order to solve the above technical problems, a technical solution adopted in the present invention is to provide a method for detecting the state of a reverse flow valve, which is applied to a server, and the method includes the following steps:
硬件拓扑连接,在风扇的逆流阀上增设电磁复位装置,将所述BMC分别与所述电磁复位装置、所述风扇以及所述逆流阀连接;Hardware topology connection, an electromagnetic reset device is added on the reverse flow valve of the fan, and the BMC is respectively connected to the electromagnetic reset device, the fan and the reverse flow valve;
BMC检测风扇的转速信号,并根据所述转速信号控制所述电磁复位装置;BMC detects the rotational speed signal of the fan, and controls the electromagnetic reset device according to the rotational speed signal;
当所述服务器供电所述风扇且所述BMC检测到所述转速信号时,检测所述逆流阀状态,根据检测结果判断是否产生第一故障,根据判断结果将所述第一故障上报至所述服务器;When the server supplies power to the fan and the BMC detects the rotational speed signal, it detects the state of the reverse flow valve, determines whether a first fault occurs according to the detection result, and reports the first fault to the server;
当服务器中电源断电时,检测所述逆流阀的状态,根据检测结果判断是否产生第二故障,根据判断结果将所述第二故障上报至所述服务器。When the power supply in the server is powered off, the state of the reverse flow valve is detected, whether a second fault occurs according to the detection result, and the second fault is reported to the server according to the judgment result.
优选的,所述将所述BMC分别与所述电磁复位装置、所述风扇以及所述逆流阀连接的步骤进一步包括:将所述BMC中GPIO引脚分别与所述逆流阀一端以及高电位连接,将所述逆流阀另一端接地。Preferably, the step of connecting the BMC to the electromagnetic reset device, the fan and the reverse flow valve, respectively, further comprises: connecting the GPIO pins in the BMC to one end of the reverse flow valve and a high potential, respectively. , and ground the other end of the reverse flow valve.
优选的,所述检测所述逆流阀的状态的步骤进一步包括:Preferably, the step of detecting the state of the reverse flow valve further comprises:
进行检测所述GPIO引脚的状态,若检测到所述GPIO引脚的状态为第一电平,则所述逆流阀为闭合状态;Detecting the state of the GPIO pin, if it is detected that the state of the GPIO pin is the first level, the countercurrent valve is in a closed state;
若检测到所述GPIO引脚的状态为第二电平,则所述逆流阀为开启状态。If it is detected that the state of the GPIO pin is the second level, the reverse flow valve is in an open state.
优选的,所述根据检测结果判断是否产生第一故障,根据判断结果将第一故障上报至所述服务器的步骤进一步包括:Preferably, the step of judging whether the first fault occurs according to the detection result, and reporting the first fault to the server according to the judgment result further includes:
若所述逆流阀为闭合状态,则所述风扇或所述逆流阀发生故障,通过BMC记录所述风扇或所述逆流阀发生故障的信息并发送至所述服务器;If the reverse flow valve is in a closed state, the fan or the reverse flow valve fails, and the BMC records the failure information of the fan or the reverse flow valve and sends it to the server;
若所述逆流阀为开启状态,则所述逆流阀未产生故障。If the reverse flow valve is in an open state, the reverse flow valve is not faulty.
优选的,所述根据检测结果判断是否产生第二故障的步骤进一步包括:Preferably, the step of judging whether the second fault occurs according to the detection result further includes:
所述BMC通过服务器中备用电源进行工作,检测所述逆流阀的状态;The BMC works through the backup power supply in the server, and detects the state of the reverse flow valve;
当所述逆流阀为开启状态时,则所述逆流阀出现故障,BMC记录所述逆流阀出现故障的信息并发送至所述服务器;When the reverse flow valve is in the open state, the reverse flow valve is faulty, and the BMC records the fault information of the reverse flow valve and sends it to the server;
当所述逆流阀为关闭状态时,所述逆流阀未发生故障。When the reverse flow valve is in a closed state, the reverse flow valve does not malfunction.
优选的,所述根据所述转速信号控制所述电磁复位装置的步骤进一步包括:Preferably, the step of controlling the electromagnetic reset device according to the rotational speed signal further includes:
当所述风扇运行时,所述风扇发出转速信号,当所述BMC未检测到所述转速信号时,所述BMC发送控制信号至所述电磁复位装置,控制所述电磁复位装置复位,使所述逆流阀闭合。When the fan is running, the fan sends out a rotational speed signal, and when the BMC does not detect the rotational speed signal, the BMC sends a control signal to the electromagnetic reset device to control the electromagnetic reset device to reset, so that all The reverse flow valve is closed.
优选的,当所述服务器供电所述风扇且所述BMC未检测到所述转速信号时,则所述风扇出现故障,所述BMC记录所述风扇出现故障的信息并发送至所述服务器。Preferably, when the server supplies power to the fan and the BMC does not detect the rotational speed signal, the fan is faulty, and the BMC records the information that the fan is faulty and sends it to the server.
本发明还提供一种检测逆流阀状态的系统,包括:BMC、风扇和高电位模块;The present invention also provides a system for detecting the state of a reverse flow valve, comprising: a BMC, a fan and a high potential module;
所述风扇上设有逆流阀,所述逆流阀上设有电磁复位装置,所述电磁复位装置用于控制所述逆流阀的开启与闭合;所述BMC与所述风扇连接,用于检测所述风扇的转速信号;The fan is provided with a reverse flow valve, and an electromagnetic reset device is provided on the reverse flow valve, and the electromagnetic reset device is used to control the opening and closing of the reverse flow valve; the BMC is connected to the fan and is used to detect all the speed signal of the fan;
所述BMC与所述电磁复位装置连接,用于发送控制信号至所述电磁复位装置;the BMC is connected to the electromagnetic reset device for sending a control signal to the electromagnetic reset device;
所述逆流阀一端通过第一电阻与所述BMC中GPIO引脚连接,所述逆流阀另一端接地;One end of the reverse flow valve is connected to the GPIO pin in the BMC through a first resistor, and the other end of the reverse flow valve is grounded;
所述GPIO引脚通过第二电阻与所述高电位模块连接。The GPIO pin is connected to the high potential module through a second resistor.
作为本发明所述的一种检测逆流阀状态的系统的进一步改进,所述BMC中设有检测控制模块、判断模块和故障上报模块;As a further improvement of the system for detecting the state of the reverse flow valve according to the present invention, the BMC is provided with a detection control module, a judgment module and a fault reporting module;
所述检测控制模块用于检测所述GPIO引脚的状态,根据所述GPIO引脚的状态判断所述逆流阀的状态;The detection control module is used to detect the state of the GPIO pin, and judge the state of the reverse flow valve according to the state of the GPIO pin;
所述检测控制模块用于检测所述转速信号,根据所述转速信号控制所述电磁复位装置;The detection control module is used to detect the rotational speed signal, and control the electromagnetic reset device according to the rotational speed signal;
所述判断模块用于当服务器供电所述风扇且所述BMC检测到所述转速信号时或当服务器中电源关闭时,根据所述逆流阀的状态判断是否产生故障;The judging module is configured to judge whether a fault occurs according to the state of the reverse flow valve when the server supplies power to the fan and the BMC detects the rotational speed signal or when the power supply in the server is turned off;
所述故障上报模块用于将产生的故障上报至所述服务器。The fault reporting module is configured to report the generated fault to the server.
本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时,实现所述的一种检测逆流阀状态的方法的步骤。The present invention also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for detecting the state of a reverse flow valve are implemented.
本发明的有益效果是:The beneficial effects of the present invention are:
1、本发明所述的一种检测逆流阀状态的方法,可以实现通过风扇转速信号进行控制电磁复位装置,从而使逆流阀进行闭合,避免其他风扇的风流该风扇的风扇孔中流出,增强了服务器的散热功能,并且针对不同的情况,进行检测逆流阀的状态,从而根据逆流阀的状态判断是否产生故障,进而判断其产生的原因,并尽早进行维护动作,更快维护正常运作,提高服务器系统的稳定性。1. The method for detecting the state of the reverse flow valve according to the present invention can realize the control of the electromagnetic reset device through the fan speed signal, so that the reverse flow valve is closed, and the wind flow of other fans is prevented from flowing out of the fan hole of the fan, which enhances the performance of the fan. The cooling function of the server, and according to different situations, the status of the reverse flow valve is detected, so as to determine whether there is a fault according to the status of the reverse flow valve, and then determine the cause of the failure, and carry out maintenance actions as soon as possible to maintain normal operation faster and improve the server. system stability.
2、本发明所述的一种检测逆流阀状态的系统,可以实现通过BMC的GPIO引脚以及高电位模块进行检测逆流阀的状态,并且还可根据不同的情况进行调整,提升了系统的可操作性,并且当发生故障时,通过故障上报模块及时的进行反馈使服务器中故障能够尽快进行处理,提升了服务器的工作效率。2. The system for detecting the state of the reverse flow valve according to the present invention can realize the detection of the state of the reverse flow valve through the GPIO pin of the BMC and the high-potential module, and can also be adjusted according to different situations, which improves the system's feasibility. In addition, when a fault occurs, the fault reporting module provides timely feedback, so that the fault in the server can be handled as soon as possible, which improves the work efficiency of the server.
3、本发明所述的一种计算机可读存储介质,可以实现通过判断引脚的高低电平进而通过高低电平进行绑定相应的逆流阀的状态,并且通过风扇的转速信号自动的控制逆流阀,当风扇出现故障时能够提高风扇的散热效率。3. The computer-readable storage medium described in the present invention can realize the state of the corresponding reverse flow valve by judging the high and low levels of the pins, and then automatically control the reverse flow through the speed signal of the fan. The valve can improve the cooling efficiency of the fan when the fan fails.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
图1是本发明实施例1所述的一种检测逆流阀状态的方法流程示意图;FIG. 1 is a schematic flowchart of a method for detecting the state of a reverse flow valve according to Embodiment 1 of the present invention;
图2是本发明实施例2所述的一种检测逆流阀状态的系统架构示意图;2 is a schematic diagram of a system architecture for detecting the state of a reverse flow valve according to Embodiment 2 of the present invention;
图3是本发明实施例2所述的一种检测逆流阀状态的系统中逆流阀中电磁复位装置和BMC连接架构示意图;3 is a schematic diagram of the connection structure between the electromagnetic reset device and the BMC in the reverse flow valve in a system for detecting the state of the reverse flow valve according to Embodiment 2 of the present invention;
图4是本发明实施例2所述的一种检测逆流阀状态的系统中BMC的架构示意图。FIG. 4 is a schematic structural diagram of a BMC in a system for detecting a state of a reverse flow valve according to Embodiment 2 of the present invention.
具体实施方式Detailed ways
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明的描述中,需要说明的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "first" and "second" are only used for description purposes, and cannot be understood as indicating or implying relative importance.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“电磁复位装置”、“转速信号”、“第一故障”、“第二故障”、“高电位”、“闭合状态”、“开启状态”、“备用电源”、“第一电阻”、“第二电阻”、“检测控制模块”、“判断模块”、“故障上报模块”应做广义理解。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that, unless otherwise expressly specified and limited, the terms "electromagnetic reset device", "speed signal", "first fault", "second fault", "high potential", "closed state", "open state", "backup power supply", "first resistance", "second resistance", "detection control module", "judgment module" and "fault reporting module" should be understood in a broad sense. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific situations.
需要说明的是,在本发明的描述中It should be noted that in the description of the present invention
BMC(Baseboard Management Controller)为基板管理控制器,它可以在机器未开机的状态下,对机器进行固件升级、查看机器设备、等一些操作。BMC (Baseboard Management Controller) is a baseboard management controller, which can upgrade the firmware of the machine, view the machine equipment, and other operations when the machine is not turned on.
GPIO(General-purpose input/output)通用型之输入输出的简称。GPIO (General-purpose input/output) is the abbreviation for general-purpose input and output.
standby电压:最早在ATX提出,在系统关闭后,保留一个+5V的等待电压,用于电源及系统的唤醒服务。以前的PSII、AT电源都是采用机械式开关来开机关机,从ATX开始(包括SFX)不再使用机械式开关来开机关机,而是通过键盘或按钮给主板一个开机关机信号,由主板通知电源关闭或打开。Standby voltage: First proposed in ATX, after the system is shut down, a +5V standby voltage is reserved for power supply and system wake-up service. The previous PSII and AT power supplies used mechanical switches to power on and off. Starting from ATX (including SFX), mechanical switches are no longer used to power on and off, but a power on and off signal is given to the motherboard through the keyboard or button, and the motherboard notifies the power supply. closed or open.
FANTACH信号为风扇转速信号。The FANTACH signal is the fan speed signal.
Ohm为欧姆。Ohm is ohm.
第一电平为低电平,第二电平为高电平。The first level is a low level, and the second level is a high level.
实施例1Example 1
本发明实施例提供一种检测逆流阀状态的方法,请参阅图1,包括以下步骤:An embodiment of the present invention provides a method for detecting the state of a reverse flow valve, please refer to FIG. 1 , including the following steps:
S100,进行硬件拓扑连接,在服务器的逆流阀上增设电磁复位装置,BMC分别与电磁复位装置以及服务器中风扇连接,将BMC中GPIO引脚与逆流阀一侧连接以及高电位连接,将逆流阀另一侧接地;S100, perform hardware topology connection, add an electromagnetic reset device to the reverse flow valve of the server, connect the BMC to the electromagnetic reset device and the fan in the server respectively, connect the GPIO pin in the BMC to the reverse flow valve side and high potential connection, connect the reverse flow valve The other side is grounded;
需要说明的,高电位在这里相当于一个电源,在服务器断电时还会继续产生高电平,不受服务器中电源控制。It should be noted that the high potential is equivalent to a power supply here, and it will continue to generate a high level when the server is powered off, which is not controlled by the power supply in the server.
S200,当服务器中风扇正常运行时,风扇出FANTACH信号,当BMC未检测到FANTACH信号时,则服务器中风扇发生异常故障或者无法运转或者正常停止工作,BMC发送控制信号至电磁复位装置,使电磁复位装置发生复位,电磁复位装置发生复位使逆流阀进行自动闭合,避免其他风扇的风流该风扇的风扇孔中流出;S200, when the fan in the server runs normally, the fan outputs a FANTACH signal; when the BMC does not detect the FANTACH signal, the fan in the server fails abnormally or fails to operate or stops working normally, and the BMC sends a control signal to the electromagnetic reset device to make the electromagnetic The reset device resets, and the electromagnetic reset device resets to automatically close the reverse flow valve to prevent the airflow of other fans from flowing out of the fan hole of the fan;
而当BMC检测到FANTACH信号时;BMC不发送控制信号,使电磁复位装置停止工作,此时逆流阀为打开状态;When the BMC detects the FANTACH signal; the BMC does not send a control signal to stop the electromagnetic reset device from working, and the reverse flow valve is in an open state at this time;
S300,当服务器正常给风扇供电并且BMC检测到FANTACH时,进行检测逆流阀的状态,并根据检测结果判断是否产生第一故障,若产生第一故障则将第一故障上报至服务器;S300, when the server normally supplies power to the fan and the BMC detects the FANTACH, the state of the reverse flow valve is detected, and according to the detection result, it is judged whether the first fault occurs, and if the first fault occurs, the first fault is reported to the server;
具体步骤为:The specific steps are:
进行监测BMC的GPIO引脚的电平状态,若监测GPIO的引脚为低电平,此时逆流阀为闭合状态,并且风扇上的铜片卡闩会互相连通;Monitor the level state of the GPIO pin of the BMC. If the monitor GPIO pin is low, the reverse flow valve is closed at this time, and the copper latches on the fan will be connected to each other;
则此时出现风扇故障异常或者逆流阀出现故障;通过BMC进行记录此时的故障并且上报至服务器;At this time, there is an abnormal fan failure or a failure of the reverse flow valve; the failure at this time is recorded through the BMC and reported to the server;
若检测GPIO的引脚为高电平,则逆流阀为开启状态,此时为正常状态,BMC检测到FANTACH信号;此时逆流阀未发生故障;If the pin that detects the GPIO is at a high level, the reverse flow valve is in an open state, which is a normal state at this time, and the BMC detects the FANTACH signal; at this time, the reverse flow valve is not faulty;
当服务器正常供电给风扇并且BMC未检测到FANTACH,则风扇出现故障;将风扇出现故障的信息上报至服务器;When the server supplies power to the fan normally and the BMC does not detect FANTACH, the fan is faulty; report the fan fault information to the server;
S400,当服务器中所有的直流电源关闭时,检测逆流阀的状态,并根据检测的逆流阀的状态,根据检测结果判断是否产生第二故障,若产生故障则将第二故障上报至服务器;S400, when all the DC power supplies in the server are turned off, detect the state of the reverse flow valve, and according to the detected state of the reverse flow valve, determine whether a second fault occurs according to the detection result, and if a fault occurs, report the second fault to the server;
具体步骤为:The specific steps are:
需要说明的是,在这里面直流电源关闭有两种情况,第一种情况为使用者需要根据需求关闭所有主要的直流电源时,此时因为服务器不进行任何处理业务,所以风扇不需要运转,但是服务器中的stand by电源仍然工作;It should be noted that there are two situations in which the DC power supply is turned off. The first situation is when the user needs to turn off all the main DC power supplies according to their needs. At this time, because the server does not perform any processing business, the fan does not need to run. But the stand by power supply in the server still works;
Stand by电源为备用电源。Stand by power supply is a backup power supply.
第二种情况为最开始服务器进行交流电上电之前,服务器中的电源模组还未将交流电展转换为直流电源时,只有stand by电源在进行开启;The second situation is that before the server is powered on with AC power, when the power module in the server has not converted the AC power supply to DC power supply, only the stand by power supply is turned on;
并且BMC使用的是stand by电源,所以能够在直流电源关闭时进行检测逆流阀的闭合状态是否正常;And BMC uses a stand by power supply, so it can detect whether the closed state of the reverse flow valve is normal when the DC power supply is turned off;
且此时风扇未运行,未发出FANTACH信号,则此时BMC发出控制信号应该使逆流阀为关闭状态,通过BMC的GPIO引脚进行监测,当检测到GPIO的引脚为高电平时,则逆流阀为开启状态,所以逆流阀的位置存在异物卡住,或者逆流阀出现故障,则此时记录BMC故障并将故障发送至服务器;And the fan is not running and the FANTACH signal is not sent at this time, then the BMC sends a control signal to make the reverse flow valve closed, and monitor it through the GPIO pin of the BMC. When the GPIO pin is detected to be at a high level, the reverse flow The valve is in the open state, so there is foreign matter stuck at the position of the reverse flow valve, or the reverse flow valve is faulty, then record the BMC fault and send the fault to the server;
当检测到GPIO的引脚为低电平时,则逆流阀正常为关闭状态不存在故障。When it is detected that the pin of the GPIO is at a low level, the reverse flow valve is normally closed and there is no fault.
需要说明的是,如果将接地位置与高电位互换也可实现进行检测逆流阀的状态,但如果互换位置之后,则GPIO引脚高电平对应逆流阀状态为关闭状态,但逆流阀上会带电,此时不符合常规服务器上的物理逻辑,所以GPIO引脚为高电平对应逆流阀开启状态,GPIO引脚为低电平对应逆流阀关闭状态。It should be noted that if the ground position and the high potential are exchanged, the state of the reverse flow valve can also be detected, but if the positions are exchanged, the high level of the GPIO pin corresponds to the closed state of the reverse flow valve, but the reverse flow valve is in the closed state. It will be charged, which does not conform to the physical logic on the conventional server, so the GPIO pin is high corresponding to the open state of the reverse flow valve, and the GPIO pin is low corresponding to the closed state of the reverse flow valve.
实施例2Example 2
本发明实施例还提供一种检测逆流阀状态的系统,请参阅图2和图3,包括:BMC、风扇和高电位模块;An embodiment of the present invention further provides a system for detecting the state of a reverse flow valve, please refer to FIG. 2 and FIG. 3 , including: a BMC, a fan, and a high-potential module;
风扇上设有逆流阀,所述逆流阀上设有电磁复位装置,用于控制所述逆流阀的开启与闭合;所述BMC分别与风扇连接以及所述电磁复位装置连接,用于检测FANTACH信号以及发送控制信号;There is a reverse flow valve on the fan, and an electromagnetic reset device is arranged on the reverse flow valve to control the opening and closing of the reverse flow valve; the BMC is respectively connected with the fan and the electromagnetic reset device for detecting the FANTACH signal and sending control signals;
BMC用于检测风扇的FANTACH信号以及发送控制信号至电磁复位装置;BMC is used to detect the FANTACH signal of the fan and send the control signal to the electromagnetic reset device;
逆流阀一端通过第一电阻与BMC中的GPIO引脚连接,逆流阀另一端接地;One end of the reverse flow valve is connected to the GPIO pin in the BMC through the first resistor, and the other end of the reverse flow valve is grounded;
BMC中的GPIO引脚通过第二电阻与高电位模块连接;The GPIO pin in the BMC is connected to the high potential module through the second resistor;
请参阅图4,BMC中设有检测控制模块、判断模块和故障上报模块;Please refer to Figure 4, the BMC is provided with a detection control module, a judgment module and a fault reporting module;
检测控制模块用于检测所述GPIO引脚的状态,根据所述GPIO引脚的状态判断所述逆流阀的状态;The detection control module is used to detect the state of the GPIO pin, and judge the state of the reverse flow valve according to the state of the GPIO pin;
用于检测所述转速信号,根据转速信号控制所述电磁复位装置;for detecting the rotational speed signal, and controlling the electromagnetic reset device according to the rotational speed signal;
判断模块用于当所述服务器供电所述风扇且所述BMC检测到所述转速信号时或当服务器中电源关闭时,根据所述逆流阀的状态判断是否产生故障;The judgment module is configured to judge whether a fault occurs according to the state of the reverse flow valve when the server supplies power to the fan and the BMC detects the rotational speed signal or when the power supply in the server is turned off;
故障上报模块用于将产生的故障上报至服务器。The fault reporting module is used to report the generated fault to the server.
需要说明的是,BMC的GPIO会串联一个第一电阻和第二电阻,第二电阻为上拉电阻,一般阻值在1Kohm至10Kohm之间,根据不同的高电位模块的电压进行调整阻值,并且高电位模块的电压可以根据不同的需求随时进行更改,串联第一电阻是避免BMC的GPIO引脚直接接地,减少该引脚损坏的风险,一般阻值在0ohm至1Kohm之间,也可以进行随时调整。It should be noted that the GPIO of BMC will be connected in series with a first resistor and a second resistor. The second resistor is a pull-up resistor. Generally, the resistance value is between 1Kohm and 10Kohm. The resistance value is adjusted according to the voltage of different high-potential modules. And the voltage of the high-potential module can be changed at any time according to different needs. The first resistor in series is to avoid the direct grounding of the GPIO pin of the BMC and reduce the risk of damage to the pin. Generally, the resistance value is between 0ohm and 1Kohm. Adjust anytime.
实施例3Example 3
本发明还提供了一种计算机可读存储介质,计算机可读存储介质存储有被处理器执行时执行如上一种检测逆流阀状态的方法的计算机程序,实现所述的一种检测逆流阀状态的方法的步骤。The present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program that executes the above method for detecting a state of a reverse flow valve when executed by a processor, and implements the method for detecting the state of a reverse flow valve. steps of the method.
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关硬件来完成,监控软件的方法的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,程序的存储介质可为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。上述计算机程序的实施例,可以达到与之对应的前述任意方法实施例相同或者相类似的效果。Finally, it should be noted that those of ordinary skill in the art can understand that all or part of the process in the method of the above embodiment can be implemented by instructing the relevant hardware through a computer program, and the program of the method of monitoring software can be stored in a computer readable In the storage medium, when the program is executed, it may include the processes of the foregoing method embodiments. Wherein, the storage medium of the program may be a magnetic disk, an optical disk, a read only memory (ROM) or a random access memory (RAM) or the like. The above computer program embodiments can achieve the same or similar effects as any of the foregoing method embodiments corresponding thereto.
此外,根据本发明实施例公开的方法还可以被实现为由处理器执行的计算机程序,该计算机程序可以存储在计算机可读存储介质中。在该计算机程序被处理器执行时,执行本发明实施例公开的方法中限定的上述功能。In addition, the methods disclosed according to the embodiments of the present invention may also be implemented as a computer program executed by a processor, and the computer program may be stored in a computer-readable storage medium. When the computer program is executed by the processor, the above-mentioned functions defined in the methods disclosed in the embodiments of the present invention are executed.
此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储介质实现。In addition, the above-mentioned method steps and system units can also be implemented by using a controller and a computer-readable storage medium for storing a computer program that enables the controller to implement the functions of the above-mentioned steps or units.
此外,应该明白的是,本文的计算机可读存储介质(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。In addition, it should be understood that computer-readable storage media (eg, memory) herein can be volatile memory or non-volatile memory, or can include both volatile and non-volatile memory.
本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现的功能,但是这种实现决定不应被解释为导致脱离本发明实施例公开的范围。Those skilled in the art will also appreciate that the various exemplary logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends on the specific application and design constraints imposed on the overall system. Those skilled in the art may implement the functions in various ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。The various exemplary logical blocks, modules, and circuits described in connection with the disclosure herein can be implemented or executed using the following components designed to perform the functions herein: general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components.
上述本发明实施例公开实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned embodiments of the present invention disclose the serial numbers of the embodiments only for description, and do not represent the advantages and disadvantages of the embodiments.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above descriptions are only the embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied to other related technologies Fields are similarly included in the scope of patent protection of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110327984.4A CN113190398B (en) | 2021-03-26 | 2021-03-26 | Method, system and medium for detecting state of counter flow valve |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110327984.4A CN113190398B (en) | 2021-03-26 | 2021-03-26 | Method, system and medium for detecting state of counter flow valve |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113190398A CN113190398A (en) | 2021-07-30 |
CN113190398B true CN113190398B (en) | 2022-09-20 |
Family
ID=76974003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110327984.4A Active CN113190398B (en) | 2021-03-26 | 2021-03-26 | Method, system and medium for detecting state of counter flow valve |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113190398B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598329A (en) * | 2015-02-12 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Automatic BMC (baseboard management controller) fault solution method based on RMC (rack server management center) management |
CN112253814A (en) * | 2020-09-18 | 2021-01-22 | 华帝股份有限公司 | Electric check valve for range hood and control method thereof |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN207514371U (en) * | 2017-12-06 | 2018-06-19 | 谢杰锋 | A kind of plumbing equipment with check-valves failure reset |
CN108181097B (en) * | 2017-12-08 | 2020-07-10 | 杭州九阳小家电有限公司 | Range hood and check valve detection device thereof |
JP2020030016A (en) * | 2018-08-24 | 2020-02-27 | 株式会社ノーリツ | Combustion device |
CN109763990A (en) * | 2019-01-15 | 2019-05-17 | 郑州云海信息技术有限公司 | A method and device for controlling a fan of a server |
CN110686287B (en) * | 2019-09-04 | 2021-04-16 | 宁波方太厨具有限公司 | Check valve state detection method, check valve state detection system and range hood |
CN111677081B (en) * | 2020-06-17 | 2021-07-20 | 中国建筑设计研究院有限公司 | Fault alarm non-return drainage system and non-return drainage method |
-
2021
- 2021-03-26 CN CN202110327984.4A patent/CN113190398B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598329A (en) * | 2015-02-12 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Automatic BMC (baseboard management controller) fault solution method based on RMC (rack server management center) management |
CN112253814A (en) * | 2020-09-18 | 2021-01-22 | 华帝股份有限公司 | Electric check valve for range hood and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN113190398A (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110147155A (en) | BMC-based server power supply cold redundancy control method, device and BMC | |
CN106844162A (en) | Storage server cabinet management system and method based on BMC | |
CN103197748A (en) | Server cabinet system and power management method thereof | |
CN114153693B (en) | A server fan status monitoring method, device and storage medium | |
TWI721411B (en) | Sensing and compensation system and method of compensating temperature effects | |
CN107122035A (en) | A kind of method for managing power supply, apparatus and system | |
CN110442225B (en) | Power distribution board, modular chassis system and operation method thereof | |
CN113901530B (en) | Method, device and equipment for early warning protection of defensive property of hard disk and readable medium | |
WO2013046248A1 (en) | Storage system and its control method | |
WO2024174687A1 (en) | Liquid leakage detection circuit, system and method, electronic device and storage medium | |
CN111722690B (en) | Server power module monitoring method and device, server and storage medium | |
CN115686935A (en) | Data backup method, computer equipment and storage medium | |
CN108799176A (en) | fan control system and method | |
CN113190398B (en) | Method, system and medium for detecting state of counter flow valve | |
TW201530304A (en) | Method for alarming abnormal status | |
CN110985426A (en) | Fan control system and method for PCIE Switch product | |
CN109917900B (en) | System power management method and computer system | |
CN114326990B (en) | Fan abnormality handling method, device, electronic equipment and storage medium | |
CN111309132A (en) | Method for multi-gear power supply redundancy of server | |
CN106762771B (en) | Fan control system, cooling system and control method for fan | |
JP5174093B2 (en) | Electronic device and control program thereof | |
CN113254304B (en) | Method for determining shutdown type of server, server and storage medium | |
CN115080347A (en) | A server liquid leakage protection system and method | |
CN112000190A (en) | A power supply control circuit, a server hard disk backplane and its power supply circuit | |
CN113075989B (en) | Power supply protection system and method |
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 |