CN117608887A - Fault determination method and device, storage medium and electronic equipment - Google Patents

Fault determination method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117608887A
CN117608887A CN202311369410.9A CN202311369410A CN117608887A CN 117608887 A CN117608887 A CN 117608887A CN 202311369410 A CN202311369410 A CN 202311369410A CN 117608887 A CN117608887 A CN 117608887A
Authority
CN
China
Prior art keywords
hard disk
actual
control signal
fault
display state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311369410.9A
Other languages
Chinese (zh)
Inventor
李元臣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Metabrain Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Metabrain Intelligent Technology Co Ltd filed Critical Suzhou Metabrain Intelligent Technology Co Ltd
Priority to CN202311369410.9A priority Critical patent/CN117608887A/en
Publication of CN117608887A publication Critical patent/CN117608887A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's

Landscapes

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

Abstract

The embodiment of the application provides a fault determination method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring prestored actual control information and prestored actual control signals under the condition that a first hard disk fault occurs in a target hard disk and a target indicator lamp of the target hard disk is in an actual display state; determining a prediction control signal according to the actual control information; and determining the fault of the indicator lamp of the target indicator lamp according to the predicted control signal, the actual control signal, the predicted display state and the actual display state. Through this application, solved the lower problem of trouble determination efficiency, and then reached the effect that promotes trouble determination efficiency.

Description

Fault determination method and device, storage medium and electronic equipment
Technical Field
The embodiment of the application relates to the field of computers, in particular to a fault determination method and device, a storage medium and electronic equipment.
Background
In the case of a hard disk failure, maintenance personnel can be prompted by a form of lighting, but the hard disk lighting may be problematic, for example, the actually-lighted hard disk and the actually-failed hard disk do not coincide, in order to determine the cause of the hard disk lighting failure, in the related art, waveform data of an uplink VPP/SGPIOpin (pin) of a backboard CPLD (Complex Programmable Logic Device, a complex programmable logic device) is often grasped by an oscilloscope, and analysis is performed to determine whether lighting information received by the CPLD is correct, so as to lock the time and the range of lighting failure.
In this way, on the one hand, an expensive oscilloscope is required, on the other hand, the waveform grasped by the oscilloscope is unprocessed, and phenomena such as overshoot and overlapping which are unfavorable for identifying and analyzing each bit of data exist, so that the fault cause is difficult to locate, and it can be understood that the fault determination efficiency is low.
Disclosure of Invention
The embodiment of the application provides a fault determination method and device, a storage medium and electronic equipment, so as to at least solve the problem of low fault determination efficiency in the related technology.
According to one embodiment of the present application, there is provided a fault determination method including: acquiring prestored actual control information and prestored actual control signals under the condition that a first hard disk fault occurs in a target hard disk and a target indicator lamp of the target hard disk is in an actual display state, wherein the actual control information is control information generated when the first hard disk fault occurs in the target hard disk, the actual display state is used for indicating that a second hard disk fault occurs in the target hard disk, the first hard disk fault and the second hard disk fault are different, and the actual control signals are control signals which are sent to the target indicator lamp and are used for controlling the display state of the target indicator lamp; determining a prediction control signal according to the actual control information, wherein the prediction control signal is used for controlling the target indicator lamp to be in a prediction display state; and determining the fault of the indicator lamp of the target indicator lamp according to the prediction control signal, the actual control signal, the prediction display state and the actual display state.
In an exemplary embodiment, said determining a predictive control signal based on said actual control information comprises: acquiring an actual hard disk fault identifier carried in the actual control information; determining the predicted display state according to the actual hard disk fault identification; generating the predictive control signal for representing the predictive display status.
In an exemplary embodiment, the determining the predicted display state according to the actual hard disk failure identifier includes: and determining the predicted display state corresponding to the actual hard disk fault identification from a preset set of corresponding relations, wherein the set of corresponding relations comprises a one-to-one correspondence relation between N hard disk fault identifications and N display states, the N hard disk fault identifications are used for representing N hard disk faults, the N display states are N display states of the target indicator lamp, and N is a positive integer greater than or equal to 2.
In an exemplary embodiment, the determining, according to the predicted control signal, the actual control signal, the predicted display state, and the actual display state, an indicator light fault occurring in the target indicator light includes: comparing the predicted control signal with the actual control signal to obtain a first comparison result; comparing the predicted display state with the actual display state to obtain a second comparison result; and determining the fault of the indicator lamp of the target indicator lamp according to the first comparison result and the second comparison result.
In an exemplary embodiment, the comparing the predicted control signal and the actual control signal to obtain a first comparison result includes: comparing the amplitude of the predicted control signal with the amplitude of the actual control signal; in the case where the magnitude of the predictive control signal and the magnitude of the actual control signal are the same, the first comparison result is determined to indicate that the predictive control signal and the actual control signal are the same.
In an exemplary embodiment, the determining, according to the first comparison result and the second comparison result, an indicator light fault occurring in the target indicator light includes: when the first comparison result is used for indicating that the predicted control signal is the same as the actual control signal, and the second comparison result is used for indicating that the predicted display state is the same as the actual display state, determining that the indicator lamp fault is wrong in the actual control information, or determining that an actual hard disk fault identifier carried in the actual control information is different from a fault identifier of the first hard disk fault; determining that the indicator light fault is a fault of a hardware circuit connected with the target indicator light when the first comparison result is used for indicating that the predicted control signal is the same as the actual control signal and the second comparison result is used for indicating that the predicted display state is different from the actual display state, wherein the hardware circuit is used for receiving the actual control signal sent to the target indicator light by the target indicator light; and determining the indicator lamp fault as an error of the generated actual control signal under the condition that the first comparison result is used for indicating that the predicted control signal and the actual control signal are different.
In an exemplary embodiment, the acquiring the pre-stored actual control information and the pre-stored actual control signal includes: acquiring the identification of the target hard disk; the method comprises the steps of obtaining actual control information and the actual control signals corresponding to the identification of the target hard disk from a target register, wherein the target register is used for storing a group of hard disk identifications, a group of control information and a group of control signals which have corresponding relations, the group of hard disk identifications are used for representing a group of hard disks, the group of hard disks comprise the target hard disk, the group of control information comprises the actual control information, the group of control signals comprise the actual control signals, the ith control information in the group of control information is control information generated when the ith hard disk in the group of hard disks fails, and the ith control signal in the group of control signals is used for controlling the display state of an indicator lamp of the ith hard disk, wherein i is a positive integer greater than or equal to 1.
According to another embodiment of the present application, there is provided a fault determining apparatus including: the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring prestored actual control information and prestored actual control signals under the condition that a first hard disk fault occurs in a target hard disk and a target indicator lamp of the target hard disk is in an actual display state, wherein the actual control information is generated when the first hard disk fault occurs in the target hard disk, the actual display state is used for indicating that a second hard disk fault occurs in the target hard disk, the first hard disk fault and the second hard disk fault are different, and the actual control signals are control signals which are sent to the target indicator lamp and are used for controlling the display state of the target indicator lamp; the first determining module is used for determining a prediction control signal according to the actual control information, wherein the prediction control signal is used for controlling the target indicator lamp to be in a prediction display state; and the second determining module is used for determining the indicator light fault of the target indicator light according to the prediction control signal, the actual control signal, the prediction display state and the actual display state.
According to a further embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the present application, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the method and the device, under the condition that the hard disk faults indicated by the indicating lamps of the hard disk are different from the hard disk faults actually occurring in the hard disk, the indicating lamps of the hard disk can be indicated to possibly occur the indicating lamp faults, under the condition, accurate prediction display signals are determined according to the actual control information of the indicating lamps, and it can be understood that the prediction display signals are used for controlling the indicating lamps to be in accurate prediction display states, the indication lamp faults occurring in the indicating lamps are automatically determined according to the prediction control signals, the actual control signals sent to the indicating lamps, the prediction display states of the indicating lamps and the actual display states of the indicating lamps, the problem that the fault determination efficiency is low is solved, and the effect of improving the fault determination efficiency is achieved.
Drawings
Fig. 1 is a hardware configuration block diagram of a server apparatus of a failure determination method of an embodiment of the present application;
FIG. 2 is a flow chart of a fault determination method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative hardware connection in accordance with implementations of the present application;
FIG. 4 is a schematic diagram of an alternative delivery control message according to an embodiment of the present application;
FIG. 5 is a second schematic diagram of an alternative delivery of control information according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an alternative fault determination method according to an embodiment of the present application;
fig. 7 is a block diagram of a failure determination apparatus according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a server device or similar computing device. Taking the example of running on a server device, fig. 1 is a hardware block diagram of a server device of a fault determination method according to an embodiment of the present application. As shown in fig. 1, the server device may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU, a programmable logic device FPGA, or the like processing means) and a memory 104 for storing data, wherein the server device may further include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those of ordinary skill in the art that the architecture shown in fig. 1 is merely illustrative and is not intended to limit the architecture of the server apparatus described above. For example, the server device may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, such as software programs and modules of application software, such as computer programs corresponding to the fault determination method in the embodiments of the present application, and the processor 102 executes the computer programs stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located with respect to the processor 102, which may be connected to the server device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a fault determining method is provided, fig. 2 is a flowchart of the fault determining method according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S202, when a first hard disk failure occurs in a target hard disk and a target indicator lamp of the target hard disk is in an actual display state, acquiring prestored actual control information and prestored actual control signals, wherein the actual control information is control information generated when the first hard disk failure occurs in the target hard disk, the actual display state is used for indicating that a second hard disk failure occurs in the target hard disk, the first hard disk failure is different from the second hard disk failure, and the actual control signals are control signals which are sent to the target indicator lamp and are used for controlling the display state of the target indicator lamp;
step S204, a second hard disk fault occurs to the hard disk, the first hard disk fault is different from the second hard disk fault, and the actual control signal is a control signal sent to the target indicator lamp and used for controlling the display state of the target indicator lamp;
determining a prediction control signal according to the actual control information, wherein the prediction control signal is used for controlling the target indicator lamp to be in a prediction display state;
And step S206, determining the fault of the indicator light of the target indicator light according to the prediction control signal, the actual control signal, the prediction display state and the actual display state.
Through the steps, under the condition that the hard disk fault indicated by the indicating lamp of the hard disk is different from the hard disk fault actually occurred by the indicating lamp of the hard disk, the indicating lamp fault possibly occurred by the indicating lamp of the hard disk can be indicated, under the condition, the accurate prediction display signal is determined according to the actual control information of the indicating lamp, and it can be understood that the prediction display signal is used for controlling the indicating lamp to be in the accurate prediction display state, the indication lamp fault occurred by the indicating lamp is automatically determined according to the prediction control signal, the actual control signal sent to the indicating lamp, the prediction display state of the indicating lamp and the actual display state of the indicating lamp, the waveform acquired by the oscilloscope is analyzed by consuming a large amount of time, and the indication lamp fault occurred by the indicating lamp is determined.
The main execution body of the above steps may be a server, a terminal, or the like, but is not limited thereto.
In the technical solution provided in step S202, the target hard disk may include, but is not limited to, a hard disk disposed on a server, for example, an SAS hard disk, an SATA hard disk, or an NVME hard disk, and in case of a hard disk failure, in order to improve efficiency of positioning the failed hard disk by a maintenance personnel, the target indicator lamp of the target hard disk may be, but is not limited to, controlled to be in a display state corresponding to the failure, so as to further improve a position of the failed hard disk by the maintenance personnel.
Alternatively, in this embodiment, the actual control information may be, but is not limited to, used to generate an actual control signal when the first hard disk failure occurs in the target hard disk, and the actual control signal may be, but is not limited to, used to control the display state of the target indicator light in the target hard disk. As an alternative example, the actual control information may be, but is not limited to, input into a CPLD, or a logic element such as an FPGA, through which the actual control information is parsed, and the actual control signal is generated, for example, through which the actual control information is parsed by the CPLD.
Alternatively, in the present embodiment, the display state may include, but is not limited to, a display mode, a display color, and a frequency of blinking, etc., for example, a target indicator lamp controlling a target hard disk is turned on, or a target indicator lamp controlling a target hard disk is switched to a color displayed, or a target indicator lamp controlling a target hard disk is accelerated to blink, etc.
Optionally, taking an indicator light corresponding to the hard disk to be turned on as an example, the hard disk backboard may be turned on in the following two manners, but not limited to: first, for SAS or SATA hard disk, lighting information is sent to the back plate by the SGPIO bus, and the CPLD is responsible for resolving SClock, SLoad, SDataOut and sdaatain signals in the SGPIO bus, and outputs lighting signals to indicator lamps (e.g., LED lamps or other indicator lamps) corresponding to the hard disk after resolving is completed. Secondly, for the NVME hard disk, after receiving the NVME bit information sent by the CPLD through the VPP, the CPU returns the location/Error information of the NVME hard disk to the CPLD to carry out the operation of lighting the hard disk back plate.
However, due to various factors such as design, operation, or collision members, abnormal lighting of the back plate of the hard disk often occurs, for example, the hard disk fault actually indicated by the indicator lamp may not be consistent with the hard disk fault actually indicated by the hard disk, for example, the hard disk does not correspond to the position of the indicator lamp, the issued indicator lamp controls the indicator lamp to display blue, but the indicator lamp displays red. In such a case, it is necessary to perform a localization analysis of the failure point.
In one exemplary embodiment, the pre-stored actual control information and the pre-stored actual control signals may be acquired, but are not limited to, by: acquiring the identification of the target hard disk; the method comprises the steps of obtaining actual control information and the actual control signals corresponding to the identification of the target hard disk from a target register, wherein the target register is used for storing a group of hard disk identifications, a group of control information and a group of control signals which have corresponding relations, the group of hard disk identifications are used for representing a group of hard disks, the group of hard disks comprise the target hard disk, the group of control information comprises the actual control information, the group of control signals comprise the actual control signals, the ith control information in the group of control information is control information generated when the ith hard disk in the group of hard disks fails, and the ith control signal in the group of control signals is used for controlling the display state of an indicator lamp of the ith hard disk, wherein i is a positive integer greater than or equal to 1.
Alternatively, in this embodiment, the ith control information may be, but not limited to, used to generate the ith control signal when the ith hard disk in the group of hard disks fails, and the ith control signal may be, but not limited to, used to control the display state of the indicator light of the ith hard disk.
Optionally, in this embodiment, the ith control information is control information actually used to generate the ith control signal, where the ith control signal is a control signal actually used to control a display state of an indicator light of the ith hard disk, and it is understood that, in a case where at least one of the ith control information and the ith control signal may have a problem, an indicator light failure may occur in the indicator light of the ith hard disk. And the fault of the indicator lamp is determined through the real control signal and the real control information, so that the reliability of the determined fault of the indicator lamp is improved.
Optionally, in this embodiment, the identifier of the target hard disk may include at least one of letters, numbers and character strings, where each hard disk in a group of hard disks corresponds to one-to-one and different identifiers, and in this way, accurate division of each hard disk is achieved.
In the technical solution provided in step S204, the actual control information may be, but is not limited to, used for determining a prediction control signal when the hard disk failure actually indicated by the target indicator light of the target hard disk is inconsistent with the hard disk failure actually indicated by the target hard disk, where the prediction control signal is used for controlling the target indicator light to be in a prediction display state, and the prediction display state is used for indicating that the first hard disk failure occurs in the target hard disk.
Alternatively, in this embodiment, the prediction control signal may, but is not limited to, be not sent to the target indicator, but the prediction control signal is determined according to the actual control information, so as to determine the correct predicted display state of the target indicator.
In one exemplary embodiment, the predictive control signal may be determined from the actual control information, but is not limited to, by: acquiring an actual hard disk fault identifier carried in the actual control information; determining the predicted display state according to the actual hard disk fault identification; generating the predictive control signal for representing the predictive display status.
Optionally, in this embodiment, the actual control information may, but not limited to, carry an actual hard disk failure identifier of the target hard disk, where the actual hard disk failure identifier may, but not limited to, include at least one of letters, numbers and character strings, and each hard disk failure has a one-to-one correspondence and a different identifier, so that by this way, accurate distinction of the failure occurring in the hard disk is achieved.
Alternatively, in the present embodiment, the predictive control signal for representing the predictive display state may be generated by, but not limited to, the following means: and determining a predicted state identifier corresponding to the predicted display state, and recording the predicted state identifier on a target bit of a predicted control signal, wherein different predicted display states have one-to-one corresponding state identifiers, the predicted control signal comprises a plurality of bits, the plurality of bits comprise the target bit, and one bit in the plurality of bits is used for recording the state identifier corresponding to the display state of one indicator lamp of the target hard disk.
Optionally, in this embodiment, the actual hard disk failure identifier carried in the actual control information may be an identifier of a hard disk failure actually occurring in the target hard disk, or may not be an identifier of a hard disk failure actually occurring in the target hard disk, and it is understood that an actual hard disk failure identifier carried in the actual control information may also be wrong.
In one exemplary embodiment, the predictive display status may be determined, but is not limited to, from the actual hard disk failure identification by: and determining the predicted display state corresponding to the actual hard disk fault identification from a preset set of corresponding relations, wherein the set of corresponding relations comprises a one-to-one correspondence relation between N hard disk fault identifications and N display states, the N hard disk fault identifications are used for representing N hard disk faults, the N display states are N display states of the target indicator lamp, and N is a positive integer greater than or equal to 2.
Optionally, in this embodiment, various hard disk faults may occur in the hard disk, different hard disk faults correspond to different hard disk fault identifiers, and each hard disk fault identifier has a one-to-one correspondence and different display states.
Optionally, in this embodiment, the predicted display state corresponding to the actual hard disk failure identifier may be determined from a set of corresponding relationships, for example, taking N hard disk failure identifiers including a hard disk failure identifier 1, a hard disk failure identifier 2, and a hard disk failure identifier 3, and one-to-one correspondence between the hard disk failure identifier 1, the hard disk failure identifier 2, and the hard disk failure identifier 3 and the display state 1, the display state 2, and the display state 3 as an example, where the hard disk failure identifier 1 fails, it may be determined that the predicted display state corresponding to the hard disk failure identifier 1 is the display state 1 from a set of corresponding relationships.
In the solution provided in step S206, the indicator fault of the indicator may be a line between the motherboard and the back board (for example, before the CPLD), a CPLD itself problem (for example, code related) or a back board hardware line (for example, after the CPLD), etc., so as to determine the indicator fault of the target indicator, the indicator fault of the target indicator may be determined according to, but not limited to, the prediction control signal, the actual control signal, the prediction display state and the actual display state. By the mode, the waveform grabbed by the high-precision oscilloscope is avoided, the fault of the indicator lamp, which occurs to the indicator lamp, is analyzed, and the economic cost and the time cost required for determining the fault of the indicator lamp, which occurs to the indicator lamp, are reduced.
In one exemplary embodiment, the indicator light fault that the target indicator light has may be determined from the predicted control signal, the actual control signal, the predicted display state, and the actual display state, but is not limited to, by: comparing the predicted control signal with the actual control signal to obtain a first comparison result; comparing the predicted display state with the actual display state to obtain a second comparison result; and determining the fault of the indicator lamp of the target indicator lamp according to the first comparison result and the second comparison result.
Alternatively, in this embodiment, the second comparison result may be obtained by comparing whether the display color, the flicker frequency, and the like in the predicted display state and the display color, the flicker frequency, and the like in the actual display state are identical.
Optionally, in this embodiment, in a case where a display color, a display frequency, and the like in the predicted display state and a display color, a display frequency in the actual display state are both identical, the second comparison result is determined to be used to indicate that the predicted display state and the actual display state are identical; in the case where there is at least one inconsistency in the display color, the display frequency, etc. in the predicted display state and the display color, the display frequency, etc. in the actual display state, a second comparison result is determined to indicate that the predicted display state and the actual display state are different. By the method, under the condition that at least one of the predicted display state and the actual display state is inconsistent, the second comparison result can be determined to be used for indicating that the predicted display state and the actual display state are different, and accuracy of determining the second comparison result is improved.
In one exemplary embodiment, the first comparison result may be obtained by, but is not limited to, comparing the predicted control signal and the actual control signal by: comparing the amplitude of the predicted control signal with the amplitude of the actual control signal; in the case where the magnitude of the predictive control signal and the magnitude of the actual control signal are the same, the first comparison result is determined to indicate that the predictive control signal and the actual control signal are the same.
Alternatively, in this embodiment, the predicted control signal of the target indicator light may be determined from the first set of control signals, and the actual control signal of the target indicator light may be determined from the second set of control signals, where the target hard disk has a plurality of indicator lights, the plurality of indicator lights include the target indicator light, the first set of control signals is used to represent the predicted control signals of the plurality of indicator lights, and the second set of control signals is used to represent the actual control signals of the plurality of indicator lights.
Alternatively, in the present embodiment, it is possible, but not limited to, comparing whether the amplitude of the predictive control signal and the amplitude of the actual control signal are the same, and in the case where the amplitude of the predictive control signal and the amplitude of the actual control signal are different, determining the first comparison as indicating that the predictive control signal and the actual control signal are different.
For example, in the case where a hard disk failure occurs in the hard disk, the amplitude of the control signal is 1, in which case the display color of the indicator lamp is red, and in the case where the amplitude of the control signal is 0, the indicator lamp is turned off. Then, if the magnitude of the predictive control signal is 1 and the magnitude of the actual control signal is 0, in such a case, the first comparison result is determined to indicate that the predictive control signal and the actual control signal are different; if the magnitude of the predictive control signal is 1 and the magnitude of the actual control signal is 1, in such a case, the first comparison result is determined to indicate that the predictive control signal and the actual control signal are identical.
By the method, whether the predicted control signal is identical to the actual control signal or not is determined by comparing whether the amplitude of the predicted control signal is identical to the amplitude of the actual control signal or not, and efficiency of determining whether the actual control signal is wrong or not is improved.
In one exemplary embodiment, the indicator light fault that the target indicator light has may be determined, but is not limited to, by one of the following:
in a first aspect, when the first comparison result is used to indicate that the predicted control signal is the same as the actual control signal, and the second comparison result is used to indicate that the predicted display state is the same as the actual display state, the indicator lamp fault is determined to be an error in the actual control information, or it is determined that an actual hard disk fault identifier carried in the actual control information is different from a fault identifier of the first hard disk fault.
Optionally, in this embodiment, when the first comparison result is used to indicate that the predicted control signal is the same as the actual control signal, and the second comparison result is used to indicate that the predicted display state is the same as the actual display state, it may indicate that the actual control signal output by the CPLD in analyzing the actual control information is accurate, and the predicted display state is the same as the actually observed state of the indicator light, and in this case, it is determined that the indicator light fault occurred in the target indicator light is an actual control information issuing error, for example, packet loss or messy code occurs in the process of transmitting the actual control information to the CPLD; or determining that the indicator light fault of the target indicator light is different from the actual hard disk fault identifier carried in the actual control information and the fault identifier of the hard disk fault actually occurred in the hard disk, for example, the fault 1 of the hard disk fault actually occurred in the hard disk, but the fault identifier of the fault 2 is carried in the actual control information.
In a second mode, when the first comparison result is used for indicating that the predicted control signal is the same as the actual control signal, and the second comparison result is used for indicating that the predicted display state is different from the actual display state, the indicator lamp fault is determined to be a fault of a hardware circuit connected with the target indicator lamp, wherein the hardware circuit is used for receiving the actual control signal sent to the target indicator lamp by the target indicator lamp.
Alternatively, in this embodiment, when the first comparison result is used to indicate that the predicted control signal and the actual control signal are the same, and the second comparison result is used to indicate that the predicted display state and the actual display state are different, it may be understood that the actual control signal output by the CPLD in analyzing the actual control information is accurate, and the predicted display state is different from the actually observed indicator light state, and in such a case, the indicator light fault is determined as a fault in the hardware line connected to the target indicator light, for example, there is a problem in the hardware line between the backboard CPLD and the target indicator light, which results in a fault in the actual control signal received by the target indicator light.
In a third aspect, when the first comparison result is used to indicate that the predicted control signal and the actual control signal are different, the indicator light fault is determined to be an error occurring in the generated actual control signal.
Alternatively, in this embodiment, in the case where the first comparison result is used to indicate that the predicted control signal and the actual control signal are different, it may be understood that the actual control signal output by the CPLD analyzing the actual control information is inaccurate, in which case, the fault of the indicator light is determined to be an error in the generated actual control signal, for example, the code of the CPLD itself has a problem, and in which case, it is necessary to check the code of the lighting analysis portion of the CPLD reversely.
By the method, the fault of the indicator lamp, which is generated by the target indicator lamp, is automatically determined according to the actual control signal, the predicted control signal, the actual display state and the predicted display state, the efficiency of determining the fault of the indicator lamp is improved, and the efficiency of determining the cause of the fault of the indicator lamp is determined for maintenance personnel.
For a better understanding of the fault determination method in the embodiments of the present application, the fault determination process in the implementation of the present application is explained and illustrated below in connection with alternative embodiments, which may be, but are not limited to, applicable to the embodiments of the present application.
On a software level, developing a hard disk backboard lighting fault location system based on Visual Studio (or c++ or other computer language, which is not limited in this application), the system comprising: the system comprises a data acquisition unit, a logic calculation unit and a fault positioning unit.
On the hardware level, the upper computer is connected with the backboard CPLD through JTAG (Joint Test Action Group ) and is used for capturing lighting information transmitted by SGPIO (Serial General Purpose Input/Output bus, serial universal input/Output bus), VPP (Voltage Protection Protocol bus, power supply potential bus) and I2C (Inter-Integrated Circuit, serial dual-line interface) buses in real time; the upper computer is connected to a main board BMC (Baseboard Management Controller ) through a UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiver/Transmitter) for capturing serial port logs, such as: SAS (Serial Attached SCSI ), SATA (Serial Advanced Technology Attachment, serial ATA), or NVME (Non-Volatile Memory Express, nonvolatile memory expansion) disk logs; and reading and writing the register information of the backboard CPLD to send a lighting instruction to the backboard CPLD. Fig. 3 is a schematic diagram of an alternative hardware connection according to the implementation of the present application, as shown in fig. 3, for the NVME hard disk, the CPU (Central Processing Unit ) goes up to the MCIOX8, and issues the lighting information through the VPP bus. For SAS and SATA hard disks, the upper behavior PCH (Platform Controller Hub ), SAS card, RAID (Redundant Array of Independent Disks Card, redundant array of independent disks card) card, or expander card goes to Slimline X4, and issues lighting information through the SGPIO bus. Aiming at NVME, SAS or SATA hard disk, BMC can issue lighting information to the backboard CPLD through a 12C bus, and meanwhile, BMC and backboard CPLD can also perform other data interaction in a mode of reading and writing backboard CPLD register information. It will be appreciated that: each type of hard disk has two lighting modes, and the two modes are independent. The upper computer acquires required data through accessing the UART interface of the main board and the JTAG interface of the back board, and performs back board lighting fault positioning analysis.
Data acquisition unit-JTAG interface: the upper computer establishes connection with the backboard CPLD through a JTAG interface, and acquires SGPIO, VPP, I C lighting information input into the CPLD and lighting signals output by the CPLD by adopting a boundary scanning technology. The basic idea of boundary scan is: a shift register unit (boundary scan register, which is first equivalent to the target register) is added to the input/output pins near the chip. The register unit can isolate the chip from peripheral input and output circuits, so that continuous observation of input and output signals of the chip is realized.
Data acquisition unit-UART interface: the upper computer is connected to the main board BMC through a UART interface, and establishes communication with the backboard CPLD through an I2C bus. After the backboard CPLD I2C address is obtained, backboard lighting fault reproduction and verification under the I2C bus can be directly realized by clicking "error", "location", "rebuild" on the hard disk backboard lighting fault positioning system.
Logic calculation unit: the read data of the backplate CPLDVPP, SGPIO, I2Cpin foot is preprocessed from 0/1 data to waveform data (for debug view verification and analysis). And on the other hand, analyzing key information in the data to obtain lighting signals output by the CPLD.
Fault locating unit: based on the upstream lighting information, the CPLD output by the logic calculation unit is analyzed to obtain a lighting signal (corresponding to a prediction control signal), and the lighting signal (corresponding to an actual control signal) output by the CPLD stored in the captured register is compared to perform abnormal lighting fault location.
Fig. 4 is a schematic diagram of an alternative issue of control information according to an embodiment of the present application, as shown in fig. 4, for the NVME hard disk, the CPU or Switch issues lighting information (corresponding to control information) through the VPP bus. VPP is a set of host SMBUS (System Management Bus ), 8bit data represents 1 port,1 port corresponds to one NVME hard disk, and the data bits used may include, but are not limited to, bit0, bit1, and bit4.
Fig. 5 is a schematic diagram two of an alternative control information issuing, as shown in fig. 5, for an SAS/SATA hard disk, lighting information thereof is issued through an SGPIO bus according to an embodiment of the present application. The high level of the first SLoad indicates the last bit of the last set of lighting information, and the lighting information of the hard disk is stored in the SDataOut signal. The lighting information of each hard disk is indicated by 3 bits, active, locate, error information, and active can be regarded as a read-write lamp (yellow-green lamp), local is a positioning lamp (blue lamp), and Error is a fault lamp (red lamp). The blue and red lights are both lighted as powder lights. CPLD analyzes SGPIO protocol and lights the location/Error LED lamp by using location information and Error information. It should be noted that, at present, all Active lighting information of the hard disk is given to the CPLD by the hard disk itself to control lighting, the CPLD plays a role of transparent transmission, and the Active lighting information given to the CPLD by the uplink (such as a motherboard and the like) is shielded by the CPLD, so that only location and Error information need to be considered.
FIG. 6 is a schematic diagram of an alternative fault determination method according to an embodiment of the present application, as shown in FIG. 6, may include, but is not limited to, the following steps:
in step S601, a physical connection is established between the motherboard BMC and the UART interface, and between the motherboard PLD and the JTAG interface. After the hardware circuit is completed, a program is started and the system is entered.
Step S602, when the back panel is abnormal, may include, but is not limited to: drop down select hard disk type (SAS/SATA hard disk or NVME hard disk); the model of the backboard CPLD (104 pin number or 206pin number) is selected by pulling down; confirming the corresponding pin of CPLD connected with the uplink SGPIO bus or VPP bus; confirming the corresponding pin of the CPLD which is connected with an LED lamp (yellow-green lamp, blue-red lamp or E1.S hard disk lamp) in a downlink manner; and confirming the corresponding pin of the CPLD connected by the uplink BMC through the I2C bus.
In step S603, click the "run" button, the data acquisition unit captures the uplink lighting information data and the downlink lighting signal register information, and reproduces the back panel lighting abnormal fault site. For example, the up lighting information data stored in the register is captured based on JTAG boundary scan for the corresponding pin of the CPLD connected to the up SGPIO bus or VPP bus, and the down lighting signal information stored in the register is acquired.
In step S604, the "operation" button is clicked, the logic calculation unit performs data processing and calculation, outputs the lighting information data waveform received by the CPLD, and outputs the lighting signal that the CPLD should theoretically analyze.
In step S605, click the "debug" button, and locate the fault occurring in the indicator lamp by the fault location unit, for example, for the corresponding pin of the CPLD downlink LED lamp, compare the lighting signal (high/low level, or 1/0) output by the logic operation with the register information (1 or 0) of the actually read corresponding LED pin of the CPLD. If the results are consistent with the actual observed LED lamp state, proving that the abnormal lighting is caused by the error issuing of the uplink instruction; if the two results are consistent, but are consistent with the actually observed LED lamp state U, the lighting abnormality is proved to be caused by the problem of a hardware circuit between the backboard CPLD and the LED lamp; if the results are inconsistent, the lighting abnormality is proved to be caused by the problem of the CPLD code itself, and the CPLD lighting analysis part code needs to be reversely checked.
In step S606, since the upper computer and the backboard CPLD are physically connected through the JTAG interface, if the fault point is located as a problem in the CPLD code itself, the "debug" button can be directly clicked, the backboard CPLD FW file is exported and modified, and after the modification is completed, the "burn" button is clicked to update the backboard CPLD FW, so as to perform debug result verification.
Step S607, repeating the above steps S602 to 606, and verifying the back panel lighting abnormality under the I2C bus control. Note that, the analysis process of the lighting information transmitted by SGPIO, VPP, I C has independence in the CPLD code, and needs to be separately analyzed and verified.
According to the fault determination method in the embodiment of the application, a hard disk backboard lighting fault positioning system is added on the basis of the existing server backboard hardware circuit. The CPLD uplink VPP, SGPIO, I C data transmission is grabbed and displayed in a waveform form, and preparation is made for debug fault point positioning. Aiming at the VPP and SGPIO lighting, the fault area can be quickly positioned, and debug efficiency is improved. The system can directly interact with the BMC, and can send out a lighting instruction through the I2C, so that analysis and verification under the I2C lighting line are realized. CPLD FW can be directly exported/burned through JTAG interface for code modification and verification, thereby helping to quickly locate fault points and improving debug efficiency under hard disk lighting abnormal scene.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
In this embodiment, a device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, which are not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
FIG. 7 is a block diagram of a fault determination apparatus according to an embodiment of the present application, as shown in FIG. 7, including
An obtaining module 802, configured to obtain, when a first hard disk failure occurs in a target hard disk and a target indicator light of the target hard disk is in an actual display state, pre-stored actual control information and pre-stored actual control signals, where the actual control information is control information generated when the first hard disk failure occurs in the target hard disk, the actual display state is used to indicate that a second hard disk failure occurs in the target hard disk, the first hard disk failure is different from the second hard disk failure, and the actual control signals are control signals sent to the target indicator light and used to control a display state of the target indicator light;
A first determining module 804, configured to determine a prediction control signal according to the actual control information, where the prediction control signal is used to control the target indicator to be in a predicted display state;
a second determining module 806, configured to determine, according to the predicted control signal, the actual control signal, the predicted display state, and the actual display state, an indicator light fault that occurs in the target indicator light.
By means of the device, under the condition that the hard disk faults indicated by the indicating lamps of the hard disk are different from the hard disk faults actually occurring in the hard disk, the indicating lamps of the hard disk can be indicated to possibly occur in the indicating lamp faults, in such a case, accurate prediction display signals are determined according to the actual control information of the indicating lamps, and it is understood that the prediction display signals are used for controlling the indicating lamps to be in accurate prediction display states, the fact that the indicating lamp faults occurring in the indicating lamps are automatically determined according to the prediction control signals, the actual control signals sent to the indicating lamps, the prediction display states of the indicating lamps and the actual display states of the indicating lamps is achieved, the problem that the fault determination efficiency is low is solved, and the effect of improving the fault determination efficiency is achieved.
In one exemplary embodiment, the first determining module includes: the first acquisition unit is used for acquiring an actual hard disk fault identifier carried in the actual control information; the first determining unit is used for determining the prediction display state according to the actual hard disk fault identification; and a generation unit configured to generate the predictive control signal indicating the predictive display state.
In an exemplary embodiment, the first determining unit is configured to: and determining the predicted display state corresponding to the actual hard disk fault identification from a preset set of corresponding relations, wherein the set of corresponding relations comprises a one-to-one correspondence relation between N hard disk fault identifications and N display states, the N hard disk fault identifications are used for representing N hard disk faults, the N display states are N display states of the target indicator lamp, and N is a positive integer greater than or equal to 2.
In one exemplary embodiment, the second determining module includes: the first comparison unit is used for comparing the prediction control signal with the actual control signal to obtain a first comparison result; the second comparison unit is used for comparing the predicted display state with the actual display state to obtain a second comparison result; and the second determining unit is used for determining the fault of the indicator lamp of the target indicator lamp according to the first comparison result and the second comparison result.
In an exemplary embodiment, the first comparing unit is configured to: comparing the amplitude of the predicted control signal with the amplitude of the actual control signal; in the case where the magnitude of the predictive control signal and the magnitude of the actual control signal are the same, the first comparison result is determined to indicate that the predictive control signal and the actual control signal are the same.
In an exemplary embodiment, the second determining unit is configured to: when the first comparison result is used for indicating that the predicted control signal is the same as the actual control signal, and the second comparison result is used for indicating that the predicted display state is the same as the actual display state, determining that the indicator lamp fault is wrong in the actual control information, or determining that an actual hard disk fault identifier carried in the actual control information is different from a fault identifier of the first hard disk fault; determining that the indicator light fault is a fault of a hardware circuit connected with the target indicator light when the first comparison result is used for indicating that the predicted control signal is the same as the actual control signal and the second comparison result is used for indicating that the predicted display state is different from the actual display state, wherein the hardware circuit is used for receiving the actual control signal sent to the target indicator light by the target indicator light; and determining the indicator lamp fault as an error of the generated actual control signal under the condition that the first comparison result is used for indicating that the predicted control signal and the actual control signal are different.
In one exemplary embodiment, the acquisition module includes: the second acquisition unit is used for acquiring the identification of the target hard disk; the third obtaining unit is configured to obtain, from a target register, the actual control information and the actual control signal corresponding to the identifier of the target hard disk, where the target register is configured to store a set of hard disk identifiers, a set of control information, and a set of control signals that have a correspondence, the set of hard disk identifiers are used to represent a set of hard disks, the set of hard disks includes the target hard disk, the set of control information includes the actual control information, the set of control signals includes the actual control signal, an ith control information in the set of control information is control information generated when an ith hard disk in the set of hard disks fails, and an ith control signal in the set of control signals is used to control a display state of an indicator lamp of the ith hard disk, where i is a positive integer greater than or equal to 1.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
Embodiments of the present application also provide an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic device may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A fault determination method is characterized in that,
Comprising the following steps:
acquiring prestored actual control information and prestored actual control signals under the condition that a first hard disk fault occurs in a target hard disk and a target indicator lamp of the target hard disk is in an actual display state, wherein the actual control information is control information generated when the first hard disk fault occurs in the target hard disk, the actual display state is used for indicating that a second hard disk fault occurs in the target hard disk, the first hard disk fault and the second hard disk fault are different, and the actual control signals are control signals which are sent to the target indicator lamp and are used for controlling the display state of the target indicator lamp;
determining a prediction control signal according to the actual control information, wherein the prediction control signal is used for controlling the target indicator lamp to be in a prediction display state;
and determining the fault of the indicator lamp of the target indicator lamp according to the prediction control signal, the actual control signal, the prediction display state and the actual display state.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the determining a prediction control signal according to the actual control information comprises the following steps:
Acquiring an actual hard disk fault identifier carried in the actual control information;
determining the predicted display state according to the actual hard disk fault identification;
generating the predictive control signal for representing the predictive display status.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
and determining the predicted display state according to the actual hard disk fault identifier, including:
and determining the predicted display state corresponding to the actual hard disk fault identification from a preset set of corresponding relations, wherein the set of corresponding relations comprises a one-to-one correspondence relation between N hard disk fault identifications and N display states, the N hard disk fault identifications are used for representing N hard disk faults, the N display states are N display states of the target indicator lamp, and N is a positive integer greater than or equal to 2.
4. The method of claim 1, wherein the step of determining the position of the substrate comprises,
and determining an indicator light fault of the target indicator light according to the predicted control signal, the actual control signal, the predicted display state and the actual display state, including:
comparing the predicted control signal with the actual control signal to obtain a first comparison result;
Comparing the predicted display state with the actual display state to obtain a second comparison result;
and determining the fault of the indicator lamp of the target indicator lamp according to the first comparison result and the second comparison result.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
the comparing the prediction control signal and the actual control signal to obtain a first comparison result includes:
comparing the amplitude of the predicted control signal with the amplitude of the actual control signal;
in the case where the magnitude of the predictive control signal and the magnitude of the actual control signal are the same, the first comparison result is determined to indicate that the predictive control signal and the actual control signal are the same.
6. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
and determining an indicator lamp fault of the target indicator lamp according to the first comparison result and the second comparison result, including:
when the first comparison result is used for indicating that the predicted control signal is the same as the actual control signal, and the second comparison result is used for indicating that the predicted display state is the same as the actual display state, determining that the indicator lamp fault is wrong in the actual control information, or determining that an actual hard disk fault identifier carried in the actual control information is different from a fault identifier of the first hard disk fault;
Determining that the indicator light fault is a fault of a hardware circuit connected with the target indicator light when the first comparison result is used for indicating that the predicted control signal is the same as the actual control signal and the second comparison result is used for indicating that the predicted display state is different from the actual display state, wherein the hardware circuit is used for receiving the actual control signal sent to the target indicator light by the target indicator light;
and determining the indicator lamp fault as an error of the generated actual control signal under the condition that the first comparison result is used for indicating that the predicted control signal and the actual control signal are different.
7. The method according to any one of claim 1 to 6, wherein,
the acquiring the pre-stored actual control information and the pre-stored actual control signal comprises the following steps:
acquiring the identification of the target hard disk;
the method comprises the steps of obtaining actual control information and the actual control signals corresponding to the identification of the target hard disk from a target register, wherein the target register is used for storing a group of hard disk identifications, a group of control information and a group of control signals which have corresponding relations, the group of hard disk identifications are used for representing a group of hard disks, the group of hard disks comprise the target hard disk, the group of control information comprises the actual control information, the group of control signals comprise the actual control signals, the ith control information in the group of control information is control information generated when the ith hard disk in the group of hard disks fails, and the ith control signal in the group of control signals is used for controlling the display state of an indicator lamp of the ith hard disk, wherein i is a positive integer greater than or equal to 1.
8. A failure determination device is characterized in that,
comprising the following steps:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring prestored actual control information and prestored actual control signals under the condition that a first hard disk fault occurs in a target hard disk and a target indicator lamp of the target hard disk is in an actual display state, wherein the actual control information is generated when the first hard disk fault occurs in the target hard disk, the actual display state is used for indicating that a second hard disk fault occurs in the target hard disk, the first hard disk fault and the second hard disk fault are different, and the actual control signals are control signals which are sent to the target indicator lamp and are used for controlling the display state of the target indicator lamp; the first determining module is used for determining a prediction control signal according to the actual control information, wherein the prediction control signal is used for controlling the target indicator lamp to be in a prediction display state;
and the second determining module is used for determining the indicator light fault of the target indicator light according to the prediction control signal, the actual control signal, the prediction display state and the actual display state.
9. A computer-readable storage medium comprising,
the computer readable storage medium has stored therein a computer program, wherein the computer program when executed by a processor realizes the steps of the method as claimed in any of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that,
the processor, when executing the computer program, implements the steps of the method as claimed in any one of claims 1 to 7.
CN202311369410.9A 2023-10-20 2023-10-20 Fault determination method and device, storage medium and electronic equipment Pending CN117608887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311369410.9A CN117608887A (en) 2023-10-20 2023-10-20 Fault determination method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311369410.9A CN117608887A (en) 2023-10-20 2023-10-20 Fault determination method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117608887A true CN117608887A (en) 2024-02-27

Family

ID=89955014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311369410.9A Pending CN117608887A (en) 2023-10-20 2023-10-20 Fault determination method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117608887A (en)

Similar Documents

Publication Publication Date Title
US9146823B2 (en) Techniques for testing enclosure management controller using backplane initiator
CN107832199A (en) Hard disk monitoring system based on CPLD
CN110489367B (en) Method and system for flexibly allocating and easily managing backplane by CPLD (complex programmable logic device)
CN111786854B (en) Network card testing method and device, electronic equipment and readable storage medium
CN110618918A (en) Control method, control device and control equipment for hard disk status lamp in PCH
CN111400121A (en) Server hard disk slot positioning and maintaining method
US20150100299A1 (en) Techniques for programming and verifying backplane controller chip firmware
US9886335B2 (en) Techniques for validating functionality of backplane controller chips
CN112034330A (en) Automatic QC method and device for SOC chip
CN114325316A (en) Board card testing method and device, electronic equipment and storage medium
CN104598283A (en) Realization method of single-architecture multi-structure BMC firmware program
CN112685299B (en) Automatic test method, device, electronic equipment and readable storage medium
CN109522263A (en) A kind of I2C link monitoring system
CN117608887A (en) Fault determination method and device, storage medium and electronic equipment
CN116225802A (en) Fault testing method and device and computing equipment
CN115480975A (en) Wiring checking method and device
US10977205B1 (en) HDD detection system
TW201807583A (en) Automatic control system and the instrument automatically search method using the same
CN103902415A (en) System and method for testing hard discs
CN110470927B (en) Key testing method and key testing device
CN112783701A (en) USB function test method, device and equipment of KVM system
CN105446857A (en) Fault diagnosis method and system
CN118035018A (en) Storage device detection method and device, storage medium and electronic device
CN117112329A (en) Method and device for detecting hard disk faults, storage medium and electronic device
CN112925696B (en) Power supply time sequence visualization system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination