Upgrading method, system and equipment

By using the first and second upgrade packages contained in the target upgrade package in the energy storage system, first upgrade the energy storage component control system, and then upgrade the energy management module, the problem of remote upgrade of the energy storage system is solved and the upgrade success rate is improved And reduces on-site debugging requirements.

CN119149066APending Publication Date: 2024-12-17TIMES TIANYUAN (SUZHOU) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411159162.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

In the prior art, there is a risk of failure in the remote upgrade of energy storage systems, which leads to on-site adjustments by technicians, causing inconvenience.

Method used

Using an upgrade method and system, through communication connections between cloud platform, energy management system and energy storage component control system, the target upgrade package contains the first and second upgrade packages for upgrading, and first upgrade system is upgraded. Upgrade the energy management module to ensure the upgrade sequence and success rate.

Benefits of technology

It improves the success rate of remote upgrade of energy storage systems, avoids the problem of energy storage component control system being unable to upgrade due to abnormal upgrade of energy management modules, simplifies the upgrade process, and reduces the need for on-site debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119149066A_ABST
    Figure CN119149066A_ABST
Patent Text Reader

Abstract

The invention discloses an upgrading method, system and equipment. The method comprises the steps that a second energy management module receives a target upgrade package sent by a cloud platform or a first energy management module; under the condition that it is determined that the target upgrade package is a first upgrade package used for upgrading a second energy management module and the target upgrade package contains a second upgrade package used for upgrading the energy storage component control system, the second energy management module issues the second upgrade package to the corresponding energy storage component control system, the energy storage component control system is upgraded by using the second upgrade package; and upgrading the second energy management module by using the first upgrade package under the condition of determining that the upgrade energy storage component control system is upgraded. According to the embodiment of the invention, the energy storage component control system can be upgraded firstly, and then the second energy management module is upgraded, so that the problem that the energy storage component control system cannot be upgraded after the second energy management module is upgraded abnormally is avoided, and the success rate of upgrading the energy storage system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular, relates to an upgrade method, system and device. Background Art

[0002] As people pay more and more attention to the concept of sustainable development, new energy technology has gradually become an important technical field for technicians to explore and research. Among them, energy storage technology, as one of the core technologies of new energy technology, occupies a pivotal position in the research process of new energy technology.

[0003] In the related technology, energy storage technology can be realized through energy storage systems. In addition, with the development of Internet technology, there are more options for the maintenance and upgrade of energy storage systems. For example, by establishing a connection with a cloud platform, the energy storage system can be remotely upgraded, thereby avoiding the need for technicians to operate on-site, providing convenience for technicians.

[0004] However, in the related technology, although the remote upgrade of the energy storage system can be realized, there may be a variety of reasons that cause the energy storage system upgrade to fail during the upgrade process. Moreover, after the energy storage system upgrade fails, the energy storage system cannot be re-upgraded through remote control, and technicians are required to go to the site for adjustment, which causes inconvenience to the technicians. Therefore, how to realize the remote upgrade of the energy storage system in a more perfect way is a technical problem that needs to be solved urgently by related technicians. Summary of the invention

[0005] The embodiments of the present application provide an upgrade method, system and device, which can better realize the remote upgrade of the energy storage system.

[0006] In a first aspect, an embodiment of the present application provides an upgrade method, which is applied to an upgrade system, wherein the upgrade system includes a cloud platform, an energy management system, and an energy storage component control system; wherein the energy management system includes a first energy management module and a second energy management module, and there is a communication connection between the cloud platform, the first energy management module, and the second energy management module, and the second energy management module is connected to the energy storage component control system via a bus; the method includes: the second energy management module receives a target upgrade package sent by the cloud platform or the first energy management module; when it is determined that the target upgrade package is a first upgrade package for upgrading the second energy management module and the target upgrade package contains a second upgrade package for upgrading the energy storage component control system, the second energy management module sends the second upgrade package to the corresponding energy storage component control system, so that the energy storage component control system is upgraded using the second upgrade package; when it is determined that the upgrade of the upgraded energy storage component control system is completed, the second energy management module is upgraded using the first upgrade package.

[0007] In one embodiment, the second energy management module and the energy storage component control system both include a startup system and an application system, the startup system is used to upgrade the second energy management module or the energy storage component control system, and the application system is used to execute system functions; the energy storage component control system is upgraded using the second upgrade package, including: when the startup system in the energy storage component control system determines that the application system exists in the energy storage component control system, entering the application system; when the application system determines that the second upgrade package exists, upgrading the application system using the second upgrade package through the startup system; upgrading the second energy management module using the first upgrade package, including: when the startup system in the second energy management module determines that the application system exists in the second energy management module, entering the application system; when the application system determines that the first upgrade package exists, upgrading the application system using the first upgrade package through the startup system.

[0008] In one embodiment, after the second upgrade package is sent to the corresponding energy storage component control system, the method further includes: when the energy storage component control system determines that the upgrade is successful, sending a first confirmation message to the cloud platform, the first confirmation message is used to prompt that the energy storage component control system has been successfully upgraded; when the energy storage component control system determines that the upgrade has failed, sending system information corresponding to the energy storage component control system that failed to upgrade to the cloud platform, the system information is used to locate the energy storage component control system that failed to upgrade; when the cloud platform receives the system information, the cloud platform sends an update upgrade package to the second energy management module, the update upgrade package includes a first instruction, the first instruction is used to control the energy storage component control system to upgrade by starting the system using the update upgrade package; when the cloud platform does not receive the system information and the first confirmation message, the cloud platform sends a second instruction to the second energy management module to control the energy storage component control system to power on again.

[0009] In one embodiment, the energy storage component control system determines that the upgrade has failed, including: when the second energy management module does not receive the first confirmation information within the first target time period, re-issuing the corresponding second upgrade package to the energy storage component control system and recording the number of times the second upgrade package has been sent; when the second energy management module determines that the value of the number of times the second upgrade package has been sent is greater than a first preset threshold or receives first failure information, it is determined that the energy storage component control system has failed to upgrade, and the first failure information is used to prompt that the energy storage component control system has failed to upgrade.

[0010] In one embodiment, the target upgrade package includes multiple sub-upgrade packages; the second energy management module receives the target upgrade package sent by the cloud platform or the first energy management module, including: the second energy management module receives the sub-upgrade packages one by one; after the second energy management module receives the target upgrade package sent by the cloud platform or the first energy management module, the method also includes: the second energy management module sends a second confirmation message to the cloud platform when it is determined that the sub-upgrade package is received successfully; the second energy management module sends a second failure message to the cloud platform when it is determined that the sub-upgrade package is received unsuccessfully; when the cloud platform does not receive the second confirmation message within the second target time period, the corresponding sub-upgrade package is re-issued to the second energy management module, and the number of times the sub-upgrade package is issued is recorded; when the cloud platform determines that the value of the number of times the sub-upgrade package is issued is greater than a second preset threshold, or receives a second failure message, an alarm message is output.

[0011] In one embodiment, after the cloud platform does not receive the first failure information and the first confirmation information, or after the cloud platform does not receive the second confirmation information within the second target time period, the method also includes: determining that the communication connection between the cloud platform, the first energy management module and the second energy management module is normal; or that the bus connection between the second energy management module and the energy storage component control system is normal.

[0012] In one embodiment, before sending the second upgrade package to the corresponding upgraded energy storage component control system so that the upgraded energy storage component control system uses the second upgrade package for upgrading, the method also includes: obtaining status information of the energy storage component; and controlling the energy storage component to enter a safe mode when the status information of the energy storage component meets the upgrade status condition.

[0013] In one embodiment, both the energy management system and the energy storage component control system include a private protocol stack, so that the energy management system and the energy storage component control system can correctly parse the target upgrade package and / or update the upgrade package.

[0014] In a second aspect, an embodiment of the present application provides an upgrade system, including:

[0015] A cloud platform, used to send a target upgrade package to an energy management system; an energy management system, the energy management system includes a first energy management module and a second management module, wherein the first management module is used to receive the target upgrade package sent by the cloud platform, and the second management module is used to receive the target upgrade package sent by the cloud platform or the first management module, and forward the target upgrade package to the energy storage component control system; the energy storage component control system is used to receive the target upgrade package sent by the second energy management system, and upgrade through the target upgrade package.

[0016] In a third aspect, an embodiment of the present application provides an upgrade device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the upgrade method in the first aspect or any one of the embodiments of the first aspect is implemented.

[0017] The upgrade method, system and device of the embodiments of the present application can, after receiving the target upgrade package, determine whether the target upgrade package contains a first upgrade package for upgrading the second energy management module and a second upgrade package for upgrading the energy storage component control system. When it is determined that both the first upgrade package and the second upgrade package exist in the target upgrade package, the second upgrade package can be sent to the energy storage component control system so that the energy storage component control system can be upgraded according to the second upgrade package. Furthermore, after determining that the upgrade of the energy storage component control system is complete, the second energy management module is upgraded using the first upgrade package. In this way, the energy storage component control system can be upgraded first, and then the second energy management module can be upgraded, thereby avoiding the problem that the energy storage component control system cannot be upgraded after the second energy management module is upgraded abnormally due to the first upgrade package, thereby improving the success rate of the energy storage system upgrade. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0019] Figure 1 A schematic diagram of the architecture of an upgrade system provided by an embodiment of the present application is shown;

[0020] Figure 2 A schematic diagram of a process of an upgrade method provided by an embodiment of the present application is shown;

[0021] Figure 3 A schematic diagram showing a flow chart of another upgrading method provided by an embodiment of the present application is shown;

[0022] Figure 4 A schematic diagram of a process flow of another upgrading method provided by an embodiment of the present application is shown;

[0023] Figure 5 It is a structural diagram of an upgrading device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0024] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0026] As people pay more and more attention to the concept of sustainable development, new energy technology has gradually become an important direction for technicians to explore and research. Moreover, with the continuous development of the new energy industry, the importance of energy storage technology has gradually emerged. Among them, energy storage technology can effectively realize supply and demand management, play the role of peak shaving and valley filling, improve the utilization rate of energy in the power grid, and maintain the stability of power grid operation.

[0027] In the related technology, energy storage technology can be realized through energy storage systems. Among them, energy storage systems are usually composed of battery packs, battery management systems (Battery Management System, BMS), energy management systems (Energy Management System, EMS), power conversion systems (Power Conversion System, PCS) and other electrical equipment. In addition, with the development of Internet technology, there are more options for the maintenance and upgrade of energy storage systems. For example, a connection can be established through the energy management system and the cloud platform communication, so as to realize the remote upgrade of the energy storage system, thereby avoiding the technicians from going to the equipment site to operate, which provides convenience for the technicians.

[0028] However, in the related technologies, although the remote upgrade of the energy storage system can be realized, there may be a variety of reasons that cause the energy storage system upgrade to fail during the upgrade process. Moreover, after the energy storage system upgrade fails, the energy storage system cannot be re-upgraded through remote control, and technicians are required to go to the site for adjustment, which causes inconvenience to the technicians. Therefore, how to realize the remote upgrade of the energy storage system in a more perfect way is a technical problem that needs to be solved urgently by related technicians.

[0029] In order to solve the problems in the prior art, the embodiments of the present application provide an upgrade method and a system-level device. The upgrade method provided by the embodiments of the present application is first introduced below.

[0030] It should be noted that the upgrade method provided in the embodiment of the present application can be applied to an upgrade system, wherein the upgrade system includes a cloud platform, an energy management system, and an energy storage component control system. Therefore, the specific implementation of the upgrade system provided in the embodiment of the present application described in conjunction with the accompanying drawings is first described below.

[0031] Figure 1 A schematic diagram of the architecture of an upgrade system provided by an embodiment of the present application is shown. Figure 1 As shown, the upgrade system 100 includes:

[0032] The cloud platform 110 is used to send a target upgrade package to the energy management system;

[0033] An energy management system 120, the energy management system includes a first energy management module 121 and a second energy management module 122, wherein the first energy management module is used to receive a target upgrade package sent by the cloud platform, and the second energy management module is used to receive a target upgrade package sent by the cloud platform or the first energy management module, and forward the target upgrade package to the energy storage component control system;

[0034] The energy storage component control system 130 is used to receive the target upgrade package sent by the second energy management system and perform upgrades using the target upgrade package.

[0035] In an embodiment of the present application, a communication connection may exist between the cloud platform 101 and the energy management system, that is, the first energy management module 121 and the second energy management module 122, so that the cloud platform can send a target upgrade package to the first energy management module 121 and the second energy management module 122. In one example, the communication connection between the cloud platform and the energy management system may be a communication connection between the cloud platform and the energy management system established based on Ethernet. It can be understood that Ethernet, as a widely used local area network communication protocol, has powerful data transmission capabilities and wide compatibility. Therefore, the communication connection between the cloud platform and the energy management system established through Ethernet can support the upgrade of multiple chips including but not limited to ARM, DSP and FPGA, and increase the versatility and flexibility of the energy storage system upgrade process using different chips.

[0036] In the embodiment of the present application, the cloud platform can directly send the target upgrade package to the second energy management module, or the cloud platform can send the target upgrade package to the first energy management module, and then the first energy management module processes the target upgrade package and sends the processed target upgrade package to the second energy management module. Among them, the remote update and upgrade of the system can be achieved through Over the Air (OTA) technology.

[0037] Further, in an embodiment of the present application, after receiving the target upgrade package, the second energy management module 122 may forward the target upgrade package to the corresponding energy storage component control system 130, so that the energy storage component control system 130 can be upgraded based on the target upgrade package after receiving the target upgrade package. Among them, the second energy management module 122 and the energy storage component control system 130 are connected via a bus, so that the second energy management module can send the target upgrade package to the energy storage component control system via the bus. In one example, the bus between the second energy management module 122 and the energy storage component control system 130 can be a controller area network bus (Controller Area Network, CAN).

[0038] In the embodiment of the present application, the energy management system 120 and the energy storage component control system 130 both include a private protocol stack, so that the energy management system and the energy storage component control system can correctly parse the target upgrade package.

[0039] In the embodiment of the present application, the private protocol stack can be integrated into each system to realize data interaction between the second energy management module and each energy storage component control system, including system upgrade and reading of operating parameters, etc., avoiding the need to open the device and use a burner to upgrade each system when upgrading each system. At the same time, it can also avoid reserving an upgrade port on the device chassis, thereby reducing costs and improving the airtightness of the device.

[0040] In the embodiment of the present application, the second energy management module and the energy storage component control system both include a startup system and an application system. The startup system is used to upgrade the second energy management module or the energy storage component control system, and the application system is used to execute system functions.

[0041] In the embodiment of the present application, the energy storage component control system 130 may be a control system for controlling the energy storage component. For example, the energy storage component control system may include a BMS and a PCS. It is understood that the BMS may be used to monitor the state of the battery pack, and the PCS may be used to control the charging and discharging of the battery pack. When the energy storage component control system 130 receives the target upgrade package, it may be upgraded through the target upgrade package.

[0042] The above is a specific implementation of the upgrade system provided in the embodiment of the present application. The above upgrade system can be used in the upgrade method provided in the following embodiment.

[0043] The following first introduces the upgrade method provided in the embodiment of the present application.

[0044] Figure 2 FIG. 1 is a flow chart of an upgrade method provided by an embodiment of the present application. Figure 2 As shown, the upgrade methods include:

[0045] S210. The second energy management module receives a target upgrade package sent by the cloud platform or the first energy management module.

[0046] S220: When it is determined that the target upgrade package is the first upgrade package for upgrading the second energy management module and the target upgrade package contains the second upgrade package for upgrading the energy storage component control system, the second energy management module sends the second upgrade package to the corresponding energy storage component control system so that the energy storage component control system is upgraded using the second upgrade package.

[0047] S230: When it is determined that the energy storage component control system has been upgraded, upgrade the second energy management module using the first upgrade package.

[0048] In some embodiments, in S210, after the cloud platform, the first energy management module and the second energy management module establish a communication connection, the second energy management module can receive a target upgrade package sent by the cloud platform or the first energy management module. The target upgrade package can be used to upgrade the second energy management module and / or the energy storage component control system.

[0049] In one example, the target upgrade package includes one or more sub-upgrade packages. In addition, the target upgrade package may include at least one of the following: the number and type of subsystem upgrade packages, the corresponding sub-device identity information (ID), the size of the upgrade package, the upgrade package address information, the encryption type, the electronic label, the instruction to enter the BOOT system, the address information written to the internal FALSH, and the data written, etc. In one example, the upgrade package type may be a bin type or a hex type. In one example, the sub-device ID is used to represent the upgrade object of the sub-upgrade package, wherein the sub-device ID has a unique identity code within the complete energy storage system. In one example, the upgrade package address information is used to identify the address information of the target upgrade package in the FLASH. In one example, the electronic label includes the product center, product series, product version, software version, hardware version, upgrade / rollback, which is used for fool-proof burning.

[0050] In the embodiment of the present application, in S220, when the second energy management module receives the target upgrade package, it can judge the target upgrade package to determine the upgrade object corresponding to the target upgrade package. Exemplarily, the target upgrade package for upgrading the second energy management module can be the first upgrade package; the target upgrade package for upgrading the energy storage component control system can be the second upgrade package.

[0051] In an embodiment of the present application, when the second energy management module receives the target upgrade package, the second energy management module can determine whether the first upgrade package exists in the target upgrade package. If the first upgrade package exists in the target upgrade package, it can be determined whether the second upgrade package exists in the target upgrade package. If the second upgrade package exists in the target upgrade package, the second energy management module can send the second upgrade package to the corresponding energy storage component control system so that the energy storage component control system is upgraded using the second upgrade package. If the target upgrade package does not contain the first upgrade package but contains the second upgrade package, the second energy management module can send the second upgrade package to the corresponding energy storage component control system so that the energy storage component control system is upgraded using the second upgrade package.

[0052] In one example, after the energy management system and the cloud platform establish communication through Ethernet, the cloud platform can send the upgrade instruction to the second energy management module. After receiving the upgrade instruction, the second energy management module can first decrypt the target upgrade package and perform a cyclic redundancy check (CRC). After the check is passed, the second energy management module begins to prepare to receive the system upgrade package. After the preparation is completed, the second energy management module replies to the cloud platform with an ACK response indicating that it is ready. After receiving the correct ACK response, the cloud platform begins to send the upgrade data packet.

[0053] In an embodiment of the present application, the target upgrade package includes multiple sub-upgrade packages, and the second energy management module receives the sub-upgrade packages one by one. After the second energy management module receives the target upgrade package sent by the cloud platform or the first energy management module, the second energy management module sends a second confirmation message to the cloud platform when it determines that the sub-upgrade package is received successfully. When the second energy management module determines that the sub-upgrade package has failed to be received, it sends a second failure message to the cloud platform; when the cloud platform does not receive the second confirmation message within the second target time period, it re-sends the corresponding sub-upgrade package to the second energy management module and records the number of times the sub-upgrade package is sent. When the cloud platform determines that the value of the number of times the sub-upgrade package is sent is greater than the second preset threshold, or receives the second failure message, it outputs an alarm message.

[0054] In one example, after receiving the correct ACK reply, the cloud platform starts to send the upgrade data packet. Each time a packet is sent, it needs to wait for the ACK response from the second energy management module until the data packet marked with the last packet flag is sent and the final correct ACK response is obtained, indicating that the upgrade package has been sent. After receiving the data of the upgrade package, the second energy management module parses the data according to the agreed private protocol and writes it into the external FLASH dedicated to OTA upgrade. If the second energy management module does not give a correct ACK response within the specified time after the upgrade package is sent, the cloud platform will try to send the data packet N times. If there is still no reply after the attempt to send, or after receiving an ACK response indicating an error, it is determined that the data packet has failed to be sent, and the cloud platform will give an alarm message.

[0055] Further, after receiving the second upgrade package, the energy storage component control system can be upgraded using the second upgrade package. Wherein, the second energy management module and the energy storage component control system both include a startup system and an application system. The startup system can be used to upgrade the second energy management module or the energy storage component control system, and the application system can be used to execute system functions.

[0056] In the embodiment of the present application, when the startup system in the energy storage component control system determines that there is an application system in the energy storage component control system, the application system is entered; when the application system determines that there is a second upgrade package, the application system is upgraded using the second upgrade package through the startup system.

[0057] In one example, the boot system may be a BOOT system, and the application system may be an APP system. The BOOT system may be responsible for the upgrade function of the local system, has a single and stable function, and can run independently, and is responsible for the normal upgrade of the APP system and the re-upgrade function after the upgrade fails.

[0058] In the embodiment of the present application, in S230, when it is determined that the control system of the upgraded energy storage component has completed the upgrade, the second energy management module can be upgraded using the first upgrade package.

[0059] In an embodiment of the present application, when the startup system in the second energy management module determines that there is an application system in the second energy management module, it enters the application system; when the application system determines that there is a first upgrade package, the application system is upgraded using the first upgrade package through the startup system.

[0060] In an embodiment of the present application, after receiving the target upgrade package, it is possible to determine whether the target upgrade package contains a first upgrade package for upgrading the second energy management module and a second upgrade package for upgrading the energy storage component control system. When it is determined that both the first upgrade package and the second upgrade package exist in the target upgrade package, the second upgrade package can be sent to the energy storage component control system so that the energy storage component control system can be upgraded according to the second upgrade package. Furthermore, after determining that the upgrade of the energy storage component control system is complete, the second energy management module is upgraded using the first upgrade package. In this way, the energy storage component control system can be upgraded first, and then the local energy management system can be upgraded, thereby avoiding the problem that the energy storage component control system cannot be upgraded after the second energy management module is upgraded abnormally due to the first upgrade package, thereby improving the success rate of the energy storage system upgrade.

[0061] In order to enable the energy storage component control system to complete the upgrade, as another implementation method of the present application, the present application also provides another implementation method of the upgrade, please refer to the following embodiments for details.

[0062] Figure 3 A flow chart of another upgrading method provided by an embodiment of the present application is shown.

[0063] like Figure 3 As shown, the upgrade method also includes:

[0064] S240: When the energy storage component control system determines that the upgrade is successful, a first confirmation message is sent to the cloud platform.

[0065] The first confirmation information is used to prompt that the energy storage component control system has been successfully upgraded.

[0066] In the embodiment of the present application, when the energy storage component control system receives the second upgrade package and is successfully upgraded based on the second upgrade package, the energy storage component control system may send a first confirmation message to the cloud platform, wherein the first confirmation message may be used to prompt that the energy storage component control system is successfully upgraded.

[0067] In one example, the second energy management module can read the data of the target upgrade package from the external FLASH in sequence, and send the upgrade package to the system of the corresponding sub-device through the CAN bus. When the system corresponding to the sub-device receives the upgrade package, it can first perform decryption and CRC verification. After the verification passes, the instructions in the upgrade package are executed, the BOOT system is entered, and an ACK response indicating that the instruction execution is successful is given, and then the second energy management module sends the next upgrade package. When the energy storage component control system receives a packet of data, it will write it to the APP program storage area and give an ACK response indicating successful writing. When the cloud platform completes sending the upgrade package with the last packet mark and receives an ACK response indicating a successful upgrade, it can be said that the current subsystem upgrade is complete. The second energy management module will report the subsystem information that has been upgraded and start the upgrade of the next subsystem.

[0068] S250: When the energy storage component control system determines that the upgrade fails, the system information corresponding to the energy storage component control system that failed to upgrade is sent to the cloud platform.

[0069] Among them, the system information is used to locate the control system of the energy storage component that failed to upgrade.

[0070] In the embodiment of the present application, when the energy storage component control system determines that the upgrade fails, system information corresponding to the energy storage component control system that failed to upgrade can be sent to the cloud platform.

[0071] In the embodiment of the present application, the energy storage component control system can determine that the upgrade of the energy storage component control system has failed in the following manner: if the second energy management module does not receive the first confirmation information within the first target time period, the second energy management module re-issues the corresponding second upgrade package to the energy storage component control system and records the number of times the second upgrade package has been issued. If the second energy management module determines that the value of the number of times the second upgrade package has been issued is greater than the first preset threshold or receives the first failure information, it is determined that the upgrade of the energy storage component control system has failed. Among them, the first failure information is used to prompt that the upgrade of the energy storage component control system has failed.

[0072] In the embodiment of the present application, when the cloud platform receives system information, the technician can determine the error packet data according to the system information, simulate and analyze the cause of the error, and update the upgrade package, and send the updated upgrade package to the second energy management module. In one example, when the cloud platform receives the abnormal data indicating the error sent by the second energy management module, the technician can simulate and analyze the cause of the error according to the uploaded error type and the data of the error packet.

[0073] S260. When the cloud platform receives the system information, the cloud platform sends an update package to the second energy management module, where the update package includes the first instruction.

[0074] In the embodiment of the present application, when the cloud platform receives the system information, the technician can determine the cause of the error based on the system information, and update the upgrade package based on the determined cause of the error to obtain the update upgrade package. The cloud platform sends the update upgrade package to the second energy management module, and the update upgrade package includes a first instruction. The first instruction is used to control the energy storage component control system to upgrade by starting the system using the update upgrade package.

[0075] In the embodiment of the present application, the second energy management module may send the update package to the energy storage component control system upon receiving the first instruction.

[0076] S270: When the cloud platform does not receive the system information or the first confirmation information, the cloud platform sends a second instruction to the second energy management module to control the energy storage component control system to power on again.

[0077] In the embodiment of the present application, if the cloud platform does not receive the system information or the first confirmation information within the second target time, the cloud platform sends a second instruction to the second energy management module, wherein the second instruction is used to control the energy storage component control system to power on again.

[0078] In one example, the second instruction enables the system corresponding to the sub-device to stay in the Boot system after receiving the upgrade package. The cloud platform issues an immediate upgrade instruction to the second energy management module to re-upgrade the entire energy storage system.

[0079] In an embodiment of the present application, after the cloud platform has not received the first failure information and the first confirmation information, or after the cloud platform has not received the second confirmation information within the second target time period, it can be determined first that the communication connection between the cloud platform, the first energy management module and the second energy management module is normal; or that the bus connection between the second energy management module and the energy storage component control system is normal.

[0080] In the embodiment of the present application, by determining whether the communication connection between the cloud platform, the energy management system and the energy storage component control system is normal, the problem of system upgrade failure caused by communication failure can be avoided.

[0081] In the embodiment of the present application, in the event that the energy storage control system fails to be upgraded, the energy storage system can be upgraded again through remote control, thus avoiding the inconvenience of technical personnel going to the site to debug the equipment.

[0082] In order to ensure security during the upgrade process, as another implementation method of the present application, the present application also provides another implementation method of the upgrade, please refer to the following embodiments for details.

[0083] Figure 4 FIG. 2 shows a flow chart of another upgrade method provided by an embodiment of the present application. Figure 4As shown, before sending the second upgrade package to the corresponding upgraded energy storage component control system so that the upgraded energy storage component control system is upgraded using the second upgrade package, the upgrade method further includes:

[0084] S280: Obtain status information of the energy storage component.

[0085] In the embodiment of the present application, the energy management system can obtain the status information of the energy storage component, wherein the status information can be used to indicate the status information corresponding to the operating status of the energy storage system.

[0086] S290: When the status information of the energy storage component meets the upgrade status condition, control the energy storage component to enter a safe mode.

[0087] In an embodiment of the present application, the upgrade state condition may be that the energy storage system is in a state suitable for upgrading, for example, the upgrade state condition may be that the energy storage system is in a low-voltage standby state. When the state information of the energy storage component is in a low-voltage standby state, the second energy management module may control the energy storage component to enter a safe mode. Among them, the safe mode may be a state for upgrading the energy storage system. In one example, the safe mode of the energy storage component may include any of the following: prohibiting high voltage, disconnecting the relay, turning off the wave function of the energy storage component, and stopping the charging and discharging of the energy storage battery.

[0088] In the embodiment of the present application, the energy storage system controls a high-voltage system. When the energy storage system is upgraded, it is necessary to detect the operating status of the entire system. The upgrade operation can only be performed when the system is in a low-voltage standby state. To prevent the high-voltage control system from being out of control, the upgrade is not allowed when the system is in high-voltage operation or high-voltage standby. Exemplarily, after the upgrade conditions are met, the energy storage component control system can be when the energy storage system enters low-voltage standby from the high-voltage, and immediately upgrade the system, including manually controlling the energy storage system to lower the high voltage and the energy storage system automatically lowering the high voltage when it is in a high-voltage standby state. The energy storage system will not immediately upgrade the high voltage when it is running in a high-voltage state and performing charge and discharge strategy control. In one example, the Ethernet IP address is unique, which can make the cloud platform or energy management system instructions targeted, thereby realizing control of specific equipment. Further, after the energy storage system is combined with OTA, the energy storage components can be controlled in batches to be uniformly upgraded at a specific time point, reducing the impact on the user's daily use of energy storage equipment. It can also control the successive upgrades and maintenance of energy storage equipment during the operation of the energy storage business, which can also reduce the impact on the user's daily use of energy storage equipment.

[0089] Figure 5 A schematic diagram of the hardware structure of the upgrade method provided in an embodiment of the present application is shown.

[0090] The upgrading method device may include a processor 501 and a memory 502 storing computer program instructions.

[0091] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0092] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0093] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0094] The processor 501 implements any one of the upgrading methods in the above embodiments by reading and executing the computer program instructions stored in the memory 502 .

[0095] In one example, the upgrade method device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.

[0096] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0097] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0098] The upgrade method device can execute the upgrade method in the embodiment of the present application based on the target upgrade package, thereby realizing the combination Figure 1 and Figure 2 Described upgrade method and system.

[0099] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0100] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0101] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. An upgrading method, characterized in that: Applied to an upgrade system, the upgrade system comprising a cloud platform, an energy management system, and an energy storage component control system; The energy management system includes a first energy management module and a second energy management module, the cloud platform, the first energy management module and the second energy management module are connected in communication, and the second energy management module is connected to the energy storage component control system via a bus; The method comprises: The second energy management module receives a target upgrade package sent by the cloud platform or the first energy management module; When it is determined that the target upgrade package is a first upgrade package for upgrading the second energy management module and the target upgrade package contains a second upgrade package for upgrading an energy storage component control system, the second energy management module sends the second upgrade package to the corresponding energy storage component control system so that the energy storage component control system is upgraded using the second upgrade package; When it is determined that the upgraded energy storage component control system has completed upgrading, the second energy management module is upgraded using the first upgrade package.

2. The upgrading method according to claim 1, characterized in that: The second energy management module and the energy storage component control system both include a startup system and an application system, the startup system is used to upgrade the second energy management module or the energy storage component control system, and the application system is used to execute system functions; The energy storage component control system is upgraded using the second upgrade package, including: When the startup system in the energy storage component control system determines that there is an application system in the energy storage component control system, entering the application system; When the application system determines that there is a second upgrade package, upgrading the application system by using the second upgrade package through the startup system; The step of upgrading the second energy management module by using the first upgrade package includes: When the startup system in the second energy management module determines that there is an application system in the second energy management module, entering the application system; When the application system determines that the first upgrade package exists, the application system is upgraded by using the first upgrade package through the startup system.

3. The method according to any one of claims 1 to 2, characterized in that: After sending the second upgrade package to the corresponding energy storage component control system, the method further includes: When the energy storage component control system determines that the upgrade is successful, sending first confirmation information to the cloud platform, where the first confirmation information is used to prompt that the energy storage component control system has been successfully upgraded; When the energy storage component control system determines that the upgrade fails, sending system information corresponding to the energy storage component control system that failed to upgrade to the cloud platform, wherein the system information is used to locate the energy storage component control system that failed to upgrade; When the cloud platform receives the system information, the cloud platform sends an update package to the second energy management module, wherein the update package includes a first instruction, and the first instruction is used to control the energy storage component control system to upgrade by starting the system using the update package; In a case where the cloud platform does not receive the system information or the first confirmation information, the cloud platform sends a second instruction to the second energy management module to control the energy storage component control system to power on again.

4. The upgrading method according to claim 3, characterized in that: The energy storage component control system determines that the upgrade fails, including: If the second energy management module does not receive the first confirmation information within the first target period, the second energy management module re-issues the corresponding second upgrade package to the energy storage component control system and records the number of times the second upgrade package is issued; When the second energy management module determines that the number of times the second upgrade package is sent is greater than a first preset threshold or receives first failure information, it determines that the energy storage component control system upgrade has failed. The first failure information is used to prompt that the energy storage component control system upgrade has failed.

5. The upgrading method according to claim 1, characterized in that: The target upgrade package includes multiple sub-upgrade packages; The second energy management module receives a target upgrade package sent by the cloud platform or the first energy management module, including: The second energy management module receives the sub-upgrade packages one by one; After the second energy management module receives the target upgrade package sent by the cloud platform or the first energy management module, the method further includes: When determining that the sub-upgrade package is successfully received, the second energy management module sends a second confirmation message to the cloud platform; The second energy management module sends second failure information to the cloud platform when determining that the sub-upgrade package fails to be received; If the cloud platform does not receive the second confirmation information within the second target period, re-send the corresponding sub-upgrade package to the second energy management module, and record the number of times the sub-upgrade package is sent; When the cloud platform determines that the value of the number of times the sub-upgrade package is sent is greater than a second preset threshold, or receives second failure information, an alarm message is output.

6. The upgrading method according to claim 3 or 5, characterized in that: After the cloud platform does not receive the system information or the first confirmation information, or after the cloud platform does not receive the second confirmation information within the second target time period, the method further includes: Determine that the communication connection between the cloud platform, the first energy management module and the second energy management module is normal; or The bus connection between the second energy management module and the energy storage component control system is normal.

7. The upgrading method according to claim 1, characterized in that: Before sending the second upgrade package to the corresponding upgraded energy storage component control system so that the upgraded energy storage component control system is upgraded using the second upgrade package, the method further includes: Obtain status information of energy storage components; When the state information of the energy storage component meets the upgrade state condition, the energy storage component is controlled to enter a safe mode.

8. The upgrading method according to claim 1, characterized in that: The energy management system and the energy storage component control system both include a private protocol stack, so that the energy management system and the energy storage component control system can correctly parse the target upgrade package and / or update the upgrade package.

9. An upgrade system, characterized in that: include: Cloud platform, used to send target upgrade packages to the energy management system; An energy management system, the energy management system comprising a first energy management module and a second energy management module, wherein the first energy management module is used to receive the target upgrade package sent by the cloud platform, and the second energy management module is used to receive the target upgrade package sent by the cloud platform or the first energy management module, and forward the target upgrade package to the energy storage component control system; The energy storage component control system is used to receive the target upgrade package sent by the second energy management module and perform upgrades through the target upgrade package.

10. An upgrade device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the upgrading method according to any one of claims 1 to 8 is implemented.