BBU power supply method, system, storage medium and device

The CPLD logic control module controls the dial switch module to select the power backup mode, selects the corresponding number and power BBU modules from the BBU module to power the storage server, solving the problem that each storage server needs to configure a BBU power supply module, and realizes efficient backup power supply to a large number of storage servers, reducing hardware costs and space occupancy, and improving the flexibility and reliability of power backup.

CN115543053BActive Publication Date: 2025-06-06INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211103273.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2025-06-06
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

In the prior art, each storage server needs to be equipped with a BBU power supply module, resulting in an increase in hardware design space, increased design difficulty and increased R&D costs.

Method used

The CPLD logic control module controls the dial switch module to select the power backup mode, and selects the corresponding number and power BBU modules from the BBU module according to the selected power backup mode to supply power to the storage server.

Benefits of technology

The backup power supply to a large number of storage servers is achieved through a small number of BBU modules, saving hardware costs, reducing the space of storage servers, and improving the flexibility and reliability of power backup methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115543053B_ABST
    Figure CN115543053B_ABST
Patent Text Reader

Abstract

The present invention provides a BBU power supply method, system, storage medium and device, the method comprising: in response to an abnormality in the PSU power supply mode of a storage server, sending the generated abnormal information to a BMC substrate management module; the BMC substrate management module parses the received abnormal information, and sends the generated parsing information to a CPLD logic control module; the CPLD logic control module controls a dial switch module to select a backup power mode based on the received parsing information; according to the selected backup power mode, a BBU module of corresponding quantity and power is selected from the BBU module, and the storage server is powered by the selected BBU module. The present invention realizes backup power supply for a large number of storage servers through a small number of BBU modules, greatly saves hardware cost expenditure, and reduces the occupied space of the storage server. In addition, compared with the storage server backup power mode of the prior art, it is more flexible and more reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power supply technology, and in particular to a BBU power supply method, system, storage medium and device. Background Art

[0002] With the significant increase in the implementation of artificial intelligence and big data technologies in China, the continuous improvement of the information level of the whole society, the continuous advancement of "Internet +", and the significant growth in China's information storage and computing power needs, it is expected that China's server market will continue to maintain a relatively high growth rate in the next few years.

[0003] The reliability of storage server operation is an important operating indicator of the server. Generally, storage servers need to be equipped with BBU (Battery Backup Unit) battery modules to enable timely power switching between PSU (Power Supply Unit) and BBU when a power failure occurs in the storage server, thereby meeting the power supply requirements of the system backup.

[0004] Normally, for the AC / DC (alternating current / direct current) module power supply of the storage device, when the AC power is off, the BBU will immediately provide DC power for the storage to perform backup operations to prevent data loss. In this way, each storage server needs to be equipped with a BBU power supply module. However, this occupies the hardware design space of the storage server, increases the design difficulty, and also increases the R&D cost. Summary of the invention

[0005] In view of this, the purpose of the present invention is to propose a BBU power supply method, system, storage medium and device to solve the problem in the prior art that each storage server needs to be configured with a BBU power supply module, which occupies the hardware design space of the storage server, increases the design difficulty, and increases the R&D cost.

[0006] Based on the above purpose, the present invention provides a BBU power supply method, comprising the following steps:

[0007] In response to an abnormality in the PSU power supply mode of the storage server, the generated abnormality information is sent to the BMC baseboard management module;

[0008] The BMC baseboard management module analyzes the received abnormal information and sends the generated analysis information to the CPLD logic control module;

[0009] The CPLD logic control module controls the DIP switch module to select the backup power mode based on the received parsed information;

[0010] According to the selected backup power mode, BBU modules with corresponding quantity and power are selected from the BBU modules, and the storage server is powered by the selected BBU modules.

[0011] In some embodiments, the method further comprises:

[0012] The GPIO pin of the CPLD logic control module reads the level signals of the multiple dip switches in the dip switch module, and confirms the corresponding backup power mode based on the level signals;

[0013] The level signal of each dip switch is a high level signal or a low level signal, multiple dip switches correspond to multiple groups of level signals, and each backup power mode corresponds to a group of level signals.

[0014] In some embodiments, selecting a corresponding number and amount of BBU modules from the BBU modules according to the selected backup power mode, and supplying power to the storage server through the selected BBU modules includes:

[0015] In response to the selected backup power mode being the single-channel power supply mode, a BBU module with the largest power is selected from the BBU modules, and the storage server is powered by the BBU module with the largest power;

[0016] In response to the selected backup power mode being the multi-channel power supply mode, a plurality of BBU modules with large power are selected from the BBU modules, and the storage server is powered by the plurality of BBU modules with large power.

[0017] In some embodiments, the method further comprises:

[0018] In response to the selected backup power mode being the auto-negotiation backup power mode, a BBU module with a corresponding number and power is selected from the BBU modules based on the parsed information, and the storage server is powered by the selected BBU module.

[0019] In some embodiments, the method further comprises:

[0020] The BMC baseboard management module collects the power information of the BBU module and sends the power information to the CPLD logic control module;

[0021] The CPLD logic control module identifies the BBU modules whose power is lower than a preset threshold value based on the received power information, and charges the BBU modules whose power is lower than the preset threshold value.

[0022] In some embodiments, charging a BBU module whose power level is lower than a preset threshold includes:

[0023] The CPLD logic control module controls the separate PSU module to charge the BBU module whose power is lower than a preset threshold.

[0024] In some embodiments, the method further comprises:

[0025] The BMC baseboard management module collects the temperature information of the BBU module and sends the temperature information to the CPLD logic control module;

[0026] The CPLD logic control module controls the fan heat dissipation module to control the fan speed according to the received temperature information.

[0027] Another aspect of the present invention further provides a BBU power supply system, including:

[0028] The storage server is configured to generate abnormal information in response to an abnormality in the PSU power supply mode of the storage server, and send the abnormal information;

[0029] A BMC baseboard management module is configured to receive and analyze abnormal information, generate analysis information, and send the analysis information;

[0030] A CPLD logic control module is configured to receive parsed information and control the DIP switch module to select a backup power mode based on the parsed information; and

[0031] The BBU module is configured to select BBU modules of corresponding quantity and power from the BBU modules according to the selected backup power mode by the CPLD logic control module, and supply power to the storage server through the selected BBU modules.

[0032] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer program instructions, and the computer program instructions implement the above method when executed by a processor.

[0033] According to another aspect of the present invention, a computer device is provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and the computer program executes the above method when executed by the processor.

[0034] The present invention has at least the following beneficial technical effects:

[0035] The BBU power supply method of the present invention controls the DIP switch module to select a backup power mode through a CPLD logic control module, and selects BBU modules of corresponding quantity and power from the BBU modules according to the selected backup power mode to power the storage server, thereby realizing backup power supply for a large number of storage servers through a small number of BBU modules, greatly saving hardware cost expenditure and reducing the occupied space of the storage server. In addition, compared with the storage server backup power supply method of the prior art, it is more flexible and more reliable. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A schematic diagram of a BBU power supply method provided according to an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of the system structure of a method for implementing a BBU power supply method according to an embodiment of the present invention;

[0039] Figure 3 A schematic diagram of a BBU power supply system provided according to an embodiment of the present invention;

[0040] Figure 4 A schematic diagram of a computer-readable storage medium for implementing a BBU power supply method according to an embodiment of the present invention;

[0041] Figure 5 The present invention is a schematic diagram of the hardware structure of a computer device for executing a BBU power supply method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0043] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are intended to distinguish two non-identical entities or non-identical parameters with the same name. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, other steps or units inherent to a process, method, system, product or device that includes a series of steps or units.

[0044] Based on the above purpose, a first aspect of an embodiment of the present invention provides an embodiment of a BBU power supply method. Figure 1 FIG. 1 is a schematic diagram of an embodiment of a BBU power supply method provided by the present invention. Figure 1 As shown, the embodiment of the present invention includes the following steps:

[0045] Step S10: in response to an abnormality in the PSU power supply mode of the storage server, sending the generated abnormal information to the BMC baseboard management module;

[0046] Step S20: The BMC baseboard management module analyzes the received abnormal information and sends the generated analysis information to the CPLD logic control module;

[0047] Step S30, the CPLD logic control module controls the DIP switch module to select the backup power mode based on the received parsed information;

[0048] Step S40: selecting BBU modules of corresponding quantity and power from the BBU modules according to the selected backup power mode, and supplying power to the storage server through the selected BBU modules.

[0049] The BBU power supply method of the embodiment of the present invention controls the DIP switch module to select a backup power mode through a CPLD logic control module, and selects BBU modules of corresponding quantity and power from the BBU modules according to the selected backup power mode to power the storage server, thereby realizing backup power supply for a large number of storage servers through a small number of BBU modules, greatly saving hardware cost expenditure and reducing the occupied space of the storage server. In addition, compared with the storage server backup power supply method in the prior art, it is more flexible and more reliable.

[0050] In some embodiments, the method also includes: reading the level signals of multiple dip switches in the dip switch module by the GPIO pin of the CPLD logic control module, and confirming the corresponding backup power mode based on the level signals; wherein the level signal of each dip switch is a high level signal or a low level signal, multiple dip switches correspond to multiple groups of level signals, and each backup power mode corresponds to a group of level signals.

[0051] In some embodiments, according to the selected backup power mode, BBU modules of corresponding quantity and power are selected from the BBU modules, and the storage server is powered by the selected BBU modules, including: in response to the selected backup power mode being a single-channel power supply mode, a BBU module with maximum power is selected from the BBU modules, and the storage server is powered by the BBU module with maximum power; in response to the selected backup power mode being a multi-channel power supply mode, multiple BBU modules with large power are selected from the BBU modules, and the storage server is powered by multiple BBU modules with large power.

[0052] In some embodiments, the method further includes: in response to the selected backup power mode being a self-negotiation backup power mode, selecting a BBU module of corresponding quantity and power from the BBU module based on the parsed information, and powering the storage server through the selected BBU module.

[0053] In some embodiments, the method also includes: the BMC baseboard management module collects power information of the BBU module and sends the power information to the CPLD logic control module; the CPLD logic control module confirms the BBU module whose power is lower than a preset threshold based on the received power information, and charges the BBU module whose power is lower than the preset threshold.

[0054] In some embodiments, charging the BBU module whose power level is lower than a preset threshold includes: controlling a separate PSU module by a CPLD logic control module to charge the BBU module whose power level is lower than a preset threshold.

[0055] In some embodiments, the method further includes: collecting temperature information of the BBU module through the BMC baseboard management module, and sending the temperature information to the CPLD logic control module; the CPLD logic control module controls the fan cooling module to control the fan speed according to the received temperature information.

[0056] Figure 2 Schematic diagram of the system structure of the BBU power supply method provided in the embodiment of the present invention. Figure 2 As shown, the specific implementation of the BBU power supply method of the present invention is as follows:

[0057] (1) A BMC (Baseboard Management Controller) baseboard management module is used to exchange information with the storage server through 1000M network communication. When the storage server has an abnormal power supply phenomenon of the PSU (Power Supply Unit), the storage server transmits the signal to the BMC baseboard management module through the 1000M network. After the BMC baseboard management module parses the network communication, it interacts with the CPLD (Complex Programming Logic Device) through the IIC (Inter-Integrated Circuit) 1 bus for data communication, so that the CPLD logic control module drives the discharge enable of the BBU (Battery Backup Unit) module through the GPIO (General-purpose input / output) bus 3 channel, thereby realizing the function of backing up the storage server.

[0058] (2) Diversity of backup power modes: the backup power system has multi-channel switching branches ( Figure 2 The 16-channel switching branch is shown in the figure), which can meet various BBU backup power forms; it can realize the backup power of one BBU module for the storage server, and it can also realize multiple BBU modules ( Figure 2 The backup power supply form of the storage server is shown in Table 1 below:

[0059] Table 1

[0060]

[0061] Among them, backup power paths 1 to 4 use a single-channel power supply mode. When a storage server has a power supply abnormality, the backup power device system will select the BBU module with the largest power among BBU1 to BBU4 for backup power operation;

[0062] Backup power paths 5 to 10 use a dual-channel power supply mode. When a storage server has a power supply anomaly, the backup power device system will select the two BBU modules with the largest power among BBU1 to BBU4 for backup power operation.

[0063] Backup power paths 11 to 14 use a three-channel power supply method. When a storage server has a power supply anomaly, the backup power device system will select the three BBU modules with the largest power among BBU1 to BBU4 for backup power operation.

[0064] The backup power path 15 adopts a four-channel power supply method. When a storage server has a power supply abnormality, the backup power device system will select BBU1 to BBU4 to directly perform the backup power operation.

[0065] (3) Use the CPLD logic control module to read the DIP switches A, B, and C through the general GPIO pins to determine which backup power mode is used, as shown in Table 2 below:

[0066] Table 2

[0067] A B C Backup mode 0 0 1 Backup mode 1 0 1 0 Backup mode 2 0 1 1 Backup mode 3 0 0 0 Backup mode 4 1 0 0 Backup mode 5 1 1 1 Backup power mode 6

[0068] Backup power mode 1 is a single-channel power supply mode, which selects the maximum power for backup power, including backup power paths 1 to 4;

[0069] Backup power mode 2 is a dual-channel power supply mode, which selects the two with the largest power for backup power, including backup power paths 5 to 10;

[0070] Backup power mode 3 is a three-channel power supply mode, which selects three maximum power levels for backup power, including backup power paths 11 to 14;

[0071] Backup power mode 4 is a full-channel power supply mode, which selects all power for backup power, including backup power path 15;

[0072] Backup power mode 5 uses the auto-negotiation backup power mode. It does not select according to the value of the DIP switch, but negotiates with the logic set by the storage server itself to select a backup power mode of 1 to 4.

[0073] Backup power mode 6, that is, not using the backup power function, is generally used for R&D and debugging.

[0074] (4) As few BBU backup power modules as possible are used, and 16 backup power outputs are realized through the control of the GPIO bus 3 of the CPLD logic control module, thereby meeting the backup power capacity of at least 16 controllers. Compared with the previous storage server equipment, at least 12 BBU backup power modules are saved, which greatly saves the cost of operation. At the same time, compared with the previous storage server backup power mode, multiple backup power modes are more reliable and more variable, as shown in Table 3:

[0075] Table 3

[0076] GPIO bus 3 control pin Storage Server Supply Branch Storage Servers Provided GPIO_BBU_En1 12V Channel 1 Storage Server Controller 1 GPIO_BBU_En2 12V Channel 2 Storage Server Controller 2 GPIO_BBU_En3 12V Channel 3 Storage Server Controller 3 GPIO_BBU_En4 12V Channel 4 Storage Server Controller 4 GPIO_BBU_En5 12V Channel 5 Storage Server Controller 5 GPIO_BBU_En6 12V Channel 6 Storage Server Controller 6 GPIO_BBU_En7 12V Channel 7 Storage Server Controller 7 GPIO_BBU_En8 12V Channel 8 Storage Server Controller 8 GPIO_BBU_En9 12V Channel 9 Storage Server Controller 9 GPIO_BBU_En10 12V channel 10 Storage Server Controller 10 GPIO_BBU_En11 12V channel 11 Storage Server Controller 11 GPIO_BBU_En12 12V Channel 12 Storage Server Controller 12 GPIO_BBU_En13 12V channel 13 Storage Server Controller 13 GPIO_BBU_En14 12V channel 14 Storage Server Controller 14 GPIO_BBU_En15 12V channel 15 Storage Server Controller 15 GPIO_BBU_En16 12V channel 16 Storage Server Controller 16

[0077] (5) The BMC baseboard management module collects the battery capacity of BBU1 to BBU4 through the IIC2 bus, and communicates with the CPLD logic control module through IIC1 to further confirm which BBU module has low power. The CPLD logic control module then controls the charging control channel to confirm which BBU module to charge, and uses a separate PSU module (not the PSU in the storage server) to charge the BBU module. At the same time, the CPLD logic control module will collect the abnormal signal of the PSU module. When the power supply of the PSU module is abnormal, the CPLD logic control module will transmit this signal to the BMC baseboard management module through IIC communication, and then transmit it to the large system through 1000M network communication, thereby realizing the monitoring of PSU power supply abnormality and BBU power by this backup power device system.

[0078] (6) The BMC baseboard controller intermittently collects the battery capacity of each BBU module in the backup power system through the IIC bus. When the capacity of one BBU is lower than the critical value (i.e. the preset threshold), it notifies the CPLD logic control module to charge the BBU. The charged BBU module will not be added to the backup power mode until it is fully charged. When any of the BBU modules fails to charge or discharge, the CPLD logic control module will automatically disconnect all the enabled functions of the BBU module, making the BBU module idle. At the same time, the BMC will transmit the 1000M network signal to all storage servers, and then inform the operation and maintenance personnel to replace it, thereby increasing the reliability and maintenance capabilities of the backup power.

[0079] (7) The BMC baseboard management module is used to communicate through the IIC2 bus to collect the temperature of the BBU1~BBU4 modules. At the same time, the fan speed is controlled according to the collected results to ensure the temperature stability of the backup power system during operation. The PWM1 signal generated by the BMC baseboard management module is transparently transmitted through the CPLD logic control module, and the PWM2 signal is output, thereby controlling the fan cooling module to control the fan speed. The TACH2 signal of the fan cooling module is transparently transmitted through the CPLD logic control module and then output as the TACH1 signal to feed back to the BMC baseboard management module, thereby realizing the feedback closed-loop management of the fan speed, and at the same time realizing the CPLD logic control module to monitor the normal operation of the BMC baseboard management module.

[0080] A second aspect of the embodiments of the present invention further provides a BBU power supply system. Figure 3 FIG. 1 is a schematic diagram of an embodiment of a BBU power supply system provided by the present invention. Figure 3 As shown, a BBU power supply system includes: a storage server 10, configured to generate abnormal information and send the abnormal information in response to an abnormality in the PSU power supply mode of the storage server; a BMC baseboard management module 20, configured to receive the abnormal information and parse it, generate parsing information, and send the parsing information; a CPLD logic control module 30, configured to receive the parsing information, and control the dip switch module to select a backup power mode based on the parsing information; and a BBU module 40, configured to select a BBU module of corresponding quantity and power from the BBU module according to the selected backup power mode by the CPLD logic control module, and power the storage server through the selected BBU module.

[0081] The BBU power supply system of the embodiment of the present invention controls the DIP switch module to select a backup power mode through the CPLD logic control module, and selects BBU modules of corresponding quantity and power from the BBU modules according to the selected backup power mode to power the storage server, thereby realizing backup power supply for a large number of storage servers through a small number of BBU modules, greatly saving hardware cost expenditure and reducing the space occupied by the storage servers. In addition, compared with the storage server backup power supply method in the prior art, it is more flexible and reliable.

[0082] A third aspect of the embodiments of the present invention further provides a computer-readable storage medium. Figure 4 FIG. 1 is a schematic diagram of a computer-readable storage medium for implementing a BBU power supply method according to an embodiment of the present invention. Figure 4 As shown, the computer readable storage medium 3 stores computer program instructions 31. When the computer program instructions 31 are executed by the processor, the following steps are implemented:

[0083] In response to an abnormality in the PSU power supply mode of the storage server, the generated abnormality information is sent to the BMC baseboard management module;

[0084] The BMC baseboard management module analyzes the received abnormal information and sends the generated analysis information to the CPLD logic control module;

[0085] The CPLD logic control module controls the DIP switch module to select the backup power mode based on the received parsed information;

[0086] According to the selected backup power mode, BBU modules with corresponding quantity and power are selected from the BBU modules, and the storage server is powered by the selected BBU modules.

[0087] In some embodiments, the steps also include: reading the level signals of multiple dip switches in the dip switch module by the GPIO pin of the CPLD logic control module, and confirming the corresponding backup power mode based on the level signals; wherein the level signal of each dip switch is a high level signal or a low level signal, multiple dip switches correspond to multiple groups of level signals, and each backup power mode corresponds to a group of level signals.

[0088] In some embodiments, according to the selected backup power mode, BBU modules of corresponding quantity and power are selected from the BBU modules, and the storage server is powered by the selected BBU modules, including: in response to the selected backup power mode being a single-channel power supply mode, a BBU module with maximum power is selected from the BBU modules, and the storage server is powered by the BBU module with maximum power; in response to the selected backup power mode being a multi-channel power supply mode, multiple BBU modules with large power are selected from the BBU modules, and the storage server is powered by multiple BBU modules with large power.

[0089] In some embodiments, the steps also include: in response to the selected backup power mode being the self-negotiation backup power mode, selecting a BBU module of corresponding quantity and power from the BBU module based on the parsed information, and powering the storage server through the selected BBU module.

[0090] In some embodiments, the steps also include: the BMC baseboard management module collects power information of the BBU module and sends the power information to the CPLD logic control module; the CPLD logic control module confirms the BBU module whose power is lower than a preset threshold based on the received power information, and charges the BBU module whose power is lower than the preset threshold.

[0091] In some embodiments, charging the BBU module whose power level is lower than a preset threshold includes: controlling a separate PSU module by a CPLD logic control module to charge the BBU module whose power level is lower than a preset threshold.

[0092] In some embodiments, the steps also include: collecting temperature information of the BBU module through the BMC baseboard management module, and sending the temperature information to the CPLD logic control module; the CPLD logic control module controls the fan cooling module to control the fan speed according to the received temperature information.

[0093] It should be understood that, in the absence of mutual conflicts, all the embodiments, features and advantages described above for the BBU power supply method according to the present invention are also applicable to the BBU power supply system and storage medium according to the present invention.

[0094] A fourth aspect of the embodiments of the present invention further provides a computer device, including: Figure 5 The memory 402 and the processor 401 are shown, and the memory 402 stores a computer program, and when the computer program is executed by the processor 401, the method of any one of the above embodiments is implemented.

[0095] like Figure 5 FIG. 1 is a schematic diagram of the hardware structure of a computer device for executing a BBU power supply method according to an embodiment of the present invention. Figure 5 Taking the computer device shown in FIG. 4 as an example, the computer device includes a processor 401 and a memory 402, and may also include: an input device 403 and an output device 404. The processor 401, the memory 402, the input device 403 and the output device 404 may be connected via a bus or other means. Figure 5 The example of the bus connection is taken as an example. The input device 403 can receive input digital or character information, and generate key signal input related to user settings and function control of the BBU power supply system. The output device 404 can include a display device such as a display screen.

[0096] The memory 402, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the BBU power supply method in the embodiment of the present application. The memory 402 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of the BBU power supply method, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 402 may optionally include a memory remotely arranged relative to the processor 401, and these remote memories may be connected to the local module via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0097] The processor 401 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 402, that is, implements the BBU power supply method of the above method embodiment.

[0098] Finally, it should be noted that the computer-readable storage medium (e.g., memory) herein may be a volatile memory or a nonvolatile memory, or may include both a volatile memory and a nonvolatile memory. As an example and not by way of limitation, a nonvolatile memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. A volatile memory may include a random access memory (RAM), which may act as an external cache memory. As an example and not by way of limitation, RAM may be obtained in a variety of forms, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to include, but are not limited to, these and other suitable types of memory.

[0099] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.

[0100] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.

[0101] It should be understood that, as used herein, the singular form "a" or "an" is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the items listed in association. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.

[0102] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.

Claims

1. A BBU power supply method, It is characterized in that The following steps are involved: In response to an abnormality in the PSU power supply mode of the storage server, the generated abnormality information is sent to the BMC baseboard management module; The BMC baseboard management module analyzes the received abnormal information and sends the generated analysis information to the CPLD logic control module; The CPLD logic control module controls the DIP switch module to select the backup power mode based on the received parsed information; Selecting a corresponding number and amount of BBU modules from the BBU modules according to the selected backup power mode, and supplying power to the storage server through the selected BBU modules; The GPIO pin of the CPLD logic control module reads the level signals of the multiple dip switches in the dip switch module, and confirms the corresponding backup power mode based on the level signals; Wherein, the level signal of each dip switch is a high level signal or a low level signal, the multiple dip switches correspond to multiple groups of level signals, and each backup power mode corresponds to a group of level signals; Selecting a corresponding number and amount of BBU modules from the BBU modules according to the selected backup power mode, and supplying power to the storage server through the selected BBU modules includes: In response to the selected backup power mode being a single-channel power supply mode, selecting a BBU module with the largest power from the BBU modules, and supplying power to the storage server through the BBU module with the largest power; In response to the selected backup power mode being a multi-channel power supply mode, a plurality of BBU modules with large power are selected from the BBU modules, and the storage server is powered by the plurality of BBU modules with large power.

2. The method according to claim 1, It is characterized in that Also includes: In response to the selected backup power mode being the auto-negotiation backup power mode, a BBU module of corresponding quantity and power is selected from the BBU module based on the parsed information, and the storage server is powered by the selected BBU module.

3. The method according to claim 1, It is characterized in that Also includes: The BMC baseboard management module collects the power information of the BBU module and sends the power information to the CPLD logic control module; The CPLD logic control module confirms the BBU modules whose power is lower than a preset threshold value in the BBU modules based on the received power information, and charges the BBU modules whose power is lower than the preset threshold value.

4. The method according to claim 3, It is characterized in that Charging the BBU module whose power level is lower than a preset threshold includes: The CPLD logic control module controls a separate PSU module to charge the BBU module whose power level is lower than a preset threshold.

5. The method according to claim 1, It is characterized in that Also includes: The BMC baseboard management module collects the temperature information of the BBU module, and sends the temperature information to the CPLD logic control module; The CPLD logic control module controls the fan heat dissipation module to control the fan speed according to the received temperature information.

6. A BBU power supply system, It is characterized in that include: A storage server configured to generate abnormal information in response to an abnormality in the PSU power supply mode of the storage server, and send the abnormal information; A BMC baseboard management module, configured to receive and analyze the abnormal information, generate analysis information, and send the analysis information; A CPLD logic control module is configured to receive the parsing information and control the DIP switch module to select a backup power mode based on the parsing information; as well as A BBU module, configured to select a BBU module of corresponding quantity and power from the BBU modules according to the selected backup power mode by the CPLD logic control module, and supply power to the storage server through the selected BBU module; as well as Modules for performing the following functions: The GPIO pin of the CPLD logic control module reads the level signals of the multiple dip switches in the dip switch module, and confirms the corresponding backup power mode based on the level signals; Wherein, the level signal of each dip switch is a high level signal or a low level signal, the multiple dip switches correspond to multiple groups of level signals, and each backup power mode corresponds to a group of level signals; The BBU module is further used for: in response to the selected backup power mode being a single-channel power supply mode, selecting a BBU module with the largest power from the BBU modules, and supplying power to the storage server through the BBU module with the largest power; In response to the selected backup power mode being a multi-channel power supply mode, a plurality of BBU modules with large power are selected from the BBU modules, and the storage server is powered by the plurality of BBU modules with large power.

7. A computer-readable storage medium, It is characterized in that Computer program instructions are stored, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

8. A computer device comprising a memory and a processor, It is characterized in that The memory stores a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 5 is performed.

Citation Information

Patent Citations

  • Server fan redundancy control method and device

    CN110990199A

  • Setting selection circuit, method and equipment for mainboard device in server and medium

    CN112306937A