CN109117348B - Method and system for controlling server UID LED indicator light - Google Patents

Method and system for controlling server UID LED indicator light Download PDF

Info

Publication number
CN109117348B
CN109117348B CN201810813113.1A CN201810813113A CN109117348B CN 109117348 B CN109117348 B CN 109117348B CN 201810813113 A CN201810813113 A CN 201810813113A CN 109117348 B CN109117348 B CN 109117348B
Authority
CN
China
Prior art keywords
bmc
uid
cpld
led
state
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
CN201810813113.1A
Other languages
Chinese (zh)
Other versions
CN109117348A (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.)
Shenzhen Tong Tai Yi Information Technology Co ltd
Original Assignee
Shenzhen Tong Tai Yi Information 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 Shenzhen Tong Tai Yi Information Technology Co ltd filed Critical Shenzhen Tong Tai Yi Information Technology Co ltd
Priority to CN201810813113.1A priority Critical patent/CN109117348B/en
Publication of CN109117348A publication Critical patent/CN109117348A/en
Application granted granted Critical
Publication of CN109117348B publication Critical patent/CN109117348B/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
    • 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/328Computer systems status display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a control method and a control system for a server UID LED indicator light, which are characterized in that the method is applied to a control system for the server UID LED indicator light, and the system comprises a UID switch, a BMC, a CPLD and a UID LED indicator light, wherein the UID switch is respectively connected with the BMC and the CPLD, the CPLD is connected with the BMC, and the CPLD is connected with the server UID LED indicator light. Compared with the prior art, the method and the device realize that the UID LED is effectively controlled in any state after the server is powered on.

Description

Method and system for controlling server UID LED indicator light
Technical Field
The invention relates to the technical field of servers, in particular to a method and a system for controlling a server UID LED indicator light.
Background
The universal server is provided with a UID and a UID LED indicator lamp, and is used for equipment identification and positioning in application of the server, and the function is particularly important when a machine room is uniformly deployed. The device which needs to be corresponded is convenient to be quickly found in a plurality of servers. The UID switch is connected with a BMC (baseboard management controller) of the system, and the BMC controls the states of the UID LED indicator lamps to achieve positioning of the equipment.
As shown in fig. 1, in the current general practice in the industry, the UID LED can be controlled only in the normal operating state of the BMC, but in the process of starting up and powering up, the UID switch cannot control the UID LED indicator lamp before the BMC FW is not operated, and the original state of the UID LED cannot be maintained when the system BMC FW is upgraded and restarted. In practical application, once abnormal operation of BMC FW occurs, the device cannot be located. In addition, the BMC FW is usually started for a long time, and if the device maintenance is performed locally when power-on is required, the BMC FW must wait for a long time in order to acquire the local location identifier. There are some inconveniences in maintenance operations.
Disclosure of Invention
The invention mainly aims to provide a control method and a control system for a server UID LED indicator lamp, and aims to effectively control the server UID LED indicator lamp in any state after a server is powered on.
In order to achieve the purpose, the invention provides a server UID LED indicator lamp control method, which is applied to a server UID LED indicator lamp control system, wherein the system comprises a UID switch, a BMC, a CPLD and a UID LED indicator lamp, the UID switch is respectively connected with the BMC and the CPLD, the CPLD is connected with the BMC, and the CPLD is connected with the server UID LED indicator lamp.
The further technical scheme of the invention is that the UID switch output UIDBTN _ N is respectively connected with the related IO of the CPLD and the BMC, the UID LED state is output by the CPLD, the CPLD also outputs the UID LED state to the BMC through the CPLD _ UID _ LED _ STATUS, the BMC outputs BMC _ FW _ OK to the CPLD and UID _ LED _ CTRL to the CPLD after FW operates normally, and the UID _ LED _ CTRL is completely controlled by the BMC when the BMC operates normally.
In order to achieve the purpose, the invention further provides a server UID LED indicator lamp control system, which comprises a UID switch, a BMC, a CPLD and a UID LED indicator lamp, wherein the UID switch is respectively connected with the BMC and the CPLD, the CPLD is connected with the BMC, and the CPLD is connected with the server UID LED indicator lamp.
The invention has the beneficial effects that: the UID LED indicator lamp control method and the system of the server comprise the UID switch, the BMC, the CPLD and the UID LED indicator lamp through the technical scheme, wherein the UID switch is respectively connected with the BMC and the CPLD, the CPLD is connected with the BMC, the CPLD is connected with the UID LED indicator lamp of the server, independent logic requirements and data buffering are established by the CPLD, the temporary UID LED state is provided and reported to the BMC, after the BMC is started, the BMC FW obtains the current UID state, the UID LED control authority is controlled according to actual requirements, the state cannot be cleared in the FW restarting process of the BMC, the instant output state of the UID switch can be responded, and the UID LED can be effectively controlled in any state after the server is electrified.
Drawings
FIG. 1 is a schematic representation of a prior art UID LED indicator light control;
FIG. 2 is a logic block diagram of a preferred embodiment of a server UID LED indicator light control method of the present invention;
fig. 3 is a schematic circuit structure diagram of a preferred embodiment of a server UID LED indicator light control method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 2 and 3, fig. 2 is a logic block diagram of a preferred embodiment of a control method of a server UID LED indicator light according to the present invention; fig. 3 is a schematic circuit structure diagram of a preferred embodiment of a server UID LED indicator light control method according to the present invention.
As shown in fig. 2, the server UID LED indicator control method provided in this embodiment is applied to a server UID LED indicator control system, where the system includes a UID switch, a BMC, a CPLD, and a UID LED indicator, where the UID switch is connected to the BMC and the CPLD, respectively, the CPLD is connected to the BMC, and the CPLD is connected to the server UID LED indicator.
The UID switch output UIDBTN _ N is respectively connected with the related IO of the CPLD and the BMC, the UID LED state is output by the CPLD, the CPLD also outputs the UID LED state to the BMC through CPLD _ UID _ LED _ STATUS, the BMC outputs BMC _ FW _ OK to the CPLD and UID _ LED _ CTRL to the CPLD after FW operates normally, and the UID _ LED _ CTRL is completely controlled by the BMC FW when the BMC operates normally.
The specific flow of the server UID LED indicator light control method of the invention is explained in detail below.
1. BMC power-on and logic flow:
1) the system is powered on, the CPLD and the BMC are initialized simultaneously, and the CPLD belongs to a logic device and is initialized very fast, and the logic completion time can be basically ignored, so the power-on process flow in the process is mainly embodied as the BMC power-on process.
2) After each power supply is ready, the BMC starts initialization, all GPIOs of the default BMC chip are in an input mode, and the default logic level is driven by an external pull-up or pull-down resistor. The GPIO function PinUID _ LED _ CTRL GPIO adopts a pull-up resistor to a power supply of BMC IO by default, and is in a high level state by default; the BMC _ FW _ OK external default adopts a pull-down resistor to GND, and the default is in a low level state; the UIDBTN _ N is externally defaulted to a power supply from a pull-up resistor to BMC IO and is defaulted to a high level; a power supply from a pull-up resistor to BMC IO is adopted by the CPLD _ UID _ LED _ STATUS as a default, and the default is a high level;
3) and the FW initializes the states of the IOs of the BMC chip according to the system configuration requirement and loads corresponding drivers. Before loading of each service of the BMC is completed, state reading is carried out on CPLD _ UID _ LED _ STATUS signals output by the CPLD before state reading of each sensor, and the BMC output function GPIO pin UID _ LED _ CTRL is set according to the read state, namely if the CPLD _ UID _ LED _ STATUS signals are read to be low level, the UID _ LED _ CTRL signals are output to be low level. High if the CPLD _ UID _ LED _ STATUS _ BUF output is high.
4) After the state is set, the BMC _ FW _ OK of the BMC is output to a high level to inform the CPLD BMC that the operation is normal, and the UID LED control output is controlled by the BMC FW before the next system power-down restart or the FW restart of the BMC chip. The BMC can keep the state before FW is not ready according to the acquired state, and can effectively control UID _ LED _ CTRL according to actual application conditions after the FW is ready.
2. The CPLD logic execution flow comprises the following steps:
1) after the CPLD is electrified, all logics immediately enter a ready state, and an UIDBTN _ N signal is input from the outside and is in a high level with a BMC UIDBTN state by default; UID _ LED _ N is an output signal which is driven by an external pull-down resistor by default, is output to be a low level, and is connected to the cathode of the UID LED indicator lamp after being reversed by a triode; CPLD _ UID _ LED _ STATUS is an output signal, is driven by an external pull-down resistor by default, and outputs a low level; UID _ LED _ CTRL is an input signal, driven by an external pull-down resistor, and defaults to low. BMC _ FW _ OK is an input signal, driven by an external pull-down resistor, and defaults to low. Besides the logic initialization, the CPLD is also internally provided with a temporary register (UID-LED-STATUS-BUF) of UID LED output and a trigger taking UIDBTN-N as input. UID _ LED _ STATUS _ BUF default value is 0. The output logics UID _ LED and CPLD _ UID _ LED _ STATUS are synchronous UID _ LED _ STATUS _ BUF.
2) When the BMC _ FW _ OK signal is in a low level, the external switch (UIDBTN _ N) triggers a low level to the CPLD when pressed, the CPLD reverses and sets the UID _ LED _ STATUS _ BUF through the CPLD self-establishing trigger logic when receiving the low level, namely the UID _ LED _ STATUS _ BUF is changed to be 1 when the key is firstly triggered, and the UID _ LED _ STATUS _ BUF is changed to be 0 if pressed again. The UID-LED and the CPLD-UID-LED-STATUS are output according to the default initialization logic CPLD and the UID-LED-STATUS is output according to the state of the UID-LED-STATUS-BUF, and the UID-LED indicator lamp is turned on when the UID-LED-STATUS-BUF value is '1'; the UID LED indicator lamp goes off when the UID LED STATUS BUF value is "0". Similarly, the high-low level output by the CPLD _ UID _ LED _ STATUS represents different current states of the UID LED.
3) After the BMC is ready, the BMC _ FW _ OK signal is set to be at a high level by the BMC FW, the CPLD immediately reads the UID _ LED _ CTRL signal state after detecting that the BMC _ FW _ OK signal is at the high level, the acquired UID _ LED _ CTRL state is directly transmitted to the UID _ LED _ STATUS _ BUF, and the input and the output of a built-in trigger are disconnected. The output states of the CPLD UIDUID _ LED and the CPLD UID _ LED _ STATUS are directly controlled by UID _ LED _ CTRL output by the BMC.
The server UID LED indicator light control method of the invention is applied to the server UID LED indicator light control system through the technical scheme, the system comprises a UID switch, a BMC, a CPLD and a UID LED indicator lamp, wherein the UID switch is respectively connected with the BMC and the CPLD, the CPLD is connected with the BMC, the CPLD is connected with the server UID LED indicator light, independent logic requirements and data buffering are established by the CPLD, the state of the UID LED is temporarily stored, and reports the current state to the BMC, after the BMC is started, the BMC FW acquires the current UID LED state and controls the UID LED control authority according to the actual requirement, the state can not be cleared in the BMC FW restarting process, and the instant output state of the UID switch can be responded, so that the UID LED can be effectively controlled in any state after the server is electrified.
In order to achieve the purpose, the invention further provides a server UID LED indicator lamp control system, which comprises a UID switch, a BMC, a CPLD and a UID LED indicator lamp, wherein the UID switch is respectively connected with the BMC and the CPLD, the CPLD is connected with the BMC, and the CPLD is connected with the server UID LED indicator lamp.
The working principle of the server UID LED indicator light control system is explained in detail above, and is not repeated.
The UID LED indicator lamp control system of the server establishes independent logic requirements and data buffering by the CPLD, provides temporary storage UID LED state, reports the current state to the BMC, after the BMC is started, the BMC FW acquires the current UID LED state, controls UID LED control authority according to actual requirements, cannot be cleared in the restarting process of the BMC FW, and can respond to the state of UID switch immediate output, so that the UID LED can be effectively controlled in any state after the server is powered on.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (2)

1. A server UID LED indicator lamp control method is characterized in that the method is applied to a server UID LED indicator lamp control system, the system comprises a UID switch, a BMC, a CPLD and a UID LED indicator lamp, wherein the UID switch is respectively connected with the BMC and the CPLD, the CPLD is connected with the BMC, and the CPLD is connected with the server UID LED indicator lamp;
the UID switch output UIDBTN _ N is respectively connected with the related IO of the CPLD and the BMC, the UID LED state is output by the CPLD, the CPLD also outputs the UID LED state to the BMC through a CPLD _ UID _ LED _ STATUS, the BMC outputs BMC _ FW _ OK to the CPLD and UID _ LED _ CTRL to the CPLD after FW operates normally, and the UID _ LED _ CTRL is completely controlled by the BMC FW when the BMC operates normally;
wherein, the power-on and logic flow of the BMC is as follows:
1) the system is powered on, the CPLD and the BMC are initialized simultaneously, and because the CPLD belongs to a logic device and is initialized very fast, and the logic completion time is ignored, the power-on process flow in the process is mainly embodied as a BMC power-on process;
2) after each power supply is ready, the BMC starts initialization, all GPIOs of a default BMC chip are in an input mode, and a default logic level is driven by an external pull-up or pull-down resistor; the GPIO function Pin UID _ LED _ CTRL GPIO adopts a pull-up resistor to a power supply of BMC IO by default, and is in a high level state by default; the BMC _ FW _ OK external default adopts a pull-down resistor to GND, and the default is in a low level state; the UIDBTN _ N is externally defaulted to a power supply from a pull-up resistor to BMC IO and is defaulted to a high level; a power supply from a pull-up resistor to BMC IO is adopted by the CPLD _ UID _ LED _ STATUS as a default, and the default is a high level;
3) the FW initializes the state of each IO of the BMC chip according to the system configuration requirement, and loads a corresponding driver; before loading of various services of the BMC is completed, reading the state of a CPLD _ UID _ LED _ STATUS signal output by the CPLD before reading the state of each sensor, and setting a BMC output function GPIO pin UID _ LED _ CTRL according to the read state;
4) after the state is set, the BMC-FW-OK of the BMC is output to a high level to inform the CPLD BMC that the operation is normal, and the UID LED control output is controlled by the BMC FW before the next system power failure restart or the FW of the BMC chip restart; and the BMC keeps the state before FW is ready according to the acquired state, and effectively controls UID _ LED _ CTRL according to actual application conditions after the FW is ready.
2. A server UID LED indicator lamp control system is characterized by comprising a UID switch, a BMC, a CPLD and a UID LED indicator lamp, wherein the UID switch is respectively connected with the BMC and the CPLD, the CPLD is connected with the BMC, and the CPLD is connected with the server UID LED indicator lamp;
the UID switch output UIDBTN _ N is respectively connected with the related IO of the CPLD and the BMC, the UID LED state is output by the CPLD, the CPLD also outputs the UID LED state to the BMC through a CPLD _ UID _ LED _ STATUS, the BMC outputs BMC _ FW _ OK to the CPLD and UID _ LED _ CTRL to the CPLD after FW operates normally, and the UID _ LED _ CTRL is completely controlled by the BMC FW when the BMC operates normally;
wherein, the power-on and logic flow of the BMC is as follows:
1) the system is powered on, the CPLD and the BMC are initialized simultaneously, and because the CPLD belongs to a logic device and is initialized very fast, and the logic completion time is ignored, the power-on process flow in the process is mainly embodied as a BMC power-on process;
2) after each power supply is ready, the BMC starts initialization, all GPIOs of a default BMC chip are in an input mode, and a default logic level is driven by an external pull-up or pull-down resistor; the GPIO function Pin UID _ LED _ CTRL GPIO adopts a pull-up resistor to a power supply of BMC IO by default, and is in a high level state by default; the BMC _ FW _ OK external default adopts a pull-down resistor to GND, and the default is in a low level state; the UIDBTN _ N is externally defaulted to a power supply from a pull-up resistor to BMC IO and is defaulted to a high level; a power supply from a pull-up resistor to BMC IO is adopted by the CPLD _ UID _ LED _ STATUS as a default, and the default is a high level;
3) the FW initializes the state of each IO of the BMC chip according to the system configuration requirement, and loads a corresponding driver; before loading of various services of the BMC is completed, reading the state of a CPLD _ UID _ LED _ STATUS signal output by the CPLD before reading the state of each sensor, and setting a BMC output function GPIO pin UID _ LED _ CTRL according to the read state;
4) after the state is set, the BMC-FW-OK of the BMC is output to a high level to inform the CPLD BMC that the operation is normal, and the UID LED control output is controlled by the BMC FW before the next system power failure restart or the FW of the BMC chip restart; and the BMC keeps the state before FW is ready according to the acquired state, and effectively controls UID _ LED _ CTRL according to actual application conditions after the FW is ready.
CN201810813113.1A 2018-07-23 2018-07-23 Method and system for controlling server UID LED indicator light Active CN109117348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810813113.1A CN109117348B (en) 2018-07-23 2018-07-23 Method and system for controlling server UID LED indicator light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810813113.1A CN109117348B (en) 2018-07-23 2018-07-23 Method and system for controlling server UID LED indicator light

Publications (2)

Publication Number Publication Date
CN109117348A CN109117348A (en) 2019-01-01
CN109117348B true CN109117348B (en) 2022-04-26

Family

ID=64863236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810813113.1A Active CN109117348B (en) 2018-07-23 2018-07-23 Method and system for controlling server UID LED indicator light

Country Status (1)

Country Link
CN (1) CN109117348B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377628B (en) * 2021-06-21 2023-03-14 东莞华贝电子科技有限公司 Server UID indicator lamp control device and control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957924A (en) * 2016-10-17 2018-04-24 北京计算机技术及应用研究所 Autonomous controllable startup of server process monitoring diagnostic method based on CPLD and BMC
CN108055117A (en) * 2017-12-27 2018-05-18 郑州云海信息技术有限公司 A kind of BMC and CPLD interconnected communication method of efficient full duplex
CN108089964A (en) * 2017-12-07 2018-05-29 郑州云海信息技术有限公司 A kind of device and method by BMC monitoring server CPLD states
CN108255685A (en) * 2018-01-15 2018-07-06 郑州云海信息技术有限公司 A kind of server display circuit and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424072A (en) * 2013-08-26 2015-03-18 鸿富锦精密工业(深圳)有限公司 Computer state monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957924A (en) * 2016-10-17 2018-04-24 北京计算机技术及应用研究所 Autonomous controllable startup of server process monitoring diagnostic method based on CPLD and BMC
CN108089964A (en) * 2017-12-07 2018-05-29 郑州云海信息技术有限公司 A kind of device and method by BMC monitoring server CPLD states
CN108055117A (en) * 2017-12-27 2018-05-18 郑州云海信息技术有限公司 A kind of BMC and CPLD interconnected communication method of efficient full duplex
CN108255685A (en) * 2018-01-15 2018-07-06 郑州云海信息技术有限公司 A kind of server display circuit and method

Also Published As

Publication number Publication date
CN109117348A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
US9600370B2 (en) Server system
US9710334B2 (en) Automatic restart server system
US8856772B2 (en) Server and firmware updating method
US10564707B2 (en) System management controller
US8397053B2 (en) Multi-motherboard server system
US9170618B2 (en) Power management circuit, server, and power management method thereof
CN107085459B (en) Power supply management method and system
CN111103827B (en) Server working mode switching device
CN104571444A (en) Method for controlling power state of server through BIOS
CN113360347B (en) Server and control method thereof
TW201715331A (en) Server and method for auto repairing a baseboard management controller
CN102081568A (en) Multi-motherboard server system
KR100695791B1 (en) Communication apparatus and control method for the communication apparatus
CN109117348B (en) Method and system for controlling server UID LED indicator light
CN110750374A (en) Watchdog circuit and control method thereof
CN106649002A (en) Server and method for automatically overhauling baseboard management controller
CN111208891B (en) CPLD updating system and method
CN107766073A (en) A kind of structure and method of supporting server start to change BMC flash
US20200210201A1 (en) Information processing system and relay device
CN111010432A (en) Network control system capable of remotely restarting PC
CN101146145A (en) Automatic testing system and method for power on and power off of transmission device
TWM598968U (en) Out-of-band external control equipment and system
CN111966195B (en) Start control circuit and method
CN104035792A (en) Signal mainboard upgrading device and method
CN217588013U (en) Switch watchdog reset circuit, system and switch

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