Battery pack management method and device, electronic equipment and storage medium
By acquiring the load rate of the battery pack and adjusting the power supply method, the power supply strategy of the battery pack was optimized, which solved the problem of low power supply efficiency, extended the power supply time, and improved the power supply efficiency of the battery pack.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-05
- Publication Date
- 2026-07-21
Smart Images

Figure CN116960480B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power supply infrastructure, and specifically relates to a method, apparatus, electronic device and storage medium for managing a battery pack. Background Technology
[0002] Currently, the four main causes of data center downtime are power supply, system, network, and cooling. Power supply issues account for about one-third of these problems, remaining the biggest cause of data center downtime. Although power supply reliability has been improving year by year, data centers often place greater emphasis on the stability of their power distribution systems. In the event of an unexpected power outage, data centers can usually repair and replace power supplies in a very short time, especially regarding backup power after an unexpected power outage. For example, setting up a backup battery power supply system to provide power through backup battery banks after an unexpected power outage is an effective way to prevent data center downtime.
[0003] However, the existing management model for backup power battery packs is crude. This crude management model often results in short power supply time for backup power battery packs, leading to extremely low power supply efficiency. Summary of the Invention
[0004] This application provides a battery pack management method, device, electronic device, and storage medium, which can solve the problem of low power supply efficiency of battery packs.
[0005] In a first aspect, embodiments of this application provide a battery pack management method, the method comprising: obtaining a first load rate of the battery pack; adjusting the power supply mode of the battery pack according to the first load rate of the battery pack; and adjusting the first load rate of the battery pack according to the adjustment operation.
[0006] Secondly, embodiments of this application provide a battery pack management device, which includes: an acquisition module for acquiring a first load rate of the battery pack; a first adjustment module for adjusting the power supply mode of the battery pack according to the first load rate of the battery pack; and a second adjustment module for adjusting the first load rate of the battery pack according to the adjustment operation.
[0007] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0008] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0009] In this embodiment of the application, by obtaining the first load rate of the battery pack; adjusting the power supply mode of the battery pack according to the first load rate of the battery pack; and adjusting the first load rate of the battery pack according to the adjustment operation, the battery pack can be managed in combination with the load rate of the battery pack, and the power supply mode of each battery pack can be adjusted, thereby balancing the load rate of each battery pack, extending the power supply time of the battery pack, and improving the power supply efficiency of the battery pack. Attached Figure Description
[0010] Figure 1 This is a schematic flowchart of a battery pack management method provided in an embodiment of this application;
[0011] Figure 2 This is a schematic diagram of the structure of a battery pack management device according to an embodiment of this application;
[0012] Figure 3 This is a schematic diagram of the structure of an electronic device according to another embodiment of this application. Detailed Implementation
[0013] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0014] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0015] The battery pack management method, device, electronic device, and storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0016] Figure 1This illustration shows a battery pack management method provided by an embodiment of the present invention. The method can be executed by an electronic device, which may include a server and / or a terminal device. In other words, the method can be executed by software or hardware installed on the electronic device. The method includes the following steps:
[0017] Step 102: Obtain the first load rate of the battery pack.
[0018] Specifically, the battery pack can be a Cross Mutual Aid Accumulator Circulation (CMAC). This battery pack can be connected to the power supply system through flexible multi-port configuration and achieve effective connection with the power consumption system through the DC distribution cabinet interface. The battery pack can be managed through "three-terminal (local, central, and remote)" scheduling. Both the local and central terminals are located in the power supply room. The battery pack can use artificial intelligence algorithms to optimize the three-terminal (local, central, and remote) battery pack and DC system, as well as coordinate control between multiple ports, thereby improving the energy utilization efficiency of the battery pack. The cluster control of multiple parallel battery systems and online optimization of charging and discharging ensure the optimal efficiency of the DC distribution cabinet, and at the same time, it can connect to the central terminal to achieve reasonable scheduling of electrical energy.
[0019] Specifically, the first load rate of the battery pack can be obtained through the local or central terminal, providing a data foundation for battery pack management.
[0020] Step 104: Adjust the power supply mode of the battery pack according to the first load rate of the battery pack.
[0021] Specifically, after obtaining the first load rate of the battery pack, the power supply method of the battery pack can be adjusted according to the first load rate. For example, if the first load rate of the battery pack is too low, the battery pack can be connected to other power supply systems to power other servers. Or, if the first load rate of the battery pack is too high, the battery pack can be disconnected to power non-essential facilities. The specific power supply method of the battery pack can be adjusted as needed, and no specific limitation is made here. The battery pack can include multiple sub-battery packs, and the load rate of each sub-battery pack can be balanced by adjusting the operation among multiple sub-battery packs.
[0022] Step 106: Adjust the first load rate of the battery pack according to the adjustment operation.
[0023] After adjusting the power supply method of the battery pack, the first load rate of the battery pack can be adjusted. For example, if the battery pack is disconnected to power non-essential facilities, the first load rate of the battery pack will be reduced. If the battery pack is connected to another power supply system to power other servers, the first load rate of the battery pack will be increased.
[0024] The battery pack management method provided in this embodiment of the invention obtains a first load rate of the battery pack; adjusts the power supply mode of the battery pack according to the first load rate; and adjusts the first load rate of the battery pack according to the adjustment operation. This method can adjust the power supply mode of the battery pack according to the first load rate, solve the problem of low power supply efficiency of the battery pack, balance the load rate of each battery pack, extend the power supply time of the battery pack, and improve the power supply efficiency of the battery pack.
[0025] In one implementation, obtaining the first load rate of the battery pack includes:
[0026] Obtain the available power time and battery health status;
[0027] The first load rate of the battery pack is obtained based on the battery pack's available power time and battery charge health.
[0028] Specifically, the load rate of a battery pack can be calculated by the available power time and the battery health status. The longer the available power time and the higher the battery health status, the lower the initial load rate of the battery pack. Conversely, the shorter the available power time and the lower the battery health status, the higher the initial load rate of the battery pack.
[0029] In this way, by obtaining the available power time and battery health, the first load rate of the battery pack can be obtained based on the available power time and battery health.
[0030] In one implementation, the battery pack includes a first battery pack and a second battery pack. If the first load rate of the first battery pack and the first load rate of the second battery pack are greater than a first preset load rate threshold, then the operation of adjusting the power supply mode of the battery pack according to the first load rate of the battery pack includes:
[0031] Based on the second load rate of each server powered by the battery pack, a level is determined for each server, including a first level, a second level, and a third level.
[0032] A power outage is attempted on the third-level server powered by the first and second battery packs. The third load rate of the first battery pack and the fourth load rate of the second battery pack are then obtained after the power outage, until the third load rate is greater than the product of the fourth load rate and a first preset ratio; or
[0033] A trial power-off operation is performed on the second-level server powered by the first and second battery packs, and the fifth load rate of the first battery pack and the sixth load rate of the second battery pack are obtained after the trial power-off, until both the fifth load rate and the sixth load rate are equal to a second preset load rate threshold; or
[0034] A power outage is attempted on the second-level server and the third-level server powered by the first battery pack and the second battery pack, and the seventh load rate of the first battery pack and the eighth load rate of the second battery pack are obtained after the power outage is attempted on the second-level server and the third-level server, until the seventh load rate is less than the product of the first load rate of the first battery pack and the second preset ratio and the eighth load rate is less than the product of the first load rate of the second battery pack and the second preset ratio.
[0035] Specifically, the first and second battery packs can be the battery packs that power the servers. Based on the second load rate of each server powered by the battery pack, the level of each server can be determined. Server levels include first level, second level, and third level. The second load rate of the server can be the IT load rate, which is the ratio of the actual power required by the IT equipment to the power required under rated load, expressed by the formula Kc = Psb / Psn, where Kc represents the second load rate, Psb represents the actual power required by the IT equipment, and Psn represents the rated power of the IT equipment. The number of racks, the number of servers, and the rack utilization rate can be preset to automatically generate the power of facilities or servers such as the power system, cooling system, switches, and storage devices.
[0036] Before obtaining the battery pack's available power time, battery health status, and adjusting the battery pack's power supply method, battery pack issues can be analyzed and modeled, specifically including two aspects: (1) accurate modeling of battery pack available power time and battery health status. (2) accurate modeling of the power system and cooling system power at different IT load rates during different time periods.
[0037] Accurate battery pack modeling generally includes three elements: cross-cooperative decision variables, battery pack optimization objectives, and cyclic constraint adjustments. Cross-cooperative decision variables describe the specific decisions the battery pack makes. The battery pack optimization objective refers to optimizing the battery pack's power supply method by adjusting the decision variables. Cyclic constraints are the various limiting factors considered during the decision-making process. The implementation process is as follows: Taking a battery pack containing six sub-battery packs as an example, modeling the battery pack's adjustments is performed. With time T as the determining variable, the IT load rates of the three rack (server) levels (JIAS:FWQ:SJN) are respectively... rack load capacity Sub-cell battery pack AHT1, AHT2, AHT3, AHT4, AHT5, AHT6 capacity line health R mt The set of all scheduled tasks Ω.
[0038] Where t represents the t-th time (1≤t≤T), and m represents the m-th battery group (1≤m≤n). The ultimate goal of the system is to maximize service capacity.
[0039]
[0040] CMAC scheduling system optimization strategy:
[0041] Objective 1: Maximum backup time for SJN cross-assistance decision-making:
[0042]
[0043] Objective 2: Maximum backup time of AH battery pack:
[0044]
[0045] Objective 3: Cyclic constraints of the CMAC scheduling system:
[0046]
[0047] However, the dimensional indicators of the mathematical model for battery pack decision optimization fluctuate significantly due to external random factors, making the algorithm susceptible to being overwhelmed by these random factors and thus unable to make accurate decisions. Therefore, based on the computational statistics from a three-terminal (local, central, and remote) big data platform and machine learning, a cyclic big data and fault prediction deep learning simulation system is employed. For real-time scenarios across the three terminals, a corresponding three-terminal simulation model was established, and a three-terminal decision optimization simulation system was developed. The system can simulate the real-world cross-cooperative decision optimization scheduling logic of the three terminals and provide the final decision optimization result.
[0048] This implementation utilizes a battery pack and an optimized scheduling algorithm to precisely control and adjust the number of battery packs and the power supply interruption process, adjusting the battery pack back-up time. The battery pack includes a first battery pack and a second battery pack. After determining the server level, if the first load rate of the first battery pack and the first load rate of the second battery pack are greater than a first preset load rate threshold, then an attempt is made to power off the third-level server powered by the first and second battery packs. The third load rate of the first battery pack and the fourth load rate of the second battery pack are then obtained after the attempt to power off the third-level server, until the third load rate is greater than the product of the fourth load rate and a first preset ratio. For example, if the first preset ratio is 130%, then an attempt is made to power off the third-level server powered by the first and second battery packs until the third load rate is greater than the fourth load rate of 30%.
[0049] Alternatively, a power outage operation can be attempted on the second-level server powered by the first and second battery packs, and the fifth load rate of the first battery pack and the sixth load rate of the second battery pack can be obtained after the power outage operation on the second-level server, until both the fifth load rate and the sixth load rate are equal to the second preset load rate threshold; for example, if the second preset load threshold is 50%, then a power outage operation can be attempted on the second-level server powered by the first and second battery packs until both the fifth load rate and the sixth load rate are equal to 50%.
[0050] Alternatively, a power outage can be attempted on the second-level and third-level servers powered by the first and second battery packs. The seventh load rate of the first battery pack and the eighth load rate of the second battery pack after the power outage are obtained. This process continues until the seventh load rate is less than the product of the first load rate of the first battery pack and a second preset ratio, and the eighth load rate is less than the product of the first load rate of the second battery pack and a second preset ratio. For example, if the second preset ratio is 150%, then a power outage can be attempted on the second-level and third-level servers powered by the first and second battery packs until the seventh load rate is less than the product of the first load rate of the first battery pack and a second preset ratio, and the eighth load rate is less than 50% of the first load rate of the second battery pack.
[0051] In this way, by adjusting the power supply of the third-level servers, priority is given to providing power to the second-level and first-level servers, ensuring the power supply of important facilities and facilities with high load rates, improving power supply efficiency, and extending the power supply time of important servers.
[0052] In one implementation, servers with a second load rate greater than a third preset load rate threshold are defined as first-level servers, servers with a second load rate greater than a fourth preset load rate threshold but less than the third preset load rate threshold are defined as second-level servers, and servers with a second load rate less than the fourth preset load rate threshold are defined as third-level servers.
[0053] Specifically, Tier 1 servers: These servers are the prerequisite for ensuring that the IDC can provide various services to users. These servers include DNS servers, directory servers, network management servers, firewall servers, various security servers, IDC system performance monitoring servers, etc.
[0054] Second-tier servers (data backup servers): These are the foundation for ensuring that the IDC can provide users with various application services.
[0055] Level 3 servers: These are servers provided by the IDC to users for related application services.
[0056] The system can calculate and statistically analyze the number of racks and the server availability rate for first-tier, second-tier, and third-tier servers at different time periods to obtain the second load rate of the servers.
[0057] In this way, by calculating the second load rate of the server, and based on the magnitude of the second load rate of each server and the third preset load rate threshold, the level to which each server belongs is determined, providing basic information for adjusting the battery pack.
[0058] In one implementation, the battery pack includes a third battery pack, a fourth battery pack, and a fifth battery pack, wherein each of the third, fourth, and fifth battery packs includes at least two sub-battery packs, and the operation of adjusting the power supply mode of the battery pack according to a first load rate of the battery pack includes:
[0059] If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, then the first preset number of sub-battery packs in the fifth battery pack and / or the second preset number of sub-battery packs in the fourth battery pack will be adjusted to the third battery pack.
[0060] If the first load rate of the fourth battery pack is greater than the fifth preset load rate threshold, then a first preset number of sub-battery packs in the fifth battery pack will be transferred to the fourth battery pack; and / or
[0061] If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, and the first load rate of the third battery pack is greater than the product of the first load rate of the fourth battery pack and the third preset ratio, then a first preset number of sub-battery packs in the fifth battery pack will be adjusted to be spare sub-battery packs of the third battery pack and / or the fourth battery pack, and a second preset number of sub-battery packs in the fourth battery pack will be adjusted to be in the third battery pack.
[0062] Specifically, the third and fourth battery packs can be battery packs that power the server, and the fifth battery pack can be a battery pack that powers the air conditioning system. Furthermore, the third, fourth, and fifth battery packs each include at least two sub-battery packs.
[0063] If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, the output power consumption of the air conditioning system can be reduced, and the first preset number of sub-battery packs in the fifth battery pack and / or the second preset number of sub-battery packs in the fourth battery pack can be adjusted to the third battery pack to provide power to the server powered by the third battery pack.
[0064] If the first load rate of the fourth battery pack is greater than the fifth preset load rate threshold, the output power consumption of the air conditioning system can be reduced, and the first preset number of sub-battery packs in the fifth battery pack can be transferred to the fourth battery pack to provide power to the server powered by the fourth battery pack.
[0065] If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, and the first load rate of the third battery pack is greater than the product of the first load rate of the fourth battery pack and the third preset ratio, the power consumption of the air conditioning system can be reduced. The first preset number of sub-battery packs in the fifth battery pack can be adjusted to be backup sub-battery packs of the third battery pack and / or the fourth battery pack. Based on the changes in the first load rate of the third battery pack and the fourth battery pack, for example, when the first load rate of the third battery pack is greater than the second load rate of the fourth battery pack by 40%, the second preset number of sub-battery packs in the fourth battery pack can be adjusted to be transferred to the third battery pack to provide power to the server powered by the third battery pack.
[0066] In this way, by using the first load rate of the battery pack as the adjustment standard, the connection and power supply mode of all battery packs are automatically adjusted according to the first load rate of the battery pack to ensure the load rate requirements of the battery pack, extend the maximum discharge time of the battery pack, delay the time when the entire network will be paralyzed due to power supply system failure, and improve the power supply efficiency of the battery pack.
[0067] It should be noted that the battery pack management method provided in this application embodiment can be executed by a battery pack management device or a control module within that battery pack management device for executing the battery pack management method. This application embodiment uses the execution of the battery pack management method by a battery pack management device as an example to illustrate the battery pack management device provided in this application embodiment.
[0068] Figure 2 This is a schematic diagram of the structure of a battery pack management device according to an embodiment of the present invention. Figure 2 As shown, the battery pack management device 200 includes: an acquisition module 210, a first adjustment module 220, and a second adjustment module 230.
[0069] The acquisition module 210 is used to acquire the first load rate of the battery pack; the first adjustment module 220 is used to adjust the power supply mode of the battery pack according to the first load rate of the battery pack; and the second adjustment module 230 is used to adjust the first load rate of the battery pack according to the adjustment operation.
[0070] In one implementation, the acquisition module 210 is configured to: acquire the available power supply time and battery health of the battery pack; and acquire the first load rate of the battery pack based on the available power supply time and battery health of the battery pack.
[0071] In one implementation, the battery pack includes a first battery pack and a second battery pack. If the first load rate of the first battery pack and the first load rate of the second battery pack are greater than a first preset load rate threshold, the first adjustment module 220 is configured to:
[0072] Based on the second load rate of each server powered by the battery pack, a level is determined for each server, including a first level, a second level, and a third level.
[0073] A power outage is attempted on the third-level server powered by the first and second battery packs. The third load rate of the first battery pack and the fourth load rate of the second battery pack are then obtained after the power outage, until the third load rate is greater than the product of the fourth load rate and a first preset ratio; or
[0074] A trial power-off operation is performed on the second-level server powered by the first and second battery packs, and the fifth load rate of the first battery pack and the sixth load rate of the second battery pack are obtained after the trial power-off, until both the fifth load rate and the sixth load rate are equal to a second preset load rate threshold; or
[0075] A power outage is attempted on the second-level server and the third-level server powered by the first battery pack and the second battery pack, and the seventh load rate of the first battery pack and the eighth load rate of the second battery pack are obtained after the power outage is attempted on the second-level server and the third-level server, until the seventh load rate is less than the product of the first load rate of the first battery pack and the second preset ratio and the eighth load rate is less than the product of the first load rate of the second battery pack and the second preset ratio.
[0076] In one implementation, the battery pack management device 200 further includes a determination module 240, configured to determine servers with a second load rate greater than a third preset load rate threshold as first-level servers, servers with a second load rate greater than a fourth preset load rate threshold and less than the third preset load rate threshold as second-level servers, and servers with a second load rate less than the fourth preset load rate threshold as third-level servers.
[0077] In one implementation, the battery pack includes a third battery pack, a fourth battery pack, and a fifth battery pack, wherein each of the third, fourth, and fifth battery packs includes at least two sub-battery packs, and the first adjustment module 210 is used for:
[0078] If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, then the first preset number of sub-battery packs in the fifth battery pack and / or the second preset number of sub-battery packs in the fourth battery pack will be adjusted to the third battery pack.
[0079] If the first load rate of the fourth battery pack is greater than the fifth preset load rate threshold, then the first preset number of sub-battery packs in the fifth battery pack will be adjusted to the fourth battery pack.
[0080] If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, and the first load rate of the third battery pack is greater than the product of the first load rate of the fourth battery pack and the third preset ratio, then a first preset number of sub-battery packs in the fifth battery pack will be adjusted to be spare sub-battery packs of the third battery pack and / or the fourth battery pack, and a second preset number of sub-battery packs in the fourth battery pack will be adjusted to be in the third battery pack.
[0081] The battery pack management device in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.
[0082] The battery pack management device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0083] The battery pack management device provided in this application embodiment can implement the various processes implemented in the method embodiment of 1. To avoid repetition, it will not be described again here.
[0084] Optionally, such as Figure 3 As shown, this application embodiment also provides an electronic device 300, including a processor 301 and a memory 302. The memory 302 stores a program or instructions that can run on the processor 301. When the program or instructions are executed by the processor 301, they achieve the following: obtaining a first load rate of the battery pack; adjusting the power supply mode of the battery pack according to the first load rate of the battery pack; and adjusting the first load rate of the battery pack according to the adjustment operation.
[0085] In one implementation, the available power time and battery health of the battery pack are obtained; based on the available power time and battery health of the battery pack, the first load rate of the battery pack is obtained.
[0086] In one implementation, the battery pack includes a first battery pack and a second battery pack. If the first load rate of the first battery pack and the first load rate of the second battery pack are greater than a first preset load rate threshold, the level of each server is determined according to the second load rate of each server powered by the battery pack. The level of the server includes a first level, a second level, and a third level.
[0087] A power outage is attempted on the third-level server powered by the first and second battery packs. The third load rate of the first battery pack and the fourth load rate of the second battery pack are then obtained after the power outage, until the third load rate is greater than the product of the fourth load rate and a first preset ratio; or
[0088] A trial power-off operation is performed on the second-level server powered by the first and second battery packs, and the fifth load rate of the first battery pack and the sixth load rate of the second battery pack are obtained after the trial power-off, until both the fifth load rate and the sixth load rate are equal to a second preset load rate threshold; or
[0089] A power outage is attempted on the second-level server and the third-level server powered by the first battery pack and the second battery pack, and the seventh load rate of the first battery pack and the eighth load rate of the second battery pack are obtained after the power outage is attempted on the second-level server and the third-level server, until the seventh load rate is less than the product of the first load rate of the first battery pack and the second preset ratio and the eighth load rate is less than the product of the first load rate of the second battery pack and the second preset ratio.
[0090] In one implementation, servers with a second load rate greater than a third preset load rate threshold are defined as first-level servers, servers with a second load rate greater than a fourth preset load rate threshold but less than the third preset load rate threshold are defined as second-level servers, and servers with a second load rate less than the fourth preset load rate threshold are defined as third-level servers.
[0091] In one implementation, the battery pack includes a third battery pack, a fourth battery pack, and a fifth battery pack. Each of the third battery pack, the fourth battery pack, and the fifth battery pack includes at least two sub-battery packs. If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, then a first preset number of sub-battery packs in the fifth battery pack and / or a second preset number of sub-battery packs in the fourth battery pack are adjusted to the third battery pack.
[0092] If the first load rate of the fourth battery pack is greater than the fifth preset load rate threshold, then the first preset number of sub-battery packs in the fifth battery pack will be adjusted to the fourth battery pack.
[0093] If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, and the first load rate of the third battery pack is greater than the product of the first load rate of the fourth battery pack and the third preset ratio, then a first preset number of sub-battery packs in the fifth battery pack will be adjusted to be spare sub-battery packs of the third battery pack and / or the fourth battery pack, and a second preset number of sub-battery packs in the fourth battery pack will be adjusted to be in the third battery pack.
[0094] The specific implementation steps can be found in the various steps of the above-described battery pack management method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0095] It should be noted that the electronic devices in the embodiments of this application include: servers, terminals, or other devices besides terminals.
[0096] The above electronic device structure does not constitute a limitation on the electronic device. An electronic device may include more or fewer components than illustrated, or combine certain components, or arrange them differently. For example, an input unit may include a Graphics Processing Unit (GPU) and a microphone, and a display unit may use a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar display panels. User input units include at least one of a touch panel and other input devices. A touch panel is also called a touchscreen. Other input devices may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be elaborated further here.
[0097] Memory can be used to store software programs and various data. Memory can primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area can store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, memory can include volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (Synchlink DRAM, SLDRAM), and direct memory bus RAM (DRRAM).
[0098] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly handles operations related to the operating system, user interface, and applications, while the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor.
[0099] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described battery pack management method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0100] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as ROM, RAM, magnetic disk, or optical disk.
[0101] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0102] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0103] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for managing a battery pack, characterized in that, include: Obtain the first load rate of the battery pack; The power supply method of the battery pack is adjusted according to the first load rate of the battery pack. According to the adjustment operation, the first load rate of the battery pack is adjusted; The battery pack includes a first battery pack and a second battery pack. If the first load rate of the first battery pack and the first load rate of the second battery pack are greater than a first preset load rate threshold, then the operation of adjusting the power supply mode of the battery pack according to the first load rate of the battery pack includes: Based on the second load rate of each server powered by the battery pack, a level is determined for each server, including a first level, a second level, and a third level. A power outage is attempted on the third-level server powered by the first and second battery packs. The third load rate of the first battery pack and the fourth load rate of the second battery pack are then obtained after the power outage, until the third load rate is greater than the product of the fourth load rate and a first preset ratio; or A trial power-off operation is performed on the second-level server powered by the first and second battery packs, and the fifth load rate of the first battery pack and the sixth load rate of the second battery pack are obtained after the trial power-off, until both the fifth load rate and the sixth load rate are equal to a second preset load rate threshold; or A power outage is attempted on the second-level server and the third-level server powered by the first battery pack and the second battery pack, and the seventh load rate of the first battery pack and the eighth load rate of the second battery pack are obtained after the power outage is attempted on the second-level server and the third-level server, until the seventh load rate is less than the product of the first load rate of the first battery pack and the second preset ratio and the eighth load rate is less than the product of the first load rate of the second battery pack and the second preset ratio.
2. The method according to claim 1, characterized in that, The process of obtaining the first load rate of the battery pack includes: Obtain the battery pack's available power time and battery health status; The first load rate of the battery pack is obtained based on the battery pack's available power time and battery charge health.
3. The management method according to claim 1, characterized in that, The step of determining the class of each server based on the second load rate of each server powered by the battery pack includes: Servers with a second load rate greater than a third preset load rate threshold are identified as first-level servers; servers with a second load rate greater than a fourth preset load rate threshold but less than the third preset load rate threshold are identified as second-level servers; and servers with a second load rate less than the fourth preset load rate threshold are identified as third-level servers.
4. The method according to claim 1, characterized in that, The battery pack includes a third battery pack, a fourth battery pack, and a fifth battery pack. Each of the third, fourth, and fifth battery packs includes at least two sub-battery packs. The step of adjusting the power supply mode of the battery pack according to a first load rate includes: If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, then the first preset number of sub-battery packs in the fifth battery pack and / or the second preset number of sub-battery packs in the fourth battery pack will be adjusted to the third battery pack. If the first load rate of the fourth battery pack is greater than the fifth preset load rate threshold, then the first preset number of sub-battery packs in the fifth battery pack will be adjusted to the fourth battery pack. If the first load rate of the third battery pack is greater than the fifth preset load rate threshold, and the first load rate of the third battery pack is greater than the product of the first load rate of the fourth battery pack and the third preset ratio, then a first preset number of sub-battery packs in the fifth battery pack will be adjusted to be spare sub-battery packs of the third battery pack and / or the fourth battery pack, and a second preset number of sub-battery packs in the fourth battery pack will be adjusted to be in the third battery pack.
5. A battery pack management device, characterized in that, include: The acquisition module is used to acquire the first load rate of the battery pack. The first adjustment module is used to adjust the power supply mode of the battery pack according to the first load rate of the battery pack. The second adjustment module is used to adjust the first load rate of the battery pack according to the adjustment operation; The battery pack includes a first battery pack and a second battery pack. If the first load rate of the first battery pack and the first load rate of the second battery pack are greater than a first preset load rate threshold, the first adjustment module is used to: Based on the second load rate of each server powered by the battery pack, a level is determined for each server, including a first level, a second level, and a third level. A power outage is attempted on the third-level server powered by the first and second battery packs. The third load rate of the first battery pack and the fourth load rate of the second battery pack are then obtained after the power outage, until the third load rate is greater than the product of the fourth load rate and a first preset ratio; or A trial power-off operation is performed on the second-level server powered by the first and second battery packs, and the fifth load rate of the first battery pack and the sixth load rate of the second battery pack are obtained after the trial power-off, until both the fifth load rate and the sixth load rate are equal to a second preset load rate threshold; or A power outage is attempted on the second-level server and the third-level server powered by the first battery pack and the second battery pack, and the seventh load rate of the first battery pack and the eighth load rate of the second battery pack are obtained after the power outage is attempted on the second-level server and the third-level server, until the seventh load rate is less than the product of the first load rate of the first battery pack and the second preset ratio and the eighth load rate is less than the product of the first load rate of the second battery pack and the second preset ratio.
6. The apparatus according to claim 5, characterized in that, The acquisition module is used for: Obtain the battery pack's available power time and battery health status; The first load rate of the battery pack is obtained based on the battery pack's available power time and battery charge health.
7. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored on the memory that run on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the battery pack management method as described in any one of claims 1-4.
8. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the battery pack management method as described in any one of claims 1-4.
Citation Information
Patent Citations
Control method and device of battery management system, equipment and storage medium
CN114498861A
KR20210035115A