BMC management system heartbeat LED monitoring method, system, device and medium

By mapping the flashing frequency of the heartbeat LED indicator to the system fault indicator, the cumbersome problem of needing to open the chassis to view the heartbeat LED frequency in the existing technology is solved, realizing real-time monitoring and rapid fault identification of the BMC management system, and improving management efficiency. and user experience.

CN118779186APending Publication Date: 2024-10-15TONG TAIYI INFORMATION TECHNOLOGY (FUJIAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410890530.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the existing technology, the heartbeat LED indicator of the BMC management system requires the administrator to open the server chassis cover to view the flashing frequency. The operation is cumbersome and inconvenient in certain environments or security conditions, which affects management efficiency.

Method used

By connecting the heartbeat LED indicator to the complex programmable logic device CPLD, the blinking frequency is captured and recorded in real time, and mapped to the system fault indicator light, allowing administrators to intuitively understand the startup phase and status of the BMC SOC without opening the chassis. .

Benefits of technology

Real-time monitoring of the BMC startup phase and status is achieved, simplifying the operation process, reducing troubleshooting time, and improving system management efficiency and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779186A_ABST
    Figure CN118779186A_ABST
Patent Text Reader

Abstract

The invention discloses a BMC management system heartbeat LED monitoring method, system and device and a medium, and the BMC management system heartbeat LED monitoring method can reflect the starting stage and state of a BMC in real time by capturing and recording the flicker frequency of a heartbeat LED indicator in real time, so that an administrator or a user can obtain the progress condition of system starting in real time. Meanwhile, the flicker frequency of the heartbeat LED is mapped to the system fault indicating lamp, flicker is carried out at the same flicker frequency, and visual display of the starting stage of the BMC SOC is achieved. According to the visual display mode, an administrator or a user can quickly understand the state of the system, a complex interpretation process is not needed, a case does not need to be opened, the tedious operation process is simplified, the state of the system does not need to be manually checked, and the starting state of the system can be known only by observing the flicker frequency of the fault indicator lamp of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of server management, and relates to a BMC management system heartbeat LED monitoring method, system, equipment and medium. Background Art

[0002] In the field of server management, the BMC (Baseboard Management Controller) management system plays a vital role, responsible for monitoring the health of the server, managing hardware resources, and providing fault notifications. The SOC (System on Chip) of the BMC management system is its core component, integrating various functions and interfaces required for server management.

[0003] In the SOC design of the BMC management system, a heart beat LED indicator is usually provided. This indicator is located on the server's motherboard, close to the SOC of the BMC system, and is used to indicate the startup stage and working status of the SOC through different flashing frequencies. By observing the flashing of this indicator, the administrator can quickly determine the startup progress and current working status of the SOC, and take corresponding management measures.

[0004] However, in the prior art, when the SOC of the BMC has a problem and cannot start normally, the chassis cover of the server must be opened to check the flashing frequency of the heartbeat LED indicator. This operation is not only cumbersome, but may also be subject to environmental or safety restrictions in some cases. For example, in a data center or remote computer room, servers are usually densely arranged, and opening the chassis cover may affect the normal operation of other servers; at the same time, if the server is located in an inaccessible location or there are safety hazards (such as high temperature, high pressure, etc.), directly opening the chassis cover for inspection may bring additional risks. Therefore, although the heartbeat LED indicator provides administrators with an intuitive monitoring method, it still has some limitations in actual applications. Summary of the invention

[0005] The purpose of the present invention is to solve the problem in the prior art that when checking the indicator light, the chassis needs to be opened, which is cumbersome to operate, and to provide a BMC management system heartbeat LED monitoring method, system, device and medium.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] The BMC management system heartbeat LED monitoring method includes the following steps:

[0008] Connecting the heartbeat LED indicator to the complex programmable logic device CPLD, so that the complex programmable logic device CPLD can monitor the flashing frequency of the heartbeat LED indicator;

[0009] During the BMC startup process, the complex programmable logic device CPLD captures and records the flashing frequency of the heartbeat LED indicator in real time;

[0010] Set the BMC_FW_OK signal line to send a high level signal to the complex programmable logic device CPLD after the BMC is started.

[0011] Before the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, the blinking frequency of the monitored heartbeat LED indicator is mapped to the system fault indicator light, so that the system fault indicator light blinks at the same blinking frequency, thereby visually displaying the startup phase of the BMC SOC;

[0012] After the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, the mapping of the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator light is stopped.

[0013] During the BMC startup process, the complex programmable logic device CPLD captures and records the flashing frequency of the heartbeat LED indicator in real time, specifically:

[0014] Use logic comparison circuit to detect the change of heartbeat LED indicator output signal and set threshold to avoid false detection;

[0015] The timer circuit starts timing to measure the blinking period after detecting a valid change in the heartbeat LED indicator output signal, and stops and resets when the preset time limit is reached or the next signal change is detected.

[0016] The method in which the complex programmable logic device CPLD records the flashing frequency of the heartbeat LED indicator includes using an internal timer to calculate the time interval between two adjacent LED state changes, and calculating the flashing frequency accordingly.

[0017] BMC management system heartbeat LED monitoring system, including:

[0018] Heartbeat LED indicator, used to flash during BMC startup to indicate the BMC startup stage and status;

[0019] A complex programmable logic device CPLD is connected to the heartbeat LED indicator and is used to monitor the flashing frequency of the heartbeat LED indicator;

[0020] The BMC_FW_OK signal line is connected between the BMC and the complex programmable logic device CPLD and is used to send a high-level signal to the complex programmable logic device CPLD after the BMC is started.

[0021] A fault mapping module is provided in the complex programmable logic device CPLD, and is used for mapping the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator light before the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, so that the system fault indicator light flashes at the same flashing frequency;

[0022] The stop mapping module is set in the complex programmable logic device CPLD and is used to stop mapping the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator light after the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level.

[0023] The complex programmable logic device CPLD specifically includes:

[0024] A real-time capture module is arranged in a complex programmable logic device CPLD, and includes a logic comparator and a timer circuit, and is used to capture and record the flashing signal and the flashing frequency of the heartbeat LED indicator in real time during the BMC startup process;

[0025] A logic comparator, the logic comparator is used to detect changes in the heartbeat LED indicator output signal and avoid false detection by setting a threshold;

[0026] A timer circuit is used to start timing to measure the flashing period after detecting a valid change in the heartbeat LED indicator output signal, and stop and reset when a preset time limit is reached or the next signal change is detected.

[0027] The heartbeat LED indicator is connected to a complex programmable logic device CPLD via a GPIO pin or a dedicated interface.

[0028] The BMC_FW_OK signal line is connected to the CPLD via the GPIO pin or the dedicated interface of the BMC, and is set to a high level state after the BMC firmware is successfully started.

[0029] The system also includes a user interface or a remote monitoring interface for remotely viewing or controlling the startup process of the BMC and the status of the system fault indicator light.

[0030] A device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method as described in any one of the preceding items when executing the computer program.

[0031] A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of the preceding items.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] The BMC management system heartbeat LED monitoring method of the present invention can reflect the startup phase and status of the BMC in real time by capturing and recording the flashing frequency of the heartbeat LED indicator in real time, so that the administrator or user can instantly obtain the progress of the system startup. At the same time, by mapping the flashing frequency of the heartbeat LED to the system fault indicator light, which flashes at the same flashing frequency, an intuitive display of the BMC SOC startup phase is achieved. This intuitive display method enables the administrator or user to quickly understand the status of the system without a complicated interpretation process or opening the chassis, thus simplifying the cumbersome operation process, without manually checking the system status, and only by observing the flashing frequency of the system fault indicator light, the startup status of the system can be understood.

[0034] The BMC management system heartbeat LED monitoring system of the present invention reflects the startup stage and state of the BMC in real time by flashing the heartbeat LED indicator during the BMC startup process. In combination with the complex programmable logic device CPLD, the system can accurately monitor the flashing frequency of the heartbeat LED, thereby ensuring real-time monitoring of the BMC startup process. Further, during the BMC startup process, if a fault occurs, the flashing frequency of the heartbeat LED will change. Through the fault mapping module, the system can map these frequency changes to the system fault indicator light, so that the administrator or user can quickly identify and locate the fault, greatly reducing the time for troubleshooting. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0036] Figure 1 This is a flow chart of the heartbeat LED monitoring method of the BMC management system of the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0038] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0040] The heartbeat LED monitoring method of the BMC management system uses the heartbeat LED indicator to reflect the startup stage and status of the BMC in real time. This method monitors the flashing frequency of the heartbeat LED through a complex programmable logic device (CPLD) and maps it to the system fault indicator so that the administrator can intuitively understand the working status of the BMC. After the BMC is started, the BMC_FW_OK signal line is used to notify the CPLD to stop mapping and restore the normal state of the system fault indicator. This monitoring method not only improves the efficiency and accuracy of system management, but also reduces the difficulty of administrator operation, providing a strong guarantee for the stable operation of the server.

[0041] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0042] See also Figure 1 , is a flow chart of the heartbeat LED monitoring method of the BMC management system in the present invention, which specifically includes the following steps:

[0043] S1, connecting the heartbeat LED indicator to the complex programmable logic device CPLD, so that the complex programmable logic device CPLD can monitor the flashing frequency of the heartbeat LED indicator.

[0044] S2, during the BMC startup process, the complex programmable logic device CPLD captures and records the flashing frequency of the heartbeat LED indicator in real time, specifically including period detection, counting or timing of the LED signal.

[0045] S2.1, use the logic comparison circuit to detect the change of the heartbeat LED indicator output signal, and avoid false detection by setting the threshold.

[0046] S2.2, after detecting a valid change in the heartbeat LED indicator output signal, the timer circuit starts timing to measure the flashing period, and stops and resets when the preset time limit is reached or the next signal change is detected.

[0047] The method in which the complex programmable logic device CPLD records the blinking frequency of the heartbeat LED indicator includes using an internal timer to calculate the time interval between two adjacent LED state changes, and calculating the blinking frequency accordingly.

[0048] S3, set the BMC_FW_OK signal line to send a high level signal to the complex programmable logic device CPLD after the BMC is started. Ensure that the BMC_FW_OK signal line can be reliably transmitted to the input port of the CPLD so that the CPLD can detect its state change.

[0049] S4, before the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, the monitored flashing frequency of the heartbeat LED indicator is mapped to the system fault indicator, so that the system fault indicator flashes at the same flashing frequency, thereby intuitively displaying the startup stage of the BMC SOC. Mapping the flashing frequency of the heartbeat LED to the system fault indicator allows administrators or users to intuitively understand the startup stage and status of the BMC without complex system inspection or professional knowledge, lowering the threshold for understanding and operation.

[0050] S5, after the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, stops mapping the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator.

[0051] Through the above steps, the BMC management system can effectively monitor the heartbeat LED indicator and intuitively display the startup phase and status of the BMC through the system fault indicator, which helps to improve the reliability and maintainability of the system and simplify the troubleshooting and diagnosis process. Real-time monitoring and rapid response mechanisms help to discover and solve problems in a timely manner, thereby enhancing the stability and reliability of the system. At the same time, intuitive display and easy-to-understand features also improve the ease of use and user satisfaction of the system.

[0052] A BMC management system heartbeat LED monitoring system in the present invention specifically includes:

[0053] The heartbeat LED indicator is used to flash during the BMC startup process to indicate the startup stage and status of the BMC. Different flashing frequencies and patterns can reflect different states of the BMC, such as startup, normal operation, failure, etc. The heartbeat LED indicator is connected to the complex programmable logic device CPLD through a GPIO pin or a dedicated interface.

[0054] The complex programmable logic device CPLD is connected to the heartbeat LED indicator to capture and record the flashing frequency of the heartbeat LED in real time. At the same time, the fault mapping and stop mapping functions are realized through the internal logic circuit.

[0055] Complex programmable logic devices CPLD specifically include:

[0056] A real-time capture module is arranged in a complex programmable logic device CPLD, and includes a logic comparator and a timer circuit, and is used to capture and record the flashing signal and the flashing frequency of the heartbeat LED indicator in real time during the BMC startup process;

[0057] A logic comparator, the logic comparator is used to detect changes in the heartbeat LED indicator output signal and avoid false detection by setting a threshold;

[0058] A timer circuit is used to start timing to measure the flashing period after detecting a valid change in the heartbeat LED indicator output signal, and stop and reset when a preset time limit is reached or the next signal change is detected.

[0059] The BMC_FW_OK signal line is connected between the BMC and the complex programmable logic device CPLD, and is used to send a high-level signal to the complex programmable logic device CPLD after the BMC startup is completed. The BMC_FW_OK signal line is connected to the CPLD through the GPIO pin or dedicated interface of the BMC, and is set to a high-level state after the BMC firmware is successfully started.

[0060] The fault mapping module is set in the complex programmable logic device CPLD, and is used to map the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator light before the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, so that the system fault indicator light flashes at the same flashing frequency. When the CPLD detects that the flashing frequency of the heartbeat LED is abnormal, it may indicate that there is a startup problem or failure in the BMC. The fault mapping module maps this abnormal frequency to the system fault indicator light, so that it flashes at the same frequency, and the administrator or user can immediately notice the potential problem.

[0061] The stop mapping module is set in the complex programmable logic device CPLD, and is used to stop mapping the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator after the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level. The mapping of the flashing frequency of the heartbeat LED to the system fault indicator will be stopped because the system is in a normal state at this time.

[0062] The user interface or remote monitoring interface is used to remotely view or control the BMC startup process and the status of the system fault indicator.

[0063] By connecting the heartbeat LED indicator and the complex programmable logic device CPLD, the system can capture and record the flashing frequency of the heartbeat LED in real time, so as to quickly respond to any abnormal situation. This real-time monitoring capability allows administrators to quickly identify potential problems and take corresponding measures, thus avoiding downtime and data loss caused by system failures. By mapping the flashing frequency of the heartbeat LED to the system fault indicator, the system can display the startup stage and status of the BMC in an intuitive way. Administrators do not need to go deep into the system or rely on complex diagnostic tools, but can quickly understand the health of the system by observing the flashing of the indicator. This intuitiveness not only reduces the difficulty of administrators' operations, but also improves the ease of use and user satisfaction of the system. The use of complex programmable logic devices CPLD ensures the stability and reliability of the system. The complex programmable logic device CPLD has high flexibility and programmability, and can be customized and optimized as needed. At the same time, its high-speed data processing capability and low latency characteristics ensure the accuracy and real-time nature of real-time monitoring. In addition, the use of system fault indicators further enhances the reliability of the system. Once the abnormal flashing frequency of the heartbeat LED is detected, the system can quickly map the problem to the fault indicator, thereby helping administrators to quickly identify and locate the fault.

[0064] An embodiment of the present invention provides a terminal device. The terminal device of this embodiment includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0065] The computer program may be divided into one or more modules / units, and the one or more modules / units are stored in the memory and executed by the processor to accomplish the present invention.

[0066] The device / terminal equipment may be a computing device such as a desktop computer, a notebook, a palm computer, a cloud server, etc. The device / terminal equipment may include, but is not limited to, a processor and a memory.

[0067] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0068] The memory may be used to store the computer programs and / or modules, and the processor implements various functions of the apparatus / terminal device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory.

[0069] If the module / unit integrated in the device / terminal equipment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0070] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. BMC management system heartbeat LED monitoring method, It is characterized in that The following steps are involved: Connecting the heartbeat LED indicator to the complex programmable logic device CPLD, so that the complex programmable logic device CPLD can monitor the flashing frequency of the heartbeat LED indicator; During the BMC startup process, the complex programmable logic device CPLD captures and records the flashing frequency of the heartbeat LED indicator in real time; Set the BMC_FW_OK signal line to send a high level signal to the complex programmable logic device CPLD after the BMC is started. Before the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, the blinking frequency of the monitored heartbeat LED indicator is mapped to the system fault indicator light, so that the system fault indicator light blinks at the same blinking frequency, thereby visually displaying the startup phase of the BMC SOC; After the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, the mapping of the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator light is stopped.

2. A BMC management system heartbeat LED monitoring method as claimed in claim 1, It is characterized in that During the BMC startup process, the complex programmable logic device CPLD captures and records the flashing frequency of the heartbeat LED indicator in real time, specifically: Use logic comparison circuit to detect the change of heartbeat LED indicator output signal and set threshold to avoid false detection; The timer circuit starts timing to measure the blinking period after detecting a valid change in the heartbeat LED indicator output signal, and stops and resets when the preset time limit is reached or the next signal change is detected.

3. A BMC management system heartbeat LED monitoring method as claimed in claim 1, It is characterized in that The method in which the complex programmable logic device CPLD records the flashing frequency of the heartbeat LED indicator includes using an internal timer to calculate the time interval between two adjacent LED state changes, and calculating the flashing frequency accordingly. 4.BMC management system heartbeat LED monitoring system, It is characterized in that include: Heartbeat LED indicator, used to flash during BMC startup to indicate the BMC startup stage and status; A complex programmable logic device CPLD is connected to the heartbeat LED indicator and is used to monitor the flashing frequency of the heartbeat LED indicator; The BMC_FW_OK signal line is connected between the BMC and the complex programmable logic device CPLD and is used to send a high-level signal to the complex programmable logic device CPLD after the BMC is started. A fault mapping module is provided in the complex programmable logic device CPLD, and is used for mapping the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator light before the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level, so that the system fault indicator light flashes at the same flashing frequency; The stop mapping module is set in the complex programmable logic device CPLD and is used to stop mapping the monitored flashing frequency of the heartbeat LED indicator to the system fault indicator light after the complex programmable logic device CPLD detects that the BMC_FW_OK signal line is at a high level.

5. A BMC management system heartbeat LED monitoring system as claimed in claim 4, It is characterized in that The complex programmable logic device CPLD specifically includes: A real-time capture module is arranged in a complex programmable logic device CPLD, and includes a logic comparator and a timer circuit, and is used to capture and record the flashing signal and the flashing frequency of the heartbeat LED indicator in real time during the BMC startup process; A logic comparator, the logic comparator is used to detect changes in the heartbeat LED indicator output signal and avoid false detection by setting a threshold; A timer circuit is used to start timing to measure the flashing period after detecting a valid change in the heartbeat LED indicator output signal, and stop and reset when a preset time limit is reached or the next signal change is detected.

6. A BMC management system heartbeat LED monitoring system as claimed in claim 4, It is characterized in that The heartbeat LED indicator is connected to a complex programmable logic device CPLD via a GPIO pin or a dedicated interface.

7. A BMC management system heartbeat LED monitoring system as claimed in claim 4, It is characterized in that The BMC_FW_OK signal line is connected to the CPLD via the GPIO pin or the dedicated interface of the BMC, and is set to a high level state after the BMC firmware is successfully started.

8. A BMC management system heartbeat LED monitoring system as claimed in claim 4, It is characterized in that The system also includes a user interface or a remote monitoring interface for remotely viewing or controlling the startup process of the BMC and the status of the system fault indicator light.

9. A device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.