Online upgrading method and device of parallel operation energy storage battery and electronic equipment

The upgrade information and packets are obtained through the online upgrade platform, the upgrade sequence of the parallel energy storage batteries is determined, and the upgrade packets are sent in sequence, which solves the problem of the inability to upgrade individually and bandwidth congestion in the existing technology, and achieves efficient and reliable online upgrades.

CN119917151APending Publication Date: 2025-05-02HANGZHOU LIVOLTEK POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411983276.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing online upgrade method of parallel energy storage battery systems cannot meet the need to upgrade only some energy storage batteries separately, and at the same time, it will lead to bandwidth resource congestion and communication interference, resulting in upgrade failure.

Method used

By obtaining the upgrade message information and target upgrade package from the online upgrade platform, determine the energy storage battery to be upgraded, and determine the upgrade order based on its current program version. Then, the target upgrade packets are sent to each energy storage battery to be upgraded based on the upgrade order, and the sending status is determined based on the number of sending times. Finally, after the sending is successful, the upgrade command is sent to the energy storage battery to be upgraded.

Benefits of technology

The separate upgrade of some energy storage batteries is achieved, which avoids bandwidth resource congestion, improves the upgrade success rate, and ensures that the energy storage battery system can still work normally even if the upgrade fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917151A_ABST
    Figure CN119917151A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an online upgrading method and device for a parallel operation energy storage battery and electronic equipment. The method comprises the steps of firstly obtaining upgrade message information and target upgrade packages, determining an upgrade sequence of each to-be-upgraded energy storage battery, respectively sending the target upgrade packages to each to-be-upgraded energy storage battery based on the upgrade sequence, determining a sending state of each target upgrade package, and after each sending state represents that sending is successful, sending the target upgrade packages to each to-be-upgraded energy storage battery. And sending an upgrading instruction to each to-be-upgraded energy storage battery corresponding to the to-be-upgraded energy storage battery. By determining the upgrading sequence of the to-be-upgraded energy storage batteries, the phenomenon of bandwidth resource congestion caused by simultaneous upgrading is avoided, the requirement that only part of the energy storage batteries are independently upgraded is met, and the upgrading success rate of the to-be-upgraded energy storage batteries is increased by resending the target upgrading package. Furthermore, program partition storage is set, so that the to-be-upgraded energy storage battery system can still work normally even if program upgrading of the to-be-upgraded energy storage battery fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the technical field of battery system upgrade, and in particular, to an online upgrade method, device, and electronic device for a parallel energy storage battery. Background Art

[0002] With the reform and update of energy structure, the technology in the field of new energy storage is developing faster and faster. In order to increase the power of the entire energy storage system, multiple energy storage battery management systems (Battery Management System, BMS) are often connected to the junction cabinet after parallel processing. However, according to the actual needs of customers, a method is often required to perform online maintenance and upgrades on the parallel energy storage battery system. The existing parallel upgrade method generally adopts the broadcast upgrade method, which can only upgrade all parallel BMS at the same time by sending an upgrade package at one time. It cannot meet the needs of upgrading only some energy storage batteries separately, and when all BMS systems are upgraded at the same time, a large amount of upgrade bandwidth resources are required, and there will be communication interference with each other, resulting in a large number of program upgrade failures. Summary of the invention

[0003] The embodiments of this specification provide a method, device and electronic device for online upgrading of a parallel energy storage battery, and the technical solution thereof is as follows: In a first aspect, an embodiment of the present specification provides an online upgrade method for a parallel energy storage battery, the method comprising: Acquire upgrade message information and a target upgrade package from an online upgrade platform, and determine at least one energy storage battery to be upgraded in the upgrade message information; Determining an upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded; The target upgrade packages are respectively sent to each of the energy storage batteries to be upgraded based on the upgrade sequence, and the sending status of each of the target upgrade packages is determined according to the number of times each of the target upgrade packages is sent; After each of the sending states is characterized as being sent successfully, an upgrade instruction is sent to each of the corresponding energy storage batteries to be upgraded, wherein the upgrade instruction is used to control each of the energy storage batteries to be upgraded to be upgraded based on the target upgrade package.

[0004] In a second aspect, an online upgrade device for a parallel energy storage battery is provided, the device comprising: An acquisition module, used to acquire upgrade message information and a target upgrade package from an online upgrade platform, and determine at least one energy storage battery to be upgraded in the upgrade message information; A determination module, used to determine the upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded; A sending module, used to send the target upgrade package to each of the energy storage batteries to be upgraded based on the upgrade sequence, and determine the sending status of each of the target upgrade packages according to the number of times each of the target upgrade packages is sent; The upgrade module is used to send an upgrade instruction to each corresponding energy storage battery to be upgraded after each sending status is characterized as successful sending, wherein the upgrade instruction is used to control each energy storage battery to be upgraded to upgrade based on the target upgrade package.

[0005] In a third aspect, an electronic device is provided, including a device processor and a memory; The device processor is connected to the memory; The memory is used to store executable program code; The device processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method provided in the first aspect or any possible implementation manner of the first aspect.

[0006] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer-readable storage medium stores instructions, which, when the instructions are executed on a computer or a device processor, cause the computer or the device processor to execute the method provided in the first aspect or any possible implementation of the first aspect.

[0007] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least: In one or more embodiments of the present specification, the upgrade message information and the target upgrade package are first obtained from the online upgrade platform, and each energy storage battery to be upgraded in the upgrade message information is determined. Then, the upgrade order of each energy storage battery to be upgraded is determined according to the current program version of each energy storage battery to be upgraded. Then, based on the upgrade order, the target upgrade package is sent to each energy storage battery to be upgraded respectively, and the sending status of each target upgrade package is determined according to the number of times each target upgrade package is sent. After each sending status is characterized as a successful sending, an upgrade instruction is sent to each corresponding energy storage battery to be upgraded. By determining the upgrade order of each energy storage battery to be upgraded, the phenomenon of bandwidth resource congestion caused by simultaneous upgrades is avoided, the requirement of upgrading only some energy storage batteries separately is met, and the upgrade success rate of each energy storage battery to be upgraded is improved by resending the target upgrade package. Furthermore, by setting the program partition storage, it is ensured that even if the program upgrade of the energy storage battery to be upgraded fails, the energy storage battery system to be upgraded can still work normally. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0009] Figure 1 A schematic diagram of the system architecture of an online upgrade method for a parallel energy storage battery provided in an embodiment of this specification; Figure 2 A flowchart of an online upgrade method for a parallel energy storage battery provided in an embodiment of this specification; Figure 3 A schematic diagram of the structure of an online upgrade device for a parallel energy storage battery provided in an embodiment of this specification; Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0010] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0011] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0012] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present specification. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described with respect to some examples may be combined in other examples.

[0013] See also Figure 1 , Figure 1 A schematic diagram of the system architecture of an online upgrade method for a parallel energy storage battery provided in an embodiment of this specification is shown.

[0014] like Figure 1As shown, the system architecture of the online upgrade method of the parallel energy storage battery may at least include an energy storage battery 10 to be upgraded, an online upgrade platform 20 and a network 30.

[0015] The online upgrade platform 20 can provide background services for the energy storage battery 10 to be upgraded. The online upgrade platform 20 will issue a series of online upgrade instructions for the parallel energy storage battery to each energy storage battery 10 to be upgraded. The online upgrade platform 20 transmits the online upgrade instructions of the parallel energy storage battery to other energy storage batteries 10 to be upgraded through the network 30. Specifically, the online upgrade platform 20 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or 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 (Content Delivery Network), and big data and artificial intelligence platforms.

[0016] The network 30 is used as a medium for providing a communication link between the energy storage battery 10 to be upgraded and the online upgrade platform 20. The network 30 may include various connection types, such as wired or wireless communication links or optical fiber cables.

[0017] In addition, it should be noted that Figure 1 What is shown is only one system provided by the present disclosure. In practical applications, other systems may also be included, for example, more energy storage batteries to be upgraded may be included.

[0018] In the embodiments of this specification, the energy storage battery 10 to be upgraded and the online upgrade platform 20 may be directly or indirectly connected via wired or wireless communication, which is not limited in this disclosure.

[0019] See next Figure 2 , Figure 2 The overall flow chart of an online upgrade method of a parallel energy storage battery provided in an embodiment of this specification is shown.

[0020] like Figure 2 As shown, the online upgrade method of the parallel energy storage battery may at least include the following steps: Step 201: Obtain upgrade message information and a target upgrade package from an online upgrade platform, and determine at least one energy storage battery to be upgraded in the upgrade message information.

[0021] In the embodiments of the present specification, in order to improve the system capacity of the energy storage battery system, multiple energy storage batteries can be connected in parallel to obtain a parallel energy storage battery system. When the parallel energy storage battery system is subsequently upgraded and maintained, since the energy storage batteries in the parallel energy storage battery system may be connected at the same time, or may be connected separately according to actual usage requirements, the actual operating programs in each single energy storage battery are different. When the parallel energy storage battery system is upgraded online, the operating programs corresponding to some energy storage batteries are the same as the upgrade programs corresponding to the target upgrade package. Therefore, there is no need to upgrade all energy storage batteries at the same time, and only the designated part of the energy storage batteries needs to be upgraded. Among them, the entire parallel energy storage battery upgrade system may include an online upgrade platform and multiple parallel connected energy storage batteries. When upgrading the designated part of the energy storage batteries, the upgrade message information and the target upgrade package can be obtained from the online upgrade platform first. Among them, the upgrade message information includes the ID of the energy storage battery to be upgraded, and the number of energy storage batteries to be upgraded can be one or more, so the ID of each energy storage battery to be upgraded in the upgrade message information can be further determined, so that the same target upgrade package can be repeatedly sent to each energy storage battery to be upgraded later. As an example, the upgrade message information is ID 0x11851, 0x11A51, and the last bit of the message is 1, which determines that only the first energy storage battery needs to be upgraded. If the message information is ID 0x11851, 0x11A51; ID 0x11852, 0x11A52, then the last bit of the message is 1 and 2, which determines that the first energy storage battery and the second energy storage battery need to be upgraded.

[0022] Step 202: Determine the upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded.

[0023] In the embodiments of the present specification, after determining each energy storage battery to be upgraded whose running program needs to be upgraded, in order to avoid upgrading multiple energy storage batteries to be upgraded at the same time in a short period of time, causing congestion of bandwidth resources, it is necessary to further determine the upgrade order of each energy storage battery to be upgraded, so that the subsequent upgrade process can be quickly and orderly upgraded based on the upgrade order. When determining the upgrade order of each energy storage battery to be upgraded, since the time points at which each energy storage battery to be upgraded is connected in parallel may be different, resulting in different current program versions of each energy storage battery to be upgraded, it is necessary to first determine the current program version of the energy storage battery to be upgraded, and determine the upgrade weight according to the current program version of each energy storage battery to be upgraded, and finally determine the upgrade order of each energy storage battery to be upgraded according to the upgrade weight.

[0024] As an example, the current program version of the first energy storage battery is E05, and the current program version of the second energy storage battery is E02. Since program version E05 is a multiple upgrade version of program version E02, the upgrade weight of the second energy storage battery is greater than that of the first energy storage battery. Therefore, the upgrade order is to upgrade the second energy storage battery first and then the first energy storage battery.

[0025] In one possible implementation, determining the upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded includes: Determine the current program version of each of the energy storage batteries to be upgraded and the upgrade program version of the target upgrade package; The current program versions are compared with the upgraded program versions respectively, and the upgrade sequence of the energy storage batteries to be upgraded is determined based on the comparison results.

[0026] In the embodiment of the present specification, the current program version of each energy storage battery to be upgraded and the upgrade program version of the target upgrade package can be determined first. As an example, the current program version of the first energy storage battery is E05, the current program version of the second energy storage battery is E02, and the program version of the target upgrade package is E06. Then, each current program version is compared with the upgrade program version respectively. The comparison result of the first energy storage battery is 1 version lower than the upgrade program version, and the comparison result of the second energy storage battery is 4 versions lower than the upgrade program version. Then, the upgrade order of each energy storage battery to be upgraded is further determined according to the comparison result, that is, the second energy storage battery is upgraded first and then the first energy storage battery is upgraded. Among them, when each comparison result is characterized as the same current program version of each energy storage battery to be upgraded, the upgrade can be performed according to the ID order of each energy storage battery to be upgraded.

[0027] In one possible implementation, the comparing the current program versions with the upgraded program versions respectively, and determining the upgrade order of the energy storage batteries to be upgraded based on the comparison results, includes: Calculate the difference between the version number of the upgraded program version and the version number of each current program version to obtain each difference result; The difference results are weighted and fused based on the historical upgrade time of each current program version, and the upgrade order of each energy storage battery to be upgraded is determined according to each weighted fusion result.

[0028] In the embodiment of the present specification, when there are a large number of energy storage batteries to be upgraded, there may be multiple current program versions that are the same. If the upgrade is performed in the order of the IDs of the energy storage batteries to be upgraded, the real-time requirements of the individual energy storage batteries to be upgraded cannot be met. Therefore, the version number of the upgrade program version and the version number of each current program version can be respectively calculated to obtain the difference results. As an example, when the current program version of the first energy storage battery is E05, the current program version of the second energy storage battery is E02, the current program version of the third energy storage battery is E05, the current program version of the fourth energy storage battery is E03, and the current program version of the fifth energy storage battery is E02, and the program version of the target upgrade package is E06, the difference results are respectively the first energy storage battery D1=1, the second energy storage battery D2=4, the third energy storage battery D3=1, the fourth energy storage battery D4=3, and the fifth energy storage battery D5=4. Next, determine the historical upgrade time of the current program version in each energy storage battery to be upgraded. The earlier the historical upgrade time, the greater the corresponding upgrade weight. Therefore, the upgrade weight corresponding to each historical upgrade time can be determined according to the preset upgrade time weight rule. As an example, the upgrade time of the first energy storage battery is T1, the upgrade time of the second energy storage battery is T2, the upgrade time of the third energy storage battery is T3, the upgrade time of the fourth energy storage battery is T4, and the upgrade time of the fifth energy storage battery is T5. It is judged that each historical upgrade time T1<T2<T3<T4<T5, then the upgrade weight corresponding to each energy storage battery is the first energy storage battery upgrade time weight Q1=5, the second energy storage battery upgrade time weight Q2=4, the third energy storage battery upgrade time weight Q3=3, the fourth energy storage battery upgrade time weight Q4=2, and the fifth energy storage battery upgrade time weight Q5=1. Finally, the upgrade time weight fusion is performed on the difference results to obtain the weight fusion results H1= D1* Q1=1*5=5, H2= D2* Q2=4*4=16, H3= D3* Q3=1*3=3, H4= D4* Q4=3*2=6, H5= D5* Q5=4*1=4. Since H3<H5

[0029] Step 203: Send the target upgrade package to each of the energy storage batteries to be upgraded based on the upgrade sequence, and determine the sending status of each of the target upgrade packages according to the number of times each of the target upgrade packages is sent.

[0030] ​In the embodiments of the present specification, after determining the upgrade order of each energy storage battery to be upgraded, the same target upgrade package can be sent to each energy storage battery to be upgraded in the upgrade order. In each separate sending process, the sending failure may occur due to network interference or other accidental factors. In order to improve the success rate of subsequent upgrades, it is necessary to resend the target upgrade package after the sending failure, record the number of times each target upgrade package is sent, and determine the sending status of each target upgrade package based on the number of times it is sent. Among them, although the sending status may include successful sending and failed sending, regardless of whether the sending status is successful, as long as the sending status of the previous target upgrade package is determined, the target upgrade package needs to be sent to the next energy storage battery to be upgraded in the upgrade order.

[0031] In one possible implementation, the sending of the target upgrade package to each of the energy storage batteries to be upgraded based on the upgrade sequence includes: For any of the energy storage batteries to be upgraded, sub-packaging the target upgrade package according to the parameter information of the target upgrade package to obtain at least two upgrade sub-packages; All the upgrade sub-packages of the target upgrade package are sent to each of the energy storage batteries to be upgraded according to the upgrade sequence.

[0032] In the embodiment of the present specification, in the process of sending a target upgrade package to any energy storage battery to be upgraded, in order to prevent the target upgrade package from being too large, resulting in data packet loss and upgrade failure, the target upgrade package can be sent in sub-packages. Among them, when sending the sub-packages, the parameter information of the target upgrade package can be determined first, and the parameter information may include the number of sub-packages of the upgrade package, the size of the upgrade package and other information. Then, the target upgrade package is split according to the size information and sub-package information in the parameter information to obtain multiple upgrade sub-packages. Furthermore, the sub-package sending method of each upgrade sub-package sends all the upgrade sub-packages in the same target upgrade package to each energy storage battery to be upgraded according to the determined upgrade order.

[0033] In one possible implementation, determining the sending status of each target upgrade package according to the number of times each target upgrade package is sent includes: For any of the energy storage batteries to be upgraded, after the target upgrade package fails to be sent, the target upgrade package is resent, and the number of resends corresponding to the target upgrade package is counted; The retransmission times are compared with a preset maximum retransmission times, and the sending status of each target upgrade package is determined based on each comparison result.

[0034] In the embodiment of the present specification, in the process of sending a target upgrade package to any energy storage battery to be upgraded, each energy storage battery to be upgraded will feedback the receiving status after receiving the target upgrade package. When the reply is 1, it means that the reception is normal, and when the reply is 0, it means that the reception is abnormal. When the first target upgrade package fails to be sent and the receiving feedback reply is 0, it indicates that the first target upgrade package fails to be sent. The target upgrade package can be resent, and the number of resends corresponding to the target upgrade package is counted. At the same time, the number of resends is compared with the preset maximum number of resends. Generally, the preset maximum number of resends is set to 3. Further, the sending status of each target upgrade package sent to the energy storage battery to be upgraded is determined according to each comparison result, that is, when the number of resends is greater than 3 times and the reception is still abnormal, that is, when the reception is abnormal for three consecutive times, the sending status of the target upgrade package is judged to be a sending failure, and when the number of resends is equal to 0 or greater than 0 and less than 3 times, and the reception is still normal, the sending status of the target upgrade package is judged to be a sending success.

[0035] Step 204: After each of the sending states is characterized as being sent successfully, an upgrade instruction is sent to each of the energy storage batteries to be upgraded corresponding thereto.

[0036] The upgrade instruction is used to control each of the energy storage batteries to be upgraded to be upgraded based on the target upgrade package.

[0037] In the embodiment of the present specification, after sending the target upgrade package to each energy storage battery to be upgraded in the upgrade order, as long as the sending status of a certain sending process is monitored to be sent successfully, the upgrade instruction can be sent to the corresponding energy storage battery to be upgraded. After receiving the upgrade instruction, the energy storage battery to be upgraded is upgraded first according to the received target upgrade package. Other energy storage batteries to be upgraded are upgraded in the same way according to the sending status of the target upgrade package. Among them, when the sending status is characterized as failure, it means that the corresponding energy storage battery to be upgraded has not received the target upgrade package, and there is no need to send the upgrade instruction to the corresponding energy storage battery to be upgraded.

[0038] In one possible implementation, after each of the sending states is characterized as being sent successfully, sending an upgrade instruction to each of the energy storage batteries to be upgraded corresponding thereto includes: For any of the energy storage batteries to be upgraded, after the sending status is characterized as successful sending, determining that the upgrade version information of the target upgrade package and the current working information of the energy storage battery to be upgraded are received; When the upgraded version information and the current operation information both meet the reset condition, an upgrade instruction is sent to the upgraded energy storage battery.

[0039] In the embodiments of the present specification, for the upgrade process of any energy storage battery to be upgraded, after monitoring that the sending status corresponding to the energy storage battery to be upgraded is characterized as successful sending, in order to ensure whether the received target upgrade package version is consistent with the instruction version information in the upgrade instruction, the upgrade version information of the received target upgrade package can be determined first. At the same time, in order to avoid affecting the energy storage battery to be upgraded that is in operation, it is necessary to first monitor the current working information in the energy storage battery to be upgraded at this time. Then, the upgrade version information and the current working information are judged against the reset condition. When the upgrade version information is consistent with the instruction version information in the upgrade instruction, and the current working information is that the battery current is less than 1A, it indicates that the upgrade version information and the current working information both meet the reset condition, and the upgrade instruction is sent to the upgraded energy storage battery. When it is judged that the reset condition is not met, it is prohibited to send the upgrade instruction to the upgraded energy storage battery until the reset condition is met.

[0040] In one possible implementation, each of the energy storage batteries to be upgraded is provided with a program running area and a program temporary storage area; After each of the sending states is characterized as being sent successfully, an upgrade instruction is sent to each of the corresponding energy storage batteries to be upgraded, wherein the upgrade instruction is used to control each of the energy storage batteries to be upgraded to be upgraded based on the target upgrade package, including: After the sending status is characterized as successful sending, an upgrade instruction is sent to each corresponding energy storage battery to be upgraded, wherein the upgrade instruction is used to control each energy storage battery to be upgraded to move each target upgrade package from the program temporary storage area to the program running area, and execute the program corresponding to each target upgrade package in the program running area; The method further comprises: After each receiving state is characterized as a sending failure, a pause upgrade instruction is sent to each corresponding energy storage battery to be upgraded, and the pause upgrade instruction is used to control each energy storage battery to be upgraded to execute the historical program in the program running area.

[0041] In the embodiments of this specification, generally, the programs in the energy storage battery system to be upgraded are stored in the flash of the hardware MCU, including the boot program Bootloader and the application layer program, wherein the Bootloader is fixed, and the application layer program is updated each time it is upgraded. In order to avoid the situation where the energy storage battery system to be upgraded has no program to run and causes a crash due to an upgrade failure, the flash setting can be divided into 4 storage areas, numbered 1-4 respectively, wherein storage area 1 is the Bootloader running area, storage area 2 is the information area, which stores the main running parameters of the program and can be modified; storage area 3 is the program running area, which cannot be modified and can only be erased; storage area 4 is the program temporary storage area. When the target upgrade package starts to be sent, the energy storage battery system to be upgraded will first place the newly received target upgrade package in storage area 4. When the target upgrade package is received, the online upgrade platform sends an upgrade instruction to the energy storage battery system to be upgraded. When the energy storage battery system to be upgraded restarts and resets, it moves the target upgrade package in storage area 4 to storage area 3, and executes the new program corresponding to the target upgrade package after reset. If the receiving status is characterized by a sending failure, that is, the upgrade fails, the program package temporarily received in storage area 4 is erased, and the historical program in storage area 3 is still run, which can ensure that even if the upgrade of the energy storage battery program fails, the energy storage battery system to be upgraded can still work normally.

[0042] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0043] See next Figure 3 , Figure 3 The structure diagram of an online upgrade device for a parallel energy storage battery provided in an embodiment of this specification is shown. It should be noted that: Figure 3 The online upgrade device of the parallel energy storage battery shown is used to implement the present application Figure 2 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2 The embodiment shown.

[0044] like Figure 3 As shown, the online upgrade device of the parallel energy storage battery may at least include: The acquisition module 301 is used to acquire upgrade message information and a target upgrade package from the online upgrade platform, and determine at least one energy storage battery to be upgraded in the upgrade message information; A determination module 302 is used to determine the upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded; The sending module 303 is used to send the target upgrade package to each of the energy storage batteries to be upgraded based on the upgrade order, and determine the sending status of each of the target upgrade packages according to the number of times each of the target upgrade packages is sent; The upgrading module 304 is used to send an upgrading instruction to each corresponding energy storage battery to be upgraded after each sending status is characterized as successfully sent, wherein the upgrading instruction is used to control each energy storage battery to be upgraded to upgrade based on the target upgrading package.

[0045] In one possible implementation, the determination module 302 is specifically configured to: Determine the current program version of each of the energy storage batteries to be upgraded and the upgrade program version of the target upgrade package; The current program versions are compared with the upgraded program versions respectively, and the upgrade sequence of the energy storage batteries to be upgraded is determined based on the comparison results.

[0046] In one possible implementation, the determination module 302 is further configured to: Calculate the difference between the version number of the upgraded program version and the version number of each current program version to obtain each difference result; The difference results are weighted and fused based on the historical upgrade time of each current program version, and the upgrade order of each energy storage battery to be upgraded is determined according to each weighted fusion result.

[0047] In one possible implementation, the sending module 303 is specifically used for: For any of the energy storage batteries to be upgraded, sub-packaging the target upgrade package according to the parameter information of the target upgrade package to obtain at least two upgrade sub-packages; All the upgrade sub-packages of the target upgrade package are sent to each of the energy storage batteries to be upgraded according to the upgrade sequence.

[0048] In one possible implementation, the sending module 303 is further configured to: For any of the energy storage batteries to be upgraded, after the target upgrade package fails to be sent, the target upgrade package is resent, and the number of resends corresponding to the target upgrade package is counted; The retransmission times are compared with a preset maximum retransmission times, and the sending status of each target upgrade package is determined based on each comparison result.

[0049] In one possible implementation, the upgrade module 304 is specifically used to: For any of the energy storage batteries to be upgraded, after the sending status is characterized as successful sending, determining that the upgrade version information of the target upgrade package and the current working information of the energy storage battery to be upgraded are received; When the upgraded version information and the current operation information both meet the reset condition, an upgrade instruction is sent to the upgraded energy storage battery.

[0050] In one possible implementation, the upgrade module 304 is further configured to: After each of the sending states is characterized as being sent successfully, an upgrade instruction is sent to each of the corresponding energy storage batteries to be upgraded, wherein the upgrade instruction is used to control each of the energy storage batteries to be upgraded to be upgraded based on the target upgrade package, including: After the sending status is characterized as successful sending, an upgrade instruction is sent to each corresponding energy storage battery to be upgraded, wherein the upgrade instruction is used to control each energy storage battery to be upgraded to move each target upgrade package from the program temporary storage area to the program running area, and execute the program corresponding to each target upgrade package in the program running area; The method further comprises: After each receiving state is characterized as a sending failure, a pause upgrade instruction is sent to each corresponding energy storage battery to be upgraded, and the pause upgrade instruction is used to control each energy storage battery to be upgraded to execute the historical program in the program running area.

[0051] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

[0052] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.

[0053] See next Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification is shown.

[0054] like Figure 4 As shown, the electronic device 400 may include: at least one device processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .

[0055] The communication bus 402 may be used to realize the connection and communication among the above-mentioned components.

[0056] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0057] The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0058] Among them, the device processor 401 may include one or more processing cores. The device processor 401 uses various interfaces and lines to connect various parts within the entire electronic device 400, and executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the device processor 401 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The device processor 401 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the device processor 401, and it can be implemented separately through a chip.

[0059] The memory 405 may include a RAM or a ROM. Optionally, the memory 405 includes a non-transitory computer-readable medium. The memory 405 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 405 may optionally be at least one storage device located away from the aforementioned device processor 401. As Figure 4 As shown, the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.

[0060] Specifically, the device processor 401 may be used to call the online upgrade application of the parallel energy storage battery stored in the memory 405, and specifically perform the following operations: Acquire upgrade message information and a target upgrade package from an online upgrade platform, and determine at least one energy storage battery to be upgraded in the upgrade message information; Determining an upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded; The target upgrade packages are respectively sent to each of the energy storage batteries to be upgraded based on the upgrade sequence, and the sending status of each of the target upgrade packages is determined according to the number of times each of the target upgrade packages is sent; After each of the sending states is characterized as being sent successfully, an upgrade instruction is sent to each of the corresponding energy storage batteries to be upgraded, wherein the upgrade instruction is used to control each of the energy storage batteries to be upgraded to be upgraded based on the target upgrade package.

[0061] As an optional embodiment of this specification, the step of determining the upgrade order of each energy storage battery to be upgraded according to the current program version of each energy storage battery to be upgraded includes: Determine the current program version of each of the energy storage batteries to be upgraded and the upgrade program version of the target upgrade package; The current program versions are compared with the upgraded program versions respectively, and the upgrade sequence of the energy storage batteries to be upgraded is determined based on the comparison results.

[0062] As an optional embodiment of this specification, the comparing the current program versions with the upgraded program versions respectively, and determining the upgrade order of the energy storage batteries to be upgraded based on the comparison results, includes: Calculate the difference between the version number of the upgraded program version and the version number of each current program version to obtain each difference result; The difference results are weighted and fused based on the historical upgrade time of each current program version, and the upgrade order of each energy storage battery to be upgraded is determined according to each weighted fusion result.

[0063] As an optional embodiment of this specification, the sending of the target upgrade package to each of the energy storage batteries to be upgraded based on the upgrade sequence includes: For any of the energy storage batteries to be upgraded, sub-packaging the target upgrade package according to the parameter information of the target upgrade package to obtain at least two upgrade sub-packages; All the upgrade sub-packages of the target upgrade package are sent to each of the energy storage batteries to be upgraded according to the upgrade sequence.

[0064] As an optional embodiment of this specification, the determining the sending status of each target upgrade package according to the number of times each target upgrade package is sent includes: For any of the energy storage batteries to be upgraded, after the target upgrade package fails to be sent, the target upgrade package is resent, and the number of resends corresponding to the target upgrade package is counted; The retransmission times are compared with a preset maximum retransmission times, and the sending status of each target upgrade package is determined based on each comparison result.

[0065] As an optional embodiment of this specification, after each sending status is characterized as sending successfully, sending an upgrade instruction to each corresponding energy storage battery to be upgraded includes: For any of the energy storage batteries to be upgraded, after the sending status is characterized as successful sending, determining that the upgrade version information of the target upgrade package and the current working information of the energy storage battery to be upgraded are received; When the upgraded version information and the current operation information both meet the reset condition, an upgrade instruction is sent to the upgraded energy storage battery.

[0066] As an option in the embodiments of this specification, each of the energy storage batteries to be upgraded is provided with a program running area and a program temporary storage area; After each of the sending states is characterized as being sent successfully, an upgrade instruction is sent to each of the corresponding energy storage batteries to be upgraded, wherein the upgrade instruction is used to control each of the energy storage batteries to be upgraded to be upgraded based on the target upgrade package, including: After the sending status is characterized as successful sending, an upgrade instruction is sent to each corresponding energy storage battery to be upgraded, wherein the upgrade instruction is used to control each energy storage battery to be upgraded to move each target upgrade package from the program temporary storage area to the program running area, and execute the program corresponding to each target upgrade package in the program running area; The method further comprises: After each receiving state is characterized as a sending failure, a pause upgrade instruction is sent to each corresponding energy storage battery to be upgraded, and the pause upgrade instruction is used to control each energy storage battery to be upgraded to execute the historical program in the program running area.

[0067] The embodiments of this specification also provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0068] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0069] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0070] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which 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. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0071] The units described 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.

[0072] 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.

[0073] 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 memory. 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. The computer software product is stored in a memory, including a number of 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 method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0074] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0075] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. An online upgrade method for a parallel energy storage battery, characterized in that: The method comprises: Acquire upgrade message information and a target upgrade package from an online upgrade platform, and determine at least one energy storage battery to be upgraded in the upgrade message information; Determining an upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded; The target upgrade packages are respectively sent to each of the energy storage batteries to be upgraded based on the upgrade sequence, and the sending status of each of the target upgrade packages is determined according to the number of times each of the target upgrade packages is sent; After each of the sending states is characterized as being sent successfully, an upgrade instruction is sent to each of the corresponding energy storage batteries to be upgraded, wherein the upgrade instruction is used to control each of the energy storage batteries to be upgraded to be upgraded based on the target upgrade package.

2. The method according to claim 1, characterized in that The step of determining the upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded includes: Determine the current program version of each of the energy storage batteries to be upgraded and the upgrade program version of the target upgrade package; The current program versions are compared with the upgraded program versions respectively, and the upgrade sequence of the energy storage batteries to be upgraded is determined based on the comparison results.

3. The method according to claim 2, characterized in that The step of comparing the current program versions with the upgraded program versions respectively, and determining the upgrade sequence of the energy storage batteries to be upgraded based on the comparison results, comprises: Calculate the difference between the version number of the upgraded program version and the version number of each current program version to obtain each difference result; The difference results are weighted and fused based on the historical upgrade time of each current program version, and the upgrade order of each energy storage battery to be upgraded is determined according to each weighted fusion result.

4. The method according to claim 1, characterized in that The step of sending the target upgrade package to each of the energy storage batteries to be upgraded based on the upgrade sequence comprises: For any of the energy storage batteries to be upgraded, sub-packaging the target upgrade package according to the parameter information of the target upgrade package to obtain at least two upgrade sub-packages; All the upgrade sub-packages of the target upgrade package are sent to each of the energy storage batteries to be upgraded according to the upgrade sequence.

5. The method according to claim 1, characterized in that The determining the sending status of each target upgrade package according to the number of times each target upgrade package is sent includes: For any of the energy storage batteries to be upgraded, after the target upgrade package fails to be sent, the target upgrade package is resent, and the number of resends corresponding to the target upgrade package is counted; The retransmission times are compared with a preset maximum retransmission times, and the sending status of each target upgrade package is determined based on each comparison result.

6. The method according to claim 1, characterized in that After each of the sending states is characterized as being sent successfully, sending an upgrade instruction to each of the energy storage batteries to be upgraded corresponding thereto, comprising: For any of the energy storage batteries to be upgraded, after the sending status is characterized as successful sending, determining that the upgrade version information of the target upgrade package and the current working information of the energy storage battery to be upgraded are received; When the upgraded version information and the current operation information both meet the reset condition, an upgrade instruction is sent to the upgraded energy storage battery.

7. The method according to claim 1, characterized in that Each of the energy storage batteries to be upgraded is provided with a program running area and a program temporary storage area; After each of the sending states is characterized as being sent successfully, an upgrade instruction is sent to each of the corresponding energy storage batteries to be upgraded, wherein the upgrade instruction is used to control each of the energy storage batteries to be upgraded to be upgraded based on the target upgrade package, including: After the sending status is characterized as successful sending, an upgrade instruction is sent to each corresponding energy storage battery to be upgraded, wherein the upgrade instruction is used to control each energy storage battery to be upgraded to move each target upgrade package from the program temporary storage area to the program running area, and execute the program corresponding to each target upgrade package in the program running area; The method further comprises: After each receiving state is characterized as a sending failure, a pause upgrade instruction is sent to each corresponding energy storage battery to be upgraded, and the pause upgrade instruction is used to control each energy storage battery to be upgraded to execute the historical program in the program running area.

8. An online upgrade device for a parallel energy storage battery, characterized in that: The device comprises: An acquisition module, used to acquire upgrade message information and a target upgrade package from an online upgrade platform, and determine at least one energy storage battery to be upgraded in the upgrade message information; A determination module, used to determine the upgrade order of each of the energy storage batteries to be upgraded according to the current program version of each of the energy storage batteries to be upgraded; A sending module, used to send the target upgrade package to each of the energy storage batteries to be upgraded based on the upgrade sequence, and determine the sending status of each of the target upgrade packages according to the number of times each of the target upgrade packages is sent; The upgrade module is used to send an upgrade instruction to each corresponding energy storage battery to be upgraded after each sending status is characterized as successful sending, wherein the upgrade instruction is used to control each energy storage battery to be upgraded to upgrade based on the target upgrade package.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium has instructions stored therein, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.