CN113377628B - Server UID indicator lamp control device and control method - Google Patents

Server UID indicator lamp control device and control method Download PDF

Info

Publication number
CN113377628B
CN113377628B CN202110685816.2A CN202110685816A CN113377628B CN 113377628 B CN113377628 B CN 113377628B CN 202110685816 A CN202110685816 A CN 202110685816A CN 113377628 B CN113377628 B CN 113377628B
Authority
CN
China
Prior art keywords
signal
auxiliary
output port
input
indicator light
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
CN202110685816.2A
Other languages
Chinese (zh)
Other versions
CN113377628A (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.)
Dongguan Huabei Electronic Technology Co Ltd
Original Assignee
Dongguan Huabei Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Huabei Electronic Technology Co Ltd filed Critical Dongguan Huabei Electronic Technology Co Ltd
Priority to CN202110685816.2A priority Critical patent/CN113377628B/en
Publication of CN113377628A publication Critical patent/CN113377628A/en
Application granted granted Critical
Publication of CN113377628B publication Critical patent/CN113377628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a control device of a server UID indicator light, which comprises a substrate management controller and a complex programmable logic device, wherein an interface with a pull-up potential or a pull-down potential of the substrate management controller is used as a first auxiliary input/output port, the first input/output port and the first auxiliary input/output port of the substrate management controller are respectively connected with the complex programmable logic device, when the complex programmable logic device detects that an auxiliary signal output by the first auxiliary input/output port is an effective signal, the potential change of the first input/output port is further detected, an indicator light is controlled to be turned on or turned off after a preset time, and when the complex programmable logic device detects that the auxiliary signal output by the first auxiliary input/output port is an invalid signal, the state of the indicator light is latched, so that the problem of accidental turn-off of the indicator light caused by restarting or other faults is solved. The invention also discloses a control method of the server UID indicator light.

Description

Server UID indicator lamp control device and control method
Technical Field
The invention relates to the technical field of servers, in particular to a device and a method for controlling a server UID indicator Light (Unit Identification Light).
Background
With the development of high-performance computer technology, the number of components of a server is increasing, and fault monitoring and diagnosis of the server components are more and more urgent, and a Baseboard Management Controller (BMC) of the server is responsible for monitoring the state of each component of the server. The UID indicator Light (Unit Identification Light) is generally driven in two ways in the current motherboard design:
1. the state of the UID indicator light is changed through the external button, and the action state of the external physical button is obtained through a Complex Programming Logic Device (CPLD), so that the state of the UID indicator light is reversed.
2. The status of the UID indicator light is controlled by a Baseboard Management Controller (BMC), and the mode mainly comprises two driving modes:
(1) A Baseboard Management Controller (BMC) issues an instruction through serial communication (IIC/SGPIO), and a CPLD analyzes a corresponding serial data stream so as to control the state of a UID indicator light;
(2) The Baseboard Management Controller (BMC) controls the status of the UID indicator light through a single I/O, as shown in fig. 1, the Baseboard Management Controller (BMC) drives the UID indicator light using two signal sources. One is to adopt the level state as the signal source which drives the UID pilot lamp, when BMC sends out high level H, CPLD turns on the UID pilot lamp, when BMC sends out low level L, CPLD turns off the UID pilot lamp; when the BMC sends out a high level to turn on the UID indicator light, if the BMC is restarted or has other faults due to some reasons, the level of the I/O is pulled down, so that the UID indicator light is turned off, and the UID indicator light marked by the BMC cannot continue to indicate, so that a client cannot quickly identify the UID indicator light. And the other is to adopt the I/O edge state as a signal source for driving the UID indicator lamp, turn on the UID indicator lamp by the CPLD after the I/O rising edge is sent out by the BMC, and turn off the UID indicator lamp by the CPLD after the I/O falling edge is sent out by the BMC. If the BMC is restarted or has other faults due to some reasons, the level of the I/O is pulled down, so that an I/O falling edge occurs, the CPLD detects the situation, the UID indicator lamp is turned off, the UID indicator lamp marked by the BMC cannot continue to indicate, and a client cannot quickly identify the BMC.
As can be seen from the above, in the above conventional method (2), there is a problem that the UID indicator lamp cannot be continuously kept in the lit state when the BMC is restarted or otherwise fails, and thus the device previously marked cannot be quickly identified due to the extinction of the UID indicator lamp, which is likely to cause confusion.
Therefore, it is necessary to provide a control device and a control method capable of keeping the status of the UID indicating lamp unchanged during the BMC restart or other faults, so as to solve the above problems.
Disclosure of Invention
The invention aims to provide a control device which can keep the state of a UID indicator light unchanged during the restarting or other faults of BMC.
Another object of the present invention is to provide a control method that can keep the status of the UID indicator light unchanged during a BMC restart or other failure.
In order to achieve the purpose, the technical scheme of the invention is as follows: the server UID indicator lamp control device comprises a substrate management controller and a complex programmable logic device, wherein the substrate management controller is provided with a first input-output port which is connected with the complex programmable logic device, and a port with a pull-up or pull-down potential of the substrate management controller is used as a first auxiliary input-output port and is connected to the complex programmable logic device; the complex programmable logic device is also connected with an indicator light, when the complex programmable logic device detects that the auxiliary signal output by the first auxiliary input/output port is an effective signal, the complex programmable logic device continues to detect the potential change of the first input/output port and outputs a driving signal to control the indicator light to be turned on or turned off after the potential change of the first input/output port is in a preset time period; when the complex programmable logic device detects that the auxiliary signal output by the first auxiliary input/output port is an invalid signal, the state of the indicator light is latched.
Preferably, when the potential of the first input/output port is pulled high, a high level is output after a preset time period to control the indicator light to be turned on, and when the potential of the first input/output port is pulled low, a low level is output after the preset time period to control the indicator light to be turned off.
Preferably, the complex programmable logic device is further connected to an external button, and when detecting the signal source, the complex programmable logic device determines that the signal source is a trigger signal of the external button or a control signal of the baseboard management controller; and when the control signal is the control signal of the substrate management controller, further judging whether the auxiliary signal output by the first auxiliary input/output port is effective.
Preferably, the high level of the first auxiliary input/output port is an active signal of the auxiliary signal, and the potential of the first auxiliary input/output port changes from the high level to the low level and is an inactive signal of the auxiliary signal.
Preferably, the complex programmable logic device has a second input/output port, a second auxiliary input/output port, and a third input/output port, the second input/output port is connected to the first input/output port of the bmc for receiving the control signal output by the bmc, the second auxiliary input/output port is connected to the first auxiliary input/output port for receiving the auxiliary signal, and the third input/output port is connected to the indicator light for outputting the driving signal.
Compared with the prior art, according to the server UID indicator lamp control device, a port with a pull-up or pull-down potential of a Baseboard Management Controller (BMC) is added to be a first auxiliary input/output port, the first auxiliary input/output port is connected to a Complex Programmable Logic Device (CPLD), the CPLD takes the level of the first auxiliary input/output port as a basis of logic control through logic setting, specifically, on the premise that an auxiliary signal AUX _ IO of the first auxiliary input/output port is an effective signal, if the CPLD detects the potential change of the first input/output port of the BMC, the indicator lamp is controlled to be turned on or turned off after a preset time length, and when the CPLD detects that the auxiliary signal AUX _ IO of the first auxiliary input/output port is an invalid signal, the state of the indicator lamp is latched, and the state of the indicator lamp is released until the next BMC, and the indicator lamp is restarted. Namely, the CPLD uses the level of the first auxiliary input/output port of the BMC as the premise of logic control and performs hysteresis processing on the edge signal of the first input/output port of the BMC, so that the problem of accidental turn-off of the indicator lamp caused by restarting of the BMC or other faults is solved, the state of the indicator lamp is controlled and maintained, and quick identification is ensured; and no extra PIN is needed to be added, and the serial communication of the BMC and the CPLD is not needed to be repeatedly developed, so that the development time of the BMC and the CPLD is shortened, and the performance of the product is improved.
Correspondingly, the invention also provides a server UID indicator light control method, which is suitable for a UID indicator light control device with a substrate management controller and a complex programmable logic device, wherein the complex programmable logic device is respectively connected with an indicator light and a first input/output port of the substrate management controller, and a port with a pull-up or pull-down potential of the substrate management controller is used as a first auxiliary input/output port to be connected to the complex programmable logic device, and the control method comprises the following steps:
the complex programmable logic device detects the auxiliary signal output by the first auxiliary input/output port and judges whether the auxiliary signal is a valid signal;
if the auxiliary signal output by the first auxiliary input/output port is an effective signal, the complex programmable logic device detects the potential change of the first input/output port, and outputs a driving signal to control the indicator light to be turned on or turned off after a preset time according to the potential change of the first input/output port;
and if the auxiliary signal output by the first auxiliary input/output port is an invalid signal, the complex programmable logic device latches the state of the indicator light.
Preferably, the "outputting a driving signal to control the indicator light to turn on or off after a preset time period according to the potential change of the first input/output port" includes:
when the potential of the first input/output port is pulled high, outputting a high level to control the indicator light to be turned on after a preset time;
when the potential of the first input/output port is pulled down, a low level is output after a preset time length to control the indicator light to be turned off.
Preferably, before the detecting the auxiliary signal output by the first auxiliary input/output port and determining whether the auxiliary signal is a valid signal, the method further comprises:
the complex programmable logic device detects a signal source and judges that the signal source is a trigger signal of an external button or a control signal of the substrate management controller, when the signal source is the trigger signal of the external button, the complex programmable logic device directly controls the indicator light to carry out state reversal, and when the signal source is the control signal of the substrate management controller, the complex programmable logic device further judges whether an auxiliary signal output by the first auxiliary input/output port is effective.
Preferably, the high level of the first auxiliary input/output port is an active signal of the auxiliary signal, and the potential of the first auxiliary input/output port changes from the high level to the low level and is an inactive signal of the auxiliary signal.
Preferably, when the baseboard management controller is restarted or has other faults, the potential of the first auxiliary input/output port changes from a high level to a low level.
Compared with the prior art, the server UID indicator light control method provided by the invention has the advantages that the level of the first auxiliary input/output port of the BMC is detected firstly and is used as the basis of logic control, specifically, whether the level (namely an auxiliary signal AUX _ IO) of the first auxiliary input/output port is an effective signal is detected firstly, if the level of the first auxiliary input/output port is the effective signal, the CPLD further detects the potential of the first input/output port of the BMC, and the indicator light is controlled to be turned on or turned off after the preset time according to the potential change of the first input/output port; on the contrary, if the level of the first auxiliary input/output port (i.e. the auxiliary signal AUX _ IO) is an invalid signal, the status of the indicator lamp is latched. According to the control method, the level of the first auxiliary input/output port of the BMC is used as the premise of logic control, and the edge signal of the first input/output port is subjected to hysteresis processing, so that the problem that an indicator lamp is accidentally extinguished due to restarting or other faults of a substrate management controller is solved, the state of the indicator lamp is controlled and maintained, and quick identification is guaranteed; and no extra PIN is needed to be added, and the serial communication of the BMC and the CPLD is not needed to be repeatedly developed, so that the development time of the BMC and the CPLD is shortened, and the performance of the product is improved.
Drawings
Fig. 1 is a schematic diagram of a prior art connection structure between a bmc and a plc.
Fig. 2 is a schematic structural diagram of a server UID indicator lamp control device according to the present invention.
Fig. 3 is a logic timing diagram of a normal case of the server UID indicating lamp control device of the present invention.
Fig. 4 is a logic timing diagram of a controller for indicating lamps by a server UID in the case of a restart or other failure of BMC according to the present invention.
Fig. 5 is a logic flow diagram of a server UID indicator light control method of the present invention.
Detailed Description
Embodiments of the present invention will now be described with reference to the drawings, wherein like reference numerals represent like elements throughout. The server UID indicator Light control device and the control method provided by the invention are suitable for a mode of controlling the state of a UID indicator Light (UID) through a Baseboard Management Controller (BMC for short), and certainly, the UID indicator Light can be controlled only through the BMC, and the UID indicator Light can be controlled jointly or independently through other modes. The following describes in detail a specific structure, a logic control principle, and a control method of the server UID indicator light control apparatus according to the present invention with reference to the accompanying drawings.
Referring to fig. 2 to 3, in an embodiment of the device for controlling a server UID indicator lamp according to the present invention, the device includes a Baseboard Management Controller (BMC) and a Complex Programmable Logic Device (CPLD). Wherein the Baseboard Management Controller (BMC) has a first input-output port outputting a CONTROL signal UID _ CONTROL, i.e., a first I/O port of the BMC shown in FIG. 2; in addition, the present invention further adds a port of the BMC having a pull-up or pull-down potential as a first auxiliary input/output port, that is, a first auxiliary I/O port of the BMC shown in fig. 2, which is not required to be specially defined, and which may be any one of I/O ports of the BMC having a pull-up or pull-down potential, and the first auxiliary I/O port is connected to the CPLD, and an auxiliary signal AUX _ IO output by the first auxiliary I/O port is used as a basis for logic control (see details later).
Correspondingly, the CPLD has a second input-output port, a third input-output port, and a second auxiliary input-output port. The second input/output port is a second I/O port of the CPLD shown in fig. 2, and the second input/output port (the second I/O port) is connected to the first input/output port (the first I/O port) of the BMC, and is configured to receive a CONTROL signal UID _ CONTROL sent by the BMC; a second auxiliary input/output port, namely a second auxiliary I/O port of the CPLD shown in fig. 2, the second auxiliary I/O port is connected to the first auxiliary I/O port, and the first auxiliary I/O port and the second auxiliary I/O port are both grounded, the first auxiliary I/O port and the second auxiliary I/O port are further connected with an external resistor, and the second auxiliary I/O port is used for receiving an auxiliary signal AUX _ IO output by the BMC; the third input/output port is a third I/O port of the CPLD shown in fig. 2, and is connected to the indicator light LED1, and the third input/output port is configured to output a driving signal UID _ LED _ DRIVE to control a state of the indicator light LED 1.
In addition, the BMC further has a register for storing state information of the indicator light LED1, and the CPLD monitors the state of the indicator light LED1, and sends update information to the BMC when the state of the indicator light LED1 changes, so that the register in the BMC updates the state information of the indicator light LED1 synchronously, so as to monitor the state change of the indicator light LED1 through the BMC.
With continued reference to fig. 2, in a more preferred embodiment of the server UID indicator light control device according to the present invention, the CPLD is also connected to an external button, so that, in addition to controlling the status of the indicator light LED1 by the BMC, the status control of the indicator light LED1 can of course also be realized by the external button. The logic control between the BMC and the external button will be described in detail later.
As shown in fig. 1 to 4, compared with the conventional control device, the server UID indicator lamp control device according to the present invention structurally further introduces an I/O port with a pull-up or pull-down potential of the BMC as a first auxiliary I/O port, and mainly solves the problem of accidental turn-off of the indicator lamp LED1 caused by BMC restart or other faults by performing logic processing of a CPLD/FPGA (Field Programmable Gate Array) and performing hysteresis processing on edge change of the BMC control PIN. Therefore, the server UID indicator light control device does not need to add extra PIN, does not need to repeatedly develop serial communication of BMC and CPLD, only supplements the existing single I/O control scheme, can realize control and maintenance of the indicator light LED1, and reduces development time of BMC and CPLD.
In a preferred embodiment of the present invention, the ONCTL pin of the Baseboard Management Controller (BMC) is used as the first auxiliary I/O port, but not limited thereto.
The following describes a specific logic control method of the server UID indicating lamp control device according to the present invention with reference to fig. 2 to 4. In this embodiment, since the BMC and the external button are provided at the same time, when the CPLD is logically set, the operation priority of the external button and the operation priority of the BMC are set to be the same level, that is, which of the external button or the BMC is operated first, the state of the indicator light LED1 changes according to which instruction. Specifically, when the external button is operated, the CPLD detects that the signal source is a trigger signal of the external button, and at this time, the indicator light LED1 is directly controlled to perform state reversal, and if the CPLD detects that the signal source is a control signal sent by the BMC, the following logic control is performed:
the CPLD detects auxiliary signals AUX _ IO of the first auxiliary I/O port and the second auxiliary I/O port, and the auxiliary signals AUX _ IO are used as the basis of logic control. Specifically, when the CPLD detects the auxiliary signal AUX _ IO, it first determines whether the auxiliary signal AUX _ IO is an active signal or an inactive signal, in an embodiment of the present invention, the auxiliary signal AUX _ IO is a level signal of the first auxiliary I/O port and the second auxiliary I/O port, and specifically, a high level of the first auxiliary I/O port and the second auxiliary I/O port is used as an active signal, and when a restart or other failure occurs in the BMC, a level of the first auxiliary I/O port is pulled down to a fixed low level from a high level, so in this embodiment, the low level of the first auxiliary I/O port is set as an inactive signal, and a state of the low level is determined by a pull-down resistor configured outside the BMC, and a specific setting of the pull-down resistor is a conventional setting in the art and will not be described in detail.
In another embodiment of the present invention, it is needless to say that the low levels of the first auxiliary I/O port and the second auxiliary I/O port may be set as the active signal of the auxiliary signal AUX _ IO, and the high levels of the first auxiliary I/O port and the second auxiliary I/O port may be set as the auxiliary signal AUX _ IO accordingly.
Furthermore, on the premise that the auxiliary signals AUX _ IO of the first auxiliary I/O port and the second auxiliary I/O port are valid signals, the CPLD further detects CONTROL signals UID _ CONTROL of the first input/output port (the first I/O port) and the second input/output port (the second I/O port), and generates corresponding driving signals UID _ LED _ DRIVE according to the CONTROL signals UID _ CONTROL to CONTROL the state of the indicator light LED 1. In this embodiment, the CONTROL signal UID _ CONTROL is a level signal of a first input/output port (first I/O port) of the BMC and a second input/output port (second I/O port) of the CPLD, and the driving signal UID _ LED _ DRIVE is a level signal of a third input/output port (third I/O port) of the CPLD.
More specifically, the CPLD detects and determines whether the potentials of the first I/O port and the second I/O port are pulled high or low, and performs hysteresis processing on the rising edge and the falling edge of the first I/O port and the second I/O port. Specifically, when the potentials of the first I/O port and the second I/O port are pulled high, a high level is output after a preset time period to control the indicator light LED1 to turn on, that is, a high level is output through the third I/O port to control the indicator light LED1 to turn on; correspondingly, when the potentials of the first I/O port and the second I/O port are pulled low, a low level is output after a preset time period to control the indicator light LED1 to turn off, that is, a low level is output through the third I/O port to control the indicator light LED1 to turn off. And meanwhile, the CPLD monitors the state of the indicator light LED1 and sends the state change to the BMC for storage.
On the contrary, when the CPLD detects that the auxiliary signals AUX _ IO of the first auxiliary I/O port and the second auxiliary I/O port are invalid signals, that is, when the levels of the first auxiliary I/O port and the second auxiliary I/O port change from a high level to a fixed low level, the state of the indicator light LED1 is latched, and the state of the indicator light LED1 is sent to the BMC for storage. In this state, the state of the latched indicator light LED1 is released until the BMC is restarted, so that the state of the indicator light LED1 marked by the BMC is saved, and the condition that the indicator light LED1 is turned off due to the BMC restart or other faults is avoided.
In an embodiment of the present invention, the preset time period is set to 15ms, but is not limited thereto, and the preset time period can be flexibly set according to needs.
In other embodiments of the server UID indicator light control device according to the present invention, no external button may be provided, and in such embodiments, the state of the indicator light LED1 is controlled only by the level signals of the first auxiliary I/O port and the first I/O port of the BMC, and as described above, the description will not be repeated.
Next, a specific logic control method and process of the server UID indicating lamp control device according to the present invention will be described with reference to fig. 2 to 4.
As shown in fig. 3, the logic timing diagram of the control indicator light LED1 under normal BMC conditions is shown. Specifically, referring to fig. 2, when the BMC is started, the level of the first auxiliary I/O port of the BMC is rapidly raised to a high level, and when the CPLD detects that the levels of the first auxiliary I/O port and the second auxiliary I/O port are high levels, that is, when the auxiliary signal AUX _ IO shown in fig. 3 is a high level, it is determined that the auxiliary signal AUX _ IO of the first auxiliary I/O port and the second auxiliary I/O port is an active signal; meanwhile, the potential change of the first I/O port of the BMC is used as the CONTROL signal UID _ CONTROL, and a corresponding driving signal UID _ LED _ DRIVE is output according to the CONTROL signal UID _ CONTROL to CONTROL the indicator light LED1 to change the state. Specifically, when the electric potential of the first I/O port of the BMC is pulled high to send out a rising edge, after the CPLD grabs the rising edge, the CPLD outputs a high level through its third I/O port after a preset time period, that is, sends out a driving signal UID _ LED _ DRIVE to control the indicator light LED1 to turn on, for example, after grabbing the rising edge, the high level is delayed by 15ms and then output through the third I/O port, as shown in fig. 3. Under the condition that the BMC keeps normal operation, the levels of the first auxiliary I/O port and the second auxiliary I/O port are kept unchanged, in this process, when the potential of the first I/O port of the BMC is pulled low and a falling edge is sent out, after the CPLD catches the falling edge, the CPLD outputs a low level through the third I/O port thereof after a preset time period, for example, the CPLD delays for 15ms after catching the falling edge and outputs a low level through the third I/O port, as shown in fig. 3, that is, sends out a driving signal UID _ LED _ DRIVE to control the indicator light LED1 to be turned off. In the process, the CPLD detects the on or off state of the indicator light LED1 and sends the corresponding state change to the BMC for storage.
Referring to fig. 4, a logic timing diagram for controlling indicator light LED1 when a restart or other fault occurs at the BMC is shown. Referring to fig. 2 and 4, when the BMC is started, the state control of the indicator LED1 is the same as that shown in fig. 3, specifically, the level of the first auxiliary I/O port is rapidly raised to a high level, when the CPLD detects that the levels of the first auxiliary I/O port and the second auxiliary I/O port are high levels, that is, the auxiliary signal AUX _ IO shown in fig. 3 is an active signal, at the same time, the potential of the first I/O port of the BMC is pulled up to send a rising edge, and after the CPLD catches the rising edge, the CPLD outputs a high level through the third I/O port thereof after a preset time duration, that is, sends the driving signal UID _ LED _ DRIVE to control the indicator LED1 to be turned on, for example, the high level is output through the third I/O port after a delay of 15ms after catching the rising edge.
If the BMC is restarted or has other faults, the potential of the first auxiliary I/O port is pulled down to a fixed low level from a high level by a pull-down resistor arranged outside, specifically, as shown in fig. 4, when the CPLD detects the low level of the first auxiliary I/O port, it is determined that the auxiliary signal AUX _ IO is invalid, the state of the indicator light LED1 is immediately latched, and the state of the indicator light LED1 is sent to the BMC for storage, and the state of the indicator light LED1 is not released until the BMC is restarted next time. Like this, when BMC appears restarting or other trouble, can not trigger the state of pilot lamp LED1 by mistake, make pilot lamp LED1 be in always by the state of being lighted, guarantee before can continue to instruct through the pilot lamp LED1 of BMC sign, make the user can discern corresponding machine fast.
In summary, according to the server UID indicator light control device of the present invention, a port of the Baseboard Management Controller (BMC) having a pull-up or pull-down potential is added as a first auxiliary I/O port, the first auxiliary I/O port is connected to the Complex Programmable Logic Device (CPLD), and the CPLD sets a level of the first auxiliary I/O port as a basis of logic control through logic setting, specifically, on the premise that an auxiliary signal AUX _ IO of the first auxiliary I/O port is an active signal, if the CPLD detects that a potential of the first I/O port of the BMC is pulled up or pulled down, the indicator light LED1 is controlled to be turned on or off after a preset time, and when the CPLD detects that the auxiliary signal AUX _ IO of the first auxiliary I/O port is an inactive signal, the state of the indicator light LED1 is latched, and the state of the indicator light LED1 is not released until the next restart of the BMC. Namely, the CPLD uses the level of the first auxiliary I/O port as a premise of logic control and performs hysteresis processing on the edge signal of the first I/O port of the BMC, thereby solving the problem that the indicator light LED1 is accidentally turned off due to a BMC restart or other faults, realizing control and maintenance of the state of the indicator light LED1, and ensuring quick identification; and no extra PIN is needed to be added, and the serial communication of the BMC and the CPLD is not needed to be repeatedly developed, so that the development time of the BMC and the CPLD is shortened, and the performance of the product is improved.
Reference is now made to fig. 5, which is a logic flow diagram of a server UID indicator light control method of the present invention. The control method is suitable for the server UID indicator lamp control device with a Baseboard Management Controller (BMC), and is particularly suitable for the server UID indicator lamp control device, so that the structural part of the server UID indicator lamp control device is not described repeatedly.
With reference to fig. 2 and 5, the server UID indicator light control method of the present invention specifically includes the following steps:
step S01: the CPLD detects and judges that the signal source is a trigger signal of an external button or a control signal of the BMC; when the trigger signal is the trigger signal of the external button, the step S02 is carried out, and when the trigger signal is the control signal of the BMC, the step S03 is carried out;
step S02: controlling the indicator light to reverse state;
step S03: judging whether an auxiliary signal AUX _ IO of a first auxiliary I/O port of the BMC is valid, if the auxiliary signal AUX _ IO of the first auxiliary I/O port is valid, performing step S04, and if the auxiliary signal AUX _ IO of the first auxiliary I/O port is invalid, performing step S07;
step S04: the CPLD detects the potential of a first I/O port of the BMC and judges the change condition of the potential;
step S05: when the potential of the first I/O port is pulled high, the indicator light is controlled to be turned on after a preset time, and the step S01 is returned; for example, in one embodiment, when the potential of the first I/O port is pulled high, the CPLD outputs a high level after a delay of 15ms after catching the rising edge to control the indicator light to turn on;
step S06: when the potential of the first I/O port is pulled down, the indicator light is controlled to be turned off after a preset time, and the step S01 is returned; for example, in one embodiment, when the potential of the first I/O port is pulled low, the CPLD outputs a low level after a delay of 15ms after catching the falling edge to control the indicator light to turn on and off;
step S07: latching the state of the indicator light, and returning to the step S01; that is to say, the state of the latched indicator light is released only after the BMC is started and restarted next time, so that the state of the indicator light cannot be triggered by mistake when the BMC is restarted or has other faults, the indicator light is always in a lighted state, the indicator light marked by the BMC is ensured to continue to indicate, and the corresponding machine can be identified quickly.
In the server UID indicator light control method of the present invention, steps S01 to S02 are omitted, and for example, in an embodiment in which no external button is provided, the step S03 is directly started to be performed.
Referring to fig. 2 again, in a further embodiment of the method for controlling a server UID indicator light according to the present invention, the high levels of the first auxiliary I/O port of the BMC and the second auxiliary I/O port of the CPLD are used as valid signals of the auxiliary signal AUX _ IO, and when the BMC is restarted or has other faults, the level of the first auxiliary I/O port of the BMC is pulled down to a fixed low level from the high level, and the fixed low level is used as an invalid signal of the auxiliary signal AUX _ IO. In other embodiments, of course, the low level of the first auxiliary I/O port and the second auxiliary I/O port may be set as the active signal of the auxiliary signal AUX _ IO, and accordingly, the high level of the first auxiliary I/O port and the second auxiliary I/O port may be set as the auxiliary signal AUX _ IO.
As shown in fig. 5 and fig. 2, according to the method for controlling the server UID indicator light of the present invention, the level of the first auxiliary I/O port of the BMC is detected and used as a basis for logic control, specifically, whether the level of the first auxiliary I/O port (i.e., the auxiliary signal AUX _ IO) is an effective signal is detected and determined, if the level of the first auxiliary I/O port is an effective signal, the CPLD further detects the potential of the first I/O port of the BMC (i.e., the second I/O port of the CPLD), and controls the indicator light to be turned on or off after a preset duration according to the change of the potential; on the contrary, if the level of the first auxiliary I/O port (i.e., the auxiliary signal AUX _ IO) is an invalid signal, the status of the indicator lamp is latched. In the control method, the level of the first auxiliary I/O port of the BMC is used as the premise of logic control, and the edge signal of the first I/O port of the BMC is subjected to hysteresis processing, so that the problem that an indicator lamp is accidentally extinguished due to restarting of the BMC or other faults is solved, the state of the indicator lamp is controlled and maintained, and quick identification is guaranteed; and no extra PIN is needed to be added, and the serial communication of the BMC and the CPLD is not needed to be repeatedly developed, so that the development time of the BMC and the CPLD is shortened, and the performance of the product is improved.
The structures, the arrangement modes and the like of other parts of the server UID indicator light control device related by the invention are well known to those skilled in the art, and detailed description is not provided herein.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the scope of the present invention, therefore, the present invention is not limited by the appended claims.

Claims (8)

1. A server UID indicator light control device is characterized by comprising a substrate management controller and a complex programmable logic device;
the substrate management controller is provided with a first input/output port which is connected to the complex programmable logic device, and a port with a pull-up or pull-down potential of the substrate management controller is used as a first auxiliary input/output port and is connected to the complex programmable logic device;
the complex programmable logic device is also connected with an external button, the operation priority of the external button and the operation priority of the complex programmable logic device are the same level, and the complex programmable logic device is also connected with an indicator light;
when the complex programmable logic device detects a signal source, judging that the complex programmable logic device is a trigger signal of the external button or a control signal of the substrate management controller; when the trigger signal is the trigger signal of the external button, the indicator light is controlled to perform state reversal; when the control signal is the control signal of the substrate management controller, further judging whether the auxiliary signal output by the first auxiliary input/output port is valid, when the complex programmable logic device detects that the auxiliary signal output by the first auxiliary input/output port is the valid signal, continuously detecting the potential change of the first input/output port and outputting a driving signal to control the indicator light to be turned on or turned off after the preset time length according to the potential change of the first input/output port; and when the complex programmable logic device detects that the auxiliary signal output by the first auxiliary input/output port is an invalid signal, the state of the indicator light is latched.
2. The control device as claimed in claim 1, wherein when the potential of the first input/output port is pulled high, a high level is outputted after a preset time period to control the indicator light to turn on, and when the potential of the first input/output port is pulled low, a low level is outputted after a preset time period to control the indicator light to turn off.
3. The control device according to any one of claims 1-2, wherein the high level of the first auxiliary input/output port is an active signal of the auxiliary signal, and the potential of the first auxiliary input/output port changes from a high level to a low level and is an inactive signal of the auxiliary signal.
4. The control apparatus of claim 1, wherein the complex programmable logic device has a second input/output port, a second auxiliary input/output port, and a third input/output port, the second input/output port is connected to the first input/output port of the bmc for receiving the control signal output from the first input/output port, the second auxiliary input/output port is connected to the first auxiliary input/output port for receiving the auxiliary signal, and the third input/output port is connected to the indicator light for outputting the driving signal.
5. A server UID indicator lamp control method is suitable for a UID indicator lamp control device with a substrate management controller and a complex programmable logic device, wherein the complex programmable logic device is respectively connected with an external button, an indicator lamp and a first input/output port of the substrate management controller, a port with a pull-up or pull-down potential of the substrate management controller is used as a first auxiliary input/output port to be connected into the complex programmable logic device, the operation priority of the external button and the operation priority of the complex programmable logic device are the same, and the control method is characterized by comprising the following steps:
the complex programmable logic device detects a signal source and judges that the signal source is a trigger signal of an external button or a control signal of the substrate management controller;
when the control signal is the control signal of the substrate management controller, the complex programmable logic device detects the auxiliary signal output by the first auxiliary input/output port and judges whether the auxiliary signal is an effective signal;
if the auxiliary signal output by the first auxiliary input/output port is an effective signal, the complex programmable logic device detects the potential change of the first input/output port, and outputs a driving signal to control the indicator light to be turned on or turned off after a preset time according to the potential change of the first input/output port;
and if the auxiliary signal output by the first auxiliary input/output port is an invalid signal, the complex programmable logic device latches the state of the indicator light.
6. The control method of claim 5, wherein the controlling the indicator light to turn on or off according to the output driving signal after the potential of the first input/output port changes for the preset time period comprises:
when the potential of the first input/output port is pulled high, outputting a high level after a preset time length to control the indicator light to be turned on;
when the potential of the first input/output port is pulled down, a low level is output after a preset time length to control the indicator light to be turned off.
7. The control method according to any one of claims 5 to 6, wherein the high level of the first auxiliary input/output port is an active signal of the auxiliary signal, and the potential of the first auxiliary input/output port changes from the high level to the low level and is an inactive signal of the auxiliary signal.
8. The control method according to claim 7, wherein when a restart of the bmc occurs, the potential of the first auxiliary i/o port changes from a high level to a low level.
CN202110685816.2A 2021-06-21 2021-06-21 Server UID indicator lamp control device and control method Active CN113377628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110685816.2A CN113377628B (en) 2021-06-21 2021-06-21 Server UID indicator lamp control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110685816.2A CN113377628B (en) 2021-06-21 2021-06-21 Server UID indicator lamp control device and control method

Publications (2)

Publication Number Publication Date
CN113377628A CN113377628A (en) 2021-09-10
CN113377628B true CN113377628B (en) 2023-03-14

Family

ID=77578019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110685816.2A Active CN113377628B (en) 2021-06-21 2021-06-21 Server UID indicator lamp control device and control method

Country Status (1)

Country Link
CN (1) CN113377628B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277552A (en) * 2005-03-30 2006-10-12 Casio Comput Co Ltd Information display system and information display method
CN102298416A (en) * 2010-06-23 2011-12-28 英业达股份有限公司 Server system
CN109117348A (en) * 2018-07-23 2019-01-01 深圳市同泰怡信息技术有限公司 Server UID LED light control method and system
CN109144827A (en) * 2018-08-22 2019-01-04 郑州云海信息技术有限公司 A kind of method and system monitoring motherboard power supply and signal condition
CN109508279A (en) * 2018-11-28 2019-03-22 郑州云海信息技术有限公司 A kind of server monitoring device, method and its system
CN109885457A (en) * 2017-12-06 2019-06-14 深圳中电长城信息安全系统有限公司 Indicate lamp control method, electronic equipment and computer readable storage medium
CN110413487A (en) * 2018-04-28 2019-11-05 中国长城科技集团股份有限公司 A kind of indicator light management method, system and the baseboard management controller of server
CN111274099A (en) * 2020-01-12 2020-06-12 苏州浪潮智能科技有限公司 Indicator lamp control method, system, equipment and medium of switch system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779085A (en) * 2011-05-11 2012-11-14 鸿富锦精密工业(深圳)有限公司 Control circuit of indicator light
CN103984620B (en) * 2014-05-30 2017-07-14 浪潮电子信息产业股份有限公司 The circuit dynamic realizing method of electric indicator lamp bright light on a kind of backboard hard disk
CN109426598B (en) * 2017-09-05 2021-10-26 深圳中电长城信息安全系统有限公司 Hard disk state indicator lamp control method and device
CN111679957B (en) * 2020-05-28 2022-08-05 深圳市元征科技股份有限公司 Indicator lamp control method and device, terminal equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277552A (en) * 2005-03-30 2006-10-12 Casio Comput Co Ltd Information display system and information display method
CN102298416A (en) * 2010-06-23 2011-12-28 英业达股份有限公司 Server system
CN109885457A (en) * 2017-12-06 2019-06-14 深圳中电长城信息安全系统有限公司 Indicate lamp control method, electronic equipment and computer readable storage medium
CN110413487A (en) * 2018-04-28 2019-11-05 中国长城科技集团股份有限公司 A kind of indicator light management method, system and the baseboard management controller of server
CN109117348A (en) * 2018-07-23 2019-01-01 深圳市同泰怡信息技术有限公司 Server UID LED light control method and system
CN109144827A (en) * 2018-08-22 2019-01-04 郑州云海信息技术有限公司 A kind of method and system monitoring motherboard power supply and signal condition
CN109508279A (en) * 2018-11-28 2019-03-22 郑州云海信息技术有限公司 A kind of server monitoring device, method and its system
CN111274099A (en) * 2020-01-12 2020-06-12 苏州浪潮智能科技有限公司 Indicator lamp control method, system, equipment and medium of switch system

Also Published As

Publication number Publication date
CN113377628A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
CN111077763A (en) Vehicle-mounted display device redundancy control method and device
US20170337066A1 (en) Computer and controlling method thereof
US11418657B2 (en) Information processing device and control method therefor
CN210666687U (en) Key single-ended signal control system of server
CN113377628B (en) Server UID indicator lamp control device and control method
CN115480884A (en) Chip, test monitoring method of chip and computer readable storage medium
US11132269B2 (en) Backup control method and backup control system
CN109726055B (en) Method for detecting PCIe chip abnormity and computer equipment
CN213471197U (en) Hot plug circuit of demonstrator
TWI717965B (en) Display module, display driver integrated circuit and restarting method for display driver integrated circuit when abnormal voltage occurs
US7543170B2 (en) Equipment fail safe safety system
CN109117348B (en) Method and system for controlling server UID LED indicator light
JP2007244167A (en) Power supply control unit and power supply control method
TWI534611B (en) Computer system, indicating method and indicating apparatus for hard disk status thereof
TW201531851A (en) Light controlling system and electronic device having same
TWI768769B (en) Server motherboard for single-processor system
JPH01120652A (en) Setting system for monitor time of input/output device
CN111061590A (en) Control method and system of watchdog circuit
JPS6037670Y2 (en) alarm display device
CN118626427A (en) Server bus fault isolation circuit and method
CN112091985A (en) Demonstrator hot plug circuit and demonstrator hot plug control method
JPH1194418A (en) Fan control device
JPH06168059A (en) Package insertion/extraction controller
CN111462692A (en) Driving circuit, restarting method thereof and display device
KR100311144B1 (en) Portable hit-bus monitor apparatus

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