Hard disk backplane power transient interruption fault detection method, device, equipment and storage medium
By monitoring the output voltage and enable status of the hard disk backplane power supply, combined with the preset voltage threshold, the power supply transient fault is detected and located, which solves the problem of being unable to detect transient faults in the existing technology and improves the comprehensiveness and accuracy of fault detection. accuracy.
Patent Information
- Application Number
- CN202111121196.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-09-24
AI Technical Summary
The existing technology cannot detect and locate the transient fault of the hard disk backplane power supply, especially when the power supply is temporarily interrupted due to changes in external environmental factors. Conventional detection methods cannot effectively detect such faults.
By monitoring the output voltage of each power supply on the hard disk backplane, and based on the preset voltage threshold and enable status, the faulty power supply for the power supply instantaneous failure is determined, including monitoring voltage mutation events, timing to determine candidate power supplies, and combining the enable and output status. Fault location.
It realizes the detection and positioning of hard disk backplane power supply transient faults, improves the comprehensiveness of power failure detection, avoids the defect of being unable to detect transient interruption faults, and ensures the stability of hard disk data.
Smart Images

Figure CN113884938B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fault detection, and in particular to a method, device, equipment and computer-readable storage medium for detecting a hard disk backplane power supply transient interruption fault. Background Art
[0002] Power supply fault diagnosis is a technology that uses single-board hardware + software system to judge, record and report power supply faults.
[0003] In the prior art, power failure detection of the server hard disk backplane is achieved by detecting the power output status of the backplane power supply. However, in actual application environments, the power supply may experience an instantaneous drop in output level or a brief output interruption due to changes in external environmental factors such as temperature and humidity. If this power supply is a backplane high-speed module power supply unit, read and write errors may occur in the hard disk storage data at this time. However, since the interruption time is short and may be affected by the external environment, the logic values of the power enable and power status signals may not have changed. Therefore, the conventional backplane power failure detection method cannot detect this instantaneous interruption failure, let alone determine which power supply has failed. Summary of the invention
[0004] The main purpose of the present invention is to propose a hard disk backplane power interruption fault detection method, device, equipment and computer-readable storage medium, aiming to solve the technical problem that the existing hard disk backplane power fault detection method cannot detect and locate the instantaneous interruption fault.
[0005] To achieve the above object, the present invention provides a hard disk backplane power supply momentary interruption fault detection method, the hard disk backplane power supply momentary interruption fault detection method comprising the following steps:
[0006] Monitor the output voltage of each power supply on the hard disk backplane;
[0007] Determine a candidate power source having a voltage mutation event according to the magnitude of the output voltage and a preset voltage threshold;
[0008] A faulty power supply having a power interruption fault is determined from the candidate power supplies according to the enable state and the output state of the candidate power supplies.
[0009] Optionally, the preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, and the first preset voltage threshold is smaller than the second preset voltage threshold;
[0010] The step of determining the candidate power source having a voltage mutation event according to the magnitude of the output voltage and the preset voltage threshold comprises:
[0011] When it is detected that the output voltage of the target power supply is less than a first preset voltage threshold, start timing to determine the duration of time that the output voltage of the target power supply is less than the first preset voltage threshold, or when it is detected that the output voltage of the target power supply is greater than a second preset voltage threshold, start timing to determine the duration of time that the output voltage of the target power supply is greater than the second preset voltage threshold;
[0012] If the duration is greater than a preset duration threshold, the target power source is used as a candidate power source.
[0013] Optionally, the preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, and the first preset voltage threshold is smaller than the second preset voltage threshold;
[0014] The step of determining the candidate power source having a voltage mutation event according to the magnitude of the output voltage and the preset voltage threshold comprises:
[0015] According to the magnitude of the output voltage and the first preset voltage threshold, converting the output voltage into a first output level; or,
[0016] According to the magnitude of the output voltage and the second preset voltage threshold, converting the output voltage into a second output level;
[0017] A candidate power source is determined according to the first output level or the second output level.
[0018] Optionally, the step of determining a candidate power source according to the first output level or the second output level comprises:
[0019] If the first output level of the target power supply is at a low level, start timing to determine the duration of the first output level of the target power supply being maintained at a low level, or if the second output level of the target power supply is at a high level, start timing to determine the duration of the second output level of the target power supply being maintained at a high level;
[0020] If the duration is greater than a preset duration threshold, the target power source is used as a candidate power source.
[0021] Optionally, the step of determining a faulty power supply having a power outage fault from the candidate power supplies according to the enable state and the output state of the candidate power supplies comprises:
[0022] A candidate power supply whose enabling state is normal and whose output state is also normal is determined as a faulty power supply having a power interruption fault.
[0023] Optionally, after the step of determining the candidate power source having a voltage mutation event according to the magnitude of the output voltage and a preset voltage threshold, the method further includes:
[0024] If the enabling state of the candidate power supply is a normal state, and the output state of the candidate power supply is an abnormal state, then determining that the candidate power supply is another faulty power supply that has a non-instantaneous interruption fault;
[0025] If the enable state of the candidate power source is an abnormal state, and the output state of the candidate power source is also an abnormal state, it is determined that the candidate power source has not failed.
[0026] Optionally, after the step of determining a faulty power supply having a power outage fault from the candidate power supplies according to the enable state and the output state of the candidate power supplies, the method further includes:
[0027] The time when the faulty power supply has a power outage and the identifier of the faulty power supply are recorded and reported.
[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides a hard disk backplane power supply momentary interruption fault detection device, the hard disk backplane power supply momentary interruption fault detection device comprising:
[0029] Output voltage monitoring module, used to monitor the output voltage of each power supply on the hard disk backplane;
[0030] A candidate power source determination module, used to determine a candidate power source having a voltage mutation event according to the magnitude of the output voltage and a preset voltage threshold;
[0031] The faulty power source determining module is used to determine a faulty power source having a power interruption fault from among the candidate power sources according to the enabling state and the output state of the candidate power sources.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a hard disk backplane power interruption fault detection device, and the hard disk backplane power interruption fault detection device includes: a memory, a processor, and a hard disk backplane power interruption fault detection program stored in the memory and executable on the processor, and when the hard disk backplane power interruption fault detection program is executed by the processor, the steps of the hard disk backplane power interruption fault detection method as described above are implemented.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer storage medium, on which a hard disk backplane power interruption fault detection program is stored. When the hard disk backplane power interruption fault detection program is executed by a processor, the steps of the hard disk backplane power interruption fault detection method as described above are implemented.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer program product, which includes a hard disk backplane power interruption fault detection program, and when the hard disk backplane power interruption fault detection program is executed by a processor, it implements the steps of the hard disk backplane power interruption fault detection method as described above.
[0035] The present invention monitors the output voltage of each power supply on the hard disk backplane; determines the candidate power supply that has experienced a voltage mutation event according to the magnitude of the output voltage and a preset voltage threshold; and determines the faulty power supply that has experienced a power interruption fault from the candidate power supplies according to the enablement state and output state of the candidate power supplies. By monitoring the output voltage of the hard disk backplane, and then determining the candidate power supply that has experienced a voltage mutation event according to the magnitude of the monitored output voltage and a preset voltage threshold, and then detecting the power interruption fault according to the enablement state and output state of the candidate power supply, the detection and positioning of the faulty power supply that has experienced a power interruption fault is achieved, the comprehensiveness of power fault detection is improved, and the defect of the prior art that the instantaneous interruption fault cannot be detected is avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a structural schematic diagram of a hard disk backplane power supply transient interruption fault detection device in a hardware operating environment involved in an embodiment of the present invention;
[0037] Figure 2 It is a flow chart of the first embodiment of the hard disk backplane power supply interruption fault detection method of the present invention;
[0038] Figure 3 The module diagram of the hard disk backplane power supply transient interruption fault detection device of the present invention is shown.
[0039] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0041] like Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of a hard disk backplane power interruption fault detection device in a hardware operating environment involved in an embodiment of the present invention.
[0042] The hard disk backplane power interruption fault detection device in the embodiment of the present invention may be a PC or a server device, on which a virtual machine runs.
[0043] like Figure 1As shown, the hard disk backplane power interruption fault detection device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0044] Those skilled in the art will understand that Figure 1 The hard disk backplane power interruption fault detection device structure shown in the figure does not constitute a limitation on the device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0045] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a hard disk backplane power interruption fault detection program.
[0046] exist Figure 1 In the hard disk backplane power interruption fault detection device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the hard disk backplane power interruption fault detection program stored in the memory 1005, and execute the operations in the following hard disk backplane power interruption fault detection method.
[0047] Based on the above hardware structure, an embodiment of a hard disk backplane power interruption fault detection method of the present invention is proposed.
[0048] Reference Figure 2 , Figure 2 This is a flow chart of a first embodiment of a method for detecting a hard disk backplane power failure, the method comprising:
[0049] Step S10, monitoring the output voltage of each power supply on the hard disk backplane;
[0050] The hard disk backplane power supply momentary interruption fault detection method of this embodiment is applied to a hard disk backplane power supply momentary interruption fault detection device, and the hard disk backplane power supply momentary interruption fault detection device can be a terminal, a robot or a PC device.
[0051] In the prior art, power failure detection of the server hard disk backplane is achieved by detecting the power output status of the backplane power supply. However, in actual application environments, the power supply may experience an instantaneous drop in output level or a brief output interruption due to changes in external environmental factors such as temperature and humidity. If this power supply is a backplane high-speed module power supply unit, read and write errors may occur in the hard disk storage data at this time. However, since the interruption time is short and may be affected by the external environment, the logic values of the power enable and power status signals may not have changed. Therefore, the conventional backplane power failure detection method cannot detect this instantaneous interruption failure, let alone determine which power supply has failed.
[0052] In this context, this embodiment provides a hard disk backplane power interruption fault detection solution.
[0053] The so-called power interruption fault refers to the phenomenon that the power output is briefly interrupted for a short period of time and returns to normal after a short time, causing the power supply voltage / level to drop or rise instantly and then return to normal.
[0054] In this embodiment, the hard disk backplane power supply momentary interruption fault detection device will collect and monitor the output voltage of each power supply on the hard disk backplane to determine whether a voltage mutation event has occurred in the power supply according to the magnitude of the output voltage. Among them, voltage mutation events include voltage drop events and / or voltage surge events. As the name implies, a voltage drop event refers to a phenomenon in which the current output voltage of the power supply is lower than the lower limit of the preset voltage range and may affect the data storage of the hard disk backplane; a voltage surge event refers to a phenomenon in which the current output voltage of the power supply is higher than the upper limit of the preset voltage range and may affect the data storage of the hard disk backplane.
[0055] Step S20, determining a candidate power source having a voltage mutation event according to the magnitude of the output voltage and a preset voltage threshold;
[0056] In this embodiment, after determining the output voltage of each power supply, the candidate power supply can be determined based on the magnitude of the output voltage and a preset voltage threshold, wherein the preset voltage threshold refers to the voltage critical value set by the administrator based on the upper limit and / or lower limit of the allowable floating range of the output voltage. It can be understood that if the output voltage is higher than the upper limit or lower than the lower limit, it may affect the data storage of the hard disk backplane; the candidate power supply refers to a power supply in which a voltage mutation event has occurred.
[0057] In one embodiment, the preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, and the first preset voltage threshold is less than the second preset voltage threshold; the above step S20 includes:
[0058] Step a1, when it is detected that the output voltage of the target power supply is less than a first preset voltage threshold, start timing to determine the duration of time that the output voltage of the target power supply is less than the first preset voltage threshold, or when it is detected that the output voltage of the target power supply is greater than a second preset voltage threshold, start timing to determine the duration of time that the output voltage of the target power supply is greater than the second preset voltage threshold;
[0059] Step a2: if the duration is greater than a preset duration threshold, the target power source is used as a candidate power source.
[0060] In this embodiment, the candidate power source can be directly determined based on the magnitude of the output voltage and the preset voltage threshold. Specifically, when it is detected that the output voltage of one or more power sources (target power sources) is less than the first preset voltage threshold, the timing is started to determine the duration of the output voltage of the target power source being less than the first preset voltage threshold; or, when it is detected that the output voltage of the target power source is greater than the second preset voltage threshold, the timing is started to determine the duration of the output voltage of the target power source being greater than the second preset voltage threshold.
[0061] The duration reflects the duration that the output voltage of the target power supply continuously exceeds the upper limit or the lower limit of the allowable floating range.
[0062] If the duration is longer than the preset duration threshold, it is considered that a voltage mutation event has occurred in the target power supply, and the target power supply is used as a candidate power supply. It is understandable that the preset duration threshold is set by the management personnel based on the critical duration that may affect the data storage of the hard disk backplane after the output voltage exceeds the voltage allowable floating range. Therefore, if the duration is longer than the preset duration threshold, it is considered that the voltage mutation phenomenon may affect the data storage of the hard disk backplane, so the target power supply is used as a candidate power supply to further perform instantaneous interruption detection on the candidate power supply.
[0063] Optionally, the size of the preset duration threshold is generally in milliseconds or even microseconds, and this embodiment does not impose any specific limitation on the size of the preset duration threshold.
[0064] Optionally, if the duration is less than or equal to a preset duration threshold, it can be considered that the voltage mutation phenomenon will not affect the data storage of the hard disk backplane, and the target power supply will not be used as a candidate power supply, and there is no need to perform subsequent momentary interruption detection process on it.
[0065] In another embodiment, the preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, and the first preset voltage threshold is less than the second preset voltage threshold; the above step S20 includes:
[0066] Step b1, converting the output voltage into a first output level according to the magnitude of the output voltage and the first preset voltage threshold; or,
[0067] Step b2, converting the output voltage into a second output level according to the magnitude between the output voltage and the second preset voltage threshold;
[0068] Step b3, determining a candidate power source according to the first output level or the second output level
[0069] In order to reduce the computational complexity of power interruption fault detection and improve the stability and accuracy of power interruption fault detection, in this embodiment, after the output voltage is collected, it is converted into an output level, that is, the analog signal is converted into a digital signal.
[0070] Specifically, according to the size of the output voltage and the first preset voltage threshold, the output voltage is converted into a first output level. If the output voltage is higher than the preset first preset voltage threshold, the first output level is a high level. If the output voltage is lower than the preset first preset voltage threshold, the first output level is a low level. Alternatively, according to the size of the output voltage and the second preset voltage threshold, the output voltage is converted into a second output level. If the output voltage is higher than the preset second preset voltage threshold, the second output level is a high level. If the output voltage is lower than the preset second preset voltage threshold, the second output level is a low level.
[0071] After determining the first output level or the second output level, the candidate power source can be determined according to the first output level or the second output level. Specifically, if the first output level of the target power source is low, start timing to determine the duration of the first output level of the target power source being maintained at a low level, or if the second output level of the target power source is high, start timing to determine the duration of the second output level of the target power source being maintained at a high level; if the duration is greater than the preset duration threshold, the target power source is taken as a candidate power source to further perform instantaneous interruption detection on the candidate power source.
[0072] Step S30 , determining a faulty power supply having a power interruption fault from among the candidate power supplies according to the enable status and output status of the candidate power supplies.
[0073] In this embodiment, the power supply that has experienced a voltage mutation event can be determined based on the output voltage. However, the occurrence of a voltage mutation event does not necessarily mean that a power interruption fault has occurred, and the cause of the voltage mutation event is not necessarily a power interruption fault. Therefore, it is necessary to further determine whether a candidate power supply has experienced a power interruption fault in combination with the enable status and output status of the candidate power supply.
[0074] Among them, the enable state reflects whether the power supply allows feeding enable. If so, the enable state is a normal state, if not, the enable state is an abnormal state. It can be understood that the enable state is generally set by the user or the controller. The output state reflects the judgment of the power supply on whether its output voltage is normal based on its input voltage, output voltage, etc. If so, the output state is a normal state, if not, the output state is an abnormal state. The enable state and the output state are generally steady-state values, and the changes are very slow. The occurrence of a power supply momentary failure generally does not cause changes in the enable state and the output state.
[0075] If the enable state of the candidate power supply is normal and the output state is also normal, it is determined that the candidate power supply has caused a power interruption fault due to an unexpected event, and the candidate power supply is a faulty power supply.
[0076] If the enable state of the candidate power supply is abnormal, and the output state is also abnormal, this indicates that the voltage mutation event is caused by the power supply enable signal being turned off, and no unexpected event occurs, so it can be determined that the candidate power supply has not failed. It is understandable that if the enable state is abnormal, the output state is generally also abnormal.
[0077] If the enable state of the candidate power supply is normal, but the output state is abnormal, this indicates that the voltage mutation time is due to a non-instantaneous fault in the power supply, that is, a stable fault that cannot be recovered by itself occurs in the power supply, and the candidate power supply is determined to be another faulty power supply.
[0078] This embodiment monitors the output voltage of each power supply on the hard disk backplane; determines the candidate power supply that has experienced a voltage mutation event based on the difference between the output voltage and a preset voltage threshold; and determines the faulty power supply that has experienced a power outage fault from the candidate power supplies based on the enabled state and output state of the candidate power supplies. This embodiment monitors the output voltage of the hard disk backplane, and then determines the candidate power supply that has experienced a voltage mutation event based on the monitored output voltage and a preset voltage threshold, and then detects the power outage fault based on the enabled state and output state of the candidate power supply, thereby realizing the detection and location of the faulty power supply that has experienced a power outage fault, improving the comprehensiveness of power fault detection, and avoiding the defect of the prior art that cannot detect a momentary interruption fault.
[0079] Furthermore, based on the above-mentioned embodiments, a second embodiment of a hard disk backplane power supply interruption fault detection method of the present invention is proposed.
[0080] After the above step S30, the method further includes:
[0081] Step c1, recording the time when the faulty power supply momentary power failure occurs and the identification of the faulty power supply and reporting them.
[0082] In the existing hard disk backplane power fault detection scheme, since the hard disk backplane is a separate component of the server, it is usually designed to use the I2C channel and the motherboard management processor to interconnect. The motherboard processor intermittently and continuously scans each I2C channel to obtain new data generated by the hard disk backplane. That is, the fault detection system uses a polling method to query faults, which will result in high fault resource consumption of the fault detection system and continuous occupation of motherboard processor resources.
[0083] In this embodiment, after the faulty power supply is determined, the time when the faulty power supply has a momentary power outage and the identification of the faulty power supply are recorded in an internal register and reported. The reporting object can be the server's mainboard server or an external cloud storage.
[0084] In this way, the resource consumption of the fault detection system is reduced by actively reporting faults.
[0085] The present invention also provides a hard disk backplane power supply transient failure detection device, referring to Figure 3 , the hard disk backplane power supply transient interruption fault detection device comprises:
[0086] An output voltage monitoring module 10 is used to monitor the output voltage of each power supply on the hard disk backplane;
[0087] A candidate power source determination module 20, configured to determine a candidate power source having a voltage mutation event according to a difference between the output voltage and a preset voltage threshold;
[0088] The faulty power source determining module 30 is used to determine a faulty power source having a power interruption fault from among the candidate power sources according to the enabling state and the output state of the candidate power sources.
[0089] Optionally, the preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, and the first preset voltage threshold is smaller than the second preset voltage threshold;
[0090] The candidate power source determination module is further used for:
[0091] When it is detected that the output voltage of the target power supply is less than a first preset voltage threshold, start timing to determine the duration of time that the output voltage of the target power supply is less than the first preset voltage threshold, or when it is detected that the output voltage of the target power supply is greater than a second preset voltage threshold, start timing to determine the duration of time that the output voltage of the target power supply is greater than the second preset voltage threshold;
[0092] If the duration is greater than a preset duration threshold, the target power source is used as a candidate power source.
[0093] Optionally, the preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, and the first preset voltage threshold is smaller than the second preset voltage threshold;
[0094] The candidate power source determination module is further used for:
[0095] According to the magnitude of the output voltage and the first preset voltage threshold, converting the output voltage into a first output level; or,
[0096] According to the magnitude of the output voltage and the second preset voltage threshold, converting the output voltage into a second output level;
[0097] A candidate power source is determined according to the first output level or the second output level.
[0098] Optionally, the candidate power source determination module is further configured to:
[0099] If the first output level of the target power supply is at a low level, start timing to determine the duration of the first output level of the target power supply being maintained at a low level, or if the second output level of the target power supply is at a high level, start timing to determine the duration of the second output level of the target power supply being maintained at a high level;
[0100] If the duration is greater than a preset duration threshold, the target power source is used as a candidate power source.
[0101] Optionally, the faulty power supply determination module is further used to:
[0102] A candidate power supply whose enabling state is normal and whose output state is also normal is determined as a faulty power supply having a power interruption fault.
[0103] Optionally, the hard disk backplane power supply transient interruption fault detection device further includes:
[0104] Another faulty power source determination module, used for determining that the candidate power source is another faulty power source that has a non-instantaneous fault if the enable state of the candidate power source is a normal state and the output state of the candidate power source is an abnormal state;
[0105] The faulty power supply elimination module is used to determine that the candidate power supply is not faulty if the enabling state of the candidate power supply is abnormal and the output state of the candidate power supply is also abnormal.
[0106] Optionally, the hard disk backplane power supply transient interruption fault detection device further includes:
[0107] The reporting module is used to record and report the time when the faulty power supply has a power outage and the identifier of the faulty power supply.
[0108] The methods executed by the above-mentioned program units can refer to the various embodiments of the hard disk backplane power supply interruption fault detection method of the present invention, and will not be described in detail here.
[0109] The present invention also provides a hard disk backplane power supply momentary interruption fault detection device, and the hard disk backplane power supply momentary interruption fault detection device includes: a memory, a processor, and a hard disk backplane power supply momentary interruption fault detection program stored in the memory and executable on the processor. The method implemented when the hard disk backplane power supply momentary interruption fault detection program is executed by the processor can refer to the various embodiments of the hard disk backplane power supply momentary interruption fault detection method of the present invention, and will not be repeated here.
[0110] The invention also provides a computer storage medium.
[0111] The computer storage medium of the present invention stores a hard disk backplane power supply interruption fault detection program, which implements the steps of the hard disk backplane power supply interruption fault detection method as described above when executed by a processor.
[0112] Among them, the method implemented when the hard disk backplane power interruption fault detection program running on the processor is executed can refer to the various embodiments of the hard disk backplane power interruption fault detection method of the present invention, and will not be repeated here.
[0113] The present invention also provides a computer program product.
[0114] The computer program product of the present invention includes a hard disk backplane power supply interruption fault detection program, which implements the steps of the hard disk backplane power supply interruption fault detection method as described above when executed by a processor.
[0115] Among them, the method implemented when the hard disk backplane power interruption fault detection program running on the processor is executed can refer to the various embodiments of the hard disk backplane power interruption fault detection method of the present invention, and will not be repeated here.
[0116] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0117] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0118] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0119] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for detecting a hard disk backplane power failure, characterized in that: The hard disk backplane power supply transient interruption fault detection method comprises: Monitor the output voltage of each power supply on the hard disk backplane; Determine a candidate power source having a voltage mutation event according to the magnitude of the output voltage and a preset voltage threshold; Determine a faulty power supply having a power interruption fault from among the candidate power supplies according to the enable state and output state of the candidate power supplies; The preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, and the first preset voltage threshold is less than the second preset voltage threshold; The step of determining the candidate power source having a voltage mutation event according to the magnitude of the output voltage and the preset voltage threshold comprises: When it is detected that the output voltage of the target power supply is less than a first preset voltage threshold, start timing to determine the duration of time that the output voltage of the target power supply is less than the first preset voltage threshold, or when it is detected that the output voltage of the target power supply is greater than a second preset voltage threshold, start timing to determine the duration of time that the output voltage of the target power supply is greater than the second preset voltage threshold; If the duration is greater than a preset duration threshold, the target power source is used as a candidate power source; The step of determining a faulty power supply having a power interruption fault from the candidate power supplies according to the enable state and output state of the candidate power supplies comprises: A candidate power supply whose enabling state is normal and whose output state is also normal is determined as a faulty power supply having a power interruption fault.
2. The hard disk backplane power failure detection method according to claim 1, characterized in that: The preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, and the first preset voltage threshold is less than the second preset voltage threshold; The step of determining the candidate power source having a voltage mutation event according to the magnitude of the output voltage and the preset voltage threshold comprises: According to the magnitude of the output voltage and the first preset voltage threshold, converting the output voltage into a first output level; or, According to the magnitude of the output voltage and the second preset voltage threshold, converting the output voltage into a second output level; A candidate power source is determined according to the first output level or the second output level.
3. The hard disk backplane power failure detection method according to claim 2, characterized in that: The step of determining a candidate power source according to the first output level or the second output level comprises: If the first output level of the target power supply is at a low level, start timing to determine the duration of the first output level of the target power supply being maintained at a low level, or if the second output level of the target power supply is at a high level, start timing to determine the duration of the second output level of the target power supply being maintained at a high level; If the duration is greater than a preset duration threshold, the target power source is used as a candidate power source.
4. The hard disk backplane power failure detection method according to claim 1, characterized in that: After the step of determining the candidate power source having a voltage mutation event according to the magnitude of the output voltage and the preset voltage threshold, the method further includes: If the enabling state of the candidate power supply is a normal state, and the output state of the candidate power supply is an abnormal state, then determining that the candidate power supply is another faulty power supply that has a non-instantaneous interruption fault; If the enable state of the candidate power source is an abnormal state, and the output state of the candidate power source is also an abnormal state, it is determined that the candidate power source has not failed.
5. The hard disk backplane power failure detection method according to claim 1, characterized in that: After the step of determining a faulty power supply having a power interruption fault from the candidate power supplies according to the enable state and the output state of the candidate power supplies, the method further includes: The time when the faulty power supply has a power outage and the identifier of the faulty power supply are recorded and reported.
6. A hard disk backplane power supply transient failure detection device, characterized in that: The hard disk backplane power supply transient interruption fault detection device comprises: Output voltage monitoring module, used to monitor the output voltage of each power supply on the hard disk backplane; A candidate power source determination module, used to determine a candidate power source having a voltage mutation event according to the magnitude of the output voltage and a preset voltage threshold; A faulty power source determination module, used to determine a faulty power source having a power outage fault from among the candidate power sources according to the enable state and output state of the candidate power sources; The preset voltage threshold includes a first preset voltage threshold and a second preset voltage threshold, the first preset voltage threshold is less than the second preset voltage threshold, and the candidate power source determination module is further used to start timing when detecting that the output voltage of the target power source is less than the first preset voltage threshold, and determine the duration of the output voltage of the target power source being less than the first preset voltage threshold, or, when detecting that the output voltage of the target power source is greater than the second preset voltage threshold, start timing to determine the duration of the output voltage of the target power source being greater than the second preset voltage threshold; if the duration is greater than the preset duration threshold, the target power source is used as a candidate power source; The faulty power supply determination module is further used to determine a candidate power supply whose enabling state is a normal state and whose output state is also a normal state as a faulty power supply having a power interruption fault.
7. A hard disk backplane power failure detection device, characterized in that: The hard disk backplane power interruption fault detection device includes: a memory, a processor, and a hard disk backplane power interruption fault detection program stored in the memory and executable on the processor. When the hard disk backplane power interruption fault detection program is executed by the processor, the steps of the hard disk backplane power interruption fault detection method as described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a hard disk backplane power interruption fault detection program, and when the hard disk backplane power interruption fault detection program is executed by the processor, the steps of the hard disk backplane power interruption fault detection method described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Voltage short interruption reply method and device of single-phase AC power supply
CN105024539A
Fault processing method and device and power grid commutation high-voltage direct-current power transmission system
CN111817269A
Connector fault detection device and method
CN113253157A
Fault detection method of smart lamp pole, terminal equipment and storage medium
CN113300918A
VR's instantaneous power failure detection circuit
KR1019960042606A
