Firmware upgrading method and system of energy storage system, electronic equipment and storage medium
By obtaining and analyzing the energy storage communication network information, determining the target upgrade equipment, and allocating the equipment upgrade data, the problem of low firmware upgrade efficiency of the energy storage system is solved, and a more efficient firmware upgrade process is achieved.
Patent Information
- Application Number
- CN202411527844.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, the firmware upgrade efficiency of energy storage systems is low, especially when a large number of equipment is available, the traditional CAN or RS485 bus upgrade method consumes time and effort.
By obtaining the upgraded equipment address data, equipment upgrade data and energy storage communication network information, the target upgrade equipment is determined, and the equipment upgrade data is allocated to the target upgrade equipment to achieve firmware upgrade.
It improves the firmware upgrade efficiency of the energy storage system, can upgrade firmware to a large number of devices more quickly and efficiently, and reduces time and resource consumption during the upgrade process.
Smart Images

Figure CN119473351A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy storage technology, and in particular to a firmware upgrade method, system, electronic device and storage medium for an energy storage system. Background Art
[0002] There are many firmware devices under the battery management system of the energy storage container, including the battery stack management unit, battery cluster management unit, energy storage management unit and other peripheral management units. In the prior art, the devices to be upgraded are usually connected through CAN or RS485 bus, so that each device to be upgraded is upgraded separately. This upgrade method is time-consuming and labor-intensive. Therefore, how to perform more efficient firmware upgrades for energy storage systems with a large number of devices has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to propose a firmware upgrade method, system, electronic device and storage medium for an energy storage system, aiming to improve the firmware upgrade efficiency of an energy storage system with a large number of devices.
[0004] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a firmware upgrade method for an energy storage system, which is applied to an energy storage management unit of the energy storage system, wherein the energy storage system includes a first number of energy storage devices, and the method includes:
[0005] Acquire upgrade device address data, device upgrade data and energy storage communication network information; wherein the energy storage communication network information is used to provide communication between the energy storage management unit and the first number of energy storage devices;
[0006] According to the upgrade device address data, determine the target upgrade device from each of the energy storage devices corresponding to the energy storage communication network information;
[0007] The device upgrade data is distributed to the target upgrade device to perform firmware upgrade on the target upgrade device.
[0008] In some embodiments, the energy storage communication network information further includes device type information of the energy storage device, the device upgrade data includes candidate upgrade data of the energy storage device corresponding to different device type information, and the device upgrade data is distributed to the target upgrade device to perform firmware upgrade on the target upgrade device, including:
[0009] Based on the device type information of the energy storage communication network information, determine the device type information of each target upgrade device to obtain target type information;
[0010] Determine an adapted data transmission mode based on the target type information to obtain a target transmission mode;
[0011] Determine adapted target upgrade data from a plurality of candidate upgrade data in the device upgrade data based on the target type information;
[0012] The target upgrade data is data transmitted according to the target transmission mode, so that the target upgrade device obtains the target upgrade data.
[0013] In some embodiments, the energy storage communication network information further includes a plurality of network communication paths, and the data transmission of the target upgrade data according to the target transmission mode so that the target upgrade device obtains the target upgrade data includes:
[0014] Determining a target communication address of each of the target upgrade devices based on the upgrade device address data;
[0015] Determine the shortest path from the plurality of network communication paths based on the target communication address to obtain the target communication path;
[0016] The target upgrade data is transmitted via the target communication path according to the target transmission mode, so that the target upgrade device obtains the target upgrade data.
[0017] In some embodiments, each of the network communication paths includes at least two network communication nodes, the network communication node in the network communication path that is used to manage another network communication node is a network management node, and the network communication node in the energy storage communication network information that cannot manage other network communication nodes is a network end node, and the device upgrade data is distributed to the target upgrade device to perform a firmware upgrade on the target upgrade device, including:
[0018] Distribute the device upgrade data to the target upgrade device, determine the network end node in the target upgrade device as the first upgrade device, and determine the network management node in the target upgrade device as the second upgrade device based on the energy storage communication network information;
[0019] The first upgrading device performs a firmware upgrade based on the device upgrading data and obtains corresponding first upgrading information;
[0020] The network management node obtains the first upgrade information, and the second upgrade device performs firmware upgrade based on the first upgrade information reflecting that each of the first upgrade devices has completed firmware upgrade.
[0021] In some embodiments, the second upgrade device obtains corresponding second upgrade information after performing a firmware upgrade, and after allocating the device upgrade data to the target upgrade device to perform a firmware upgrade on the target upgrade device, the method further includes:
[0022] Based on the energy storage communication network information, the first upgrade information and the second upgrade information are transmitted to the energy storage management unit for firmware version analysis to obtain firmware version information;
[0023] The energy storage management unit performs a functional test on the first upgrade device and the second upgrade device to obtain functional test information;
[0024] The function test information and the firmware version information are sent to a control terminal to generate a firmware upgrade report.
[0025] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application proposes a firmware upgrade method for an energy storage system, which is applied to generate the upgrade device address data and the device upgrade data at a control terminal, and the method includes:
[0026] Acquire equipment upgrade requirement information, equipment upgrade data and energy storage communication network information; wherein the energy storage communication network information includes the network communication address of each energy storage device in the energy storage device;
[0027] Determine the device to be upgraded according to the device upgrade requirement information;
[0028] Determine the network communication address corresponding to the device to be upgraded according to the energy storage communication network information, and obtain the upgrade device address data;
[0029] The upgrade device address data and the device upgrade data are transmitted to the energy storage management unit of the energy storage system.
[0030] In some embodiments, before acquiring the device upgrade requirement information, the device upgrade data and the pre-configured network topology information, the method further includes:
[0031] Obtaining operating status information of the energy storage system;
[0032] In response to the operating status information reflecting that the energy storage system meets a preset device upgrade condition, a device upgrade signal is sent to the energy storage system to enable each energy storage device of the energy storage system to enter a device upgrade state.
[0033] To achieve the above-mentioned purpose, a third aspect of an embodiment of the present application provides a firmware upgrade system for an energy storage system, the system comprising:
[0034] A control terminal, used to generate upgrade device address data and device upgrade data;
[0035] The energy storage management unit is used to perform firmware upgrade on the energy storage system, including a data acquisition module, an address matching module and a device upgrade module, specifically including:
[0036] The data acquisition module is used to acquire the upgrade device address data, the device upgrade data and the energy storage communication network information; wherein the energy storage communication network information is used to provide communication between the energy storage management unit and the first number of the energy storage devices;
[0037] The address matching module is used to determine the target upgrade device from each of the energy storage devices corresponding to the energy storage communication network information according to the upgrade device address data;
[0038] The device upgrade module is used to distribute the device upgrade data to the target upgrade device to perform firmware upgrade on the target upgrade device.
[0039] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the firmware upgrade method of the energy storage system described in the first aspect when executing the computer program.
[0040] To achieve the above objectives, the fifth aspect of an embodiment of the present application proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the firmware upgrade method of the energy storage system described in the first aspect above.
[0041] The firmware upgrade method, system, electronic device and storage medium of the energy storage system proposed in the present application obtain the upgrade device address data, device upgrade data and energy storage communication network information, and determine the target upgrade device from each energy storage device corresponding to the energy storage communication network information according to the upgrade device address data, and then distribute the device upgrade data to the target upgrade device to perform firmware upgrade on the target upgrade device. Therefore, the present application determines the connection relationship between the energy storage management unit and each energy storage device by collecting and analyzing the energy storage communication network information, and identifies the target upgrade device that needs to be upgraded through this connection relationship and the upgrade device address data, and then distributes the device upgrade data to the target upgrade device, so as to perform more efficient firmware upgrade on energy storage systems with a large number of devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 is a flowchart of a firmware upgrade method for an energy storage system provided in an embodiment of the present application;
[0043] Figure 2 yes Figure 1Flow chart of step S103 in FIG.
[0044] Figure 3 yes Figure 2 Flow chart of step S204 in FIG.
[0045] Figure 4 yes Figure 1 Another flow chart of step S103 in FIG. 1 ;
[0046] Figure 5 yes Figure 1 The flowchart after step S103 in FIG.
[0047] Figure 6 is another flow chart of the firmware upgrade method of the energy storage system provided in an embodiment of the present application;
[0048] Figure 7 yes Figure 6 The flowchart before step S601 in FIG.
[0049] Figure 8 It is a schematic diagram of a network topology structure for describing energy storage communication network information provided by an embodiment of the present application;
[0050] Fig. 9 It is a structural diagram of a firmware upgrade system for an energy storage system provided in an embodiment of the present application;
[0051] Fig.10 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] It should be noted that, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0055] The embodiments of the present application provide a method, system, electronic device and storage medium for upgrading the firmware of an energy storage system, aiming to improve the efficiency of upgrading the firmware of an energy storage system having a large number of devices.
[0056] The firmware upgrade method, system, electronic device and storage medium of the energy storage system provided in the embodiments of the present application are specifically described through the following embodiments. First, the firmware upgrade method of the energy storage system in the embodiments of the present application is described.
[0057] The firmware upgrade method for the energy storage system provided in the embodiment of the present application relates to the field of energy storage technology. The firmware upgrade method for the energy storage system provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the firmware upgrade method for the energy storage system, etc., but is not limited to the above forms.
[0058] Figure 1 is an optional flowchart of the firmware upgrade method of the energy storage system provided in the embodiment of the present application. Figure 1 The method is applied to an energy storage management unit of an energy storage system, where the energy storage system includes a first number of energy storage devices, and may include but is not limited to steps S101 to S103.
[0059] Step S101, acquiring upgrade device address data, device upgrade data and energy storage communication network information; wherein the energy storage communication network information is used to provide communication between the energy storage management unit and a first number of energy storage devices;
[0060] Step S102, determining a target upgrade device from each energy storage device corresponding to the energy storage communication network information according to the upgrade device address data;
[0061] Step S103: distribute the device upgrade data to the target upgrade device to perform firmware upgrade on the target upgrade device.
[0062] Steps S101 to S103 shown in the embodiment of the present application obtain the upgrade device address data, device upgrade data and energy storage communication network information, and determine the target upgrade device from each energy storage device corresponding to the energy storage communication network information according to the upgrade device address data, and then distribute the device upgrade data to the target upgrade device to perform firmware upgrade on the target upgrade device. Therefore, the present application determines the connection relationship between the energy storage management unit and each energy storage device by collecting and analyzing the energy storage communication network information, and identifies the target upgrade device that needs to be upgraded through this connection relationship and the upgrade device address data, and then distributes the device upgrade data to the target upgrade device, so as to perform more efficient firmware upgrades on energy storage systems with a large number of devices.
[0063] In step S101 of some embodiments, the upgrade device address data, device upgrade data and energy storage communication network information are obtained. The upgrade device address data refers to the address information of each energy storage device that needs to be upgraded. In other embodiments, the upgrade device address data can also be replaced by the serial number, IP address or other unique identifier of the energy storage device. The device upgrade data includes the data required for the energy storage device upgrade, which can be in the form of an upgrade package file or a data stream.
[0064] The energy storage communication network information provides the relationship information for communication between the energy storage management unit and all energy storage devices. In some embodiments, the energy storage communication network information can provide information in the form of a network topology diagram, thereby providing information such as the topology structure, communication protocol and path between each energy storage device in the energy storage system. For example, if the energy storage system uses a CAN or RS485 bus for communication, the energy storage communication network information will include the configuration and connection details of these buses. The energy storage communication network information can reflect the structural information and communication relationship of an energy storage system with a large number of energy storage devices, so that energy storage devices that need to be upgraded can be found and managed more accurately.
[0065] In step S102 of some embodiments, the upgrade device address data is used to determine the energy storage device that matches the upgrade device address data from the communication relationship provided by the energy storage communication network information to obtain the target upgrade device.
[0066] In some embodiments, the energy storage communication network information provides a network topology diagram that records the connection methods and corresponding logical positions of all energy storage devices. The network path of each energy storage device can be determined by comparing the upgrade device address data and the network topology information, so that the energy storage device with matching address information can be used as the target upgrade device.
[0067] In step S103 of some embodiments, after determining the target upgrade device, data required for the target upgrade device to perform firmware upgrade, i.e., device upgrade data, is distributed to the target upgrade device. The device upgrade data can be transmitted to the target upgrade device through a communication line based on the connection mode of the energy storage device provided by the energy storage communication network information.
[0068] In some embodiments, encryption technology may be used to protect device upgrade data to avoid errors or losses in the transmission of device upgrade data.
[0069] See also Figure 2 In some embodiments, the energy storage communication network information further includes device type information of the energy storage device, and the device upgrade data includes candidate upgrade data of energy storage devices corresponding to different device type information. Step S103 may include but is not limited to steps S201 to S204:
[0070] Step S201, based on the device type information of the energy storage communication network information, determine the device type information of each target upgrade device to obtain the target type information;
[0071] Step S202, determining an adapted data transmission mode based on the target type information to obtain a target transmission mode;
[0072] Step S203, determining adapted target upgrade data from a plurality of candidate upgrade data in the device upgrade data based on the target type information;
[0073] Step S204, transmitting the target upgrade data according to the target transmission mode, so that the target upgrade device obtains the target upgrade data.
[0074] In step S201 of some embodiments, the target type information of the target upgrade device can be determined through the device type information of the energy storage device in the energy storage communication network information, so that an adaptive operation can be performed according to the target type information of the target upgrade device.
[0075] In step S202 of some embodiments, an adapted data transmission mode is determined based on the target type information of the target upgrade device to obtain a target transmission mode. Different devices may support different communication protocols and data transmission rates, so selecting the most appropriate target transmission mode is critical to ensure that data is accurately and efficiently transmitted to the target device.
[0076] In step S203 of some embodiments, adapted target upgrade data is determined from multiple candidate upgrade data in the device upgrade data based on the target type information of the target upgrade device. Since energy storage devices with different device type information require different upgrade data, it is necessary to determine target upgrade data that matches the target type information from the device upgrade data.
[0077] In step S204 of some embodiments, the target upgrade data is transmitted to the target upgrade device based on the determined target transmission mode. It is understandable that the energy storage system includes a large number of energy storage devices, and different types of energy storage devices have different data communication modes. For example, for some single-chip type energy storage devices, the target upgrade data needs to be transmitted by means of messages, while other energy storage devices can communicate by transmitting files such as compressed packages due to their more complete systems, so as to be upgraded.
[0078] Through steps S201 to S204, the target type information of the target upgrade device can be identified, and the adapted target upgrade data and target transmission method can be selected according to the characteristics and requirements of different types of devices, thereby improving the flexibility and compatibility of the firmware upgrade, and being able to adapt to the transmission of device upgrade data for different devices in an energy storage system with a large number of energy storage devices, thereby reducing the problems that may occur during the upgrade process to a certain extent and enhancing the reliability of the upgrade process. This refined upgrade management is crucial to maintaining the overall performance and stability of the energy storage system.
[0079] See also Figure 3 In some embodiments, the energy storage communication network information further includes multiple network communication paths, and step S204 may include but is not limited to steps S301 to S303:
[0080] Step S301, determining the target communication address of each target upgrade device based on the upgrade device address data;
[0081] Step S302, determining the shortest path from multiple network communication paths based on the target communication address to obtain the target communication path;
[0082] Step S303, transmitting the target upgrade data through the target communication path according to the target transmission mode, so that the target upgrade device obtains the target upgrade data;
[0083] In step S301 of some embodiments, the address information is compared with the energy storage communication network information through the upgrade device address data, so as to determine the target communication address of each target upgrade device in the upgrade device address data.
[0084] In step S302 of some embodiments, for each target communication address, the shortest communication path is determined from the network communication paths in the energy storage communication network information to obtain the target communication path. Selecting the shortest path can reduce data transmission delays, improve transmission efficiency, and may reduce the risk of communication errors caused by too long communication paths. This step may involve a path calculation algorithm, such as the Dijkstra algorithm or the Bellman-Ford algorithm, to calculate the shortest path from the target address.
[0085] In step S303 of some embodiments, the target upgrade data is transmitted to the target upgrade device according to the previously determined target transmission mode and target communication path.
[0086] Through steps S301 to S303, the most appropriate communication path can be selected for each target upgrade device to ensure that the upgrade data can be efficiently and safely transmitted to the target device. By optimizing the communication path, the system can reduce network congestion, improve the communication efficiency of the entire energy storage system, and improve the efficiency of the upgrade process.
[0087] See also Figure 4 In some embodiments, each network communication path includes at least two network communication nodes, a network communication node in the network communication path for managing another network communication node is a network management node, and a network communication node in the energy storage communication network information that cannot manage other network communication nodes is a network end node. Step S103 may include but is not limited to steps S401 to S403:
[0088] Step S401, distributing device upgrade data to a target upgrade device, determining a network end node in the target upgrade device as a first upgrade device, and determining a network management node in the target upgrade device as a second upgrade device based on energy storage communication network information;
[0089] Step S402: The first upgrading device performs a firmware upgrade based on the device upgrading data and obtains corresponding first upgrading information;
[0090] Step S403, the network management node obtains the first upgrade information, and the second upgrade device performs the firmware upgrade based on the first upgrade information reflecting that the firmware upgrade of each first upgrade device has been completed;
[0091] In step S401 of some embodiments, after the device upgrade data is distributed to each target upgrade device, that is, after each energy storage device to be upgraded in the energy storage system has received the device upgrade data, according to the energy storage communication network information, the energy storage device belonging to the network end node type among the target upgrade devices is used as the first upgrade device, and the energy storage device belonging to the network management node type is used as the second upgrade device.
[0092] In step S402 of some embodiments, the energy storage device that meets the network end node type, ie, the first upgrade device, is upgraded first to obtain corresponding first upgrade information. The first upgrade information is used to record the upgrade result and version information of the first upgrade device.
[0093] In step S403 of some embodiments, the network management node that manages the first upgrade device can obtain the first upgrade information, and when all the first upgrade devices have completed the firmware upgrade, the second upgrade device will perform the firmware upgrade. This is because in the energy storage system, when the energy storage device performs the firmware upgrade, error information may appear in the energy storage communication network information, especially when the first upgrade device and the second upgrade device are upgraded at the same time, the second upgrade device may lose the first upgrade information after the first upgrade device is upgraded, and cannot record the firmware upgrade status of the first upgrade device. It is also possible that after the update, the network management node regards the network end node after the firmware upgrade as a new network end node and loses the original connection relationship with the network end node. Therefore, in order to ensure that the energy storage device corresponding to the network end node is performing the firmware upgrade, the network management node can monitor the status changes of the network end node, reduce the compatibility problems that may occur during the upgrade process, and the first upgrade device is upgraded first, and after the first upgrade device completes the firmware upgrade, the second upgrade device performs the firmware upgrade.
[0094] In some embodiments, there is also an upper-layer energy storage device that manages the second upgrade device. With the same idea as the firmware upgrade in step S403, after the second upgrade device completes the firmware upgrade, the upper-layer energy storage device performs the firmware upgrade. Similarly, if there is an upper-layer energy storage device and a corresponding management device, the firmware upgrade is performed after the upper-layer energy storage device completes the firmware upgrade.
[0095] In other embodiments, the energy storage units may be upgraded in batches, and special identification information may be set on the same type of energy storage devices that are upgraded in the same batch, such as identifying the name of the energy storage device or other identity information, such as identifying the network communication address of the energy storage device, and identifying these energy storage devices in the energy storage communication network information, so that the energy storage management unit can process these energy storage devices in batches when determining the target upgrade device and transmitting the device upgrade data, so that they can perform firmware upgrades as the first upgrade device or as the second upgrade device at the same time, thereby improving the efficiency of the firmware upgrade.
[0096] Through step S401 to step S403, through this phased upgrade strategy, the energy storage system can ensure the order and coordination of the firmware upgrade, thereby improving the upgrade efficiency and success rate of the entire energy storage system. This approach helps to reduce possible service interruptions during the upgrade process. By transmitting upgrade information between the network management node and the network end node, the energy storage system can better monitor and record the entire upgrade process, thereby providing more debugging information when problems arise. This meticulous upgrade management is essential to ensuring the stability and reliability of the energy storage system.
[0097] See also Figure 5 In some embodiments, after the second upgrade device performs the firmware upgrade, it will obtain the corresponding second upgrade information. After step S103, it may include but is not limited to steps S501 to S503:
[0098] Step S501, based on the energy storage communication network information, transmitting the first upgrade information and the second upgrade information to the energy storage management unit for firmware version analysis to obtain firmware version information;
[0099] Step S502, the energy storage management unit performs a function test on the first upgrade device and the second upgrade device to obtain function test information;
[0100] Step S503, sending the function test information and the firmware version information to the control terminal to generate a firmware upgrade report.
[0101] In step S501 of some embodiments, the first upgrade information and the second upgrade information are transmitted back to the energy storage management unit using the energy storage communication network information. The second upgrade information is used to record the upgrade result and version information of the second upgrade device. In the energy storage management unit, the first upgrade information and the second upgrade information are used to perform firmware version analysis to determine whether the upgraded firmware version of the target upgrade device is correct.
[0102] In step S502 of some embodiments, the energy storage management unit performs functional testing on the first upgraded device and the second upgraded device. The collection of functional test information is to verify whether the upgraded energy storage device can work normally and whether new errors or problems are introduced. Functional testing can include a series of automated tests that cover the main functions and performance indicators of the energy storage device.
[0103] In step S503 of some embodiments, the functional test information and the firmware version information will be sent to the control terminal. The control terminal will use this information to generate a firmware upgrade report, which records the key information of the entire upgrade process, including the upgrade status, firmware version and functional test results of each energy storage device. This helps the user to make further decisions, such as which energy storage devices need to be rolled back or which energy storage devices need to be upgraded again.
[0104] Through steps S501 to S503, not only the correctness of the upgrade operation is ensured, but also a comprehensive verification of the upgrade effect is provided, and report information is provided, thereby improving the transparency of the upgrade process, ensuring the stability and reliability of the system, and providing valuable experience and data support for future upgrade operations.
[0105] See also Figure 6 , is another optional flow chart of the method for upgrading the firmware of the energy storage system provided in the embodiment of the present application, which is applied to the control terminal to generate the upgrading device address data and the device upgrading data. In some embodiments, it may include but is not limited to steps S601 to S604:
[0106] Step S601, obtaining device upgrade requirement information, device upgrade data and energy storage communication network information; wherein the energy storage communication network information includes the network communication address of each energy storage device in the energy storage device;
[0107] Step S602, determining the device to be upgraded according to the device upgrade requirement information;
[0108] Step S603, determining the network communication address of the device to be upgraded according to the energy storage communication network information, and obtaining the upgraded device address data;
[0109] Step S604: Transmit the upgrade device address data and the device upgrade data to the energy storage management unit of the energy storage system.
[0110] In step S601 of some embodiments, the user can establish a remote wireless connection with the energy storage system through the control terminal, and obtain the energy storage communication network information through the energy storage management unit of the energy storage system, or the user can collect it through other means and input it into the control terminal. Obtain device upgrade requirement information and device upgrade data. The device upgrade requirement information indicates which energy storage devices need to be upgraded. The user can obtain the device upgrade requirement information by collecting and analyzing information such as the device model, current firmware version, and necessary firmware patch level of the energy storage device in the energy storage system. The device upgrade data contains the data required for the energy storage device upgrade, which can be in the form of an upgrade package file or a data stream.
[0111] In steps S602 to S604 of some embodiments, the control terminal determines the device to be upgraded according to the device upgrade requirement information, and then determines the network communication address of the device to be upgraded in the energy storage system through the energy storage communication network information, and obtains the upgrade device address data, which is used to guide the energy storage management unit in the energy storage system to determine the target upgrade device according to the upgrade device address data. Finally, the upgrade device address data and the device upgrade data are transmitted to the energy storage management unit of the energy storage system. Data encryption technology can be used during transmission to minimize errors in the data transmission process.
[0112] Through steps S601 to S604, the control terminal can obtain the energy storage communication network information in the energy storage system by means of remote communication, and determine the device to be upgraded, and provide the necessary upgrade device address data and device upgrade data for the firmware upgrade of the energy storage system, thereby ensuring the accurate matching of the device upgrade data and the target upgrade device, providing the necessary data and guidance for the successful execution of the upgrade operation, improving the efficiency and accuracy of the upgrade process, reducing potential errors and risks, and thus ensuring the stability and reliability of the energy storage system.
[0113] See also Figure 7 In some embodiments, the steps before step S601 may include but are not limited to steps S701 to S702:
[0114] Step S701, obtaining operating status information of the energy storage system;
[0115] Step S702 , in response to the operating status information reflecting that the energy storage system meets a preset device upgrade condition, a device upgrade signal is sent to the energy storage system to enable each energy storage device of the energy storage system to enter a device upgrade state.
[0116] In step S701 of some embodiments, before the firmware upgrade process, the control terminal needs to ensure that the energy storage system is in a state suitable for upgrading. Obtain the operating status information of the energy storage system. This information may include key parameters such as the battery power of the energy storage system, system load, device temperature, and network connection status. By analyzing this operating status information, the control terminal can evaluate whether the energy storage system is in a stable and safe state, thereby determining whether it is appropriate to perform a firmware upgrade. For example, if the energy storage system load is too high or there is a network connection problem, the upgrade may need to be postponed until system conditions improve.
[0117] In step S702 of some embodiments, if the operating status information shows that the energy storage system meets the preset equipment upgrade conditions, such as the system load is at a low level, the battery power is sufficient, and the network connection is stable, the control terminal will send a device upgrade signal to the energy storage system, so that each energy storage device in the energy storage system enters the equipment upgrade state, such as suspending non-critical tasks, listening to data transmission, so as to receive the equipment upgrade data in time and accurately, or save the current working state, so that the upgrade process can proceed smoothly.
[0118] Through step S701 to step S702, the control terminal ensures that the energy storage system is in a suitable state before the upgrade, so that the energy storage devices are ready for the upgrade. This helps to reduce possible interruptions and risks during the upgrade process, ensures that the upgrade operation can proceed smoothly, improves the success rate of the upgrade, and enhances the stability and reliability of the system.
[0119] See also Figure 8 In a specific embodiment, the energy storage system includes a battery stack management unit, a battery cluster management unit, a battery management unit and other equipment units, wherein the battery management unit is managed by the battery cluster management unit, the battery cluster management unit is managed by the battery stack management unit, and other equipment units may be managed by the battery cluster management unit or by the battery stack management unit. In this embodiment, the battery stack management unit serves as the energy storage management unit. In other embodiments, the energy storage management unit may also be another unit and manage the battery cluster management unit. Other equipment units may be battery internal units, data external display units and other devices.
[0120] Figure 8 The network topology diagram of the energy storage communication network information description in this embodiment is shown. Figure 8When the corresponding energy storage system performs a firmware upgrade, the target upgrade device will first be determined from the energy storage communication network information through the upgrade device address data. If the target upgrade device is the battery management unit 3, the battery management unit 4, the other device unit 1 and the battery cluster management unit 3, then the order of the firmware upgrade is that the battery management unit 3, the battery management unit 4 and the other device unit 1 are the first upgrade devices to perform the firmware upgrade first, and the battery cluster management unit 2 and the battery cluster management unit 3 will receive the first upgrade information. After determining that the first upgrade device has completed the firmware upgrade, the battery cluster management unit 3 will be upgraded as the second upgrade device. If the battery stack management unit also needs to perform a firmware upgrade, it will also be upgraded after the second upgrade device is upgraded. It can be understood that the higher the energy storage device in the network topology structure, the later the firmware upgrade will be performed. This embodiment is only used as a demonstration example of the firmware upgrade of the energy storage system. Its purpose is to illustrate but not limit the specific implementation details of the technical solution of the present invention. The energy storage system can have more or fewer management units, and there can be a third upgrade device or more after the second upgrade device.
[0121] In other embodiments, the energy storage units may be upgraded in batches, for example, all battery management units may be upgraded. Special identification information may be set on the same type of energy storage devices upgraded in the same batch, for example, by identifying the address information, or by identifying these energy storage devices in the energy storage communication network information, so that the energy storage management unit can process these energy storage devices in batches when determining the target upgrade device and transmitting the device upgrade data, so that they can be used as the first upgrade device or as the second upgrade device for firmware upgrade at the same time, thereby improving the efficiency of the firmware upgrade.
[0122] The embodiment of the present application obtains the upgrade device address data, device upgrade data and energy storage communication network information, and determines the target upgrade device from each energy storage device corresponding to the energy storage communication network information according to the upgrade device address data, and then distributes the device upgrade data to the target upgrade device to perform firmware upgrade on the target upgrade device, thereby enabling a more efficient firmware upgrade for an energy storage system with a large number of devices. After determining the target upgrade device, the target upgrade device is subjected to a step-by-step and phased firmware upgrade, thereby avoiding erroneous connection relationships and version information during the firmware upgrade process, maintaining the communication relationship corresponding to the energy storage communication network information, thereby helping to reduce possible interruptions and risks during the upgrade process, improving the success rate of the upgrade, and enhancing the stability and reliability of the system.
[0123] See also Fig. 9 The embodiment of the present application further provides a firmware upgrade system for an energy storage system, which can implement the firmware upgrade method for the energy storage system, and the system includes:
[0124] A control terminal, used to generate upgrade device address data and device upgrade data;
[0125] The energy storage management unit is used to upgrade the firmware of the energy storage system, including a data acquisition module, an address matching module and a device upgrade module, specifically including:
[0126] A data acquisition module, used to acquire upgrade device address data, device upgrade data and energy storage communication network information; wherein the energy storage communication network information is used to provide communication between the energy storage management unit and the first number of energy storage devices;
[0127] An address matching module is used to determine a target upgrade device from each energy storage device corresponding to the energy storage communication network information according to the upgrade device address data;
[0128] The device upgrade module is used to distribute the device upgrade data to the target upgrade device to perform firmware upgrade on the target upgrade device.
[0129] The specific implementation of the firmware upgrade system of the energy storage system is basically the same as the specific implementation of the firmware upgrade method of the energy storage system mentioned above, and will not be repeated here.
[0130] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the firmware upgrade method of the energy storage system when executing the computer program. The electronic device can be any smart terminal including a tablet computer, a car computer, etc.
[0131] See also Fig.10 , Fig.10 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0132] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0133] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the firmware upgrade method of the energy storage system of the embodiment of this application;
[0134] Input / output interface 1003, used to implement information input and output;
[0135] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0136] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );
[0137] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .
[0138] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the firmware upgrade method of the energy storage system is implemented.
[0139] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0140] The firmware upgrade method, system, electronic device and storage medium of the energy storage system provided in the embodiment of the present application obtain the upgrade device address data, device upgrade data and energy storage communication network information, and determine the target upgrade device from each energy storage device corresponding to the energy storage communication network information according to the upgrade device address data, and then distribute the device upgrade data to the target upgrade device to perform firmware upgrade on the target upgrade device. Therefore, the present application determines the connection relationship between the energy storage management unit and each energy storage device by collecting and analyzing the energy storage communication network information, and identifies the target upgrade device that needs to be upgraded through this connection relationship and the upgrade device address data, and then distributes the device upgrade data to the target upgrade device, so as to perform more efficient firmware upgrade on energy storage systems with a large number of devices.
[0141] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0142] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0143] The system embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0144] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0145] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application 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 the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, 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 that are not clearly listed or inherent to these processes, methods, products or devices.
[0146] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0147] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0148] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0149] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0150] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0151] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A method for upgrading the firmware of an energy storage system, characterized in that: An energy storage management unit applied to an energy storage system, wherein the energy storage system includes a first number of energy storage devices, and the method includes: Acquire upgrade device address data, device upgrade data and energy storage communication network information; wherein the energy storage communication network information is used to provide communication between the energy storage management unit and the first number of energy storage devices; According to the upgrade device address data, determine the target upgrade device from each of the energy storage devices corresponding to the energy storage communication network information; The device upgrade data is distributed to the target upgrade device to perform firmware upgrade on the target upgrade device.
2. The method according to claim 1, characterized in that The energy storage communication network information further includes device type information of the energy storage device, the device upgrade data includes candidate upgrade data of the energy storage device corresponding to different device type information, and the device upgrade data is distributed to the target upgrade device to perform firmware upgrade on the target upgrade device, including: Based on the device type information of the energy storage communication network information, determine the device type information of each target upgrade device to obtain target type information; Determine an adapted data transmission mode based on the target type information to obtain a target transmission mode; Determine adapted target upgrade data from a plurality of candidate upgrade data in the device upgrade data based on the target type information; The target upgrade data is data transmitted according to the target transmission mode, so that the target upgrade device obtains the target upgrade data.
3. The method according to claim 2, characterized in that The energy storage communication network information further includes a plurality of network communication paths, and the target upgrade data is transmitted according to the target transmission mode so that the target upgrade device obtains the target upgrade data, including: Determining a target communication address of each of the target upgrade devices based on the upgrade device address data; Determine the shortest path from the plurality of network communication paths based on the target communication address to obtain the target communication path; The target upgrade data is transmitted via the target communication path according to the target transmission mode, so that the target upgrade device obtains the target upgrade data.
4. The method according to claim 3, characterized in that Each of the network communication paths includes at least two network communication nodes, the network communication node in the network communication path that is used to manage another network communication node is a network management node, and the network communication node in the energy storage communication network information that cannot manage other network communication nodes is a network end node, and the device upgrade data is distributed to the target upgrade device to perform firmware upgrade on the target upgrade device, including: Distribute the device upgrade data to the target upgrade device, determine the network end node in the target upgrade device as the first upgrade device, and determine the network management node in the target upgrade device as the second upgrade device based on the energy storage communication network information; The first upgrading device performs a firmware upgrade based on the device upgrading data and obtains corresponding first upgrading information; The network management node obtains the first upgrade information, and the second upgrade device performs firmware upgrade based on the first upgrade information reflecting that each of the first upgrade devices has completed firmware upgrade.
5. The method according to claim 4, characterized in that After the second upgrade device performs the firmware upgrade, the corresponding second upgrade information is obtained. After the device upgrade data is distributed to the target upgrade device to perform the firmware upgrade on the target upgrade device, the method further includes: Based on the energy storage communication network information, the first upgrade information and the second upgrade information are transmitted to the energy storage management unit for firmware version analysis to obtain firmware version information; The energy storage management unit performs a functional test on the first upgrade device and the second upgrade device to obtain functional test information; The function test information and the firmware version information are sent to a control terminal to generate a firmware upgrade report.
6. A method for upgrading the firmware of an energy storage system, characterized in that: The method for upgrading the firmware of the energy storage system according to any one of claims 1 to 5 is applied to generating the upgrade device address data and the device upgrade data in the control terminal, the method comprising: Acquire equipment upgrade requirement information, equipment upgrade data and energy storage communication network information; wherein the energy storage communication network information includes the network communication address of each energy storage device in the energy storage device; Determine the device to be upgraded according to the device upgrade requirement information; Determine the network communication address corresponding to the device to be upgraded according to the energy storage communication network information, and obtain the upgrade device address data; The upgrade device address data and the device upgrade data are transmitted to the energy storage management unit of the energy storage system.
7. The method according to claim 6, characterized in that Before obtaining the device upgrade requirement information, device upgrade data and pre-configured network topology information, the method further includes: Obtaining operating status information of the energy storage system; In response to the operating status information reflecting that the energy storage system meets a preset device upgrade condition, a device upgrade signal is sent to the energy storage system to enable each energy storage device of the energy storage system to enter a device upgrade state.
8. A firmware upgrade system for an energy storage system, characterized in that: The system comprises: A control terminal, used to generate upgrade device address data and device upgrade data; The energy storage management unit is used to perform firmware upgrade on the energy storage system, including a data acquisition module, an address matching module and a device upgrade module, specifically including: The data acquisition module is used to acquire the upgrade device address data, the device upgrade data and the energy storage communication network information; wherein the energy storage communication network information is used to provide communication between the energy storage management unit and the first number of the energy storage devices; The address matching module is used to determine the target upgrade device from each of the energy storage devices corresponding to the energy storage communication network information according to the upgrade device address data; The device upgrade module is used to distribute the device upgrade data to the target upgrade device to perform firmware upgrade on the target upgrade device.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the firmware upgrade method of the energy storage system according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the firmware upgrade method of the energy storage system according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Firmware upgrading method and system and electronic equipment
CN122411973A
A firmware upgrade method, system and electronic device
CN122411973B