CPLD-based server hard disk backplane indicator light false alarm suppression method and device
By monitoring the LED signals of the RAID card and using a CPLD to control the on/off state of the server hard drive backplane indicator lights, the problem of false alarms of the hard drive backplane indicator lights was solved, achieving precise, reliable and flexible control of the indicator lights, and improving the stability and response speed of the system.
Patent Information
- Application Number
- CN202511565492.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2045-10-30
AI Technical Summary
Server hard drive backplane indicator lights are prone to false alarms during restart, which can mislead users, waste time and resources, and may mask real fault signals, affecting system stability and data security.
By monitoring the control and data signals of the LED indicator sent by the RAID card through the SGPIO interface, the CPLD is used to lock or resolve the signals to control the on/off state of the indicator light. Combined with a state machine and a counter, precise, reliable and flexible control of the indicator light is achieved.
Ensure that the indicator lights remain stable under abnormal conditions, so that users can accurately judge the working status of the hard drive backplane, improve system stability and response speed, simplify control logic, and reduce false alarms.
Smart Images

Figure CN121029451B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a method and apparatus for suppressing false alarms of server hard disk backplane indicator lights based on CPLD. Background Technology
[0002] With the continuous development of computer technology, servers play a crucial role in data storage and processing. As a key storage device in servers, the accurate monitoring of the hard drive's status is essential for ensuring data security and system stability. Indicator lights on the server hard drive backplane are typically used to visually display the hard drive's operating status, such as normal operation, fault, and data transfer. However, in practical applications, false alarms from these indicator lights have caused numerous problems for system maintenance and troubleshooting.
[0003] During server operation, especially during restarts, hard drive backplane indicator lights may produce false alarms for various reasons. For example, abnormal communication signals between the RAID card and the hard drive backplane may cause the indicator lights to flash or display incorrect status. Such false alarms not only mislead users' judgment of the actual status of the hard drives but may also trigger unnecessary maintenance operations, wasting manpower and time. Furthermore, false alarms from indicator lights may mask true fault signals, delaying the optimal time for fault handling, thereby affecting the normal operation of the entire server system and data security. Summary of the Invention
[0004] This invention provides a method and apparatus for suppressing false alarms of server hard disk backplane indicator lights based on CPLD, aiming to at least solve one of the technical problems existing in the prior art.
[0005] The technical solution of this invention is a method for suppressing false alarms of server hard disk backplane indicator lights in a CPLD, comprising:
[0006] During the server restart process, the RAID card sends an LED signal via the SGPIO interface, which includes control signals and data signals.
[0007] When the control signal and the data signal are both high for a preset time, the CPLD locks the server hard disk backplane indicator light to be off.
[0008] When either the control signal or the data signal is low, the LED lighting signal sent by the SGPIO interface is parsed by the CPLD to obtain the LED lighting signal, and the on / off state of the server hard disk backplane indicator light is controlled based on the LED lighting signal.
[0009] According to some embodiments of the present invention, it further includes:
[0010] When the server is detected to be entering the restart phase, check whether the SATA / SAS disks are present;
[0011] If the SATA / SAS disk is not in place, the on / off state of the server hard drive backplane indicator light is controlled based on the LED lighting signal;
[0012] If the SATA / SAS disk is in place, the on / off state of the server hard drive backplane indicator light is controlled based on the preset state machine control logic.
[0013] According to some embodiments of the present invention, controlling the on / off state of the server hard disk backplane indicator light based on preset state machine control logic includes:
[0014] Determine the state of the state machine;
[0015] When the state machine is in the reset phase, a reset signal is acquired. When the reset signal is low, the state machine is forced to enter the initial state.
[0016] Reset the counter to zero and release control of the hard drive backplane indicator light to the original LED lighting signal.
[0017] According to some embodiments of the present invention, it further includes:
[0018] After the state machine is reset, it enters an idle state and waits for the rising edge of the signal where both the control signal and the data signal are high.
[0019] When a valid high level is detected, the state machine transitions to the counting state and resets the counter.
[0020] According to some embodiments of the present invention, it further includes:
[0021] When the state machine is in the counting state, the counter is controlled to increment every 2MHz clock cycle;
[0022] When the count value reaches the preset value, a timeout is triggered, the control state machine enters an abnormal hold state, and the control of the server hard disk backplane indicator light is locked.
[0023] According to some embodiments of the present invention, it further includes:
[0024] When the state machine is in an abnormal hold state, the status of the server hard disk backplane indicator light is detected.
[0025] If the server hard drive backplane indicator light remains off, it is determined that there is an abnormality in the server hard drive backplane indicator light.
[0026] The state of the control signal and the data signal is continuously monitored, and the system returns to the initial state when both the control signal and the data signal return to a low level.
[0027] According to some embodiments of the present invention, the server hard drive backplane indicator light includes an active light, and controlling the on / off state of the server hard drive backplane indicator light based on the LED lighting signal includes:
[0028] Detect the SATA_DRIVER signal and determine whether the SATA_DRIVER signal is valid;
[0029] When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forcibly turns off the active light in the corresponding slot.
[0030] When the SATA_DRIVER signal is invalid, the on / off state of the active light is controlled based on the LED lighting signal.
[0031] According to some embodiments of the present invention, the server hard drive backplane indicator light further includes a positioning light, and the control of the on / off state of the server hard drive backplane indicator light based on the LED lighting signal includes:
[0032] Detect the SATA_DRIVER signal and determine whether the SATA_DRIVER signal is valid;
[0033] When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forcibly turns off the positioning light of the corresponding slot.
[0034] The system detects the positioning light control command issued by the BMC, and outputs a clock signal to control the positioning light to flash when the positioning light control command is true.
[0035] If the SATA_DRIVER signal is invalid and no positioning light control signal from the BMC is detected within a preset time threshold, the on / off state of the positioning light is controlled based on the LED lighting signal.
[0036] According to some embodiments of the present invention, the server hard drive backplane indicator light further includes a fault light, and the control method for controlling the on / off state of the server hard drive backplane indicator light based on the LED lighting signal includes:
[0037] Detect the SATA_DRIVER signal and determine whether the SATA_DRIVER signal is valid;
[0038] When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forcibly turns off the fault light in the corresponding slot.
[0039] When the SATA_DRIVER signal is invalid, the on / off state of the fault light is controlled based on the LED lighting signal.
[0040] The present invention also relates to a computer device, including a memory and a processor, wherein the processor performs the above-described method when executing a computer program stored in the memory.
[0041] The present invention also relates to a computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, implement the above-described method.
[0042] The CPLD-based server hard drive backplane indicator false alarm suppression method and apparatus provided in this invention has at least one of the following advantages or beneficial effects: It monitors the control and data signals in the indicator light signals sent by the RAID card through the SGPIO interface during server restart. The control signal indicates the validity of the data signal, and the data signal transmits specific indicator light control data, enabling real-time monitoring of the hard drive backplane indicator light status changes during server restart. This helps to accurately locate the control signal source of the hard drive backplane indicator light, ensuring that the indicator light can turn on and off as expected.
[0043] During server restart, the control and data signals for the LED indicator lights are monitored in real time. When both control and data signals are high for a preset time, the CPLD is triggered to lock the server hard drive backplane indicator lights to an off state. Locking the indicator lights to an off state via the CPLD avoids the influence of abnormal situations on the indicator light status, ensuring a stable state under specific conditions. This allows users to accurately determine the current operating status of the hard drive backplane. Using a CPLD to implement this function eliminates the need for complex software control, simplifying the system's control logic and improving overall system performance and response speed. When either the control or data signal is low, the CPLD parses the LED indicator light signal from the SGPIO interface and obtains the LED lighting signal. Based on the accurate LED lighting signal, the indicator light's on / off state is controlled, achieving dynamic response and accurate driving. This flexible control method can adjust the indicator light state promptly according to different signal states to accurately reflect the hard drive backplane's operating status, facilitating accurate judgment and monitoring of the server's hard drive backplane's working status.
[0044] Furthermore, additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0045] Figure 1 This is a flowchart of the CPLD-based server hard disk backplane indicator false alarm suppression method provided in this embodiment of the invention;
[0046] Figure 2 This is a detailed flowchart of the CPLD-based server hard disk backplane indicator false alarm suppression method provided in this embodiment of the invention;
[0047] Figure 3 This is a detailed flowchart of step S600 in the CPLD-based server hard disk backplane indicator false alarm suppression method provided in this embodiment of the invention;
[0048] Figure 4 This is a detailed flowchart of step S300 in the CPLD-based server hard disk backplane indicator false alarm suppression method provided in this embodiment of the invention;
[0049] Figure 5 This is a second detailed flowchart of step S300 in the CPLD-based server hard disk backplane indicator false alarm suppression method provided in this embodiment of the invention;
[0050] Figure 6 This is the third detailed flowchart of step S300 in the CPLD-based server hard disk backplane indicator false alarm suppression method provided in the embodiments of the present invention. Detailed Implementation
[0051] The following will provide a clear and complete description of the concept, specific structure, and technical effects of the present invention in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, solution, and effects of the present invention.
[0052] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. The singular forms "a," "described," and "the" used herein are also intended to include the plural forms, unless the context clearly indicates otherwise. Furthermore, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and not for limiting the invention. The term "and / or" as used herein includes any combination of one or more of the associated listed items.
[0053] It should be understood that although the terms first, second, third, etc., may be used to describe various elements in this invention, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from each other. For example, a first element may also be referred to as a second element without departing from the scope of the invention, and similarly, a second element may also be referred to as a first element. Any and all instances or exemplary language (“e.g.,” “such as,” etc.) provided herein are intended only to better illustrate embodiments of the invention and, unless otherwise required, do not impose a limitation on the scope of the invention.
[0054] During server operation, especially during restarts, hard drive backplane indicator lights may produce false alarms for various reasons. For example, abnormal communication signals between the RAID card and the hard drive backplane may cause the indicator lights to flash or display incorrect status. Such false alarms not only mislead users' judgment of the actual status of the hard drives but may also trigger unnecessary maintenance operations, wasting manpower and time. Furthermore, false alarms from indicator lights may mask true fault signals, delaying the optimal time for fault handling, thereby affecting the normal operation of the entire server system and data security.
[0055] Existing indicator light control methods mostly rely on simple hardware circuits or software programs. These methods often fail to effectively suppress false alarms when faced with complex signal interference and hardware failures. Hardware circuits have limited anti-interference capabilities, while software programs have relatively slow response times and are easily affected by factors such as system resource consumption. Therefore, there is an urgent need for a technical solution that can accurately and reliably control the status of server hard drive backplane indicator lights to solve the problem of false alarms in existing technologies and improve the stability and maintainability of servers under various operating conditions.
[0056] Based on this, embodiments of the present invention provide a method and apparatus for suppressing false alarms of server hard disk backplane indicator lights based on CPLD. By monitoring the control signal and data signal of the light-up signal, and adopting locking and dynamic control methods according to the level state of the control signal and data signal, the method achieves accurate, reliable and flexible control of the status of the server hard disk backplane indicator lights, improves the indicator light display effect and system stability during server restart, and facilitates users to accurately judge and monitor the working status of the server hard disk backplane.
[0057] Please refer to the following. Figures 1 to 6 As shown, the method and apparatus for suppressing false alarms of server hard disk backplane indicator lights based on CPLD provided in the embodiments of the present invention will be further described.
[0058] Reference Figure 1 As shown, Figure 1This is a flowchart illustrating the overall process of a CPLD-based method for suppressing false alarms of server hard drive backplane indicator lights, as provided in this embodiment of the invention. The CPLD-based method includes, but is not limited to, steps S100 to S300. Specifically,
[0059] S100: Monitors the LED signals sent by the RAID card through the SGPIO interface during the server restart process. The LED signals include control signals and data signals.
[0060] S200: When both the control signal and the data signal are at a high level for a preset time, the server hard drive backplane indicator light is locked to the off state via the CPLD.
[0061] S300: When either the load signal or the data signal is low, the CPLD parses the LED signal sent by the SGPIO interface to obtain the LED lighting signal, and controls the on / off state of the server hard drive backplane indicator light based on the LED lighting signal.
[0062] In some embodiments of the present invention, the CPLD-based method for suppressing false alarms of server hard drive backplane indicator lights includes: monitoring the light-up signals sent by the RAID card through the SGPIO interface during server restart, wherein the light-up signals include control signals (load signals) and data signals (data signals), the control signals (load signals) are used to indicate the validity of the data signals, and the data signals (data signals) are used to transmit specific indicator light control data.
[0063] By monitoring the LED signals sent by the RAID card, the status changes of the hard drive backplane indicator lights during server restarts can be tracked in real time. This helps to accurately locate the control signal source of the hard drive backplane indicator lights, ensuring that the indicator lights can turn on and off as expected.
[0064] During server restart, some abnormal situations may occur that cause indicator lights to flash or display an error status. Real-time monitoring of the load and data signals of the indicator lights ensures that the CPLD (Complex Programmable Logic Device) will only trigger the control operation to lock the server hard drive backplane indicator lights to an off state when both signals are simultaneously high for a preset time. Locking the indicator lights to an off state using the CPLD avoids the influence of these abnormal situations on the indicator light status, allowing the indicator lights to maintain a stable state under specific conditions, facilitating accurate judgment of the current working status of the hard drive backplane by the user. Furthermore, the CPLD has flexible logic configuration capabilities, easily implementing this locking function based on signal status and time conditions. Using the CPLD to implement this function eliminates the need for complex software control, simplifying the system's control logic, while also fully utilizing hardware resources and improving the overall system performance and response speed.
[0065] When either the load or data signal is low, it indicates that the RAID card has a new LED indicator signal to process. By parsing the LED indicator signal from the SGPIO interface using a CPLD, dynamic response to the indicator light's on / off state can be achieved. This flexible control method can adjust the indicator light's state promptly according to different signal states to accurately reflect the hard drive backplane's operating status; for example, the indicator light illuminates during hard drive read / write operations and turns off when idle. The CPLD's parsing of the SGPIO interface's LED indicator signal accurately extracts the LED indicator signal. This parsing process ensures signal accuracy and integrity, avoiding signal loss or errors during transmission and processing. Controlling the indicator light's on / off state based on accurate LED indicator signals enables precise driving, ensuring that the indicator light display matches the actual operating state of the hard drive backplane, thus improving the system's display accuracy.
[0066] By monitoring the load and data signals of the indicator lights and locking and dynamically controlling them based on their level states, precise, reliable, and flexible control of the server hard drive backplane indicator light status is achieved. This improves the indicator light display effect and system stability during server restarts, making it easier for users to accurately judge and monitor the working status of the server hard drive backplane.
[0067] Understandably, a RAID (Redundant Array of Independent Disks) card is a device used to manage hard drives, combining multiple hard drives into a single logical unit to provide data redundancy and performance enhancement.
[0068] The SGPIO (SATA General Purpose Input / Output) interface is a general-purpose input / output interface for SATA devices (such as hard drives). It is used for communication between RAID cards and hard drive backplanes. By sending LED signals through this interface, good compatibility between RAID cards of different brands and models and hard drive backplanes is ensured, which facilitates the selection and replacement of hardware devices and reduces the complexity of hardware integration.
[0069] It should be noted that in this embodiment of the invention, the preset time is 31.25ms. Setting the preset time ensures that the high-level states of the load and data signals are stable and effective, rather than being misjudged due to momentary interference or fluctuations. This time control mechanism improves the system's anti-interference capability. A locking operation is only performed after the signal has been continuously stable for the preset time (e.g., 31.25ms), further enhancing the reliability of the indicator light status control.
[0070] Reference Figure 2As shown, Figure 2 This is a detailed flowchart of the CPLD-based server hard drive backplane indicator false alarm suppression method provided in this embodiment of the invention. The CPLD-based server hard drive backplane indicator false alarm suppression method also includes, but is not limited to, steps S400 to S600. Specifically,
[0071] S400: When the server is detected to be entering the restart phase, check whether the SATA / SAS disk is present;
[0072] S500: If the SATA / SAS disk is not in place, the on / off state of the server hard drive backplane indicator light is controlled based on the LED lighting signal;
[0073] S600: If the SATA / SAS disk is in place, it controls the on / off state of the server hard drive backplane indicator light based on the preset state machine control logic.
[0074] In some embodiments of the present invention, during server restart, the system triggers a restart signal (e.g., via BIOS or operating system-level event notification). This signal is captured by the monitoring system, thereby initiating a check of the hard drive status. Afterwards,
[0075] The presence of the SATA / SAS drive is detected via a presence detection switch on the hard drive's backplane, or via the interface status of the RAID card or SATA / SAS controller. If the hard drive is present, the system will detect its connection signal; if the hard drive is not present, the corresponding connection signal will not be detected, thus determining whether the SATA / SAS drive is present.
[0076] If the hard drive is detected as missing, the system will directly control the on / off state of the hard drive back panel indicator light based on the LED light signal. In this case, the state of the indicator light may be fixed (e.g., flashing or solid) to prompt the user that the hard drive is missing.
[0077] If the hard drive is present, the system will control the on / off state of the hard drive backplane indicator lights according to preset state machine control logic. A state machine is a mathematical model used to describe the transitions between different states of a system. In hard drive indicator light control, the state machine can determine the display state of the indicator lights based on the hard drive's state (such as normal, fault, initialization, data transfer, etc.). For example: normal state: indicator light is solid green; fault state: indicator light is solid red; initialization state: indicator light flashes; data transfer state: indicator light flashes or displays a specific flashing pattern.
[0078] For example, during a server restart, checking the hard drive's presence and controlling indicator lights based on its status can help system administrators quickly identify problems. If the hard drive is not present, the indicator lights will display a specific state (such as flashing or solid light), prompting the user to check the hard drive connection. If the hard drive is present, the indicator lights will display different states based on the hard drive's actual status (such as normal or faulty), facilitating troubleshooting and maintenance by the administrator.
[0079] By combining hardware detection of SATA / SAS drives with state machine control logic, flexible control of server hard drive backplane indicator lights is achieved. It can select different control strategies based on whether the hard drive is present, thus providing clear and accurate hardware status feedback during server restarts, helping system administrators quickly identify and resolve problems.
[0080] Reference Figure 3 As shown, Figure 3 This is a detailed flowchart of step S600 in the CPLD-based server hard drive backplane indicator false alarm suppression method provided in this embodiment of the invention. Step S600 includes, but is not limited to, steps S610 to S612. Specifically,
[0081] S610: Determines the state of the state machine;
[0082] S611: When the state machine is in the reset phase, a reset signal is acquired. When the reset signal is low, the state machine is forced to enter the initial state.
[0083] S612: Set the counter to zero, releasing control of the hard drive backplane indicator light to the original LED lighting signal.
[0084] In some embodiments of the present invention, controlling the on / off state of the server hard disk backplane indicator light based on preset state machine control logic includes: in the server hard disk backplane indicator light control, the state machine determines the display state of the indicator light according to the state of the hard disk (such as normal, fault, initialization, reset, etc.). The system needs to monitor the current state of the state machine in real time and determine the state of the state machine so as to take corresponding control logic according to different states.
[0085] When the state machine is in the reset phase, it acquires the reset signal. The reset signal is a hardware signal, typically generated by system hardware (such as BIOS, RAID card, or CPLD), used to indicate that the system has entered the reset state. The level of the reset signal is detected; when the reset signal is a low-level signal (Active Low), it indicates a reset request.
[0086] The state machine will be forced into the initial state, which is the starting state of the state machine and serves as the default state after initialization or reset. In the initial state, a series of initialization operations are performed, such as checking if the hard drive is in place and initializing the hard drive backplane indicator lights. The counter is a component in the state machine used to record time or the number of events. During the reset phase, the counter needs to be cleared to ensure that the state machine starts from a clean state. When the state machine enters the initial state, the counter is cleared to restart counting.
[0087] During the reset phase, control of the hard drive backplane indicator lights is released to the original LED lighting signals. This means that during the reset phase, the indicator light status is directly controlled by the hardware-level LED lighting signals, rather than by the state machine. This design ensures that the indicator lights can quickly reflect the reset status by directly controlling the indicator lights via hardware signals when the state machine resets.
[0088] By using state machine state judgment and reset signal detection, flexible control of the hard drive backplane indicator lights is achieved. During the reset phase, the state machine forces the system into the initial state, clears the counter, and releases control of the indicator lights to the original LED lighting signal. This logic ensures that the system can quickly enter the initial state during reset and directly control the indicator lights through hardware signals, thus providing clear visual feedback for system initialization and reset.
[0089] In some embodiments of the present invention, the CPLD-based server hard disk backplane indicator false alarm suppression method further includes, but is not limited to, steps S620 to S621. Specifically,
[0090] S620: After the state machine is reset, it enters the idle state and waits for the rising edge of a signal where both the control signal and the data signal are high.
[0091] S621: When a valid high level is detected, the state machine transitions to the counting state and resets the counter.
[0092] When the reset signal changes from low to high (or the reset signal disappears), the state machine exits the reset state and enters the idle state. The idle state is the initial state that the state machine enters after the reset is released, and it is usually used to wait for an external signal to trigger the next operation. After the state machine enters the idle state, it waits for the rising edge of both the control signal (load signal) and the data signal (data signal) to be high. The rising edge is the instant when the low level changes to the high level.
[0093] When both the load and data signals are high for a sustained period of time, it is considered a valid high-level signal. Upon detecting a valid high level, the state machine transitions from the idle state to the counting state, beginning to monitor the signal duration. The counter is reset to zero and begins counting. It can be understood that the counting state is used to count the signal duration to determine whether the signal meets preset conditions.
[0094] In one embodiment, during server restart, the state machine controls the on / off state of the hard drive backplane indicator light by detecting the status of the load and data signals. By waiting for the rising edge of the signal, the state machine can ensure the stability and validity of the signal, avoiding misjudgments caused by signal jitter. In the counting state, the state machine can further determine whether the signal meets preset conditions (such as duration). If the signal duration reaches the preset value, the state machine may further jump to other states (such as indicator light control state) to determine the final state of the indicator light.
[0095] Precise control of the hard drive backplane indicator lights is achieved through state machine transitions and counter resets. After the reset is complete, the state machine enters an idle state, waiting for a valid rising edge of a high-level signal. When a valid high level is detected, the state machine transitions to the counting state and resets the counter, thus ensuring signal stability and validity. This logic not only improves system reliability but also provides clear visual feedback for hardware monitoring during server restarts.
[0096] In some embodiments of the present invention, the CPLD-based server hard disk backplane indicator false alarm suppression method further includes, but is not limited to, steps S630 to S631. Specifically,
[0097] S630: When the state machine is in the counting state, the control counter increments every 2MHz clock cycle;
[0098] S631: When the count value reaches the preset value, a timeout is triggered, the control state machine enters the abnormal hold state, and the control of the server hard disk backplane indicator light is locked.
[0099] When the state machine is in the counting state, the counter increments every 2MHz clock cycle. This means the counter counts at a frequency of 2MHz, or 2,000,000 times per second. The clock cycle is the basic unit of time for the counter; a 2MHz clock frequency means each clock cycle is 0.5 nanoseconds. When the count value reaches a preset value, the counter triggers a timeout signal. The preset value is a predefined count value used to determine when the counter triggers a timeout. This value can be set according to specific application requirements. For example, if the preset value is 1,000,000, the counter needs to count for 1,000,000 clock cycles before triggering a timeout.
[0100] When the count value reaches the preset value, a timeout is triggered, and the state machine jumps from the counting state to the abnormal hold state. The abnormal hold state is used to handle signal abnormalities, hardware failures, or other situations that require pausing normal operation. In the abnormal hold state, the state machine will lock the control of the hard disk backplane indicator light to prevent the indicator light state from being changed further. This locking mechanism can ensure that the indicator light maintains a stable state in abnormal situations and avoid misjudgments caused by signal jitter or hardware failure.
[0101] Reliable control of the hard drive backplane indicator lights is achieved through precise counting by a counter and state machine transitions. In counting mode, the counter increments at a clock frequency of 2MHz. When the count reaches a preset value, the state machine enters an exception hold state and locks the indicator light control. This logic not only improves system reliability but also provides clear feedback for server hardware monitoring, helping users quickly identify and handle anomalies.
[0102] In some embodiments of the present invention, the CPLD-based server hard disk backplane indicator false alarm suppression method further includes, but is not limited to, steps S640 to S642. Specifically,
[0103] S640: When the state machine is in an abnormal hold-out state, detect the status of the server hard disk backplane indicator light;
[0104] S641: If the server hard drive backplane indicator light remains off, it is determined that there is an abnormality in the server hard drive backplane indicator light.
[0105] S642: Continuously monitors the status of control and data signals, and returns to the initial state when both control and data signals return to a low level.
[0106] In the abnormal hold state, the state machine continuously monitors the status of the server hard drive backplane indicator lights. The status of the indicator lights can be detected through hardware circuits (such as GPIO pins) or the output signals of the CPLD. If the hard drive backplane indicator light is detected to remain off, the state machine confirms that the indicator light is abnormal and triggers an alarm or logs it so that the system administrator can conduct further investigation to confirm whether the indicator light is not working properly due to hardware failure, signal loss, or other problems.
[0107] In the abnormal hold state, the state machine not only checks the indicator light status but also continuously monitors the status of the control signal (load signal) and the data signal (data signal). Changes in the status of the load signal and the data signal are key conditions for the state machine to return to the initial state. When both the load signal and the data signal return to a low level, the state machine considers the signals to have returned to normal. In this case, the state machine will return from the abnormal hold state to the initial state, ready to perform the next operation. In the initial state, the state machine can restart signal detection or perform other initialization operations.
[0108] By using a state machine to detect and monitor indicator lights while the system is in an abnormal state, reliable control of the server hard drive backplane indicator lights is ensured. When an abnormal indicator light is detected, the state machine locks the indicator light control and triggers an alarm; when the signal returns to normal, the state machine returns to its initial state, ready for the next operation. This logic not only improves system reliability but also provides clear feedback for server hardware monitoring, helping users quickly identify and handle abnormal situations.
[0109] In one embodiment, the indication and control of abnormal status of the hard drive backplane indicator light is achieved by monitoring the load and data signals of the SGPIO interface.
[0110] When both the load and data signals are high for 31.25ms, the hard drive backplane indicator light is locked in an off state (abnormal indication).
[0111] When either the load signal or the data signal is low, the control of the hard drive backplane indicator light's on / off state is handed over to the original LED control signal (normal status indicator).
[0112] The value of 31.25ms is taken according to the SFF-8485 standard (SGPIO standard) for judging abnormal states.
[0113] This can be achieved using the following code:
[0114] / / Signal definition section:
[0115] wire SGPIO_SATA1_LOAD_Filter; / / Filtered SGPIO load signal (synchronized to 2MHz clock domain)
[0116] wire SGPIO_SATA1_DOUT_Filter; / / Filtered SGPIO data output signal (synchronized to 2MHz clock domain)
[0117] wire [3:0] SATA_DRIVER; / / SATA / SAS hard drive presence status indicator (1: present)
[0118] wire [3:0] wSSD_Act_LED_N; / / Original active indicator light control signal (active low)
[0119] wire [3:0] wSSD_Loc_LED_N; / / Original positioning indicator control signal (active low)
[0120] wire [3:0] wSSD_Flt_LED_N; / / Original fault indicator control signal (active low)
[0121] wire wClk_2M; / / 2MHz clock signal
[0122] wire wRst_n; / / Reset signal (active low)
[0123] / / State machine control logic:
[0124] wire signal_high = SGPIO_SATA1_LOAD_Filter & SGPIO_SATA1_DOUT_Filter; / / Valid signal detection; signal_high is high when both signals are high simultaneously.
[0125] reg led_ctrl; / / LED control register
[0126] reg [15:0] counter; / / 16-bit counter
[0127] reg [1:0] state; / / State machine register
[0128] localparam IDLE = 2'b00; / / Idle state
[0129] localparam COUNT = 2'b01; / / Counting status
[0130] localparam HOLD = 2'b10; / / Maintain state
[0131] always @(posedge wClk_2M or negedge wRst_n) begin / / Triggered on rising clock edge, triggered by low reset signal
[0132] if(!wRst_n) begin
[0133] state <= IDLE; / / Enter idle state
[0134] counter <= 16'd0; / / Reset the counter to zero
[0135] led_ctrl <= 1'b0; / / When idle / reset, the control of the LED's on / off state is handed over to the original LED control signal.
[0136] end else begin
[0137] case(state)
[0138] IDLE: if(signal_high) begin / / Valid signal detected, enter counting phase
[0139] state <= COUNT; / / Enter counting state
[0140] counter <= 16'd0;
[0141] end
[0142] COUNT: if(counter < 16'd62_499) begin / / Count 31.25ms (2MHz clock)
[0143] counter <= counter + 1'b1;
[0144] end else begin
[0145] state1 <= HOLD; / / Enter hold state
[0146] led_ctrl <= 1'b1; / / Counting complete, LED remains off (locking abnormal state)
[0147] end
[0148] HOLD: if(!signal_high)begin / / If the signal is low, return idle.
[0149] state <= IDLE; / / Enter idle state
[0150] end
[0151] endcase
[0152] end
[0153] end
[0154] / / SATA / SAS disk presence status detection
[0155] assign SATA_DRIVER[0] = (wIFDET_N[0]||wPRSNT_N[0]) ? 1'b0 : 1'b1; / / Detect hard drive in slot 0 (1'b1 indicates SATA / SAS disk is in place)
[0156] assign SATA_DRIVER[1] = (wIFDET_N[1]||wPRSNT_N[1]) ? 1'b0 : 1'b1; / / Detect hard drive in slot 1 (1'b1 indicates that the SATA / SAS disk is in place)
[0157] assign SATA_DRIVER[2] = (wIFDET_N[2]||wPRSNT_N[2]) ? 1'b0 : 1'b1; / / Detect hard drive in slot 2 (1'b1 indicates that the SATA / SAS disk is in place)
[0158] assign SATA_DRIVER[3] = (wIFDET_N[3]||wPRSNT_N[3]) ? 1'b0 : 1'b1; / / Detect hard drive in slot 3 (1'b1 indicates that SATA / SAS disk is in place)
[0159] Reference Figure 4 As shown, Figure 4 This is a detailed flowchart of step S300 in the CPLD-based server hard drive backplane indicator false alarm suppression method provided in this embodiment of the invention. S300 includes, but is not limited to, steps S310 to S312. Specifically,
[0160] S310: Detects the SATA_DRIVER signal and determines whether the SATA_DRIVER signal is valid;
[0161] S311: When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forcibly turns off the active light in the corresponding slot.
[0162] S312: When the SATA_DRIVER signal is invalid, the on / off state of the active light is controlled based on the LED lighting signal.
[0163] In some embodiments of the present invention, the server hard drive backplane indicator light includes an active light. Controlling the on / off state of the server hard drive backplane indicator light based on the LED illumination signal includes: detecting the SATA_DRIVER signal. The SATA_DRIVER signal is a hardware signal used to indicate whether the SATA hard drive is present and functioning normally. The SATA_DRIVER signal is typically generated by the hard drive backplane or RAID card and transmitted to the CPLD via hardware circuitry. The CPLD detects the level of the SATA_DRIVER signal to determine whether the signal is valid. Generally, a high level indicates a valid signal, and a low level indicates an invalid signal.
[0164] When the RAID card detects a hard drive anomaly (such as failure, initialization failure, etc.), it will issue an abnormal SGPIO pattern. The CPLD needs to detect these abnormal patterns and process them according to preset logic. If the SATA_DRIVER signal is valid and the CPLD detects the abnormal SGPIO pattern issued by the RAID card, the CPLD will forcibly turn off the activity light of the corresponding slot. In this case, the status of the activity light is directly controlled by the CPLD to ensure that the user can quickly identify the abnormal status of the hard drive.
[0165] If the SATA_DRIVER signal is invalid, the CPLD will control the on / off state of the activity light based on the LED lighting signal. The LED lighting signal is a low-level control signal, usually generated by the RAID card or hard drive backplane, used to directly control the status of the indicator light.
[0166] Understandably, in one embodiment, during server operation, the CPLD monitors the hard drive status in real time by detecting the SATA_DRIVER signal and SGPIO pattern. If a hard drive malfunction is detected, the CPLD will forcibly turn off the activity light to alert the user that the hard drive may be faulty. If the hard drive is working normally, the CPLD will control the status of the activity light according to the LED lighting signal to reflect the current status of the hard drive (such as normal, data transmission, etc.).
[0167] By using a CPLD to detect the SATA_DRIVER signal and SGPIO patterns, flexible control of the server hard drive backplane indicator lights is achieved. When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected, the CPLD forcibly turns off the indicator light, alerting the user to a hard drive malfunction. When the SATA_DRIVER signal is invalid, the CPLD controls the indicator light's state based on the LED's illumination signal. This logic not only improves system reliability but also provides clear feedback for server hard drive monitoring, helping users quickly identify and address hard drive status issues.
[0168] Reference Figure 5 As shown, Figure 5This is a second detailed flowchart of step S300 in the CPLD-based server hard drive backplane indicator false alarm suppression method provided in this embodiment of the invention. S300 includes, but is not limited to, steps S320 to S323. Specifically,
[0169] S320: Detects the SATA_DRIVER signal and determines whether the SATA_DRIVER signal is valid;
[0170] S321: When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forces the corresponding slot's positioning light to turn off.
[0171] S322: Detects the positioning light control command issued by the BMC. When the positioning light control command is true, it outputs a clock signal to control the positioning light to flash.
[0172] S323: If the SATA_DRIVER signal is invalid and no positioning light control signal issued by the BMC is detected within the preset time threshold, the on / off state of the positioning light is controlled based on the LED lighting signal.
[0173] In some embodiments of the present invention, the server hard drive backplane indicator light includes a positioning light. Controlling the on / off state of the server hard drive backplane indicator light based on the LED lighting signal further includes: detecting the SATA_DRIVER signal. The SATA_DRIVER signal is a hardware signal used to indicate whether the SATA hard drive is present and functioning normally. The SATA_DRIVER signal is typically generated by the hard drive backplane or RAID card and transmitted to the CPLD via hardware circuitry. The CPLD detects the level of the SATA_DRIVER signal to determine whether the signal is valid. Generally, a high level indicates a valid signal, and a low level indicates an invalid signal.
[0174] If the SATA_DRIVER signal is valid and the CPLD detects an abnormal SGPIO pattern from the RAID card, the CPLD will forcibly turn off the corresponding slot's positioning light. In this case, the positioning light's state is directly controlled by the CPLD to ensure users can quickly identify the hard drive's abnormal status. The BMC is an independent management controller used to monitor the server's hardware status. The BMC can issue positioning light control commands to indicate the hard drive's location or status. When the BMC's positioning light control command is true, the CPLD outputs a clock signal to control the positioning light to blink. The blinking positioning light can be used to indicate the hard drive's location or status, facilitating user maintenance or troubleshooting.
[0175] If the SATA_DRIVER signal is invalid and no positioning light control command is detected from the BMC within a preset time threshold, the CPLD will control the on / off state of the positioning light based on the LED lighting signal. The LED lighting signal is a low-level control command, usually generated by the RAID card or hard drive backplane, used to directly control the status of the indicator light.
[0176] By comprehensively detecting the SATA_DRIVER signal, the RAID card's SGPIO pattern, and the BMC's positioning light control commands using a CPLD, flexible control of the server hard drive backplane positioning lights is achieved. When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected, the CPLD forcibly turns off the positioning light, alerting the user to a hard drive malfunction. When the BMC issues a positioning light control command, the CPLD controls the positioning light to flash, indicating the hard drive's position or status. When the SATA_DRIVER signal is invalid and no BMC signal is detected, the CPLD controls the positioning light's state based on the LED lighting signal. This logic not only improves system reliability but also provides clear visual feedback for server hard drive monitoring, helping users quickly identify and address hard drive status.
[0177] Reference Figure 6 As shown, Figure 6 This is a third detailed flowchart of step S300 in the CPLD-based server hard drive backplane indicator false alarm suppression method provided in this embodiment of the invention. S300 includes, but is not limited to, steps S330 to S333. Specifically,
[0178] S330: Detects the SATA_DRIVER signal and determines whether the SATA_DRIVER signal is valid;
[0179] S331: When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forces the fault light in the corresponding slot to turn off.
[0180] S332: When the SATA_DRIVER signal is invalid, the on / off state of the fault light is controlled based on the LED lighting signal.
[0181] In some embodiments of the present invention, the server hard drive backplane indicator light also includes a fault indicator. Controlling the on / off state of the server hard drive backplane indicator light based on the LED lighting signal further includes: detecting the SATA_DRIVER signal. The SATA_DRIVER signal is a hardware signal used to indicate whether the SATA hard drive is present and working normally. The SATA_DRIVER signal is typically generated by the hard drive backplane or RAID card and transmitted to the CPLD via hardware circuitry. The CPLD detects the level of the SATA_DRIVER signal to determine whether the signal is valid. Generally, a high level indicates a valid signal, and a low level indicates an invalid signal.
[0182] If the SATA_DRIVER signal is valid and the CPLD detects an abnormal SGPIO pattern from the RAID card, the CPLD will forcibly turn off the fault indicator light in the corresponding slot. In this case, the status of the fault indicator light is directly controlled by the CPLD to ensure that users can quickly identify the abnormal status of the hard drive.
[0183] If the SATA_DRIVER signal is invalid, the CPLD will control the on / off state of the fault indicator based on the LED lighting signal. The LED lighting signal is a low-level control signal, usually generated by the RAID card or hard drive backplane, used to directly control the status of the indicator light.
[0184] By comprehensively detecting the SATA_DRIVER signal and the SGPIO code pattern of the RAID card using a CPLD, flexible control of the server hard drive backplane fault indicator is achieved. When the SATA_DRIVER signal is valid and an abnormal SGPIO code pattern is detected, the CPLD forcibly turns off the fault indicator, alerting the user to a hard drive malfunction. When the SATA_DRIVER signal is invalid, the CPLD controls the status of the fault indicator based on the LED lighting signal. This logic not only improves system reliability but also provides clear visual feedback for server hard drive monitoring, helping users quickly identify and address hard drive status.
[0185] In one embodiment, controlling the on / off state of the server hard drive backplane indicator light based on the LED lighting signal is achieved through the following code:
[0186] / / LED driving logic
[0187] assign SSD0_ACTIVE_LED_N = (SATA_DRIVER[0]&&led_ctrl == 1'b1) ? 1'b1:wSSD_Act_LED_N[0]; / / Slot 0 active LED control: Force off when SATA / SAS disk is in place and led_ctrl is valid, otherwise pass through the original signal.
[0188] assign SSD1_ACTIVE_LED_N = (SATA_DRIVER[1]&&led_ctrl == 1'b1) ? 1'b1:wSSD_Act_LED_N[1]; / / The control logic for the active LED in slot 1 is the same as above.
[0189] assign SSD2_ACTIVE_LED_N = (SATA_DRIVER[2]&&led_ctrl == 1'b1) ? 1'b1:wSSD_Act_LED_N[2]; / / The control logic for the active LED in slot 2 is the same as above.
[0190] assign SSD3_ACTIVE_LED_N = (SATA_DRIVER[3]&&led_ctrl == 1'b1) ? 1'b1:wSSD_Act_LED_N[3]; / / The control logic for the active LED in slot 3 is the same as above.
[0191] assign SSD0_LOCATE_LED_N = (SATA_DRIVER[0]&&led_ctrl == 1'b1) ? 1'b1:DRV_0_LOCATE[4] ? wClk4 : wSSD_Loc_LED_N[0]; / / Slot 0 positioning light control: Force off when SATA / SAS hard drive is in place and led_ctrl is valid.
[0192] assign SSD1_LOCATE_LED_N = (SATA_DRIVER[1]&&led_ctrl == 1'b1) ? 1'b1:DRV_1_LOCATE[4] ? wClk4 : wSSD_Loc_LED_N[1]; / / The control logic for the positioning light in slot 1 is the same as above.
[0193] assign SSD2_LOCATE_LED_N = (SATA_DRIVER[2]&&led_ctrl == 1'b1) ? 1'b1:DRV_2_LOCATE[4] ? wClk4 : wSSD_Loc_LED_N[2]; / / The control logic for the positioning light in slot 2 is the same as above.
[0194] assign SSD3_LOCATE_LED_N = (SATA_DRIVER[3]&&led_ctrl == 1'b1) ? 1'b1:DRV_3_LOCATE[4] ? wClk4 : wSSD_Loc_LED_N[3]; / / The control logic for the positioning light in slot 3 is the same as above.
[0195] assign SSD0_FAULT_LED_N =(SATA_DRIVER[0]&&led_ctrl == 1'b1) ? 1'b1 :wSSD_Flt_LED_N[0]; / / Slot 0 fault light control: Force off when SATA / SAS hard drive is in place and led_ctrl is valid, otherwise pass through the original signal.
[0196] assign SSD1_FAULT_LED_N =(SATA_DRIVER[1]&&led_ctrl == 1'b1) ? 1'b1 :wSSD_Flt_LED_N[1]; / / The control logic for the fault LED in slot 1 is the same as above.
[0197] assign SSD2_FAULT_LED_N =(SATA_DRIVER[2]&&led_ctrl == 1'b1) ? 1'b1 :wSSD_Flt_LED_N[2]; / / The control logic for the fault LED in slot 2 is the same as above.
[0198] assign SSD3_FAULT_LED_N =(SATA_DRIVER[3]&&led_ctrl == 1'b1) ? 1'b1 :wSSD_Flt_LED_N[3]; / / The control logic for the fault LED in slot 3 is the same as above.
[0199] It should be understood that the method steps in the embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can use standard programming techniques. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if necessary, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).
[0200] Furthermore, the procedures described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by the context. The procedures described herein (or variations and / or combinations thereof) may be executed under the control of one or more computer systems configured with executable instructions, and may be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. The computer program comprises a plurality of instructions executable by one or more processors.
[0201] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices, etc. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention described herein includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques described in the invention, the invention may also include the computer itself.
[0202] A computer program can be applied to input data to perform the functions described herein, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.
[0203] The above description is merely a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.
Claims
1. A method for suppressing false alarms of server hard disk backplane indicator lights based on CPLD, characterized in that, include: During the server restart process, the RAID card sends an LED signal via the SGPIO interface, which includes control signals and data signals; When the control signal and the data signal are both high for a preset time, the CPLD locks the server hard disk backplane indicator light to be off. When either the control signal or the data signal is low, the LED lighting signal sent by the SGPIO interface is parsed by the CPLD to obtain the LED lighting signal, and the on / off state of the server hard disk backplane indicator light is controlled based on the LED lighting signal. When the server is detected to be entering the restart phase, check whether the SATA / SAS disks are present; If the SATA / SAS disk is not in place, the on / off state of the server hard drive backplane indicator light is controlled based on the LED lighting signal; If the SATA / SAS disk is in place, the on / off state of the server hard drive backplane indicator light is controlled based on the preset state machine control logic; The control of the on / off state of the server hard drive backplane indicator light based on the preset state machine control logic includes: Determine the state of the state machine; When the state machine is in the reset phase, a reset signal is acquired. When the reset signal is low, the state machine is forced to enter the initial state. Reset the counter to zero and release control of the hard drive backplane indicator light to the original LED lighting signal.
2. The method for suppressing false alarms of server hard disk backplane indicator lights based on CPLD according to claim 1, characterized in that, Also includes: After the state machine is reset, it enters an idle state and waits for the rising edge of the signal where both the control signal and the data signal are high. When a valid high level is detected, the state machine transitions to the counting state and resets the counter.
3. The method for suppressing false alarms of server hard disk backplane indicator lights based on CPLD according to claim 2, characterized in that, Also includes: When the state machine is in the counting state, the counter is controlled to increment every 2MHz clock cycle; When the count value reaches the preset value, a timeout is triggered, the control state machine enters an abnormal hold state, and the control of the server hard disk backplane indicator light is locked.
4. The method for suppressing false alarms of server hard disk backplane indicator lights based on CPLD according to claim 2, characterized in that, Also includes: When the state machine is in an abnormal hold state, the status of the server hard disk backplane indicator light is detected. If the server hard drive backplane indicator light remains off, it is determined that there is an abnormality in the server hard drive backplane indicator light. The state of the control signal and the data signal is continuously monitored, and the system returns to the initial state when both the control signal and the data signal return to a low level.
5. The method for suppressing false alarms of server hard disk backplane indicator lights based on CPLD according to claim 1, characterized in that, The server hard drive backplane indicator light includes an active light, and controlling the on / off state of the server hard drive backplane indicator light based on the LED lighting signal includes: Detect the SATA_DRIVER signal and determine whether the SATA_DRIVER signal is valid; When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forcibly turns off the active light in the corresponding slot. When the SATA_DRIVER signal is invalid, the on / off state of the active light is controlled based on the LED lighting signal.
6. The method for suppressing false alarms of server hard disk backplane indicator lights based on CPLD according to claim 1, characterized in that, The server hard drive backplane indicator light also includes a positioning light, and the control of the on / off state of the server hard drive backplane indicator light based on the LED lighting signal includes: Detect the SATA_DRIVER signal and determine whether the SATA_DRIVER signal is valid; When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forcibly turns off the positioning light of the corresponding slot. The system detects the positioning light control command issued by the BMC, and outputs a clock signal to control the positioning light to flash when the positioning light control command is true. If the SATA_DRIVER signal is invalid and no positioning light control signal from the BMC is detected within a preset time threshold, the on / off state of the positioning light is controlled based on the LED lighting signal.
7. The method for suppressing false alarms of server hard disk backplane indicator lights based on CPLD according to claim 1, characterized in that, The server hard drive backplane indicator light also includes a fault indicator light, and the control of the on / off state of the server hard drive backplane indicator light based on the LED lighting signal includes: Detect the SATA_DRIVER signal and determine whether the SATA_DRIVER signal is valid; When the SATA_DRIVER signal is valid and an abnormal SGPIO pattern is detected from the RAID card, the CPLD forcibly turns off the fault light in the corresponding slot. When the SATA_DRIVER signal is invalid, the on / off state of the fault light is controlled based on the LED lighting signal.
8. A computer device comprising a memory and a processor, characterized in that, When the processor executes a computer program stored in the memory, it performs the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Control method, device and equipment of hard disk state indicator lamp and storage medium
CN119226104A