Upgrading method of energy storage system and energy storage system

By requesting data packets from the cloud platform and parsing the device address code for remote upgrades in the energy storage system, the problem of remote upgrades in the energy storage system is solved, improving the efficiency and convenience of software upgrades and reducing manual maintenance costs.

CN121879797APending Publication Date: 2026-04-17CHENGDU QINGTAO NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHENGDU QINGTAO NEW ENERGY TECH CO LTD
Filing Date
2025-12-19
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Software upgrades in existing energy storage systems require manual on-site operation, resulting in high maintenance costs, high complexity, and the inability to upgrade remotely, which affects the efficiency and convenience of software updates.

Method used

By sending an upgrade request to the cloud platform, receiving data packets and parsing the device address code, and then sending data packets to the device to be upgraded for remote software upgrade, each device is ensured to have a unique address code.

Benefits of technology

It enables remote software upgrades for various devices in the energy storage system, improving the efficiency and convenience of upgrades, reducing labor costs, and simplifying maintenance processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121879797A_ABST
    Figure CN121879797A_ABST
Patent Text Reader

Abstract

The invention discloses an energy storage system upgrading method and an energy storage system. The method comprises the following steps: sending an upgrading request to a cloud platform, and receiving a data packet sent by the cloud platform to an energy storage system based on the upgrading request; analyzing the data packet to obtain an address code of the to-be-upgraded equipment in the data packet; issuing a data packet to the to-be-upgraded equipment with the address code; upgrading the to-be-upgraded equipment according to the data packet; wherein the energy storage system comprises a plurality of devices to be upgraded, each device to be upgraded has an address code, and the address codes of any two devices to be upgraded are different. According to the technical scheme, the problem that the energy storage device cannot be remotely upgraded at present is solved, remote software upgrading of all devices in the energy storage system can be achieved, the efficiency and convenience of software upgrading are improved, and the labor cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of energy storage system upgrade technology, and in particular to an energy storage system upgrade method and an energy storage system. Background Technology

[0002] Currently, software upgrades for controllers in cabinet-type energy storage systems typically involve connecting a local computer to the controller and then using the controller's proprietary host computer for the upgrade. This requires personnel to bring specialized tools to the site, increasing maintenance costs. Different controllers use different host computers, and an energy storage system involves multiple controllers, making maintenance difficult and complex. Energy storage systems require continuous optimization during operation, and software updates are rapid. Traditional on-site upgrade methods result in a very heavy workload for the after-sales team. Summary of the Invention

[0003] This invention provides an energy storage system upgrade method and energy storage system to solve the current problem of not being able to remotely upgrade energy storage devices. It can realize remote software upgrades of various devices in the energy storage system, improve the efficiency and convenience of software upgrades, and reduce labor costs.

[0004] In a first aspect, embodiments of the present invention provide an energy storage system upgrade method, the method comprising:

[0005] Send upgrade requests to the cloud platform and receive data packets sent by the cloud platform to the energy storage system based on the upgrade requests;

[0006] Parse the data packet to obtain the address code of the device to be upgraded;

[0007] Send data packets to the device to be upgraded, which has an address code;

[0008] Upgrade the device to be upgraded based on the data package;

[0009] The energy storage system includes multiple devices to be upgraded, each with an address code, and the address codes of any two devices to be upgraded are different.

[0010] Secondly, embodiments of the present invention also provide an upgrade device for an energy storage system, the device comprising:

[0011] The data packet acquisition module is used to send upgrade requests to the cloud platform and receive data packets sent by the cloud platform to the energy storage system based on the upgrade requests;

[0012] The address code acquisition module is used to parse data packets to obtain the address code of the device to be upgraded in the data packets;

[0013] The data packet delivery module is used to deliver data packets to the device to be upgraded, which has an address code.

[0014] The upgrade module is used to upgrade the device to be upgraded based on the data package.

[0015] The energy storage system includes multiple devices to be upgraded, each with an address code, and the address codes of any two devices to be upgraded are different.

[0016] Thirdly, embodiments of the present invention also provide an energy storage system, the system comprising:

[0017] The energy storage system includes equipment to be upgraded, and the energy storage system can upgrade the equipment to be upgraded according to the energy storage system upgrade method provided in any embodiment of the present invention.

[0018] Fourthly, embodiments of the present invention also provide an electronic device, the electronic device comprising:

[0019] At least one processor; and

[0020] A memory communicatively connected to the at least one processor; wherein,

[0021] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the energy storage system upgrade method according to any embodiment of the present invention.

[0022] Fifthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions, which are used to cause a processor to execute and implement the energy storage system upgrade method described in any embodiment of the present invention.

[0023] Sixthly, embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements an energy storage system upgrade method as described in any of the embodiments of the present invention.

[0024] In this embodiment of the invention, an upgrade request is sent to a cloud platform, and a data packet sent by the cloud platform to the energy storage system based on the upgrade request is received. The data packet is parsed to obtain the address code of the device to be upgraded. The data packet is then sent to the device with the address code. The device to be upgraded is upgraded according to the data packet. The energy storage system includes multiple devices to be upgraded, each with a unique address code, and the address codes of any two devices are different. This invention solves the current problem of the inability to remotely upgrade energy storage devices, enabling remote software upgrades for each device in the energy storage system, improving the efficiency and convenience of software upgrades, and reducing labor costs. Attached Figure Description

[0025] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 A flowchart illustrating an energy storage system upgrade method provided in an embodiment of the present invention;

[0027] Figure 2 A flowchart illustrating an energy storage system upgrade method provided in an embodiment of the present invention;

[0028] Figure 3 A schematic diagram illustrating the operating conditions of an energy storage system according to an embodiment of the present invention;

[0029] Figure 4 A schematic diagram of a data packet provided in an embodiment of the present invention;

[0030] Figure 5 This is a schematic diagram of an energy storage system upgrade provided in an embodiment of the present invention;

[0031] Figure 6 This is a schematic diagram of an energy storage system upgrade provided in an embodiment of the present invention;

[0032] Figure 7 A schematic diagram of a cloud platform interface provided in an embodiment of the present invention;

[0033] Figure 8 A schematic diagram illustrating a primary device upgrade according to an embodiment of the present invention;

[0034] Figure 9 A schematic diagram illustrating a secondary device upgrade according to an embodiment of the present invention;

[0035] Figure 10 This is a schematic diagram illustrating a three-level device upgrade according to an embodiment of the present invention;

[0036] Figure 11 This is a schematic diagram of the structure of an energy storage system upgrade device provided in an embodiment of the present invention;

[0037] Figure 12 This is a schematic diagram of the structure of an energy storage system provided in an embodiment of the present invention;

[0038] Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0039] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0040] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this invention, terms such as "first," "second," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. The acquisition, storage, use, and processing of data in the technical solutions of this application all comply with the relevant provisions of national laws and regulations.

[0041] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the relevant content of the solution.

[0042] Figure 1 This is a flowchart illustrating an energy storage system upgrade method according to an embodiment of the present invention. This embodiment is applicable to scenarios involving energy storage system upgrades. The method can be executed by an energy storage system upgrade device, which can be implemented in software and / or hardware and integrated into a computer device.

[0043] like Figure 1 As shown, the upgrade method for energy storage systems includes the following steps:

[0044] S110: Send an upgrade request to the cloud platform and receive data packets sent by the cloud platform to the energy storage system based on the upgrade request.

[0045] The energy storage system includes multiple devices to be upgraded, each with an address code, and the address codes of any two devices to be upgraded are different.

[0046] This embodiment allows for remote upgrades of any device in an energy storage system, such as a semi-solid-state cabinet energy storage system. Specifically, the data packet may contain a binary data packet specifically for upgrading the device, which can be uploaded from a host computer dedicated to upgrading the corresponding energy storage device to the cloud platform.

[0047] An upgrade request can be sent to the cloud platform at a preset upgrade time. Based on the upgrade request, the cloud platform determines the data packet associated with the device in the energy storage system that sent the upgrade request, which is the data packet for software upgrade of the device to be upgraded, and sends it to the energy storage system.

[0048] The equipment to be upgraded can include equipment at any level in the energy storage system.

[0049] S120. Parse the data packet to obtain the address code of the device to be upgraded in the data packet.

[0050] The data packet is parsed to obtain the parsing result, which contains the address code of the device to be upgraded corresponding to the data packet.

[0051] S130: Send data packets to the device to be upgraded, which has an address code.

[0052] Data packets are sent to the device to be upgraded, which has an address code, using a preset communication protocol. The data packets can be sent directly to the target device to be upgraded, or they can be sent step by step, that is, first sent to the upstream device of the device to be upgraded, and then forwarded to the device to be upgraded by the upstream device and intermediate path devices.

[0053] S140. Upgrade the device to be upgraded based on the data packet.

[0054] The data packets are subjected to integrity verification. If the verification passes, the upgrade process is initiated based on the data packets, and the upgrade status is monitored throughout the process. After the data packets stored in the backup storage area are loaded, the software in the running storage area is replaced, completing the software upgrade.

[0055] The technical solution of this embodiment involves sending an upgrade request to a cloud platform and receiving data packets sent by the cloud platform to the energy storage system based on the upgrade request; parsing the data packets to obtain the address codes of the devices to be upgraded; sending data packets to the devices with the address codes; and upgrading the devices according to the data packets. The energy storage system includes multiple devices to be upgraded, each with a unique address code, and the address codes of any two devices are different. This embodiment solves the current problem of the inability to remotely upgrade energy storage devices, enabling remote software upgrades for each device in the energy storage system, improving the efficiency and convenience of software upgrades, and reducing labor costs.

[0056] Figure 2 This is a flowchart illustrating an energy storage system upgrade method provided by an embodiment of the present invention. This embodiment belongs to the same inventive concept as the energy storage system upgrade methods in the above embodiments, and further describes the data packet acquisition process. This method can be executed by an energy storage system upgrade device, which can be implemented in software and / or hardware and integrated into an electronic device with application development capabilities.

[0057] like Figure 2 As shown, the energy storage system upgrade method of this embodiment includes the following steps:

[0058] S210. Determine if the current device needs an upgrade.

[0059] The energy storage system can send a query request containing its own device identifier and current firmware or software version to the cloud platform through a preset communication protocol such as MQTT. After receiving the request, the cloud platform compares it with the latest data packet version corresponding to the device in the database. If an update exists, it will return the version information and the acquisition path. The energy storage system can then confirm whether there is a new data packet available for upgrade.

[0060] S220. Determine whether the current operating condition of the energy storage system is in a valley.

[0061] like Figure 3 As shown, the operating conditions include peak, flat, and valley periods. The valley period can be the time when the energy storage system operates at its lowest point, that is, the time when the grid load is at its lowest level throughout the day; the peak period can be the peak phase, that is, the time when the grid load is at its highest level throughout the day and the demand for electricity is the strongest; the flat period can be the transition period when the grid load is between the peak and valley periods, and the demand for electricity is at a moderate level. The energy storage system can flexibly adjust its charging and discharging strategies according to the actual load conditions to balance the grid supply and demand.

[0062] Peak, flat, and valley periods can be determined by factors such as electricity load data, seasonal variations, user types, and time-sharing standards established by energy policies.

[0063] For example, in industrial and commercial operation scenarios, energy storage systems operate under three conditions: peak hours, flat hours, and off-peak hours, depending on the season. Software upgrades for the three levels of energy storage devices within the system only occur during off-peak hours when there is no charging or discharging activity, and only then will the software upgrade request be sent to the cloud platform. During the upgrade process, the EMS will stop the charging and discharging of the battery system. When the device is being upgraded, any fault information received by the EMS from the energy storage device will be handled specially; for example, the device may stop sending signals to the EMS during the upgrade. The EMS will not conclude that the device has lost communication, nor will it notify the client.

[0064] S230: Stop the charging and discharging of the energy storage system and send an upgrade request to the cloud platform.

[0065] To stop the charging and discharging of the energy storage system, first disconnect the charging and discharging circuit switch to stop the energy interaction between the battery pack and the grid / load, and at the same time shut down the charging and discharging control modules of the energy storage converter and the battery management system to ensure that the system enters a safe standby state with no energy flow.

[0066] The energy storage system's local control unit sends an upgrade request command to the cloud platform according to a preset communication protocol and waits for the cloud platform's response.

[0067] S240: Receive data packets sent by the cloud platform to the energy storage system based on upgrade requests.

[0068] S250: Parse the data packet to obtain the start code, binary upgrade data, discontinuity code, check code, address code of the device to be upgraded, and end code of the data packet.

[0069] like Figure 4 As shown, the data packet is parsed to obtain the parsing results, including a start code, binary upgrade data, a break code, a checksum, a device address code, and an end code. The address code is then extracted from the parsing results. The start code, binary upgrade data, and break code constitute the target upgrade program. The start code, end code, and break code are all fixed codes. The start code identifies whether the upgrade data packet transmission has begun; the end code identifies whether the upgrade data packet transmission has ended; and the break code identifies whether the binary upgrade data packet transmission has been completed and is isolated from the checksum for easy reading. The device address code is set by correspondingly addressing the energy storage device in the upgrade data packet according to the needs. This address allows for precise delivery of the data packet to the device requiring upgrade, avoiding incorrect upgrade targets that could render the energy storage system unusable. The checksum is crucial information used to verify the integrity of the binary upgrade data packet.

[0070] In one alternative implementation, the address code is of type Internet Protocol (IP) address. An IP address is an Internet Protocol address. Any two devices to be upgraded will have different IP addresses.

[0071] To better identify device address information, address assignments were implemented for the three levels of energy storage devices in the energy storage system. This address assignment fully considered the number of devices at each upgrade level in the energy storage system, ensuring sufficient redundancy and compatibility with many series and parallel battery systems. With clear address information, the cloud platform and EMS can easily identify the devices requiring upgrades upon receiving data packets.

[0072] For example, various devices with address codes ranging from 192.168.1.1 to 255 are divided into different IP address ranges: EMS addresses are 192.168.1.1 to 10; PCS addresses are 192.168.1.11 to 20; BCU addresses are 192.168.1.21 to 50; BMU addresses are 192.168.1.51 to 150; serial servers addresses are 192.168.1.151 to 180; electricity meters addresses are 192.168.1.181 to 200; air conditioners addresses are 192.168.1.201 to 260; and water immersion equipment addresses are 192.168.1.261 to 280.

[0073] S260: Send data packets to the device to be upgraded, which has an address code.

[0074] The equipment to be upgraded includes Level 1, Level 2, and Level 3 devices. Each Level 1 device connects to one or more Level 2 devices, and each Level 2 device connects to one or more Level 3 devices. The Level 1 device is the Energy Management System (EMS). Level 2 devices include the Power Conversion System (PCS), Battery Control Unit (BCU), electricity meter, air conditioner, and water immersion sensor. The electricity meter is responsible for calculating charge and discharge capacity. The air conditioner is a crucial component of the energy storage system's thermal management system. The water immersion sensor detects the risk of flooding in the energy storage system. The Level 3 device is the Battery Management Unit (BMU).

[0075] In one optional implementation, sending data packets to the device to be upgraded with an address code can be done by determining the level of the device to be upgraded and sending the data packets to the device level by level.

[0076] In response to the address code being the address code of a primary device, a software upgrade is performed based on the data packet.

[0077] In response to an address code that is the address code of a Level 2 or Level 3 device, a data packet is sent to the Level 2 or Level 3 device so that the Level 2 or Level 3 device can perform a software upgrade based on the data packet.

[0078] For Level 2 devices, data packets can be directly sent to the Level 2 device based on its address code. However, Level 3 devices may need to first send the data to their corresponding Level 2 device, which then forwards it to the Level 3 device. Specifically, in one optional implementation, sending data packets to either the Level 2 or Level 3 device in response to the address code of the Level 2 or Level 3 device can be achieved by sending the data packet to the Level 2 device corresponding to the Level 3 device in response to the address code of the Level 3 device, so that the Level 2 device forwards the data packet to the Level 3 device; wherein, the Level 2 device corresponding to the Level 3 device is a battery control unit.

[0079] In one alternative implementation, a data packet is sent to the device to be upgraded with an address code. Alternatively, the data packet can be loaded into the backup area of ​​the controller of the device to be upgraded. It is then determined whether the data packet loading was successful. If so, the original software in the storage area of ​​the controller is replaced.

[0080] S270, Upgrade the device to be upgraded based on the data packet.

[0081] In one optional implementation, the integrity of the data packet is verified. Verifying the integrity of the data packet can be achieved by performing a function operation on the binary upgrade data using a preset verification function to obtain information to be verified; comparing the information to be verified with a checksum; if the information to be verified and the checksum match, sending a data packet to the device to be upgraded; if the information to be verified and the checksum do not match, stopping data transmission to the device to be upgraded. The integrity of the data packet is verified based on the checksum and binary upgrade data obtained from the parsing, and if the data packet fails the integrity verification, the upgrade is stopped and an upgrade failure message is sent to the cloud platform.

[0082] Based on the checksum and binary upgrade data in the parsed data packet, integrity verification is performed using preset verification algorithms, such as CRC32, MD5, and SHA-1. If the data packet fails the integrity verification, the upgrade is stopped and an upgrade failure message is sent to the cloud platform.

[0083] Specifically, the checksum can be obtained by inputting a checksum function f(x) into the binary upgrade data packet. After receiving the upgrade data packet, the primary device uses the checksum function f(x) to obtain the information to be verified. Then, it compares the received checksum with the calculated information to determine the integrity of the binary upgrade data packet. Software upgrades for energy storage devices can only be performed if the upgrade data packet is complete; otherwise, the energy storage system may malfunction after the software update.

[0084] In one alternative implementation, each primary device, each secondary device, and each tertiary device performs a data packet integrity check before receiving the data packet.

[0085] Specifically, each level 1, level 2, and level 3 device performs a data packet integrity check before receiving the data packet. If the check fails, the software upgrade is terminated and an upgrade failure message is sent to the cloud platform.

[0086] The technical solution of this embodiment determines whether the current device needs an upgrade; if so, it determines whether the current operating condition of the energy storage system is in a valley period; if so, it stops the charging and discharging operation of the energy storage system and sends an upgrade request to the cloud platform; wherein the operating condition includes peak period, flat period, and valley period. It receives data packets sent by the cloud platform to the energy storage system based on the upgrade request; parses the data packets to obtain the start code, binary upgrade data, discontinuity code, check code, address code of the device to be upgraded, and end code of the data packets; sends data packets to the devices to be upgraded that have address codes; and upgrades the devices to be upgraded according to the data packets; wherein the energy storage system includes multiple devices to be upgraded, each device to be upgraded has an address code, and any two devices to be upgraded have different address codes. The technical solution of this embodiment solves the current problem of not being able to remotely upgrade energy storage devices, enabling remote software upgrades of various devices in the energy storage system, improving the efficiency and convenience of software upgrades, reducing labor costs, and ensuring the stability of the upgrade process and equipment safety by determining whether to send an upgrade request and stop operation based on the operating condition, while minimizing losses due to charging and discharging stoppages.

[0087] In a specific example of an energy storage system upgrade, the energy storage system upgrade diagram can be as follows: Figure 5 As shown, the energy storage system includes an EMS, PCS, BCU, BMU, switch, serial server, electricity meter, air conditioner, and water immersion sensor. The cloud platform communicates with the local EMS of the energy storage system via the MQTT protocol, transmitting data packets and software upgrade packages. The EMS receives the software upgrade package from the cloud platform and forwards it to the PCS, BCU, and serial server via the switch, relying on LAN communication. The PCS, BCU, and serial server need to be configured with different IP addresses to upgrade them. Software upgrades for the electricity meter, air conditioner, and water immersion sensor require configuring different ports on the serial server for RS-485 communication. The software upgrade is then transmitted to these devices via RS-485, thus upgrading these three devices as well. Software upgrades for the BMU (Battery Unit Module) require the BCU to transmit the software upgrade package to the BMU via CAN, thereby upgrading the BMU's software.

[0088] like Figure 6 The diagram illustrates the scenario where multiple energy storage systems use a single EMS, meaning that multiple energy storage systems are associated with the same EMS. In this case, an additional switch is needed to forward information.

[0089] like Figure 7As shown, when the cloud platform determines that a remote software upgrade is needed based on the controller, it loads the software upgrade package and then performs the upgrade. The status can be viewed during and after the upgrade process, including start upgrade, upgrade in progress, upgrade successful, and upgrade failed. It can monitor each energy storage device during the upgrade process.

[0090] like Figure 8 As shown, the upgrade process for Level 1 equipment is as follows: After the cloud platform detects an upgrade request, it first checks the integrity of the data packet. If the data is complete, the cloud platform sends the data packet to the EMS via 4G. The EMS receives the data packet from the cloud platform locally in the energy storage system cabinet via 4G. After receiving the data packet, the EMS first checks the integrity of the data packet. After identifying that the data packet is complete, it reads the address of the target energy storage device. If the address is the address of the Level 1 device, the backup area upgrade data packet is loaded. After successful loading, the running storage area software is replaced.

[0091] like Figure 9 As shown, the upgrade process for secondary devices is as follows: After the cloud platform detects an upgrade request, it first checks the integrity of the data packet. If the data is complete, the cloud platform sends the data packet to the EMS via 4G. The EMS receives the data packet from the cloud platform locally in the energy storage system cabinet via 4G. After receiving the data packet, the EMS first checks the integrity of the data packet. After identifying that the data packet is complete, it reads the address of the target energy storage device and obtains the address of the secondary device (PCS, BCU, electricity meter, air conditioner, water immersion). The EMS sends the data packet to the corresponding secondary device via communication. After receiving the data packet, the secondary device also needs to check the integrity of the data. If the data packet is complete, the secondary device loads the backup area upgrade data packet. After successful loading, it replaces the running storage area software.

[0092] like Figure 10 As shown, the upgrade process for the three energy storage devices is as follows: After the cloud platform detects an upgrade request, it first checks the integrity of the data packet. If the data is complete, the cloud platform sends the data packet to the EMS via 4G. The EMS receives the data packet from the cloud platform locally in the energy storage system cabinet via 4G. After receiving the data packet, the EMS first checks the integrity of the data packet. After identifying that the data packet is complete, it reads the address of the target energy storage device and obtains that the address is the address of the third-level device (BMU). The EMS sends the data packet to the corresponding second-level device (BCU) via communication. After receiving the data packet, the second-level device also needs to check the integrity of the data. If the data packet is complete, the second-level device sends the data packet to the third-level device. After receiving the data packet, the third-level device first checks the integrity of the data packet. If the data packet integrity is normal, the third-level device loads the backup area upgrade data packet. After successful loading, it replaces the running storage area software.

[0093] Figure 11 This is a schematic diagram of the structure of an energy storage system upgrade device provided in an embodiment of the present invention. This embodiment is applicable to scenarios involving energy storage system upgrades. The device can be implemented in software and / or hardware and integrated into a computer device.

[0094] like Figure 11 As shown, the upgrade device for the energy storage system includes: a data packet acquisition module 310, an address code acquisition module 320, a data packet distribution module 330, and an upgrade module 340.

[0095] The system includes a data packet acquisition module 310, which sends an upgrade request to the cloud platform and receives data packets sent by the cloud platform to the energy storage system based on the upgrade request; an address code acquisition module 320, which parses the data packets to obtain the address codes of the devices to be upgraded; a data packet distribution module 330, which distributes data packets to the devices to be upgraded that have address codes; and an upgrade module 340, which upgrades the devices to be upgraded according to the data packets. The energy storage system includes multiple devices to be upgraded, each device having an address code, and the address codes of any two devices to be upgraded are different.

[0096] The technical solution of this invention involves sending an upgrade request to a cloud platform and receiving data packets sent by the cloud platform to the energy storage system based on the upgrade request; parsing the data packets to obtain the address codes of the devices to be upgraded; sending data packets to the devices with the address codes; and upgrading the devices according to the data packets. The energy storage system includes multiple devices to be upgraded, each with a unique address code, and the address codes of any two devices are different. This technical solution solves the current problem of the inability to remotely upgrade energy storage devices, enabling remote software upgrades for each device in the energy storage system, improving the efficiency and convenience of software upgrades, and reducing labor costs.

[0097] In one alternative implementation, the address code is of type Internet Protocol (IP) address.

[0098] In one optional implementation, the data packet acquisition module 310 is specifically used for:

[0099] Determine if the current equipment needs an upgrade; if so, determine if the energy storage system is currently in a valley period; if so, stop the charging and discharging of the energy storage system and send an upgrade request to the cloud platform; the operating conditions include peak, flat and valley periods.

[0100] In one optional implementation, the address code acquisition module 320 is specifically used for:

[0101] Parse the data packet to obtain the start code, binary upgrade data, discontinuity code, checksum, address code of the device to be upgraded, and end code.

[0102] In one alternative embodiment, the apparatus further includes:

[0103] The data packet verification module is used to verify the integrity of data packets;

[0104] The data packet verification module is specifically used for:

[0105] The binary upgrade data is processed by a preset verification function to obtain the information to be verified; the information to be verified is compared with the verification code; if the information to be verified and the verification code match, a data packet is sent to the device to be upgraded; if the information to be verified and the verification code do not match, data transmission to the device to be upgraded is stopped.

[0106] In one optional implementation, the device to be upgraded includes a Level 1 device, a Level 2 device, and a Level 3 device. The Level 1 device connects to one or more Level 2 devices, and each Level 2 device connects to one or more Level 3 devices. The data packet delivery module 330 is specifically used for:

[0107] The upgrade method determines the level of the device to be upgraded and sends data packets to the device level by level. According to the upgrade method, the step of sending data packets to the device level by level includes: if the device to be upgraded is a Level 1 device, then sending data packets to the device to be upgraded; if the device to be upgraded is a Level 2 device, then sending data packets to the corresponding Level 1 device, which in turn sends data packets to the device to be upgraded; if the device to be upgraded is a Level 3 device, then the data packets are transmitted sequentially through the corresponding Level 1 device and the corresponding Level 2 device, which in turn sends data packets to the device to be upgraded.

[0108] In one alternative implementation, each primary device, each secondary device, and each tertiary device performs a data packet integrity check before receiving the data packet.

[0109] In an optional implementation, the data packet delivery module 330 is further configured to:

[0110] Load the data package into the backup area of ​​the controller of the device to be upgraded; determine whether the data package loading was successful; if so, replace the original software in the controller's storage area.

[0111] The energy storage system upgrade device provided in the embodiments of the present invention can execute the energy storage system upgrade method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method.

[0112] Figure 12 This is a schematic diagram of an energy storage system provided in an embodiment of the present invention.

[0113] like Figure 12As shown, the energy storage system includes an energy storage system with an upgradeable device 410. The energy storage system can upgrade the upgradeable device according to the energy storage system upgrade method provided in any embodiment of the present invention.

[0114] The technical solution of this invention involves sending an upgrade request to a cloud platform and receiving data packets sent by the cloud platform to the energy storage system based on the upgrade request; parsing the data packets to obtain the address codes of the devices to be upgraded; sending data packets to the devices with the address codes; and upgrading the devices according to the data packets. The energy storage system includes multiple devices to be upgraded, each with a unique address code, and the address codes of any two devices are different. This technical solution solves the current problem of the inability to remotely upgrade energy storage devices, enabling remote software upgrades for each device in the energy storage system, improving the efficiency and convenience of software upgrades, and reducing labor costs.

[0115] Figure 13 A schematic diagram of an electronic device 10, which can be used to implement embodiments of the present invention, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, 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 invention described and / or claimed herein.

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

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

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

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

[0120] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0121] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0122] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A 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 thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0123] 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 pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).

[0124] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0125] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship 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 cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0126] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0127] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements an energy storage system upgrade method as provided in any embodiment of this application.

[0128] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0129] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0130] The specific embodiments described above do not constitute a limitation on the scope of protection of this 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 this invention should be included within the scope of protection of this invention.

Claims

1. A method for upgrading an energy storage system, characterized in that, include: Send an upgrade request to the cloud platform and receive data packets sent by the cloud platform to the energy storage system based on the upgrade request; The address code of the device to be upgraded is obtained by parsing the data packet; The data packet is sent to the device to be upgraded that has the address code; The device to be upgraded is upgraded according to the data packet; The energy storage system includes multiple devices to be upgraded, each device having an address code, and the address codes of any two devices to be upgraded are different.

2. The upgrade method according to claim 1, characterized in that, The address code is of the Internet Protocol (IP) address type.

3. The upgrade method according to claim 1, characterized in that, Sending the upgrade request to the cloud platform includes: Determine if the current device needs an upgrade; If so, determine whether the current operating condition of the energy storage system is in a valley period; If so, then stop the charging and discharging of the energy storage system and send an upgrade request to the cloud platform; The operating conditions include peak periods, flat periods, and valley periods.

4. The upgrade method according to claim 1, characterized in that, The step of parsing the data packet to obtain the address code of the device to be upgraded in the data packet includes: Parse the data packet to obtain the start code, binary upgrade data, discontinuity code, checksum, address code of the device to be upgraded, and end code of the data packet.

5. The upgrade method according to claim 4, characterized in that, The upgrade method further includes: verifying the integrity of the data packet; The verification of the integrity of the data packet includes: The binary upgrade data is processed by a preset verification function to obtain the information to be verified. Compare the information to be verified with the verification code; In response to the match between the information to be verified and the verification code, the data packet is sent to the device to be upgraded; In response to the discrepancy between the information to be verified and the verification code, data transmission to the device to be upgraded is stopped.

6. The upgrade method according to claim 1, characterized in that, The equipment to be upgraded includes a level 1 device, a level 2 device, and a level 3 device. The level 1 device is connected to one or more level 2 devices, and each level 2 device is connected to one or more level 3 devices. Sending the data packet to the device to be upgraded that has the address code includes: Determine the level of the device to be upgraded and send the data packet down to the device to be upgraded level by level.

7. The upgrade method according to claim 6, characterized in that, The step of sending the data packet down to the device to be upgraded includes: If the device to be upgraded is a Level 1 device, then the data packet is sent to the device to be upgraded; If the device to be upgraded is a secondary device, the data packet is sent to the primary device corresponding to the device to be upgraded, and the primary device then sends the data packet to the device to be upgraded. If the device to be upgraded is a Level 3 device, the data packet is transmitted sequentially through the corresponding Level 1 device and the corresponding Level 2 device, and then the corresponding Level 2 device sends the data packet to the device to be upgraded.

8. The upgrade method according to claim 6 or 7, characterized in that, Before receiving the data packet, each of the first-level devices, second-level devices, and third-level devices performs a verification of the data packet's integrity.

9. The upgrade method according to claim 1, characterized in that, Sending the data packet to the device to be upgraded that has the address code includes: The data packet is loaded into the backup area of ​​the controller of the device to be upgraded; Determine whether the data packet was loaded successfully; If so, replace the original software in the controller's storage area.

10. An energy storage system, characterized in that, The energy storage system includes a device to be upgraded, and the energy storage system is capable of upgrading the device to be upgraded according to the energy storage system upgrade method as described in any one of claims 1-9.