Energy storage system upgrading method and device

Through the upgrade method of subcontract forwarding, the motherboard module obtains and synthesizes the upgrade data of the energy storage system, solving the problem of large consumption of storage space and computing resources during the upgrade of the energy storage system, achieving an efficient upgrade process, and extending the service life of the program memory.

CN120335835APending Publication Date: 2025-07-18SHENZHEN HELLO TECH ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510423934.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The OTA upgrade method of existing energy storage systems requires a large number of upgrade files of the motherboard storage module, resulting in large consumption of storage space and computing resources, and the download needs to be repeated when the upgrade timed out or failed, affecting the life of the program memory.

Method used

The upgrade method of subcontract forwarding is adopted. The motherboard module obtains and forwards the upgrade subcontract of the target energy storage module, and continues to obtain the next upgrade subcontract according to the request, avoiding saving the upgrade files of all modules and synthesising complete data through the differential algorithm.

Benefits of technology

Save the storage space and computing resources of the motherboard module, reduce network download resources, avoid repeated downloads when upgrade timeout or failure, and extend program memory life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335835A_ABST
    Figure CN120335835A_ABST
Patent Text Reader

Abstract

The invention discloses an energy storage system upgrading method and device. The method comprises the steps of obtaining a first upgrading subpackage of a target energy storage module in a first obtaining process stage; and forwarding the first upgrading sub-package to the target energy storage module, so that the target energy storage module carries out energy storage module upgrading based on the first upgrading sub-package, and receiving a second upgrade subpackage request returned by the target energy storage module, so as to continue to acquire a second upgrade subpackage from the plurality of reference upgrade packages according to the second upgrade subpackage request after entering a second acquisition process stage. According to the technical scheme, the storage space and computing resources of the mainboard module can be saved and network downloading resources can be reduced in a packet forwarding upgrading mode, repeated downloading when upgrading is overtime or fails can be avoided, the number of times of erasing a program memory of the mainboard module is reduced, and the upgrading efficiency is improved. And the influence on the service life of the program memory due to repeated downloading failure and repeated erasing is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy storage system upgrading, and particularly to a method and device for upgrading an energy storage system. Background Art

[0002] An energy storage system is a device with functions of energy storage, energy conversion, and charging, and is widely used in new energy fields such as solar photovoltaic power generation and wind power generation. Among them, the energy storage system consists of multiple modules such as a main board, a BMS (Battery Management System), an inverter, and a PV (Photovoltaic). Most of the existing OTA (Over-The-Air) upgrade methods require the main board to receive and store the upgrade files of each module from the server and then send them to the module through serial port or CAN (Controller Area Network) communication.

[0003] With the increasing functions of the BMS, inverter, and PV, etc., this traditional method of saving and then sending all module upgrade files will cause the main board to consume a large part of the space for storing module upgrade files. The energy storage system is often located in an environment with poor network bandwidth. If a large amount of data upgrade files are transmitted at one time, it not only requires a long download time, resulting in an upgrade timeout, but also when an upgrade timeout or failure occurs, the entire upgrade file needs to be downloaded again. Repeated download timeouts not only waste time but also increase the number of erasures of the program memory, affecting the life of the program memory. Summary of the Invention

[0004] The present invention provides a method and device for upgrading an energy storage system, which can save the storage space and computing resources of the main board module, reduce network download resources, avoid repeated downloads when an upgrade timeout or failure occurs, reduce the number of erasures of the program memory of the main board module, and avoid affecting the service life of the program memory due to repeated download failures and repeated erasures.

[0005] According to one aspect of the present invention, there is provided a method for upgrading an energy storage system. The energy storage system includes a main board module and at least one energy storage module. The method is executed by the main board module and includes:

[0006] Obtaining a first upgrade sub-package of a target energy storage module in a first obtaining process stage, where the first upgrade sub-package is an upgrade sub-package selected from a plurality of reference upgrade packages and to be sent to the target energy storage module; the plurality of reference upgrade packages are multiple upgrade packages obtained by sub-packaging reference upgrade data, and the reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrade;

[0007] Forward the first upgrade sub - package to the target energy storage module, so that the target energy storage module upgrades the energy storage module based on the first upgrade sub - package;

[0008] Receive a second upgrade sub - package request returned by the target energy storage module, for continuing to obtain a second upgrade sub - package from the several reference upgrade packages according to the second upgrade sub - package request after entering the second acquisition process stage. The second acquisition process stage is the acquisition process stage for continuing to obtain the next upgrade package from the several reference upgrade packages after obtaining the first upgrade sub - package in the first acquisition process stage.

[0009] According to another aspect of the present invention, there is provided an energy storage system upgrade device. The energy storage system includes a main board module and at least one energy storage module. The device is configured on the main board module, and the device includes:

[0010] A first upgrade sub - package acquisition unit, configured to acquire a first upgrade sub - package of the target energy storage module in the first acquisition process stage. The first upgrade sub - package is an upgrade sub - package selected from several reference upgrade packages and to be sent to the target energy storage module. The several reference upgrade packages are multiple upgrade packages obtained by subcontracting reference upgrade data. The reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrade;

[0011] A first upgrade sub - package forwarding unit, configured to forward the first upgrade sub - package to the target energy storage module, so that the target energy storage module upgrades the energy storage module based on the first upgrade sub - package;

[0012] A second upgrade sub - package acquisition unit, configured to receive a second upgrade sub - package request returned by the target energy storage module, for continuing to obtain a second upgrade sub - package from the several reference upgrade packages according to the second upgrade sub - package request after entering the second acquisition process stage. The second acquisition process stage is the acquisition process stage for continuing to obtain the next upgrade package from the several reference upgrade packages after obtaining the first upgrade sub - package in the first acquisition process stage.

[0013] According to another aspect of the present invention, there is provided an electronic device, and the electronic device includes:

[0014] At least one processor; and a memory communicatively connected to the at least one processor. Wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute an energy storage system upgrade method according to any embodiment of the present invention.

[0015] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a method for upgrading an energy storage system according to any embodiment of the present invention when executed.

[0016] In the technical solution of the embodiment of the present invention, a first upgrade sub-package in the first acquisition process stage of the target energy storage module is obtained, and then the first upgrade sub-package is forwarded to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade sub-package. A second upgrade sub-package request returned by the target energy storage module is received for continuing to obtain a second upgrade sub-package from a plurality of reference upgrade packages according to the second upgrade sub-package request after entering the second acquisition process stage. In this technical solution, through the upgrade method of sub-package forwarding, the main board module acts as a role of transferring upgrade packages and upgrade states, does not store the upgrade files of all energy storage modules, saves the storage resources and computing resources of the main board module. It can also reduce the network download resources of the main board module, avoid repeated downloads in case of upgrade timeout or failure, reduce the number of erasures of the program memory, and avoid affecting the service life of the program memory due to repeated download failures and repeated erasures. It solves the problem that the main board module needs to consume a large part of the space to store the upgrade files of the energy storage module, and solves the problem that the entire reference upgrade file needs to be downloaded again in case of upgrade timeout or failure.

[0017] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.

[0019] Figure 1 is a flowchart of a method for upgrading an energy storage system according to Embodiment 1 of the present invention;

[0020] Figure 2 is a flowchart of the energy storage system upgrade process provided in Embodiment 1 of the present application;

[0021] Figure 3 is a schematic diagram of an energy storage system upgrade process provided in Embodiment 2 of the present invention;

[0022] Figure 4Schematic diagram of an energy storage system upgrade method provided in Embodiment 3 of the present invention;

[0023] Figure 5 Schematic structural diagram of an energy storage system upgrade device provided in Embodiment 4 of the present invention;

[0024] Figure 6 Schematic structural diagram of an electronic device for implementing an energy storage system upgrade method according to an embodiment of the present invention. Detailed implementation manners

[0025] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances, so that the embodiments of the present invention described herein can be implemented in an order different from those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0027] Embodiment 1

[0028] Figure 1 It is a flowchart of an energy storage system upgrade method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of upgrading each energy storage module in the energy storage system. This method can be executed by an energy storage system upgrade device, which can be implemented in the form of hardware and / or software, and the energy storage system upgrade device can be configured in a device. For example, the device can be a device with communication and computing capabilities such as a background server. As Figure 1 shown, the method includes:

[0029] S110. Obtain the first upgrade subpackage of the target energy storage module in the first acquisition process stage. The first upgrade subpackage is an upgrade subpackage selected from several reference upgrade packages and needs to be sent to the target energy storage module. The several reference upgrade packages are multiple upgrade packages obtained by subcontracting the reference upgrade data, and the reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrade.

[0030] In this solution, the energy storage module is a module with specific functions in the energy storage system. Optionally, the energy storage module includes a BMS module, an inverter module, and a photovoltaic module. The BMS module is mainly used to manage and protect the battery module; the function of the inverter module is to convert the direct current output by the battery module into alternating current; the photovoltaic module is used to convert solar energy into electrical energy and provide electrical energy input for the energy storage system.

[0031] In this embodiment, the energy storage system includes a main board module and at least one energy storage module. The main board module is used to assist the energy storage system in realizing various functions, and a network component is configured on the main board module. Among them, the network component can be a Bluetooth WIFI component. The BMS module, the inverter module, and the photovoltaic module communicate with the main board module through a serial port or CAN, and the BMS module, the inverter module, and the photovoltaic module need to perform OTA firmware upgrade through the main board module.

[0032] Among them, the target energy storage module is the energy storage module that needs to be upgraded among at least one energy storage module. For example, the target energy storage module can be a BMS module, an inverter module, or a BMS module and an inverter module, etc. The target energy storage module can be selected from at least one energy storage module through a triggering operation on the device side. Among them, the device side can be a mobile phone side, a computer side, etc.

[0033] In this solution, several reference upgrade packages are obtained by subcontracting the upgrade data required for upgrading the target energy storage module, and an upgrade subpackage selected from the several reference upgrade packages and needed to be sent to the target energy storage module is used as the first upgrade subpackage.

[0034] Among them, the first acquisition process stage is the stage of obtaining the first upgrade subpackage from several reference upgrade packages.

[0035] Specifically, Figure 2 is the flowchart of the energy storage system upgrade process provided in Embodiment 1 of this application, as Figure 2As shown, in the first acquisition process stage, the main board module receives the first upgrade sub-package download link sent by the server, and uses the HyperText Transfer Protocol to obtain the first upgrade sub-package of the target energy storage module from the first upgrade sub-package download link. Among them, the server is communicatively connected to the main board module in the energy storage system. The HyperText Transfer Protocol (http) is an application layer protocol used to transfer hypertext on the network.

[0036] In this solution, when there are multiple target energy storage modules, in the first acquisition process stage, the main board module receives multiple first upgrade sub-package download links sent by the server, and uses the HyperText Transfer Protocol to obtain the first upgrade sub-packages of the corresponding target energy storage modules according to the multiple first upgrade sub-package download links. For example, if the target energy storage modules include energy storage module A, energy storage module B, and energy storage module C, and the first upgrade sub-package of energy storage module A is A1, the first upgrade sub-package of energy storage module B is B1, and the first upgrade sub-package of energy storage module C is C1. In the first acquisition process stage, the main board module receives the A1 download link, B1 download link, and C1 download link sent by the server, and then obtains the first upgrade sub-package A1 of energy storage module A, the first upgrade sub-package B1 of energy storage module B, and the first upgrade sub-package C1 of energy storage module C from these links respectively through the HyperText Transfer Protocol.

[0037] S120. Forward the first upgrade sub-package to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade sub-package.

[0038] In this solution, as Figure 2 shown, the main board module forwards the first upgrade sub-package to the target energy storage module. After receiving the first upgrade sub-package, the target energy storage module upgrades the energy storage module based on the first upgrade sub-package.

[0039] Optionally, forwarding the first upgrade sub-package to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade sub-package includes:

[0040] Forward the first upgrade sub-package to the target energy storage module so that the target energy storage module writes the attribute information of the first upgrade sub-package into a preset storage space; the attribute information of the first upgrade sub-package includes the upgrade package version information, upgrade package serial number, and upgrade package size corresponding to the first upgrade sub-package.

[0041] Among them, the upgrade package version information is the relevant content used to identify the upgrade package version; the upgrade package serial number is a number used to identify the upgrade package; the upgrade package size refers to the storage space size occupied by the upgrade package.

[0042] In this embodiment, the preset storage space refers to the storage space in the Flash memory.

[0043] In this solution, as Figure 2 shown, the main board module forwards the first upgrade sub-packet to the target energy storage module. After receiving the first upgrade sub-packet, the target energy storage module upgrades the energy storage module based on the first upgrade sub-packet, and stores the upgrade package version information, upgrade package serial number, and upgrade package size corresponding to the first upgrade sub-packet in the preset storage space.

[0044] By storing the upgrade package version information, upgrade package serial number, and upgrade package size corresponding to the first upgrade sub-packet in the preset storage space of the target energy storage module, the storage space of the main board module can be saved.

[0045] S130. Receive the second upgrade sub-packet request returned by the target energy storage module for continuing to obtain the second upgrade sub-packet from the several reference upgrade packets according to the second upgrade sub-packet request after entering the second acquisition process stage. The second acquisition process stage is the acquisition process stage that needs to continue to obtain the next upgrade packet from the several reference upgrade packets after obtaining the first upgrade sub-packet in the first acquisition process stage.

[0046] In this embodiment, the second upgrade sub-packet request refers to the request sent by the target energy storage module to obtain the second upgrade sub-packet. Among them, the second upgrade sub-packet includes other upgrade packets in the several reference upgrade packets except the first upgrade sub-packet.

[0047] In this solution, the second acquisition process stage is the acquisition process stage that needs to continue to obtain the next upgrade packet from the several reference upgrade packets after obtaining the first upgrade sub-packet in the first acquisition process stage.

[0048] Specifically, in the second acquisition stage, the main board module receives the second upgrade sub-packet request returned by the target energy storage module and forwards the second upgrade sub-packet request to the server. In response to the second upgrade sub-packet request, the server issues a second upgrade sub-packet download link. The main board module receives the second upgrade sub-packet download link issued by the server and obtains the second upgrade sub-packet of the target energy storage module from the second upgrade sub-packet download link using the Hypertext Transfer Protocol.

[0049] Further, the main board module forwards the second upgrade sub-packet to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the second upgrade sub-packet and writes the attribute information of the second upgrade sub-packet into the preset storage space.

[0050] Further, as Figure 2As shown, the main board module continues to receive the second upgrade sub-packet request returned by the target energy storage module and forwards the second upgrade sub-packet request to the server. In response to the second upgrade sub-packet request, the server issues a second upgrade sub-packet download link. The main board module receives the second upgrade sub-packet download link issued by the server and uses the Hypertext Transfer Protocol to obtain the second upgrade sub-packet of the target energy storage module from the second upgrade sub-packet download link. The main board module forwards the second upgrade sub-packet to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the second upgrade sub-packet and writes the attribute information of the second upgrade sub-packet into the preset storage space. Repeat the above steps for downloading and writing until a message indicating the completion of the upgrade sent by the target energy storage module is received. At this time, the target energy storage module has received all the upgrade packages.

[0051] In this embodiment, as Figure 2 shown, after receiving the first upgrade sub-packet and the second upgrade sub-packet, the target energy storage module uses the differential algorithm to calculate the first upgrade sub-packet and the second upgrade sub-packet to obtain the complete reference upgrade data. At this time, the target energy storage module sends a message indicating the completion of the upgrade to the main board module and exits the upgrade state. After receiving the message indicating the completion of the upgrade, the main board module exits the upgrade state. Among them, the differential algorithm finds the different parts of the data between the two upgrade packages, and then based on these different data and the characteristics of the two upgrade packages respectively, through a series of calculation and integration operations, finally obtains a complete reference upgrade data. The differential algorithm includes the bsdiff algorithm.

[0052] In this solution, when there are multiple target energy storage modules, in the second acquisition process stage, the main board module receives multiple second upgrade subpackage download links sent by the server, and uses the Hypertext Transfer Protocol to obtain the second upgrade subpackages of the corresponding target energy storage modules according to the multiple second upgrade subpackage download links. For example, if the target energy storage modules include energy storage module A, energy storage module B, and energy storage module C, and the second upgrade subpackages of energy storage module A are A2 and A3, the second upgrade subpackages of energy storage module B are B2 and B3, and the second upgrade subpackages of energy storage module C are C2 and C3. In the second acquisition process stage, the main board module receives the A2 download link, B2 download link, and C2 download link sent by the server, and respectively obtains the second upgrade subpackage A2 of energy storage module A, the second upgrade subpackage B2 of energy storage module B, and the second upgrade subpackage C2 of energy storage module C from these links through the Hypertext Transfer Protocol. Then the main board module continues to receive the second upgrade subpackage requests returned by the target energy storage modules and forwards the second upgrade subpackage requests to the server. The server responds to the second upgrade subpackage requests and sends the second upgrade subpackage download links. The main board module receives the A3 download link, B3 download link, and C3 download link sent by the server, and again respectively obtains the second upgrade subpackage A3 of energy storage module A, the second upgrade subpackage B3 of energy storage module B, and the second upgrade subpackage C3 of energy storage module C from these links through the Hypertext Transfer Protocol.

[0053] The technical solution of the embodiment of the present invention is to obtain the first upgrade subpackage of the target energy storage module in the first acquisition process stage, and then forward the first upgrade subpackage to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade subpackage. Receive the second upgrade subpackage requests returned by the target energy storage modules for continuing to obtain the second upgrade subpackages from several reference upgrade packages according to the second upgrade subpackage requests after entering the second acquisition process stage. By implementing this technical solution, through the upgrade method of subpackage forwarding, the main board module acts as a role of transferring upgrade packages and upgrade states, does not save the upgrade files of all energy storage modules, saves the storage resources and computing resources of the main board module. It can also reduce the network download resources of the main board module, avoid repeated downloads in case of upgrade timeouts or failures, reduce the number of erasures of the program memory, and avoid affecting the service life of the program memory due to repeated download failures and repeated erasures.

[0054] Embodiment 2

[0055] Figure 3 FIG. is a schematic diagram of the upgrade process of an energy storage system provided by Embodiment 2 of the present invention. The relationship between this embodiment and the above embodiment is a detailed description of the upgrade process of the energy storage system. As Figure 3 shown, the method includes:

[0056] S310. In response to the first message sent by the server, configure the main board module to the upgrade state, and based on the first message, control the target energy storage module to be configured to the upgrade state; the first message includes the identifier of the target energy storage module and the target upgrade version information; the identifier of the target energy storage module is used to indicate the energy storage module that needs to be upgraded among at least one energy storage module; the target upgrade version information is the version information of the upgrade package that the target energy storage module is about to upgrade and deploy; the server is communicatively connected to the main board module in the energy storage system.

[0057] Among them, the first message is used to instruct the main board module and the target energy storage module to be configured to the upgrade state. The first message includes the identifier of the target energy storage module and the target upgrade version information; the identifier of the target energy storage module is used to indicate the energy storage module that needs to be upgraded among at least one energy storage module; the target upgrade version information is the version information of the upgrade package that the target energy storage module is about to upgrade and deploy.

[0058] Specifically, as Figure 2 shown, in response to the trigger selection operation of the device side, the server sends the first message to the main board module. The main board module is configured to the upgrade state in response to the first message sent by the server. And forward the first message to the target energy storage module, so that the target energy storage module is configured to the upgrade state. Among them, the device side can be a mobile phone side, a computer side, etc. The trigger selection operation can include a click operation, a drop-down selection operation, a touch operation, an input operation, etc.

[0059] Optionally, controlling the target energy storage module to be configured to the upgrade state based on the first message includes:

[0060] Determine the target energy storage module from at least one energy storage module by parsing the first message, and directionally forward the first message to the target energy storage module, so that the target energy storage module enters the upgrade state;

[0061] Or, forward the first message to each energy storage module among at least one energy storage module, so that the target energy storage module indicated by the first message among the at least one energy storage module enters the upgrade state after parsing the first message.

[0062] In this solution, the main board module parses the first message to obtain the identifier of the target energy storage module in the first message, and determines the target energy storage module from at least one energy storage module based on the identifier of the target energy storage module. Then forward the first message to the target energy storage module, so that the target energy storage module is configured to the upgrade state based on the first message.

[0063] Determining the target energy storage module by parsing the first message can achieve the directional forwarding of the first message, thereby improving the message transmission efficiency and enhancing the security of message transmission.

[0064] In this embodiment, the main board module forwards the first message to each energy storage module in at least one energy storage module. After receiving the first message, each energy storage module parses the first message to obtain the identifier of the target energy storage module in the first message, determines the target energy storage module based on the identifier of the target energy storage module, and configures it to the upgrade state. For example, assume that there are multiple energy storage modules in the energy storage system, namely energy storage module A, energy storage module B, and energy storage module C, and the identifier of the target energy storage module is A, then energy storage module A is determined as the target energy storage module.

[0065] By forwarding the first message and parsing the first message based on each energy storage module, the computing resources of the main board module can be saved.

[0066] S320. Obtain a first upgrade sub-packet of the target energy storage module in the first acquisition process stage. The first upgrade sub-packet is an upgrade sub-packet selected from several reference upgrade packets that needs to be sent to the target energy storage module. The several reference upgrade packets are multiple upgrade packets obtained by sub-packet processing of reference upgrade data. The reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrade.

[0067] S330. Forward the first upgrade sub-packet to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade sub-packet.

[0068] S340. Receive a second upgrade sub-packet request returned by the target energy storage module for continuing to obtain a second upgrade sub-packet from the several reference upgrade packets according to the second upgrade sub-packet request after entering the second acquisition process stage. The second acquisition process stage is the acquisition process stage that needs to continue to obtain the next upgrade sub-packet from the several reference upgrade packets after obtaining the first upgrade sub-packet in the first acquisition process stage.

[0069] The technical solution of the embodiment of the present invention configures the main board module to the upgrade state by responding to the first message sent by the server, and controls the target energy storage module to be configured to the upgrade state based on the first message. Then obtain the first upgrade sub-packet of the target energy storage module in the first acquisition process stage, and forward the first upgrade sub-packet to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade sub-packet. Receive the second upgrade sub-packet request returned by the target energy storage module for continuing to obtain the second upgrade sub-packet from the several reference upgrade packets according to the second upgrade sub-packet request after entering the second acquisition process stage. By executing this technical solution, through the upgrade method of sub-packet forwarding, the main board module acts as a role of transferring an upgrade packet and an upgrade state, does not save the upgrade files of all energy storage modules, saves the storage space, computing resources of the main board module, and reduces the network download resources of the main board module.

[0070] Embodiment III

[0071] Figure 4 As shown in the schematic diagram of a method for upgrading an energy storage system provided in Embodiment III of the present invention, the relationship between this embodiment and the above embodiments is a detailed description of the energy storage system upgrade process. As Figure 4 shown, the method includes:

[0072] S410. Receive a second message sent by the target energy storage module and send the second message to the server, so that the server determines the reference upgrade data according to the second message; the second message includes the attribute information of the third upgrade sub-packet in the target energy storage module, and the third upgrade sub-packet is the upgrade packet that has been deployed in the target energy storage module during the previous upgrade before triggering the selection of the target energy storage module for upgrade, and the attribute information of the third upgrade sub-packet includes the upgrade packet version information, upgrade packet serial number, and upgrade packet size corresponding to the third upgrade sub-packet.

[0073] Among them, the second message is used to instruct the server to determine the reference upgrade data. The second message includes the attribute information of the third upgrade sub-packet in the target energy storage module. The third upgrade sub-packet is the upgrade packet that has been deployed in the target energy storage module during the previous upgrade before triggering the selection of the target energy storage module for upgrade. The attribute information of the third upgrade sub-packet includes the upgrade packet version information, upgrade packet serial number, and upgrade packet size corresponding to the third upgrade sub-packet.

[0074] In this embodiment, the reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrade.

[0075] Specifically, as Figure 2 shown, after the target energy storage module is configured to the upgrade state, it sends a second message to the main board module. The main board module receives the second message sent by the target energy storage module and sends the second message to the server, so that the server determines the reference upgrade data according to the second message.

[0076] Furthermore, the server can determine the reference upgrade data based on the upgrade packet version information, upgrade packet serial number, and upgrade packet size corresponding to the third upgrade sub-packet; the server can also determine the reference upgrade data based on the upgrade packet version information corresponding to the third upgrade sub-packet.

[0077] Optionally, receiving the second message sent by the target energy storage module and sending the second message to the server, so that the server determines the reference upgrade data according to the second message, includes:

[0078] Receive the second message sent by the target energy storage module and send the second message to the server, so that when the target upgrade version information is consistent with the upgrade package version information corresponding to the third upgrade subpackage, the server extracts reference upgrade data from the initial upgrade data according to the upgrade package serial number and upgrade package size corresponding to the third upgrade subpackage. The initial upgrade data is the upgrade data obtained by performing differential processing on the upgrade file corresponding to the target upgrade version information and the upgrade file corresponding to the upgrade package version information corresponding to the third upgrade subpackage.

[0079] In this solution, as Figure 2 shown, after the energy storage system connects to the message transmission protocol for power distribution network and reports the upgrade package version information corresponding to the third upgrade subpackage of each energy storage module to the server, the server compares the difference between the upgrade file corresponding to the target upgrade version information and the upgrade file corresponding to the upgrade package version information corresponding to the third upgrade subpackage through the differential algorithm to generate the initial upgrade data. Among them, the message transmission protocol includes MQTT (Message Queuing Telemetry Transport), and MQTT is a lightweight message transmission protocol based on the publish or subscribe mode, mainly used for communication between Internet of Things devices and between devices and servers.

[0080] Further, after the server receives the second message, it determines whether the target upgrade version information is consistent with the upgrade package version information corresponding to the third upgrade subpackage in the target energy storage module included in the second message. If they are consistent, it means that some content in the target energy storage module was not upgraded during the previous upgrade process. Then, multiply the upgrade package serial number and upgrade package size corresponding to the third upgrade subpackage to calculate the first upgrade data, and then use the differential algorithm to compare the difference between the initial upgrade data and the first upgrade data to determine the reference upgrade data.

[0081] By judging the target upgrade version information and the upgrade package version information corresponding to the third upgrade subpackage in the target energy storage module included in the second message and extracting the reference upgrade data from the initial upgrade data, it can avoid repeated downloads after upgrade interruption timeout or failure, and reduce the space for parameter upgrade data transmission and storage.

[0082] Optionally, receiving the second message sent by the target energy storage module and sending the second message to the server, so that the server determines the reference upgrade data according to the second message, further includes:

[0083] Receive the second message sent by the target energy storage module and send the second message to the server, so that when the target upgrade version information is inconsistent with the upgrade package version information corresponding to the third upgrade subpackage, the server determines the initial upgrade data as the reference upgrade data. The initial upgrade data is the upgrade data obtained by performing differential processing on the upgrade file corresponding to the target upgrade version information and the upgrade file corresponding to the upgrade package version information corresponding to the third upgrade subpackage.

[0084] Further, after receiving the second message, the server determines whether the target upgrade version information is consistent with the upgrade package version information corresponding to the third upgrade subpackage included in the second message in the target energy storage module. If not, it indicates that all the content to be upgraded has been completed during the previous upgrade of the target energy storage module, and there is no remaining part that has not been upgraded. Then, the initial upgrade data is determined as the reference upgrade data.

[0085] By judging the target upgrade version information and the upgrade package version information corresponding to the third upgrade subpackage included in the second message, and determining the initial upgrade data as the reference upgrade data, the energy storage module can be upgraded based on the reference upgrade data.

[0086] S420. In response to the data volume of the reference upgrade data sent by the server, determine the reference upgrade package size according to the network information and send the reference upgrade package size to the server, so that the server performs subpackage processing on the reference upgrade data according to the reference upgrade package size to determine several reference upgrade packages; the reference upgrade package size is the size of several data blocks obtained by splitting the reference upgrade data; the network information is determined based on the network components configured on the main board module.

[0087] Among them, the network information includes network speed and network signal strength. The network speed and network signal strength are obtained based on the instructions of the network components configured on the main board.

[0088] In this solution, the reference upgrade package size is the size of several data blocks obtained by splitting the reference upgrade data.

[0089] In this embodiment, the data volume of the reference upgrade data can be represented by the byte size. As Figure 2 shown, after the server determines the reference upgrade data according to the second message, it sends the data volume of the reference upgrade data to the main board module. Based on the maximum calculated space, the main board module, in response to the data volume of the reference upgrade data sent by the server, determines the reference upgrade package size according to the network information.

[0090] In this solution, the size of the reference upgrade package can be determined according to the network speed and the network signal strength. For example, when the network speed of the motherboard module is fast and the network signal strength is large, a larger reference upgrade package size can be set.

[0091] Optionally, determining the size of the reference upgrade package according to network information includes:

[0092] Adjusting the size of the upgrade package corresponding to the third upgrade sub-package according to network information to determine the size of the reference upgrade package.

[0093] In this solution, when the target upgrade version information is consistent with the upgrade package version information corresponding to the third upgrade sub-package, at this time, the motherboard module adjusts the size of the upgrade package corresponding to the third upgrade sub-package according to network information to determine the size of the reference upgrade package. Specifically, increase or decrease the size of the upgrade package corresponding to the third upgrade sub-package according to network information.

[0094] Adjusting the size of the upgrade package through network speed and signal strength can perform few and efficient downloads when the network condition is good, and at the same time can avoid the situation of download failure when the network condition is poor, and perform effective downloads in multiple times, improving the download efficiency of the upgrade package.

[0095] Optionally, determining the size of the reference upgrade package according to network information further includes:

[0096] Determining the reference upgrade package size corresponding to the network information from the pre-determined matching relationship between network information and upgrade package size according to the network information.

[0097] In this embodiment, the matching relationship between network information and upgrade package size can be obtained by training network information and upgrade package size using a deep learning model.

[0098] In this solution, when the target upgrade version information is inconsistent with the upgrade package version information corresponding to the third upgrade sub-package, at this time, the motherboard module determines the reference upgrade package size corresponding to the network information from the pre-determined matching relationship between network information and upgrade package size.

[0099] Adjusting the size of the upgrade package through network speed and signal strength can perform few and efficient downloads when the network condition is good, and at the same time can avoid the situation of download failure when the network condition is poor, and perform effective downloads in multiple times, improving the download efficiency of the upgrade package.

[0100] In this solution, after responding to the first message sent by the server, configuring the motherboard module to the upgrade state, and controlling the target energy storage module to be configured to the upgrade state based on the first message, steps S410 - S420 can be executed.

[0101] S430. Obtain the first upgrade sub-package of the target energy storage module in the first acquisition process stage. The first upgrade sub-package is one upgrade sub-package selected from several reference upgrade packages that needs to be sent to the target energy storage module. The several reference upgrade packages are multiple upgrade packages obtained by subcontracting the reference upgrade data, and the reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrading.

[0102] S440. Forward the first upgrade sub-package to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade sub-package.

[0103] S450. Receive the second upgrade sub-package request returned by the target energy storage module for continuing to obtain the second upgrade sub-package from the several reference upgrade packages according to the second upgrade sub-package request after entering the second acquisition process stage. The second acquisition process stage is the acquisition process stage that needs to continue to obtain the next upgrade sub-package from the several reference upgrade packages after obtaining the first upgrade sub-package in the first acquisition process stage.

[0104] The technical solution of the embodiment of the present invention is to receive the second message sent by the target energy storage module and send the second message to the server so that the server determines the reference upgrade data according to the second message. In response to the data volume of the reference upgrade data sent by the server, determine the reference upgrade package size according to the network information and send the reference upgrade package size to the server so that the server subcontracts the reference upgrade data according to the reference upgrade package size to determine several reference upgrade packages. Then obtain the first upgrade sub-package of the target energy storage module in the first acquisition process stage and forward the first upgrade sub-package to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade sub-package. Receive the second upgrade sub-package request returned by the target energy storage module for continuing to obtain the second upgrade sub-package from the several reference upgrade packages according to the second upgrade sub-package request after entering the second acquisition process stage. By implementing this technical solution, through the upgrade method of subcontracting and forwarding, the main board module acts as a role of transferring one upgrade package and the upgrade status, does not save the upgrade files of all energy storage modules, saves the storage space, computing resources of the main board module, and reduces the network download resources of the main board module. Adjust the upgrade package size according to the network speed and signal strength, which can perform fewer and more efficient downloads when the network condition is good, and at the same time can avoid the situation of download failure when the network condition is poor, and perform effective downloads in multiple times, improving the download efficiency of the upgrade package.

[0105] Embodiment 4

[0106] Figure 5 It is a schematic structural diagram of an energy storage system upgrade device provided by Embodiment 4 of the present invention. As Figure 5As shown, the energy storage system includes a main board module and at least one energy storage module. The device is configured on the main board module, and the device includes:

[0107] A first upgrade subpackage acquisition unit 510, configured to acquire a first upgrade subpackage of the target energy storage module in the first acquisition process stage. The first upgrade subpackage is an upgrade subpackage selected from a number of reference upgrade packages and needs to be sent to the target energy storage module. The number of reference upgrade packages is multiple upgrade packages obtained by subcontracting reference upgrade data. The reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrade.

[0108] A first upgrade subpackage forwarding unit 520, configured to forward the first upgrade subpackage to the target energy storage module, so that the target energy storage module upgrades the energy storage module based on the first upgrade subpackage.

[0109] A second upgrade subpackage acquisition unit 530, configured to receive a second upgrade subpackage request returned by the target energy storage module, and continue to acquire a second upgrade subpackage from the number of reference upgrade packages according to the second upgrade subpackage request after entering the second acquisition process stage. The second acquisition process stage is the acquisition process stage that needs to continue to acquire the next upgrade subpackage from the number of reference upgrade packages after acquiring the first upgrade subpackage in the first acquisition process stage.

[0110] Optionally, the device further includes:

[0111] An upgrade status configuration unit, configured to, in response to a first message sent by the server, configure the main board module to an upgrade status and control the target energy storage module to be configured to an upgrade status based on the first message. The first message includes the identifier of the target energy storage module and target upgrade version information. The identifier of the target energy storage module is used to indicate the energy storage module that needs to be upgraded among at least one energy storage module. The target upgrade version information is the version information of the upgrade package that the target energy storage module is about to upgrade and deploy. The server is communicatively connected to the main board module in the energy storage system.

[0112] Optionally, the upgrade status configuration unit is specifically configured to:

[0113] Determine the target energy storage module from at least one energy storage module by parsing the first message, and directionally forward the first message to the target energy storage module, so that the target energy storage module enters the upgrade status.

[0114] Alternatively, forward the first message to each of the at least one energy storage module, so that the target energy storage module indicated by the first message among the at least one energy storage module parses the first message and then enters the upgrade status.

[0115] Optionally, the first upgrade sub-packet forwarding unit 520 is further configured to:

[0116] Forward the first upgrade sub-packet to the target energy storage module, so that the target energy storage module writes the attribute information of the first upgrade sub-packet into a preset storage space; the attribute information of the first upgrade sub-packet includes the upgrade package version information, upgrade package serial number, and upgrade package size corresponding to the first upgrade sub-packet.

[0117] Optionally, the device further includes:

[0118] A second message receiving unit, configured to receive a second message sent by the target energy storage module and send the second message to the server, so that the server determines the reference upgrade data according to the second message; the second message includes the attribute information of a third upgrade sub-packet in the target energy storage module, and the third upgrade sub-packet is an upgrade package that has been deployed in the target energy storage module during the previous upgrade before triggering the selection of the target energy storage module for upgrade, and the attribute information of the third upgrade sub-packet includes the upgrade package version information, upgrade package serial number, and upgrade package size corresponding to the third upgrade sub-packet.

[0119] Optionally, the second message receiving unit is specifically configured to:

[0120] Receive a second message sent by the target energy storage module and send the second message to the server, so that when the target upgrade version information is consistent with the upgrade package version information corresponding to the third upgrade sub-packet, the server extracts the reference upgrade data from the initial upgrade data according to the upgrade package serial number and upgrade package size corresponding to the third upgrade sub-packet, and the initial upgrade data is the upgrade data obtained by performing differential processing on the upgrade file corresponding to the target upgrade version information and the upgrade file corresponding to the upgrade package version information corresponding to the third upgrade sub-packet.

[0121] Optionally, the second message receiving unit is further configured to:

[0122] Receive a second message sent by the target energy storage module and send the second message to the server, so that when the target upgrade version information is inconsistent with the upgrade package version information corresponding to the third upgrade sub-packet, the server determines the initial upgrade data as the reference upgrade data, and the initial upgrade data is the upgrade data obtained by performing differential processing on the upgrade file corresponding to the target upgrade version information and the upgrade file corresponding to the upgrade package version information corresponding to the third upgrade sub-packet.

[0123] Optionally, the device further includes:

[0124] A reference upgrade package size determination unit is configured to determine a reference upgrade package size according to network information in response to the data volume of reference upgrade data sent by a server, and send the reference upgrade package size to the server, so that the server performs sub-packet processing on the reference upgrade data according to the reference upgrade package size to determine a plurality of reference upgrade packages; the reference upgrade package size is the size of a plurality of data blocks obtained by splitting the reference upgrade data; the network information is determined based on network components configured on a motherboard module.

[0125] Optionally, the reference upgrade package size determination unit is specifically configured to:

[0126] Adjust the upgrade package size corresponding to the third upgrade sub-packet according to the network information to determine the reference upgrade package size.

[0127] Optionally, the reference upgrade package size determination unit is further configured to:

[0128] Determine a reference upgrade package size corresponding to the network information from a pre-determined matching relationship between network information and upgrade package sizes according to the network information.

[0129] An energy storage system upgrade device provided by an embodiment of the present invention can execute an energy storage system upgrade method provided by any embodiment of the present invention, and has corresponding modules and beneficial effects for executing the method.

[0130] Embodiment Five

[0131] Figure 6 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as, for example, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0132] As Figure 6As shown, the electronic device 10 includes at least one processor 11 and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. Among them, the memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0133] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0134] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for upgrading an energy storage system.

[0135] In some embodiments, a method for upgrading an energy storage system can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for upgrading an energy storage system described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute a method for upgrading an energy storage system by any other appropriate means (e.g., by means of firmware).

[0136] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which may be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.

[0137] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0138] In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium may be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0139] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0140] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0141] The computing system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The relationship between the client and the server is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0142] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.

[0143] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for upgrading an energy storage system, characterized in that, The energy storage system includes a main board module and at least one energy storage module. The method is executed by the main board module and includes: Obtaining a first upgrade subpackage of the target energy storage module in the first acquisition process stage. The first upgrade subpackage is one upgrade subpackage selected from several reference upgrade packages that needs to be sent to the target energy storage module. The several reference upgrade packages are multiple upgrade packages obtained by subcontracting reference upgrade data, and the reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrade. Forwarding the first upgrade subpackage to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade subpackage. Receiving a second upgrade subpackage request returned by the target energy storage module for continuing to obtain a second upgrade subpackage from the several reference upgrade packages according to the second upgrade subpackage request after entering the second acquisition process stage. The second acquisition process stage is the acquisition process stage that needs to continue to obtain the next upgrade subpackage from the several reference upgrade packages after obtaining the first upgrade subpackage in the first acquisition process stage.

2. The method according to claim 1, wherein Before obtaining the first upgrade subpackage of the target energy storage module in the first acquisition process stage, the method further includes: In response to a first message sent by the server, configuring the main board module to the upgrade state and controlling the target energy storage module to be configured to the upgrade state based on the first message. The first message includes the identifier of the target energy storage module and the target upgrade version information. The identifier of the target energy storage module is used to indicate the energy storage module that needs to be upgraded among at least one energy storage module. The target upgrade version information is the version information of the upgrade package that the target energy storage module is about to upgrade and deploy. The server is communicatively connected to the main board module in the energy storage system.

3. The method according to claim 2, wherein Controlling the target energy storage module to be configured to the upgrade state based on the first message includes: Determining the target energy storage module from at least one energy storage module by parsing the first message and directionally forwarding the first message to the target energy storage module so that the target energy storage module enters the upgrade state. Alternatively, forwarding the first message to each energy storage module in at least one energy storage module so that the target energy storage module indicated by the first message in the at least one energy storage module parses the first message and then enters the upgrade state.

4. The method according to claim 1, wherein Forwarding the first upgrade subpackage to the target energy storage module so that the target energy storage module upgrades the energy storage module based on the first upgrade subpackage includes: Forwarding the first upgrade subpackage to the target energy storage module so that the target energy storage module writes the attribute information of the first upgrade subpackage into a preset storage space. The attribute information of the first upgrade subpackage includes the upgrade package version information, upgrade package serial number, and upgrade package size corresponding to the first upgrade subpackage.

5. The method according to claim 1, characterized in that, Before obtaining the first upgrade subpackage of the target energy storage module in the first acquisition process stage, the method further includes: Receive the second message sent by the target energy storage module and send the second message to the server, so that the server determines the reference upgrade data according to the second message; the second message includes the attribute information of the third upgrade sub-package in the target energy storage module, and the third upgrade sub-package is the upgrade package that has been deployed in the target energy storage module during the previous upgrade before triggering the selection of the target energy storage module for upgrade. The attribute information of the third upgrade sub-package includes the upgrade package version information, upgrade package serial number, and upgrade package size corresponding to the third upgrade sub-package.

6. The method according to claim 5, characterized in that, Receiving the second message sent by the target energy storage module and sending the second message to the server, so that the server determines the reference upgrade data according to the second message, includes: Receiving the second message sent by the target energy storage module and sending the second message to the server, so that when the target upgrade version information is consistent with the upgrade package version information corresponding to the third upgrade sub-package, the server extracts the reference upgrade data from the initial upgrade data according to the upgrade package serial number and upgrade package size corresponding to the third upgrade sub-package. The initial upgrade data is the upgrade data obtained by performing differential processing on the upgrade file corresponding to the target upgrade version information and the upgrade file corresponding to the upgrade package version information corresponding to the third upgrade sub-package.

7. The method according to claim 5, wherein Receiving the second message sent by the target energy storage module and sending the second message to the server, so that the server determines the reference upgrade data according to the second message, further includes: Receiving the second message sent by the target energy storage module and sending the second message to the server, so that when the target upgrade version information is inconsistent with the upgrade package version information corresponding to the third upgrade sub-package, the server determines the initial upgrade data as the reference upgrade data. The initial upgrade data is the upgrade data obtained by performing differential processing on the upgrade file corresponding to the target upgrade version information and the upgrade file corresponding to the upgrade package version information corresponding to the third upgrade sub-package.

8. The method according to claim 5, wherein After receiving the second message sent by the target energy storage module and sending the second message to the server, so that the server determines the reference upgrade data according to the second message, the method further includes: In response to the data volume of the reference upgrade data sent by the server, determine the reference upgrade package size according to the network information and send the reference upgrade package size to the server, so that the server performs sub-packaging processing on the reference upgrade data according to the reference upgrade package size to determine several reference upgrade packages; the reference upgrade package size is the size of several data blocks obtained by splitting the reference upgrade data; the network information is determined based on the network components configured on the main board module.

9. The method according to claim 8, wherein Determining the reference upgrade package size according to the network information includes: Adjust the upgrade package size corresponding to the third upgrade sub-package according to the network information to determine the reference upgrade package size.

10. The method according to claim 8, characterized in that, Determining the reference upgrade package size according to the network information further includes: Determine the reference upgrade package size corresponding to the network information from the pre-determined matching relationship between the network information and the upgrade package size according to the network information.

11. An energy storage system upgrade device, characterized in that, The energy storage system includes a main board module and at least one energy storage module, and the device is configured on the main board module. The device includes: A first upgrade sub-package acquisition unit, which is used to acquire a first upgrade sub-package of the target energy storage module in the first acquisition process stage. The first upgrade sub-package is an upgrade sub-package selected from several reference upgrade packages and needs to be sent to the target energy storage module. The several reference upgrade packages are multiple upgrade packages obtained by subcontracting reference upgrade data. The reference upgrade data is the upgrade data required for upgrading the target energy storage module after triggering the selection of the target energy storage module for upgrade. A first upgrade sub-package forwarding unit, which is used to forward the first upgrade sub-package to the target energy storage module, so that the target energy storage module upgrades the energy storage module based on the first upgrade sub-package. A second upgrade sub-package acquisition unit, which is used to receive a second upgrade sub-package request returned by the target energy storage module, so as to continue to acquire a second upgrade sub-package from the several reference upgrade packages according to the second upgrade sub-package request after entering the second acquisition process stage. The second acquisition process stage is the acquisition process stage that needs to continue to acquire the next upgrade sub-package from several reference upgrade packages after acquiring the first upgrade sub-package in the first acquisition process stage.