CN115291708A - Power failure protection method and device and electronic equipment - Google Patents
Power failure protection method and device and electronic equipment Download PDFInfo
- Publication number
- CN115291708A CN115291708A CN202211199906.1A CN202211199906A CN115291708A CN 115291708 A CN115291708 A CN 115291708A CN 202211199906 A CN202211199906 A CN 202211199906A CN 115291708 A CN115291708 A CN 115291708A
- Authority
- CN
- China
- Prior art keywords
- bbu
- storage node
- power supply
- node
- power
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012544 monitoring process Methods 0.000 claims description 28
- 230000002159 abnormal effect Effects 0.000 claims description 9
- 230000005856 abnormality Effects 0.000 claims description 9
- 238000007599 discharging Methods 0.000 claims description 8
- 238000002955 isolation Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 4
- 239000012634 fragment Substances 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/16—Protection against loss of memory contents
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the application provides a power failure protection method and device and electronic equipment. In the embodiment, each storage node in the multi-node storage device is provided with a Battery Backup Unit (BBU), so that the BBU supplies power to the storage node to which the BBU belongs, the size of the BBU is reduced, a fragment space on the storage node is utilized, an additional BBU module is not required to be added, and power failure protection is realized under the condition that the size of the whole device is not increased; furthermore, the output of the BBU in each storage node is connected to the power supply bus, and the power supply power of each BBU is set to be larger than the power supply power requirement required by the storage node, so that when the BBUs of other storage nodes are in fault, at least one other normal BBU is matched to supply power to the storage node with the fault BBU, the BBU in each storage node is used for backup, and compared with the related technology in which a backup BBU is additionally arranged, the whole machine consumption is not increased.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a power failure protection method and apparatus, and an electronic device.
Background
For a multi-node storage device comprising a plurality of storage nodes, when the external power supply is abnormal, the data which is not dropped from the disk is lost and cannot be stored. In order to solve the above problems, a Battery Backup Unit (BBU) capable of supplying power to the multi-node storage device when an external power supply failure is additionally provided in the multi-node storage device, which may cause the volume of the multi-node storage device to increase; the BBU is larger in volume, which further increases the volume of the multi-node memory device.
In addition, in order to improve the reliability of the device, at least one additional BBU needs to be added for backup on the premise that the BBUs are added in the multi-node storage device, so that the volume of the multi-node storage device is further enlarged, and the power consumption of the whole device is also increased.
Disclosure of Invention
In view of this, the present application provides a power down protection method, apparatus and electronic device, which implement power down protection without increasing the volume of multi-node storage device and the power consumption of the whole device.
According to a first aspect of the embodiments of the present application, a power failure protection method is provided, which is applied to a storage node, where the storage node is one storage node in a multi-node storage device, the multi-node storage device further includes a power supply apparatus PSU, the storage node at least includes a battery backup unit BBU and a control unit, and an output of the BBU in each storage node in the multi-node storage device is connected to a power supply bus; the power supply power configured for the BBU in each storage node is larger than the power supply power requirement required by the storage node; the method comprises the following steps:
the control unit is used for monitoring the BBU and monitoring whether the PSU generates power supply abnormity, and informing the BBU to start discharging when the BBU is monitored to be normal and the PSU generates power supply abnormity;
and the BBU supplies power to the storage node after receiving the discharge notification, and the power supply power configured based on the BBU in the storage node is larger than the power supply power requirement required by the storage node, and when BBUs of other storage nodes are in fault, at least one other normal BBU is matched to supply power to the storage node in which the BBU is in fault.
According to a second aspect of the embodiments of the present application, a power fail safeguard device is provided, which is applied to a storage node, where the storage node is one storage node in a multi-node storage device, the multi-node storage device further includes a power supply device PSU, the storage node at least includes a battery backup unit BBU and a control unit, and an output of the BBU in each storage node in the multi-node storage device is connected to a power supply bus; the power supply power configured for the BBU in each storage node is larger than the power supply power requirement required by the storage node; the device includes:
the first monitoring module is used for monitoring the BBU and monitoring whether the PSU generates power supply abnormity through the control unit, and informing the BBU to start discharging when the BBU is normal and the PSU generates power supply abnormity;
and the power supply module is used for supplying power to the storage node after receiving the discharge notification through the BBU, and supplying power to the storage node with the fault by matching with at least one other normal BBU when the BBU of other storage nodes has the fault based on the condition that the power supply power of the BBU in the storage node is larger than the power supply power requirement required by the storage node.
According to a third aspect of embodiments of the present application, there is provided an electronic apparatus including: a processor and a memory; wherein the memory is to store machine executable instructions; the processor is configured to read and execute the machine executable instructions stored by the memory to implement the steps of the method according to the first aspect.
In the embodiment, each storage node in the multi-node storage device is provided with a Battery Backup Unit (BBU), so that the BBU supplies power to the storage node to which the BBU belongs, the size of the BBU is reduced, a fragment space on the storage node is utilized, an additional BBU module is not required to be added, and power failure protection is realized under the condition that the size of the whole device is not increased;
furthermore, the output of the BBU in each storage node is connected to the power supply bus, and the power supply power of each BBU is set to be larger than the power supply power requirement required by the storage node, so that when the BBUs of other storage nodes are in fault, at least one other normal BBU is matched to supply power to the storage node with the fault BBU, the BBU in each storage node is used for backup, and compared with the related technology in which a backup BBU is additionally arranged, the whole machine consumption is not increased.
Drawings
FIG. 1 is a diagram illustrating an exemplary configuration of a multi-node memory device according to an embodiment of the present application.
Fig. 2 is a flowchart of a method provided by an embodiment of the present application.
Fig. 3 is a flow chart of storage node isolation according to an embodiment of the present disclosure.
Fig. 4 is a diagram of an example of load balancing provided in an embodiment of the present application.
Fig. 5 is a diagram of an apparatus provided in an embodiment of the present application.
Fig. 6 is a schematic diagram of a hardware structure of an apparatus according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination," depending on the context.
In order to make the technical solutions provided in the embodiments of the present application better understood and make the above objects, features, and advantages of the embodiments of the present application more obvious and understandable by those skilled in the art, the technical solutions in the embodiments of the present application are further described in detail below with reference to the accompanying drawings.
Next, examples of the present application will be described in detail.
Referring to fig. 1, fig. 1 is a diagram illustrating an example of a multi-node memory device according to an embodiment of the present application. As shown in fig. 1, the multi-node storage device is a complete machine device, which at least includes a plurality of storage nodes, a Power Supply Unit (PSU), and a power supply bus. The storage node is one component of the whole equipment and cannot be used independently. And a power supply port connected with the power supply bus on each storage node is connected with the power supply bus, so that the PSU supplies power to each storage node through the power supply bus. The power supply bus is arranged on the complete machine back plate of the multi-node storage equipment.
For each storage node, it at least comprises a battery backup unit BBU, a power supply switching unit and a control unit. In this embodiment, the control unit may have various types, such as a Complex Programmable Logic Device (CPLD), a Baseboard Management Controller (BMC), and so on. The embodiment of the present application is not particularly limited to this.
The output of the BBU in each storage node is connected to the power supply bus to form a BBU power supply network, so that when the PSU fails, the normal BBU can supply power to the storage nodes in the multi-node storage device through the power supply bus.
As shown in fig. 1, the multi-node storage device further includes at least two switching units, and the at least two switching units are backup of each other. The exchange unit is used for data interaction. The switching unit here may be a switch, etc. The embodiments of the present application are not particularly limited.
Here, the data interaction may be data transmission between the storage node and the storage node, or data transmission between the external device and the storage node. The embodiments of the present application are not particularly limited.
Referring to fig. 2, fig. 2 is a flowchart of a method provided by an embodiment of the present application. The method is applied to the storage node, and as shown in fig. 2, the process may include the following steps:
s210: and the control unit is used for monitoring the BBU and monitoring whether the PSU generates power supply abnormity, and informing the BBU to start discharging when the BBU is normal and the PSU generates power supply abnormity.
Exemplarily, in this embodiment, there are various methods for monitoring whether the PSU has a power supply abnormality, for example, receiving abnormality information actively reported by the PSU, or monitoring that the voltage on the PSU power supply circuit is 0, and the like. The embodiments of the present application are not particularly limited.
Illustratively, in this embodiment, there are various methods for monitoring whether the BBU is in power supply abnormality, and as an embodiment, the storage node is provided with a BATTERY MANAGEMENT SYSTEM (BMS) connected to the BBU for managing the BBU, where managing the BBU includes, but is not limited to, monitoring whether the BBU is in power supply abnormality, managing charging and discharging of the BBU, and the like. The embodiments of the present application are not particularly limited. In this embodiment, when the BMS detects a BBU abnormality, the BMS sends BBU abnormality information to the control unit.
Illustratively, when the BBU is normal and the PSU is abnormal in power supply, the BBU is informed to start discharging. In this embodiment, notifying the BBU to turn on the discharge may be sending a discharge notification message to the BMS by the control unit, and controlling the BBU to turn on the discharge by the BMS.
S220: and the BBU supplies power to the storage node after receiving the discharge notification, and the configured power supply power of the BBU in the storage node is larger than the power supply power requirement required by the storage node, and when the BBUs of other storage nodes are in fault, at least one other normal BBU is matched to supply power to the storage node in which the BBU is in fault.
Illustratively, in this embodiment, the BBU discharges to power the present storage node after receiving the discharge notification.
Illustratively, in this embodiment, in order to supply power to a storage node with a failure of a BBU by using a normal BBU in the storage node in cooperation with at least one other normal BBU when a PSU fails and a BBU of at least one storage node in the multi-node storage device fails, when the power supply power of each storage node is set, the configured power supply power of the BBU in each storage node is greater than the power supply power requirement required by the storage node.
In the embodiment of the present application, for a specific configuration method of the configured power supply of the BBU in each storage node, reference may be specifically made to the description of the following embodiment, and details are not repeated here for the moment.
Therefore, when a BBU in a certain storage node fails, normal BBUs in other storage nodes can supply power to the failed node, and the power failure protection function of all nodes is achieved.
Thus, the flow shown in fig. 2 is completed.
As can be seen from the flow of fig. 2, in this embodiment, a battery backup unit BBU is provided on each storage node in the multi-node storage device, so that the BBU supplies power to the storage node to which the BBU belongs, the size of the BBU is reduced, a "fragment" space on the storage node is utilized, and a BBU module is not required to be additionally added, thereby implementing power failure protection without increasing the size of the whole device;
furthermore, the output of the BBU in each storage node is connected to the power supply bus, and the power supply power of each BBU is set to be larger than the power supply power requirement required by the storage node, so that when the BBU of other storage nodes fails, at least one other normal BBU is matched to supply power to the storage node with the failed BBU, the BBU in each storage node is used for backup, and compared with the related technology in which a backup BBU is additionally arranged, the consumption of the whole machine is not increased.
When the control unit monitors that the BBU fails, as an optional implementation manner of the embodiment of the present application, the power failure protection method further includes:
and controlling the disconnection between the fault BBU and the power supply bus through the control unit so as to isolate the fault BBU.
Illustratively, when a BBU fault in the storage node is monitored, in order to ensure that the BBU does not affect other devices which normally operate in the multi-node storage device, the connection between the faulty BBU and the power supply bus needs to be disconnected.
Illustratively, in this embodiment, an on-off switch is provided between the BBU and the power supply bus in each storage node, and the connection between the BBU and the power supply bus is controlled by controlling the on-off of the on-off switch. Here, the on-off switch is a component including a first Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET). When the first MOSFET is turned on, the BBU can supply power to the system, and when the first MOSFET is turned off, the BBU is disconnected from the system power supply bus. The requirements of large current and high power of the multi-node storage device are met by controlling the disconnection between the BBU and the power supply bus through the MOSFET.
Illustratively, when the control unit monitors that the BBU is abnormal, control information is sent to the BMS managing the BBU, and the BMS controls the first MOSFET to be disconnected according to the control information.
As an optional implementation manner of the embodiment of the present application, the storage node further includes: referring to fig. 3, fig. 3 is a flowchart of a step of isolating a storage node according to an embodiment of the present disclosure. As shown in fig. 3, the process may include the following steps:
s310: and the power supply switching unit is used for monitoring the state of the storage node and sending a notice of the abnormity of the storage node to the control unit when the state of the storage node is monitored to be abnormal.
Illustratively, in the present embodiment, the state of the storage node may be normal, abnormal, or the like. The embodiments of the present application are not particularly limited.
Here, the storage node exception may store an exception occurring in a circuit inside the storage node, such as a short circuit occurring inside the storage node, a broken circuit occurring inside the node, and the like. The embodiments of the present application are not particularly limited.
Illustratively, in the embodiments of the present application, there are many methods for monitoring the state of the storage node, and as an embodiment of the present application, the storage node is determined to be abnormal according to a received SoftStart _ PG determination sent by a conventional node slow-start circuit, that is, a SoftStart _ PG invalid signal sent by the node slow-start circuit and monitored by a power supply switchover unit.
Here, the node slow-start circuit may be disposed in the power switching unit, or may be disposed between the power switching unit and the power supply bus, and the embodiment of the present application is not particularly limited.
S320: and the control unit controls the connection disconnection between the power supply port connected with the power supply bus on the storage node and the power supply bus so as to isolate the storage node with the fault when receiving the notice of the abnormity of the storage node.
For example, in this embodiment, when receiving a notification of an exception of an own storage node, in order to ensure that the storage node does not affect other storage nodes which normally operate, a power port of the own storage node, which is connected to a power supply bus, needs to be disconnected from the power supply bus.
For example, in this embodiment, for the storage node, an on-off switch is provided between the power supply bus and the power port connected to the power supply bus on the storage node, and the connection between the power supply bus and the power port connected to the power supply bus on the storage node is controlled by controlling the on-off switch to be turned off. Wherein the on-off switch may be a component including a second MOSFET. The embodiments of the present application are not particularly limited.
At this time, if the BBU of the failed storage node is normal, the BBU can still be powered on by the control unit when the PSU fails.
The flow shown in fig. 3 is completed.
Through the process shown in fig. 3, isolation of a failed storage node is achieved.
As an optional implementation manner of the embodiment of the present application, the BBU in the storage node and the BBU in at least one other storage node in the multi-node storage device are configured with a load balancing chip, and the BBU configured with the load balancing chip is connected to a current sharing bus LS; the power failure protection method further comprises the following steps:
and the BBU adjusts the local output power based on the output power of other BBUs configured with the load balancing chip obtained through the current sharing bus LS according to the load balancing requirement.
Exemplarily, in this embodiment, the BBU in the present storage node and the BBU in at least one other storage node in the multi-node storage device are provided with a load balancing chip, and the load balancing chip is capable of providing a load balancing signal LS BUS, and connects the output of the BBU provided with the load balancing chip to the current sharing BUS LS to form a "load balancing" network, that is, a network formed by dashed lines in fig. 4. Here, the current share bus is disposed on a backplane of the multi-node device.
Illustratively, the load balancing chip may be various, for example, UCC29002, etc. The embodiments of the present application are not particularly limited.
For example, in this embodiment, the load balancing signal may be a voltage, and the load balancing signal represents the output power of the BBU, and the higher the voltage is, the larger the output power information of the BBU is.
Exemplarily, as shown in fig. 4, the load balancing signal of each BBU is connected to the current sharing bus LS, and each BBU adjusts its own output power through the balancing signals of other BBUs to implement load balancing.
For the BBU of the storage node, the output power of other BBUs configured with the load balancing chip is obtained through the current-sharing bus LS to adjust the local output power, so that the output power of each BBU configured with the load balancing chip meets the load balancing requirement.
Exemplarily, in the present embodiment, the load balancing requirement described above may be the same for the output power of each BBU output. For example, when the required total output power is 1800W, there are 3 BBUs normally used in total, and then the final output power of each BBU is 600W, which is considered to satisfy the load balancing requirement.
In the following, a specific example is used to describe load balancing, and when the required total output power is 1800W, one BBU with 3 normal discharges is taken as an example, and the 3 normal discharges BBUs are a first BBU, a second BBU, and a third BBU, respectively, where the output power of the first BBU is 700W, the output power of the second BBU is 550W, and the output power of the third BBU is also 550W, so that the second BBU and the third BBU both adjust the output power upward with reference to the first BBU, and the first BBU adjusts the output power downward until the output of each BBU is 600W, thereby achieving load balancing.
According to the embodiment of the application, the load balancing operation is carried out on the output power of each BBU, so that each BBU is reasonably discharged, the battery loss can be reduced, and the service life of the battery is prolonged to a certain extent.
The following describes the power supply configured for the storage node:
the multi-node storage device comprises N storage nodes; n BBUs in the N storage nodes are backed up according to (N-X) + X, (N-X) + X backup shows that when X BBUs have faults, other N-X BBUs are used for supplying power to normal storage nodes in the multi-node equipment;
the power supply power configured for the BBU in the storage node is as follows: M/(N-X), where M is the total power requirement of the multi-node storage device, where X < N.
Illustratively, according to the scheme of centralized BBU power supply in the related art, a multi-node memory device needs at least two large-capacity centralized BBUs, and a single BBU needs to meet the power consumption requirement of the whole multi-node memory device. For example, if the power consumption of the whole machine is 1kw, and the BBU is backed up by 1+1 in a centralized manner, the discharge power of the BBU is required to be 2kw (each BBU provides 1 kw), which not only increases the volume of the multi-node storage device, but also increases the power consumption of the multi-node storage device.
Illustratively, in the embodiment of the present application, before configuring the power supply power for the BBU of each storage node in a multi-node storage device, a backup (N-X) used by the multi-node storage device is determined, and then the power supply power configured for the BBU is: M/(N-X).
Illustratively, the multi-node storage device includes 4 storage nodes, and redundancy is implemented by taking 3+1 backup as an example, if the power consumption of the whole device is 1kw, then a single BBU only needs to provide 0.333kw, that is, all BBUs in the multi-node storage device only need to support 1.333kw, which is obvious in advantage.
It should be noted that, when setting a BBU backup of a multi-node storage device, it needs to be determined according to the free space of a storage node in the multi-node storage device, and it is ensured that the setting is performed without changing the volume of the multi-node storage device.
As an embodiment of the application, when the external power supply normally supplies power to the multi-node storage device, if the BMS monitors that the electric quantity of the BBU is not full, the BMS controls the BBU to enter a charging stage until the BBU is full.
Corresponding to the embodiments of the method, the present specification also provides embodiments of the apparatus and the terminal applied thereto.
As shown in fig. 5, fig. 5 is a block diagram of a power down protection apparatus shown in this specification according to an exemplary embodiment, the apparatus is applied to a storage node, the storage node is one storage node in a multi-node storage device, the multi-node storage device further includes a power supply apparatus PSU, the storage node at least includes a battery backup unit BBU and a control unit, and an output of the BBU in each storage node in the multi-node storage device is connected to a power supply bus; the configured power supply power of the BBU in each storage node is larger than the power supply power requirement required by the storage node; the device comprises:
the first monitoring module is used for monitoring the BBU and monitoring whether the PSU generates power supply abnormity through the control unit, and informing the BBU to start discharging when the BBU is normal and the PSU generates power supply abnormity;
and the power supply module is used for supplying power to the storage node after receiving the notification of the discharge through the BBU, supplying power to the storage node based on the condition that the power supply power of the BBU in the storage node is larger than the power supply power requirement required by the storage node, and supplying power to the storage node with the fault in cooperation with at least one other normal BBU when BBUs of other storage nodes have the fault.
As an optional implementation manner of the embodiment of the present application, when the control unit monitors that the BBU has a fault, the power failure protection apparatus further includes:
and the BBU isolation module is used for controlling the disconnection between the fault BBU and the power supply bus through the control unit so as to isolate the fault BBU.
As an optional implementation manner of the embodiment of the present application, the storage node further includes: the power supply switching unit, this power fail safeguard device still includes:
the second monitoring module is used for monitoring the state of the storage node through the power supply switching unit, and sending a notification of the storage node abnormality to the control unit when the state of the storage node is monitored to be abnormal;
and the node isolation module is used for controlling the disconnection between the storage node and the power supply bus when receiving the notice of the abnormity of the storage node through the control unit so as to isolate the storage node with the fault.
As an optional implementation manner of the embodiment of the present application, a BBU in a storage node and a BBU in at least one other storage node in a multi-node storage device are configured with a load balancing chip, and the BBU configured with the load balancing chip is connected to a current sharing bus LS; this power down protection device still includes:
and the load balancing module is used for the BBU, and adjusting the local output power based on the output power of other BBUs configured with the load balancing chip obtained through the current sharing bus LS according to the load balancing requirement.
As an optional implementation manner of the embodiment of the present application, the multi-node storage device includes N storage nodes; the N BBUs in the N storage nodes are backed up according to (N-X) + X, (N-X) + X backup shows that when the X BBUs have faults, other N-X BBUs are used for supplying power to normal storage nodes in the multi-node equipment;
the power supply power configured for the BBU in the storage node is as follows: M/(N-X), where M is the total power requirement of the power supply required by the multi-node storage device, where X < N.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
Thus far, the description of the apparatus shown in fig. 5 is completed.
For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the present specification. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, an embodiment of the present application further provides a hardware structure diagram of the apparatus shown in fig. 5, and specifically as shown in fig. 6, the electronic device may be a device for implementing the method described above. As shown in fig. 6, the hardware structure includes: a processor and a memory.
Wherein the memory is used for storing machine executable instructions;
a processor configured to read and execute the machine executable instructions stored by the memory to implement the corresponding power down protection method embodiments as shown above.
For one embodiment, the memory may be any electronic, magnetic, optical, or other physical storage device that may contain or store information such as executable instructions, data, and the like. For example, the memory may be: volatile memory, non-volatile memory, or similar storage media. In particular, the Memory may be a RAM (random Access Memory), a flash Memory, a storage drive (such as a hard disk drive), a solid state disk, any type of storage disk (such as an optical disk, a DVD, etc.), or similar storage medium, or a combination thereof.
So far, the description of the electronic apparatus shown in fig. 6 is completed.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following the general principles of the specification and including such departures from the present disclosure as come within known or customary practice in the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
Claims (10)
1. A power failure protection method is characterized in that the method is applied to a storage node, the storage node is one of multi-node storage equipment, the multi-node storage equipment further comprises a power supply device PSU, the storage node at least comprises a battery backup unit BBU and a control unit, and the output of the BBU in each storage node of the multi-node storage equipment is connected to a power supply bus; the power supply power configured for the BBU in each storage node is larger than the power supply power requirement required by the storage node; the method comprises the following steps:
the control unit is used for monitoring the BBU and monitoring whether the PSU generates power supply abnormity, and informing the BBU to start discharging when the BBU is monitored to be normal and the PSU generates power supply abnormity;
and the BBU supplies power to the storage node after receiving the discharge notification, and the power supply power configured based on the BBU in the storage node is larger than the power supply power requirement required by the storage node, and when BBUs of other storage nodes are in fault, at least one other normal BBU is matched to supply power to the storage node in which the BBU is in fault.
2. The method of claim 1, wherein upon monitoring the BBU failure by the control unit, the method further comprises:
and controlling the disconnection between the fault BBU and the power supply bus through the control unit so as to isolate the fault BBU.
3. The method of claim 1, wherein the storage node further comprises: a power switching unit, the method further comprising:
the power supply switching unit is used for monitoring the state of the storage node, and sending a notification of the storage node abnormality to the control unit when the state of the storage node is monitored to be abnormal;
and the control unit controls the connection disconnection between the power supply port connected with the power supply bus and the power supply bus on the storage node when receiving the notice of the abnormity of the storage node so as to isolate the storage node with the fault.
4. The method according to claim 1, wherein the BBU in the local storage node and the BBU in the at least one other storage node in the multi-node storage device are configured with load balancing chips, and the BBU configured with the load balancing chips is connected to a current sharing bus LS; the method further comprises the following steps:
and the BBU adjusts the local output power based on the fact that the output power of other BBUs provided with the load balancing chips is obtained through the current sharing bus LS according to the load balancing requirement.
5. The method of claim 1, wherein the multi-node storage device comprises N storage nodes; the N BBUs in the N storage nodes are backed up according to (N-X) + X, wherein the (N-X) + X backup indicates that when the X BBUs have faults, other N-X BBUs are used for supplying power to normal storage nodes in the multi-node equipment;
the BBU in the storage node is configured with power supply power as follows: M/(N-X), where M is the total power requirement of the multi-node storage device, where X < N.
6. The power failure protection device is characterized in that the device is applied to a storage node, the storage node is one storage node in a multi-node storage device, the multi-node storage device further comprises a power supply device PSU, the storage node at least comprises a battery backup unit BBU and a control unit, and the output of the BBU in each storage node in the multi-node storage device is connected to a power supply bus; the power supply power configured for the BBU in each storage node is larger than the power supply power requirement required by the storage node; the device comprises:
the first monitoring module is used for monitoring the BBU and monitoring whether the PSU generates power supply abnormity through the control unit, and informing the BBU to start discharging when the BBU is normal and the PSU generates power supply abnormity;
and the power supply module is used for supplying power to the storage node after receiving the discharge notification through the BBU, and supplying power to the storage node with the fault by matching with at least one other normal BBU when the BBU of other storage nodes has the fault based on the condition that the power supply power of the BBU in the storage node is larger than the power supply power requirement required by the storage node.
7. The apparatus of claim 6, wherein upon monitoring the BBU failure, the control unit further comprises:
and the BBU isolation module is used for controlling the disconnection between the fault BBU and the power supply bus through the control unit so as to isolate the fault BBU.
8. The apparatus of claim 6, wherein the storage node further comprises: a power switching unit, the apparatus further comprising:
the second monitoring module is used for monitoring the state of the storage node through the power supply switching unit, and sending a notification of the storage node abnormality to the control unit when the state of the storage node is monitored to be abnormal;
and the node isolation module is used for controlling the connection disconnection between the storage node and the power supply bus to isolate the fault storage node when receiving the notification of the abnormity of the storage node through the control unit.
9. The apparatus of claim 6, wherein the BBUs of the memory nodes and the BBU of the at least one other memory node of the multi-node memory device are configured with load balancing chips, the BBUs configured with load balancing chips being connected to a current share bus (LS); the device further comprises:
and the load balancing module is used for the BBU and adjusting the local output power based on the fact that the output power of other BBUs configured with the load balancing chip is obtained through the current sharing bus LS according to the load balancing requirement.
10. An electronic device, characterized in that the electronic device comprises: a processor and a memory;
wherein the memory is to store machine executable instructions;
the processor is configured to read and execute the machine-executable instructions stored by the memory to implement the steps of the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211199906.1A CN115291708A (en) | 2022-09-29 | 2022-09-29 | Power failure protection method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211199906.1A CN115291708A (en) | 2022-09-29 | 2022-09-29 | Power failure protection method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115291708A true CN115291708A (en) | 2022-11-04 |
Family
ID=83833779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211199906.1A Pending CN115291708A (en) | 2022-09-29 | 2022-09-29 | Power failure protection method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115291708A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024113813A1 (en) * | 2022-11-29 | 2024-06-06 | 苏州元脑智能科技有限公司 | Power consumption reducing method and system, computer device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101685978A (en) * | 2008-09-28 | 2010-03-31 | 韦永奎 | Postpose type backup power system |
US20150294116A1 (en) * | 2014-04-10 | 2015-10-15 | International Business Machines Corporation | Booting a multi-node computer system from a primary node dynamically selected based on security setting criteria |
CN107085461A (en) * | 2017-04-18 | 2017-08-22 | 深圳市同泰怡信息技术有限公司 | Based on separate modular backup power supply module and its application method |
CN109085909A (en) * | 2018-07-25 | 2018-12-25 | 郑州云海信息技术有限公司 | A kind of distribution of disk array standby method for electrically and device |
CN110707804A (en) * | 2019-10-18 | 2020-01-17 | 上海玫克生储能科技有限公司 | Energy storage and standby power device with online test function and test method |
CN111817319A (en) * | 2020-09-03 | 2020-10-23 | 苏州浪潮智能科技有限公司 | Power supply control method, device, equipment and computer readable storage medium |
CN112311047A (en) * | 2019-07-29 | 2021-02-02 | 百度(美国)有限责任公司 | Charge balance control for parallel connected battery energy storage systems |
-
2022
- 2022-09-29 CN CN202211199906.1A patent/CN115291708A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101685978A (en) * | 2008-09-28 | 2010-03-31 | 韦永奎 | Postpose type backup power system |
US20150294116A1 (en) * | 2014-04-10 | 2015-10-15 | International Business Machines Corporation | Booting a multi-node computer system from a primary node dynamically selected based on security setting criteria |
CN107085461A (en) * | 2017-04-18 | 2017-08-22 | 深圳市同泰怡信息技术有限公司 | Based on separate modular backup power supply module and its application method |
CN109085909A (en) * | 2018-07-25 | 2018-12-25 | 郑州云海信息技术有限公司 | A kind of distribution of disk array standby method for electrically and device |
CN112311047A (en) * | 2019-07-29 | 2021-02-02 | 百度(美国)有限责任公司 | Charge balance control for parallel connected battery energy storage systems |
CN110707804A (en) * | 2019-10-18 | 2020-01-17 | 上海玫克生储能科技有限公司 | Energy storage and standby power device with online test function and test method |
CN111817319A (en) * | 2020-09-03 | 2020-10-23 | 苏州浪潮智能科技有限公司 | Power supply control method, device, equipment and computer readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024113813A1 (en) * | 2022-11-29 | 2024-06-06 | 苏州元脑智能科技有限公司 | Power consumption reducing method and system, computer device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10978904B2 (en) | Reserve power system transfer switches for data center | |
US7634667B2 (en) | User-configurable power architecture with hot-pluggable power modules | |
CN101714109B (en) | Method and device for controlling mainboard of double CPU system | |
US8850237B2 (en) | Data processing system power distribution using UPS units selectively coupled to loads by reserve bus based on the load states | |
CN104838331A (en) | Backup power architecture for rack system | |
US20070216229A1 (en) | UPS methods, systems and computer program products providing adaptive availability | |
JP2011502462A (en) | Selection switch device, power supply device using the same, and switching method thereof | |
JP2003092845A (en) | System and method for supplying power to electric apparatus | |
CN103155350B (en) | Standby power system and method | |
US7275182B2 (en) | Method and apparatus for correlating UPS capacity to system power requirements | |
JPH11146575A (en) | Uninterruptive power supply having redundant function | |
JPH10111738A (en) | Redundant power circuit | |
US20200064895A1 (en) | Power supply apparatus, backup power module and method for providing backup power in computing systems | |
CN111130205B (en) | Backup power supply system, control method thereof and storage medium | |
CN112542830A (en) | Power supply system | |
CN115291708A (en) | Power failure protection method and device and electronic equipment | |
CN110955317A (en) | Power module and complete machine cabinet | |
CN111984471B (en) | Cabinet power BMC redundancy management system and method | |
CN111399620B (en) | Backup power supply and backup method | |
CN111309132B (en) | Method for multi-gear power supply redundancy of server | |
CN114069600A (en) | Power supply method, device and system | |
CN115237684A (en) | Power supply system and data center of multi-node server | |
CN115098305B (en) | Main board standby power switching method and device, electronic equipment and storage medium | |
CN216056470U (en) | Bypass ATS power supply system | |
JP2016181179A (en) | Power supply switching apparatus, power supply system, power supply switching method, and power supply switching program |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221104 |