CN107436414B - Method and device for testing effectiveness of BBU in memory system - Google Patents
Method and device for testing effectiveness of BBU in memory system Download PDFInfo
- Publication number
- CN107436414B CN107436414B CN201710656114.5A CN201710656114A CN107436414B CN 107436414 B CN107436414 B CN 107436414B CN 201710656114 A CN201710656114 A CN 201710656114A CN 107436414 B CN107436414 B CN 107436414B
- Authority
- CN
- China
- Prior art keywords
- bbu
- power supply
- place
- preset time
- testing
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000001514 detection method Methods 0.000 claims abstract description 13
- 238000010586 diagram Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/40—Testing power supplies
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The application discloses a method for testing the effectiveness of BBU in a memory system, which comprises the steps of determining whether the BBU is in place at preset time intervals; when the BBU is in place, stopping PSU power supply, switching to BBU power supply, and continuing for a preset time; judging whether the BBU is effective or not according to the detection of the discharge current of the BBU, wherein the effectiveness test device of the BBU in the memory system comprises a determining unit, which is used for determining whether the BBU is in place or not at preset time intervals; the switching unit is used for stopping PSU power supply and switching to BBU power supply for preset time when the BBU is in place; and the judging unit is used for judging whether the BBU is effective or not according to the detection of the discharge current of the BBU. The effectiveness testing method and the device for the BBU in the storage system can effectively verify the power supply reliability of the standby power supply, solve the power supply bottleneck of the standby power supply and effectively reduce the fault frequency of the standby power supply.
Description
Technical Field
The invention belongs to the technical field of power management of a storage system, and particularly relates to a method and a device for testing effectiveness of BBU in the storage system.
Background
In the field of storage, in the storage process of mass data, the power management method of the storage system can affect the operation effectiveness of the storage system. In order to reduce the frequency of power supply abnormality in the operation process of a storage system, the conventional power supply management method only monitors the current power supply in place, does not verify the power supply reliability of a standby power supply, and still has higher fault frequency.
Disclosure of Invention
In order to solve the problems, the invention provides a method and a device for testing the effectiveness of BBU in a storage system, which can effectively verify the reliability of the power supply of a standby power supply, solve the power supply bottleneck of the standby power supply and effectively reduce the fault frequency of the standby power supply.
The invention provides a method for testing the effectiveness of BBU in a memory system, which comprises the following steps:
determining whether the BBU is in place at preset time intervals;
when the BBU is in place, stopping PSU power supply, switching to BBU power supply, and continuing for a preset time;
and judging whether the BBU is effective or not according to the detection of the discharge current of the BBU.
Preferably, in the method for testing the validity of the BBU in the memory system, the determining whether the BBU is in place is:
determining whether the BBU is in place by reading the vendor name, the sequence number, and the compatibility indicator flag parameter of the BBU.
Preferably, in the method for testing the validity of the BBU in the memory system, the determining whether the BBU is valid according to the detection of the discharge current of the BBU includes:
and acquiring the discharge current of the BBU, judging that the BBU is effective when the discharge current is a negative value, and judging that the BBU has a fault when a system is down.
Preferably, in the method for testing the effectiveness of the BBU in the memory system, the preset time interval is greater than seven days.
Preferably, in the method for testing the effectiveness of the BBU in the memory system, the preset time is in a range from 1 second to 5 seconds.
The invention provides a device for testing the effectiveness of BBU in a memory system, which comprises:
a determining unit, configured to determine, at preset time intervals, whether a BBU is in place;
the switching unit is used for stopping PSU power supply and switching to BBU power supply for preset time when the BBU is in place;
and the judging unit is used for judging whether the BBU is effective or not according to the detection of the discharge current of the BBU.
Preferably, in the apparatus for testing validity of a BBU in the above memory system, the determining unit is specifically configured to determine whether the BBU is in place by reading a vendor name, a serial number, and a compatibility indicator parameter of the BBU.
Preferably, in the apparatus for testing the effectiveness of the BBU in the storage system, the determining unit is specifically configured to obtain a discharge current of the BBU, determine that the BBU is effective when the discharge current is a negative value, and determine that the BBU has a fault when the system is down.
As can be seen from the above description, the validity testing method and apparatus for BBU in the above memory system provided by the present invention, because the method includes determining whether BBU is in place at preset time intervals; when the BBU is in place, stopping PSU power supply, switching to BBU power supply, and continuing for a preset time; and judging whether the BBU is effective or not according to the detection of the discharge current of the BBU, so that the power supply reliability of the standby power supply can be effectively verified, the power supply bottleneck of the standby power supply is solved, and the fault frequency of the standby power supply is effectively reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a method for testing the effectiveness of BBUs in a first memory system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an apparatus for testing validity of a BBU in a first memory system according to an embodiment of the present application.
Detailed Description
The core idea of the invention is to provide a method and a device for testing the effectiveness of BBU in a storage system, which can effectively verify the reliability of the power supply of a standby power supply, solve the power supply bottleneck of the standby power supply and effectively reduce the fault frequency of the standby power supply.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a method for testing validity of a BBU in a first memory system provided in an embodiment of the present application, where fig. 1 is a schematic diagram of the method for testing validity of a BBU in a first memory system provided in an embodiment of the present application, and the method includes the following steps:
s1: determining whether the BBU is in place at preset time intervals;
s2: when the BBU is in place, stopping PSU power supply, switching to BBU power supply, and continuing for a preset time;
s3: and judging whether the BBU is effective or not according to the detection of the discharge current of the BBU.
Specifically, a C high-level language can be adopted to use a general-purpose processor CPU to run a main program at a host end, the CPU turns on a discharge enable signal of the BBU and turns off a power supply output enable signal of the PSU, and after the CPU waits for 1 second, the CPU turns on the power supply output enable signal of the PSU and turns off the discharge enable signal of the BBU. If the BBU fails to discharge, the system is down, otherwise, the system runs normally. The CPU executes the program to perform a power failure test on the BBU once, then starts timing from the program operation, performs the power failure test once again when the timing time is greater than the preset time interval, performs timing zero clearing, and restarts timing after the execution is finished.
As can be seen from the above description, in the validity testing method for BBU in the above first memory system provided in the embodiment of the present application, it is determined whether BBU is in place at preset time intervals; when the BBU is in place, stopping PSU power supply, switching to BBU power supply, and continuing for a preset time; and judging whether the BBU is effective or not according to the detection of the discharge current of the BBU, so that the power supply reliability of the standby power supply can be effectively verified, the power supply bottleneck of the standby power supply is solved, and the fault frequency of the standby power supply is effectively reduced.
The method for testing the validity of the BBU in the second memory system provided in the embodiment of the present application is based on the method for testing the validity of the BBU in the first memory system, and further includes the following technical features:
the determination of whether the BBU is in place is as follows:
determining whether the BBU is in place by reading the vendor name, the sequence number, and the compatibility indicator flag parameter of the BBU.
It should be noted that the validity test may be performed only when the BBU exists, otherwise, there is no meaning, and the accuracy of the in-place test can be effectively ensured by reading the parameters.
The validity testing method for the BBU in the third memory system provided in the embodiment of the present application is based on the validity testing method for the BBU in the first memory system, and further includes the following technical features:
the judging whether the BBU is effective according to the detection of the discharge current of the BBU comprises the following steps:
and acquiring the discharge current of the BBU, judging that the BBU is effective when the discharge current is a negative value, and judging that the BBU has a fault when a system is down.
Under the condition, the judgment accuracy can be improved, and the BBU can be proved to play a due role only when the system is not down.
The method for testing the validity of the BBU in the fourth memory system provided in the embodiment of the present application is based on any one of the methods for testing the validity of the BBU in the first to third memory systems, and further includes the following technical features:
the preset time interval is greater than seven days.
That is to say, at least after seven days, a BBU validity test is carried out, so that the BBU validity can be better ensured.
The validity testing method for the BBU in the fifth storage system provided in the embodiment of the present application is based on any one of the validity testing methods for the BBU in the first to third storage systems, and further includes the following technical features:
the preset time ranges from 1 second to 5 seconds.
That is to say, generally speaking, the power supply of BBU is used for at least one second, whether it is effective or not can be verified, so that when an emergency occurs, BBU can provide an effective power supply in time, a storage system can process customer data in time, and the integrity of the customer data is ensured.
Fig. 2 shows a validity testing apparatus for a BBU in a first memory system provided in an embodiment of the present application, and fig. 2 is a schematic diagram of the validity testing apparatus for a BBU in a first memory system provided in an embodiment of the present application, where the apparatus includes:
a determining unit 201, configured to determine, at preset time intervals, whether a BBU is in place;
the switching unit 202 is used for stopping PSU power supply and switching to BBU power supply for a preset time when the BBU is in place;
and the judging unit 203 is used for judging whether the BBU is effective or not according to the detection of the discharge current of the BBU.
Specifically, a C high-level language can be adopted to use a general-purpose processor CPU to run a main program at a host end, the CPU turns on a discharge enable signal of the BBU and turns off a power supply output enable signal of the PSU, and after the CPU waits for 1 second, the CPU turns on the power supply output enable signal of the PSU and turns off the discharge enable signal of the BBU. If the BBU fails to discharge, the system is down, otherwise, the system runs normally. The CPU executes the program to perform a power failure test on the BBU once, then starts timing from the program operation, performs the power failure test once again when the timing time is greater than the preset time interval, performs timing zero clearing, and restarts timing after the execution is finished.
The apparatus for testing validity of BBU in the second memory system provided in the embodiment of the present application is based on the apparatus for testing validity of BBU in the first memory system, and further includes the following technical features:
the determining unit is specifically configured to determine whether the BBU is in place by reading a vendor name, a sequence number, and a compatibility indicator flag parameter of the BBU.
It should be noted that the validity test may be performed only when the BBU exists, otherwise, there is no meaning, and the accuracy of the in-place test can be effectively ensured by reading the parameters.
The apparatus for testing validity of BBU in the third memory system provided in the embodiment of the present application is based on the apparatus for testing validity of BBU in the first memory system, and further includes the following technical features:
the judgment unit is specifically used for acquiring the discharge current of the BBU, judging that the BBU is effective when the discharge current is a negative value, and judging that the BBU has a fault when the system is down.
Under the condition, the judgment accuracy can be improved, and the BBU can be proved to play a due role only when the system is not down.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (4)
1. A method for testing the effectiveness of BBU in a memory system is characterized by comprising the following steps:
determining whether the BBU is in place at preset time intervals;
when the BBU is in place, stopping PSU power supply, switching to BBU power supply, and continuing for a preset time;
judging whether the BBU is effective or not according to the detection of the discharge current of the BBU;
the determination of whether the BBU is in place is as follows:
determining whether the BBU is in place by reading a vendor name, a serial number and a compatibility indicator flag parameter of the BBU;
the judging whether the BBU is effective according to the detection of the discharge current of the BBU comprises the following steps:
and acquiring the discharge current of the BBU, judging that the BBU is effective when the discharge current is a negative value, and judging that the BBU has a fault when a system is down.
2. The method for testing the effectiveness of a BBU in a memory system of claim 1, wherein said predetermined time interval is in a range greater than seven days.
3. The method for testing the effectiveness of the BBU in the memory system according to claim 1, wherein the preset time is in a range of 1 second to 5 seconds.
4. An apparatus for testing the validity of a BBU in a memory system, comprising:
a determining unit, configured to determine, at preset time intervals, whether a BBU is in place;
the switching unit is used for stopping PSU power supply and switching to BBU power supply for preset time when the BBU is in place;
the judgment unit is used for judging whether the BBU is effective or not according to the detection of the discharge current of the BBU;
the determining unit is specifically configured to determine whether the BBU is in place by reading a vendor name, a serial number, and a compatibility indicator parameter of the BBU;
the judgment unit is specifically used for acquiring the discharge current of the BBU, judging that the BBU is effective when the discharge current is a negative value, and judging that the BBU has a fault when the system is down.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710656114.5A CN107436414B (en) | 2017-08-03 | 2017-08-03 | Method and device for testing effectiveness of BBU in memory system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710656114.5A CN107436414B (en) | 2017-08-03 | 2017-08-03 | Method and device for testing effectiveness of BBU in memory system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107436414A CN107436414A (en) | 2017-12-05 |
CN107436414B true CN107436414B (en) | 2020-06-16 |
Family
ID=60460377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710656114.5A Active CN107436414B (en) | 2017-08-03 | 2017-08-03 | Method and device for testing effectiveness of BBU in memory system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107436414B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108152746B (en) * | 2017-12-14 | 2021-05-25 | 郑州云海信息技术有限公司 | Method and system for detecting battery activity of standby power supply pack |
CN109032320B (en) * | 2018-07-26 | 2022-04-22 | 郑州云海信息技术有限公司 | Battery backup unit testing method and related equipment |
CN111312325B (en) * | 2020-02-14 | 2021-10-15 | 苏州浪潮智能科技有限公司 | BBU fault diagnosis method and device, electronic equipment and storage medium |
CN113098123A (en) * | 2021-03-26 | 2021-07-09 | 山东英信计算机技术有限公司 | Power supply system and storage device |
CN113311350A (en) * | 2021-07-28 | 2021-08-27 | 苏州浪潮智能科技有限公司 | BBU power supply online test device, method and server |
CN113742276A (en) * | 2021-08-26 | 2021-12-03 | 山东云海国创云计算装备产业创新中心有限公司 | Memory device and connection device and method of BBU (base band Unit) of memory device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106908738A (en) * | 2017-04-13 | 2017-06-30 | 广东浪潮大数据研究有限公司 | A kind of automatic testing method of SmartRack reserce cells |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1869727A (en) * | 2005-05-24 | 2006-11-29 | 乐金电子(昆山)电脑有限公司 | Method for testing voltage of stand-by battery |
CN105811487B (en) * | 2014-12-31 | 2020-09-29 | 中兴通讯股份有限公司 | Battery pack, and automatic battery pack capacity calibration learning method and system |
CN105048439B (en) * | 2015-08-10 | 2018-10-12 | 福建星网锐捷网络有限公司 | A kind of method for controlling power supply and device |
CN105912089A (en) * | 2016-04-07 | 2016-08-31 | 浪潮电子信息产业股份有限公司 | Battery redundancy method, device and system |
CN106338690B (en) * | 2016-08-25 | 2019-08-02 | 浪潮电子信息产业股份有限公司 | A kind of reserve battery detection method, device, system and method for supplying power to |
CN106785145A (en) * | 2017-02-04 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of battery BBU discharge and recharge detection methods based on Rack racks |
CN106787154A (en) * | 2017-02-24 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of stand-by power source device |
-
2017
- 2017-08-03 CN CN201710656114.5A patent/CN107436414B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106908738A (en) * | 2017-04-13 | 2017-06-30 | 广东浪潮大数据研究有限公司 | A kind of automatic testing method of SmartRack reserce cells |
Non-Patent Citations (1)
Title |
---|
"数据存储设备中锂电池管理与监控***的研究";张勇才;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20130315(第3期);C042-783 * |
Also Published As
Publication number | Publication date |
---|---|
CN107436414A (en) | 2017-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107436414B (en) | Method and device for testing effectiveness of BBU in memory system | |
EP3121726B1 (en) | Fault processing method, related device and computer | |
US9778988B2 (en) | Power failure detection system and method | |
WO2015039598A1 (en) | Fault locating method and device | |
CN108851186B (en) | Online error prevention method and system for tobacco shred production quality and electronic equipment | |
CN109733238B (en) | Fault detection method, device, storage medium and processor | |
CN114398913A (en) | Fuel handling system detection method and device, storage medium and electronic equipment | |
CN106021054A (en) | Method and apparatus for testing upgrading and downgrading stability of BMC | |
CN107590016A (en) | Power-down rebooting recognition methods and device | |
US20160266961A1 (en) | Trace capture of successfully completed transactions for trace debugging of failed transactions | |
CN111124818B (en) | Monitoring method, device and equipment for Expander | |
US9251028B2 (en) | Managing code instrumentation in a production computer program | |
CN111062503B (en) | Power grid monitoring alarm processing method, system, terminal and storage medium | |
JP2015114675A (en) | Application software acceleration testing device and testing method | |
CN114912495A (en) | Transformer fault monitoring method, device and storage medium | |
US20110172945A1 (en) | Method for monitoring burn-in procedure of electronic device | |
CN111475378B (en) | Monitoring method, device and equipment for Expander | |
CN109614307B (en) | Online pressure testing method and device of service system and server | |
CN114718706A (en) | Sensor detection method, sensor detection device and readable storage medium | |
CN111106981B (en) | PCIE channel overhauling method and device | |
CN110598415B (en) | Security vulnerability emergency response triggering judgment method and device | |
CN116594862B (en) | DBMS test method and device, electronic equipment and readable storage medium | |
US11061745B2 (en) | Shared resource analysis for embedded multi-core systems | |
CN108874570B (en) | CPU program runaway identification method and device and SOC system | |
CN103309759A (en) | Method for detecting interrupt service of operating 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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200521 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |