IP Library Granted Patent US 12,399,230
Granted Patent B2
US 12,399,230 · App. 17/908,947 · Granted Aug 26, 2025

BBU fault diagnosis method and apparatus, electronic device, and storage medium

Inventors: Yaoyu Hua (Jiangsu, CN); Weikai Kong (Jiangsu, CN); Ruijie Wang (Jiangsu, CN); Zhaofeng Zhang (Jiangsu, CN); Yuanshuai Sun (Jiangsu, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
G01R31/42G06F1/30
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,399,230
App. No.
17/908,947
Granted
Aug 26, 2025
Kind
B2
Abstract

A BBU fault diagnosis method includes, whether a power supply is normal during switching from a main power supply to a target BBU is determined based on power supply switching data. If NO, a fault may be accurately located in a switching logic. If YES, a working state of the target BBU is subsequently determined according to a hardware signal of the target BBU, and whether there is an anomaly occurring to the target BBU during operation is determined based on the working state. If YES, a specific anomaly source causing the anomaly is further determined by fault simulation, such that a targeted repair is performed to make the target BBU return to normal.

Claims (70)

1. A Backup Battery Unit (BBU) fault diagnosis method, comprising:

determining, according to power supply switching data, whether a power supply is able to be switched to a target BBU normally;

in response to determining that the power supply is able to be switched to the target BBU normally, determining a working state of the target BBU according to hardware signals of the target BBU; and

in response to the working state being determined to be an abnormal state according to the hardware signals, determining an anomaly source by fault simulation;

wherein the step of determining, according to the power supply switching data, whether the power supply is able to be switched to the target BBU normally comprises:

acquiring an output voltage value of a Power Supply Unit (PSU) at each time point;

acquiring occurrence time of an AC_FAIL signal and a discharge enable signal;

calculating a first time interval between the AC_FAIL signal and the discharge enable signal;

calculating a second time interval between the occurrence time of the AC_FAIL signal and reduction of the output voltage value of the PSU to a preset voltage value; and

determining, according to the first time interval and the second time interval, whether the power supply is able to be switched to the target BBU normally.

2. The BBU fault diagnosis method according to claim 1 , wherein the step of determining the working state of the target BBU according to the hardware signals of the target BBU comprises:

acquiring a system in-position signal, charge/discharge enable signal, internal discharge enable signal, and the AC_FAIL signal of the target BBU;

determining quality and high/low level variations of hardware interface signals of the target BBU according to the system in-position signal, the charge/discharge enable signal, the internal discharge enable signal, and the AC_FAIL signal;

acquiring an SCL/SDA signal on an Inter-Integrated Circuit (I2C) link of the target BBU; and

determining the working state of the target BBU according to the quality, the high/low level variations, and the SCL/SDA signal.

3. The BBU fault diagnosis method according to claim 1 , wherein in response to the working state being determined to be a normal state according to the hardware signals, the method further comprises:

acquiring communication data of a storage system and the target BBU; and

verifying, according to the communication data, whether a program runtime error occurs to the target BBU.

4. The BBU fault diagnosis method according to claim 1 , wherein after determining the anomaly source by fault simulation, the method further comprises:

determining whether the anomaly source is capable of being repaired automatically; and

in response to the anomaly source being incapable of being repaired automatically, sending a manual repair prompt through a preset path.

5. The BBU fault diagnosis method according to claim 1 , wherein the power supply switching data indicates whether a timing of power supply switching is in line with an expectation.

6. An electronic device, comprising:

a memory, configured to store a computer program; and

a processor, configured to execute the computer program to implement steps of:

determining, according to power supply switching data, whether a power supply is able to be switched to a target BBU normally;

in response to determining that the power supply is able to be switched to the target BBU normally, determining a working state of the target BBU according to hardware signals of the target BBU; and

in response to the working state being determined to be an abnormal state according to the hardware signals, determining an anomaly source by fault simulation;

wherein the step of determining, according to the power supply switching data, whether the power supply is able to be switched to the target BBU normally comprises:

acquiring an output voltage value of a Power Supply Unit (PSU) at each time point;

acquiring occurrence time of an AC_FAIL signal and a discharge enable signal;

calculating a first time interval between the AC_FAIL signal and the discharge enable signal;

calculating a second time interval between the occurrence time of the AC_FAIL signal and reduction of the output voltage value of the PSU to a preset voltage value; and

determining, according to the first time interval and the second time interval, whether the power supply is able to be switched to the target BBU normally.

7. The electronic device according to claim 6 , wherein the processor is further configured to execute the computer program to implement steps of:

acquiring a system in-position signal, charge/discharge enable signal, internal discharge enable signal, and the AC_FAIL signal of the target BBU;

determining quality and high/low level variations of hardware interface signals of the target BBU according to the system in-position signal, the charge/discharge enable signal, the internal discharge enable signal, and the AC_FAIL signal;

acquiring an SCL/SDA signal on an Inter-Integrated Circuit (I2C) link of the target BBU; and

determining the working state of the target BBU according to the quality, the high/low level variations, and the SCL/SDA signal.

8. The electronic device according to claim 6 , wherein the processor is further configured to execute the computer program to implement steps of:

acquiring communication data of a storage system and the target BBU; and

verifying, according to the communication data, whether a program runtime error occurs to the target BBU.

9. The electronic device according to claim 6 , wherein the processor is further configured to execute the computer program to implement steps of:

determining whether the anomaly source is capable of being repaired automatically; and

in response to the anomaly source being incapable of being repaired automatically, sending a manual repair prompt through a preset path.

10. The electronic device according to claim 6 , wherein the power supply switching data indicates whether a timing of power supply switching is in line with an expectation.

11. A non-transitory readable storage medium, storing a computer program that is executed by a processor to implement steps of:

determining, according to power supply switching data, whether a power supply is able to be switched to a target BBU normally;

in response to determining that the power supply is able to be switched to the target BBU normally, determining a working state of the target BBU according to hardware signals of the target BBU; and

in response to the working state being determined to be an abnormal state according to the hardware signals, determining an anomaly source by fault simulation;

wherein the step of determining, according to the power supply switching data, whether the power supply is able to be switched to the target BBU normally comprises:

acquiring an output voltage value of a Power Supply Unit (PSU) at each time point;

acquiring occurrence time of an AC_FAIL signal and a discharge enable signal;

calculating a first time interval between the AC_FAIL signal and the discharge enable signal;

calculating a second time interval between the occurrence time of the AC_FAIL signal and reduction of the output voltage value of the PSU to a preset voltage value; and

determining, according to the first time interval and the second time interval, whether the power supply is able to be switched to the target BBU normally.

12. The non-transitory readable storage medium according to claim 11 , wherein the computer program is executed by the processor to implement steps of:

acquiring a system in-position signal, charge/discharge enable signal, internal discharge enable signal, and the AC_FAIL signal of the target BBU;

determining quality and high/low level variations of hardware interface signals of the target BBU according to the system in-position signal, the charge/discharge enable signal, the internal discharge enable signal, and the AC_FAIL signal;

acquiring an SCL/SDA signal on an Inter-Integrated Circuit (I2C) link of the target BBU; and

determining the working state of the target BBU according to the quality, the high/low level variations, and the SCL/SDA signal.

13. The non-transitory readable storage medium according to claim 11 , wherein the computer program is executed by the processor to implement steps of:

acquiring communication data of a storage system and the target BBU; and

verifying, according to the communication data, whether a program runtime error occurs to the target BBU.

14. The non-transitory readable storage medium according to claim 11 , wherein the computer program is executed by the processor to implement steps of:

determining whether the anomaly source is capable of being repaired automatically; and

in response to the anomaly source being incapable of being repaired automatically, sending a manual repair prompt through a preset path.

15. The BBU fault diagnosis method according to claim 1 , wherein the discharge enable signal is from the target BBU as a result of the target BBU starting to power a storage system in response to a trigger signal.

16. The electronic device according to claim 6 , wherein the discharge enable signal is from the target BBU as a result of the target BBU starting to power a storage system in response to a trigger signal.

17. The non-transitory readable storage medium according to claim 11 , wherein the power supply switching data indicates whether a timing of power supply switching is in line with an expectation.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 2, 2022
From: HUA, YAOYU; KONG, WEIKAI; WANG, RUIJIE; ZHANG, ZHAOFENG; SUN, YUANSHUAI
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 060974/0506 →
Priority Claims (1)
CN 202010093574.3 · Feb 14, 2020 · national
Continuity (1)
Related Publication 20230375639A1 · Nov 23, 2023
References Cited (20)
US 8375249B1 · LoRusso · 2013 [cited by applicant]
US 9098390B2 · Liu · 2015 [cited by examiner]
US 9231440B2 · Son · 2016 [cited by examiner]
US 20070025074A1 · Sone · 2007 [cited by applicant]
US 20150177808A1 · Sarti · 2015 [cited by applicant]
CN 107153591A · 2017 [cited by applicant]
CN 107247647A · 2017 [cited by applicant]
CN 107436414A · 2017 [cited by applicant]
CN 108802627A · 2018 [cited by examiner]
CN 109542706A · 2019 [cited by applicant]
CN 109634398A · 2019 [cited by examiner]
CN 110007173A · 2019 [cited by applicant]
CN 111312325A · 2020 [cited by applicant]
WO 20160137510A1 · 2016 [cited by applicant]
CN-108802627-A, translation is furnished in the same copy. (Year: 2018). [cited by examiner]
CN-109634398-A, translation is furnished in the same copy. (Year: 2019). [cited by examiner]
International Search Report cited in PCT application PCT/CN2020/117276, mailed Dec. 23, 2020, 7 pages. [cited by applicant]
Written Opinion of International Searching Authority of corresponding PCT application PCT/CN2020/117276, mailed Dec. 23, 2020, 10 pages. [cited by applicant]
First Office Action of corresponding CN priority application CN202010093574.3, mailed Jan. 5, 2021, 8 pages. [cited by applicant]
Second Office Action of corresponding CN priority application CN202010093574.3, mailed Jun. 18, 2021, 14 pages. [cited by applicant]