Upgrading method and device, computer equipment, readable storage medium and program product

By splitting the upgraded firmware into sub-firmware and communicating between each energy storage cabinet in the energy storage power station, the problem of low upgrade efficiency of energy storage cabinet software in the energy storage power station is solved, and flexible upgrades are achieved when the communication connection fails.

CN118939294APending Publication Date: 2024-11-12JIANGSU TIANHE ENERGY STORAGE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411064804.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The software upgrade efficiency of energy storage cabinets in existing energy storage power stations is inefficient, and the upgrade cannot be achieved when the communication connection between the management platform and the energy storage cabinet fails.

Method used

Split the upgraded firmware into multiple sub-firmware and communicate between each energy storage cabinet in the energy storage power station so that the target energy storage cabinet can obtain the required upgraded sub-firmware for software upgrade, breaking the upgrade limitations and improving flexibility .

Benefits of technology

It significantly improves the efficiency and flexibility of upgrading the energy storage cabinet software, and can still achieve upgrades when the communication connection between the energy storage cabinet and the management platform fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939294A_ABST
    Figure CN118939294A_ABST
Patent Text Reader

Abstract

The invention relates to an upgrading method and device, computer equipment, a readable storage medium and a program product. The method is applied to any energy storage cabinet in an energy storage power station. The method comprises the following steps: receiving upgrading sub-firmware sent by a management platform in the energy storage power station, receiving other upgrading sub-firmware sent by a target energy storage cabinet in the energy storage power station, and carrying out software upgrading according to the upgrading sub-firmware and the other upgrading sub-firmware; the upgrade sub-firmware is the sub-firmware after the upgrade firmware is split by the management platform. According to the method, the upgrade firmware is split and then sent to each energy storage cabinet, and compared with a method of directly sending the upgrade firmware (the upgrade firmware occupies a large capacity generally, so that the sending time is long) to the energy storage cabinet, the method greatly improves the sending efficiency of the upgrade firmware, and further improves the upgrade efficiency of the energy storage cabinet software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of software upgrade, and in particular to an upgrade method, apparatus, computer equipment, readable storage medium and program product. Background Art

[0002] In conventional energy storage power stations, multiple energy storage cabinets and management systems are networked through wired and wireless means. With the rapid development of communication and network technologies, energy storage cabinets also need to be continuously updated or upgraded with the continuous improvement of communication networks and user needs.

[0003] Currently, when the energy storage cabinets in the energy storage power station need to perform software upgrades, relevant technicians are usually required to manually install the upgrade software on the storage cabinets that need to be upgraded, and perform software upgrades on the energy storage cabinets based on the installed upgrade software.

[0004] However, the above-mentioned upgrading method has the problem of low upgrading efficiency. Summary of the invention

[0005] Based on this, it is necessary to provide an upgrade method, device, computer equipment, readable storage medium and program product that can improve the upgrade efficiency of software in energy storage cabinets in energy storage power stations in response to the above technical problems.

[0006] In a first aspect, the present application provides an upgrade method, which is applied to any energy storage cabinet in an energy storage power station, comprising:

[0007] Receiving the upgrade sub-firmware sent by the management platform in the energy storage power station; the upgrade sub-firmware is the sub-firmware obtained by splitting the upgrade firmware by the management platform;

[0008] Receive other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station;

[0009] The software is upgraded according to the upgrade sub-firmware and the other upgrade sub-firmware.

[0010] In one embodiment, the receiving of other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station includes:

[0011] Determine the target energy storage cabinet;

[0012] Send a request to the target energy storage cabinet;

[0013] Receive other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request.

[0014] In one embodiment, the above-mentioned determining the target energy storage cabinet includes:

[0015] Receive broadcast information sent by other energy storage cabinets in the energy storage power station; the broadcast information carries the identifiers of other upgraded sub-firmware received by other energy storage cabinets from the management platform;

[0016] The target energy storage cabinet is determined according to the upgrade requirements of the energy storage cabinet, the information of upgrading the sub-firmware and the broadcast information.

[0017] In one embodiment, the above-mentioned determining the target energy storage cabinet according to the upgrade requirements of the energy storage cabinet, the information of the upgraded sub-firmware and the broadcast information includes:

[0018] According to the upgrade requirements of the energy storage cabinet, determine the identifier of the required upgrade sub-firmware;

[0019] By comparing the identifier of the required upgrade sub-firmware, the identifier of the upgrade sub-firmware, and the identifiers of other upgrade sub-firmware, the target energy storage cabinet is determined from other energy storage cabinets.

[0020] In one embodiment, the software upgrade according to the upgrade sub-firmware and other upgrade sub-firmware includes:

[0021] According to the identifier of the upgrade sub-firmware and the identifier of the other upgrade sub-firmware, the upgrade sub-firmware and the other upgrade sub-firmware are merged to generate a target upgrade firmware;

[0022] Perform software upgrade according to the target upgrade firmware.

[0023] In a second aspect, the present application provides an upgrade method, which is applied to a management platform in an energy storage power station, comprising:

[0024] Splitting the upgrade firmware to obtain multiple upgrade sub-firmwares;

[0025] Each upgraded sub-firmware is sent to each energy storage cabinet in the energy storage power station to instruct each energy storage cabinet to perform software upgrade based on the upgraded sub-firmware.

[0026] In one embodiment, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after splitting, including:

[0027] Detect the communication status between the management platform and each energy storage cabinet;

[0028] The energy storage cabinets that meet the preset communication status requirements are used as energy storage cabinets to be upgraded;

[0029] According to the relevant information of the energy storage cabinet to be upgraded, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the split.

[0030] In one embodiment, the upgrade firmware is split according to the relevant information of the energy storage cabinet to be upgraded to obtain multiple upgrade sub-firmware after splitting, including:

[0031] Determine the number of splits based on the number of energy storage cabinets to be upgraded;

[0032] The upgrade firmware is split according to the split quantity to obtain multiple upgrade sub-firmwares after splitting.

[0033] In one embodiment, the upgrade firmware is split according to the split quantity to obtain multiple upgrade sub-firmware after splitting, including:

[0034] According to the communication status between the management platform and each energy storage cabinet to be upgraded, a corresponding weight is assigned to each energy storage cabinet to be upgraded;

[0035] According to the number of splits and the corresponding weights assigned to the energy storage cabinets to be upgraded, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the splits.

[0036] In one embodiment, the above-mentioned allocating a corresponding weight to each energy storage cabinet to be upgraded according to the communication status between the management platform and each energy storage cabinet to be upgraded includes:

[0037] According to the correspondence between the communication status and the weight, a corresponding weight is assigned to each energy storage cabinet to be upgraded.

[0038] In a third aspect, the present application provides an upgrade method, which is applied to an energy storage power station, comprising:

[0039] Any energy storage cabinet in an energy storage power station, used to perform the steps of the method described in the first aspect above;

[0040] The management platform in the energy storage power station is used to execute the steps of the method described in the second aspect above.

[0041] In a fourth aspect, the present application further provides an upgrading device, which is applied to any energy storage cabinet in an energy storage power station, comprising:

[0042] The first receiving module is used to receive the upgrade sub-firmware sent by the management platform in the energy storage power station; the upgrade sub-firmware is the sub-firmware obtained by splitting the upgrade firmware by the management platform;

[0043] A second receiving module is used to receive other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station;

[0044] The upgrade module is used for performing software upgrade according to the upgrade sub-firmware and other upgrade sub-firmware.

[0045] In a fifth aspect, the present application also provides an upgrade device, which is applied to a management platform in an energy storage power station, including:

[0046] A splitting module is used to split the upgrade firmware to obtain multiple upgrade sub-firmware after splitting;

[0047] The upgrade module is used to send each upgrade sub-firmware to each energy storage cabinet in the energy storage power station, so as to instruct each energy storage cabinet to perform software upgrade based on the upgrade sub-firmware.

[0048] In a sixth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first and second aspects above are implemented.

[0049] In a seventh aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first and second aspects above are implemented.

[0050] In an eighth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method described in the first and second aspects above.

[0051] The above-mentioned upgrade method, device, computer equipment, readable storage medium and program product, the above-mentioned method splits the upgrade firmware and sends it to each energy storage cabinet. Compared with the method of directly sending the upgrade firmware (the upgrade firmware usually occupies a large capacity, resulting in a long sending time) to the energy storage cabinet, this method greatly improves the sending efficiency of the upgrade firmware, thereby improving the upgrade efficiency of the energy storage cabinet software; in addition, in the case of a failure in the communication connection between any energy storage cabinet and the management platform, the existing management platform directly sends the upgrade firmware to the energy storage cabinet to achieve the energy storage cabinet upgrade method will not be realized, and the present method provides a method for obtaining the required upgrade sub-firmware from other energy storage cabinets in the energy storage power station when the communication connection between the energy storage cabinet and the management platform fails, so as to achieve the energy storage cabinet upgrade, breaking the upgrade limitation and greatly improving the flexibility of the energy storage cabinet upgrade. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions 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 related drawings can be obtained based on these drawings without paying creative work.

[0053] FIG1 is an application environment diagram of an upgrade method in one embodiment;

[0054] Figure 2 A schematic diagram of a flow chart of an upgrading method in an embodiment;

[0055] Figure 3 is a flow chart of an upgrading method in another embodiment;

[0056] Figure 4 is a flow chart of an upgrading method in another embodiment;

[0057] Figure 5 is a flow chart of an upgrading method in another embodiment;

[0058] Figure 6 is a flow chart of an upgrading method in another embodiment;

[0059] Figure 7 is a flow chart of an upgrading method in another embodiment;

[0060] Figure 8 is a flow chart of an upgrading method in another embodiment;

[0061] Fig. 9 is a flow chart of an upgrading method in another embodiment;

[0062] Fig.10 is a flow chart of an upgrading method in another embodiment;

[0063] FIG11 is a schematic diagram of a flow chart of an upgrading method in another embodiment;

[0064] Fig.12 is a structural block diagram of an upgrading device in an embodiment;

[0065] Fig.13 is a structural block diagram of an upgrading device in another embodiment;

[0066] FIG. 14 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0068] In conventional energy storage power stations, multiple energy storage cabinets and management systems are networked and connected through wired, wireless, and other means. With the rapid development of communication and network technologies, energy storage cabinets also need to be continuously updated or upgraded with the continuous improvement of communication networks and user needs. At present, when the energy storage cabinets in an energy storage power station need to perform software upgrades, relevant technicians are usually required to manually install the upgrade software on the storage cabinets that need to be upgraded, and perform software upgrades on the energy storage cabinets based on the installed upgrade software. However, the above-mentioned upgrade method has the problem of low upgrade efficiency. The embodiments of the present application are intended to solve this problem.

[0069] After introducing the background technology of the upgrade method provided in the embodiment of the present application, the implementation environment involved in the upgrade method provided in the embodiment of the present application will be briefly described below. The upgrade method provided in the embodiment of the present application can be applied to the energy storage power station shown in Figure 1. As shown in Figure 1, the energy storage power station includes a management platform 100 and at least one energy storage cabinet 200. The management platform 100 and each energy storage cabinet 200 are connected by wire or wireless means, and each energy storage cabinet 200 is also connected by wire or wireless means. The management platform 100 is used to manage each energy storage cabinet 200, and each energy storage cabinet 200 is used to store electrical energy.

[0070] Those skilled in the art will understand that the structure shown in FIG. 1 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. A specific terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0071] After introducing the application scenarios of the upgrade method provided in the embodiments of the present application above, the upgrade method described in the present application is introduced in detail below.

[0072] In one embodiment, Figure 2 As shown, an upgrade method is provided, which is described by taking the method applied to any energy storage cabinet 200 in FIG. 1 as an example, and includes the following steps:

[0073] S201. Receive an upgrade sub-firmware sent by a management platform in an energy storage power station.

[0074] The upgrade sub-firmware is the sub-firmware obtained by splitting the upgrade firmware by the management platform.

[0075] In an embodiment of the present application, when an energy storage cabinet in an energy storage power station requires software upgrade, the management platform in the energy storage power station will pre-divide the upgrade firmware required for the software upgrade into multiple upgrade sub-firmwares, and send the upgrade sub-firmwares to the energy storage cabinet via wired or wireless means, and then, the energy storage cabinet receives the upgrade sub-firmware sent by the management platform in the energy storage power station via wired or wireless means.

[0076] S202: Receive other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station.

[0077] Among them, the target energy storage cabinet refers to an energy storage cabinet that can provide any energy storage cabinet with other upgrade sub-firmware required for the software upgrade of any energy storage cabinet. For example, when any energy storage cabinet performs a software upgrade, the required upgrade sub-firmware includes upgrade sub-firmware 1, upgrade sub-firmware 2, upgrade sub-firmware 3 and upgrade sub-firmware 5. If any energy storage cabinet receives upgrade sub-firmware 3 sent by the management platform, it is necessary to obtain upgrade sub-firmware 1, upgrade sub-firmware 2 and upgrade sub-firmware 5 from other energy storage cabinets, that is, the energy storage cabinet that receives upgrade sub-firmware 1, upgrade sub-firmware 2 and upgrade sub-firmware 5 sent by the management platform is the target energy storage cabinet, and the other upgrade sub-firmware are upgrade sub-firmware 1, upgrade sub-firmware 2 and upgrade sub-firmware 5.

[0078] It should be noted that the energy storage cabinets are connected via wired or wireless means.

[0079] In the embodiment of the present application, after receiving the upgrade sub-firmware sent by the management platform, any energy storage cabinet can determine the upgrade sub-firmware that needs to be obtained from other energy storage cabinets based on the upgrade sub-firmware required for the upgrade and the upgrade sub-firmware sent by the management platform and received by itself, and determine the corresponding target energy storage cabinet based on the upgrade sub-firmware obtained from other energy storage cabinets as needed, and send an acquisition request to the target energy storage cabinet. After the target energy storage cabinet receives the acquisition request, it sends the corresponding upgrade sub-firmware to any energy storage cabinet according to the acquisition request, and any energy storage cabinet receives the upgrade sub-firmware sent by the target energy storage cabinet in the energy storage power station.

[0080] S203: Perform software upgrade according to the upgrade sub-firmware and other upgrade sub-firmware.

[0081] In the embodiment of the present application, after the other upgrade sub-firmware and the upgrade sub-firmware are obtained, the upgrade sub-firmware and the other sub-firmware can be merged to obtain the merged upgrade firmware, and the software upgrade can be performed according to the merged upgrade firmware. Optionally, the upgrade sub-firmware and the other upgrade sub-firmware can be sorted according to the software upgrade requirements of any energy storage cabinet, and the sorted upgrade sub-firmware can be merged, and after the merged upgrade firmware is obtained, the software upgrade is completed.

[0082] The upgrade method provided in the embodiment of the present application is applied to any energy storage cabinet in the energy storage power station, receives the upgrade sub-firmware sent by the management platform in the energy storage power station, receives other upgrade sub-firmware sent by the target energy storage cabinet in the energy storage power station, and performs software upgrade according to the upgrade sub-firmware and other upgrade sub-firmware; the upgrade sub-firmware is the sub-firmware after the management platform splits the upgrade firmware. The above method splits the upgrade firmware and sends it to each energy storage cabinet. Compared with the method of directly sending the upgrade firmware (the capacity occupied by the upgrade firmware is usually large, resulting in a long sending time) to the energy storage cabinet, this method greatly improves the sending efficiency of the upgrade firmware, thereby improving the upgrade efficiency of the energy storage cabinet software; in addition, in the case of a failure in the communication connection between any energy storage cabinet and the management platform, the existing management platform directly sends the upgrade firmware to the energy storage cabinet to achieve the energy storage cabinet upgrade method will not be implemented, and this method provides a method of obtaining the required upgrade sub-firmware from other energy storage cabinets in the energy storage power station when the communication connection between the energy storage cabinet and the management platform fails, so as to achieve the energy storage cabinet upgrade method, breaking the upgrade limitation and greatly improving the flexibility of the energy storage cabinet upgrade.

[0083] In one embodiment, Figure 2 Based on the embodiment shown, the process of receiving other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station can be described as follows: Figure 3 As shown, the above S202 "receiving other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station" includes:

[0084] S301, determining a target energy storage cabinet.

[0085] In the embodiment of the present application, after the upgrade sub-firmware sent by the management platform is obtained, the information of the upgrade sub-firmware to be obtained can be determined according to the upgrade requirements of the energy storage cabinet and the information of the upgrade sub-firmware sent by the management platform, and the target energy storage cabinet can be determined according to the information of the upgrade sub-firmware to be obtained. Optionally, if each energy storage cabinet is in good communication with the management platform, and each energy storage cabinet needs a complete upgrade firmware when upgrading its own software, then in this case, except for its own energy storage cabinet, all other energy storage cabinets in the energy storage power station are target energy storage cabinets.

[0086] S302: Send an acquisition request to the target energy storage cabinet.

[0087] The acquisition request instructs the target energy storage cabinet to send the upgrade sub-firmware acquired by itself from the management platform to any energy storage cabinet.

[0088] In the embodiment of the present application, after the target energy storage cabinet is determined as described above, an acquisition request may be sent to the target energy storage cabinet to obtain the upgrade sub-firmware obtained by the target energy storage cabinet from the management platform.

[0089] S303: Receive other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request.

[0090] In the embodiment of the present application, after sending the acquisition request to the target energy storage cabinet, the target energy storage cabinet will send the upgraded sub-firmware received by itself from the management platform to any energy storage cabinet, and any energy storage cabinet will receive other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request.

[0091] In the embodiment of the present application, after receiving the upgrade sub-firmware sent by the management platform, other upgrade sub-firmware required for the upgrade can be obtained from the target energy storage cabinet according to its own upgrade requirements, providing a data source for the software upgrade of the energy storage cabinet.

[0092] In one embodiment, Figure 3 Based on the embodiment shown, the process of determining the target energy storage cabinet can be described as follows: Figure 4 As shown in the above 301 “Determine the target energy storage cabinet”, includes:

[0093] S401. Receive broadcast information sent by other energy storage cabinets in the energy storage power station.

[0094] The broadcast information carries the identifiers of other upgraded sub-firmware received by other energy storage cabinets from the management platform, as well as the address information of other energy storage cabinets.

[0095] In an embodiment of the present application, after the upgrade sub-firmware sent by the management platform is obtained as described above, a broadcast message containing its own address information and identification information of the upgrade sub-firmware received from the management platform can be sent to other energy storage cabinets. At the same time, other energy storage cabinets can also send broadcast messages containing their own address information and identification information of the upgrade sub-firmware received from the management platform to the remaining energy storage cabinets except themselves. For any energy storage cabinet, the broadcast information sent by other energy storage cabinets in the energy storage power station is received.

[0096] S402: Determine a target energy storage cabinet according to the upgrade requirements of the energy storage cabinet, the information of the upgraded sub-firmware, and the broadcast information.

[0097] In the embodiment of the present application, after receiving the broadcast information sent by other energy storage cabinets in the energy storage power station, the information of the upgrade sub-firmware to be obtained is determined according to the upgrade requirements of its own energy storage cabinet and the identification information of the upgrade sub-firmware received from the management platform, and then the energy storage cabinet where the upgrade sub-firmware to be obtained is located is determined according to the address information of each energy storage cabinet in the broadcast information, and the energy storage cabinet is the target energy storage cabinet.

[0098] Optionally, a method for determining a target energy storage cabinet according to the upgrade requirements of the energy storage cabinet, the information of the upgraded sub-firmware, and the broadcast information is provided below, such as Figure 5As shown, the above S402 "determine the target energy storage cabinet according to the upgrade requirements of the energy storage cabinet, the information of the upgraded sub-firmware and the broadcast information" includes:

[0099] S4021. Determine the identifier of the required upgraded sub-firmware according to the upgrade requirement of the energy storage cabinet.

[0100] In the embodiment of the present application, after the upgrade sub-firmware sent by the management platform is obtained, the identifier of the upgrade sub-firmware required for the energy storage cabinet upgrade is determined according to the upgrade requirements of the energy storage cabinet. For example, if the energy storage cabinet needs to upgrade the communication system, the required upgrade sub-firmware includes upgrade sub-firmware 1, upgrade sub-firmware 2, and upgrade sub-firmware 5.

[0101] S4022: Determine the target storage cabinet from other energy storage cabinets by comparing the identifier of the required upgrade sub-firmware, the identifier of the upgrade sub-firmware, and the identifiers of other upgrade sub-firmware.

[0102] In an embodiment of the present application, after the identifier of the required upgrade sub-firmware is determined as described above, the identifier of the upgrade sub-firmware to be obtained is determined based on the identifier of the sub-firmware of the acquired management platform and the identifier of the required upgrade sub-firmware, and the identifier of the upgrade sub-firmware to be obtained is compared with the identifiers of other upgrade sub-firmware in the broadcast information to determine other upgrade sub-firmware that is consistent with the identifier of the upgrade sub-firmware to be obtained, and the energy storage cabinet corresponding to the other upgrade sub-firmware that is consistent with the identifier of the upgrade sub-firmware to be obtained is determined as the target energy storage cabinet.

[0103] The method for determining a target energy storage cabinet provided in an embodiment of the present application, after the energy storage cabinet receives the upgrade sub-firmware, broadcasts the information of the upgrade sub-firmware to other energy storage cabinets by broadcasting, and simultaneously receives the information of other upgrade sub-firmware broadcasted by other energy storage cabinets, and then determines the information of other upgrade sub-firmware to be obtained based on the upgrade requirements of the energy storage cabinet and the information of the upgrade sub-firmware, and determines the target energy storage cabinet according to the broadcast information and the information of the other upgrade sub-firmware, so as to provide a data source for subsequently sending an acquisition request to the target energy storage cabinet to obtain other upgrade sub-firmware of the target energy storage cabinet and complete the software upgrade.

[0104] In one embodiment, Figure 2-Figure 5 Based on the embodiment shown, the process of the above software upgrade can be described as follows: Figure 6 As shown, the above 203 “upgrading software according to the upgraded sub-firmware and other upgraded sub-firmware” includes:

[0105] S501: According to the identifier of the upgrade sub-firmware and the identifier of the other upgrade sub-firmware, merge the upgrade sub-firmware with the other upgrade sub-firmware to generate a target upgrade firmware.

[0106] In the embodiment of the present application, when the upgrade sub-firmware and other upgrade sub-firmware are obtained as described above, the upgrade sub-firmware and other upgrade sub-firmware can be merged according to the identifier of the upgrade sub-firmware and the identifier of the other upgrade sub-firmware to generate the target upgrade firmware.

[0107] It should be noted that when the management platform divides the upgrade firmware into multiple upgrade sub-firmware, it adds a corresponding identifier for each upgrade sub-firmware. For example, the management platform divides the upgrade firmware into 4 upgrade sub-firmware, which are in the order of the files of the upgrade firmware: upgrade sub-firmware 1, upgrade sub-firmware 2, upgrade sub-firmware 3 and upgrade sub-firmware 4. Then, when merging the upgrade sub-firmware, you can merge upgrade sub-firmware 1, upgrade sub-firmware 2, upgrade sub-firmware 3 and upgrade sub-firmware 4 in turn according to the file order of the upgrade firmware to generate the target upgrade firmware.

[0108] S502: Perform software upgrade according to the target upgrade firmware.

[0109] In the embodiment of the present application, after the target upgrade firmware is acquired as described above, the energy storage cabinet may upgrade the software according to the target upgrade firmware.

[0110] The software upgrade method provided in the embodiment of the present application first merges the upgrade sub-firmware and other upgrade sub-firmware into a target upgrade firmware, and then upgrades the software based on the target upgrade firmware, thereby providing a feasible method for software upgrade.

[0111] After the above introduction to the software upgrade method in any energy storage cabinet in the energy storage power station, the software upgrade method will be introduced from the side of the management platform in the energy storage power station.

[0112] In one embodiment, Figure 7 As shown, an upgrade method is provided, which is described by taking the method applied to the management platform 100 in FIG. 1 as an example, and includes the following steps:

[0113] S601: Split the upgrade firmware to obtain multiple upgrade sub-firmwares.

[0114] In the embodiment of the present application, when the management platform needs to perform a software upgrade on each energy storage cabinet, the upgrade firmware can be split according to a preset rule to obtain multiple upgrade sub-firmware after splitting. Optionally, the management platform can evenly split the upgrade firmware into multiple upgrade sub-firmware that is consistent with the number of energy storage cabinets according to the number of energy storage cabinets.

[0115] S602: Send each upgraded sub-firmware to each energy storage cabinet in the energy storage power station to instruct each energy storage cabinet to perform software upgrade based on the upgraded sub-firmware.

[0116] In an embodiment of the present application, after the multiple split upgrade sub-firmwares are obtained as described above, each upgrade sub-firmware can be sent to each energy storage cabinet in the energy storage power station respectively. After each energy storage cabinet receives the upgrade sub-firmware, it broadcasts the received upgrade sub-firmware to other energy storage cabinets in the form of broadcasting, so that other energy storage cabinets receive the upgrade sub-firmware required for their upgrade, and complete the software upgrade after obtaining the upgrade sub-firmware required for their upgrade.

[0117] The upgrade method provided in the embodiment of the present application is applied to the management platform in the energy storage power station, and the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the split; each upgrade sub-firmware is sent to each energy storage cabinet in the energy storage power station respectively to instruct each energy storage cabinet to perform software upgrade based on the upgrade sub-firmware. The above method splits the upgrade firmware and sends it to each energy storage cabinet. Compared with the method of directly sending the upgrade firmware (the capacity occupied by the upgrade firmware is usually large, resulting in a long sending time) to the energy storage cabinet, this method greatly improves the sending efficiency of the upgrade firmware, thereby improving the upgrade efficiency of the energy storage cabinet software; in addition, in the case of a failure in the communication connection between any energy storage cabinet and the management platform, the existing management platform directly sends the upgrade firmware to the energy storage cabinet to achieve the energy storage cabinet upgrade method will not be implemented, and this method provides a method of obtaining the required upgrade sub-firmware from other energy storage cabinets in the energy storage power station when the communication connection between the energy storage cabinet and the management platform fails, so as to achieve the energy storage cabinet upgrade method, breaking the upgrade limitation and greatly improving the flexibility of the energy storage cabinet upgrade.

[0118] In one embodiment, Figure 7 Based on the embodiment shown, the process of splitting the upgrade firmware into multiple upgrade sub-firmware can be described, such as Figure 8 As shown, the above S601 "splitting the upgrade firmware to obtain multiple upgrade sub-firmware after splitting" includes:

[0119] S701. Detect the communication status between the management platform and each energy storage cabinet.

[0120] In an embodiment of the present application, the management platform can send a test instruction to each energy storage cabinet, so that each energy storage cabinet feeds back reply information to the management platform according to the test instruction, and the reply information carries the time when the energy storage cabinet receives the test instruction. The management platform can determine the communication status between the management platform and the energy storage cabinet according to the time when the test instruction is received carried in the reply information; optionally, the shorter the time when the test instruction is received carried in the reply information, the better the communication status between the management platform and each energy storage cabinet, and the longer the time when the test instruction is received carried in the reply information, the worse the communication status between the management platform and each energy storage cabinet.

[0121] S702: Use energy storage cabinets that meet preset communication status requirements as energy storage cabinets to be upgraded.

[0122] The communication status requirement may refer to a preset time; the energy storage cabinet to be upgraded refers to an energy storage cabinet to which the management platform can send an upgrade sub-firmware.

[0123] In the embodiment of the present application, after the communication status between the management platform and each energy storage cabinet is obtained, the energy storage cabinet corresponding to the time of receiving the test instruction carried in the reply information that is less than the preset time threshold is used as the energy storage cabinet to be upgraded.

[0124] S703: Split the upgrade firmware according to the relevant information of the energy storage cabinet to be upgraded to obtain multiple upgrade sub-firmwares.

[0125] The relevant information includes the number of energy storage cabinets to be upgraded and the communication status between the management platform and the energy storage cabinets to be upgraded.

[0126] In the embodiment of the present application, the upgrade firmware can be evenly split into a plurality of upgrade sub-firmwares that are equal to the number of energy storage cabinets to be upgraded according to the number of energy storage cabinets to be upgraded; the weight of each energy storage cabinet to be upgraded can also be determined according to the communication status between the management platform and each energy storage cabinet to be upgraded, and then the upgrade firmware can be split into a plurality of upgrade sub-firmwares according to the weight.

[0127] The upgrade firmware division method provided in the embodiment of the present application divides the upgrade firmware based on the communication status between the management platform and each energy storage cabinet, so that the energy storage cabinet with a good communication status with the management platform can be allocated with a larger capacity upgrade sub-firmware, and the energy storage cabinet with a poor communication status with the management platform can be allocated with a smaller capacity upgrade sub-firmware, thereby improving the data transmission efficiency between the management platform and each energy storage cabinet, and further improving the upgrade efficiency of the energy storage cabinet software.

[0128] In one embodiment, Figure 8 Based on the embodiment shown, the process of splitting the upgrade firmware into multiple upgrade sub-firmware can be further described, such as Fig. 9 As shown, the above S703 "splitting the upgrade firmware according to the relevant information of the energy storage cabinet to be upgraded to obtain multiple upgrade sub-firmware after splitting" includes:

[0129] S801. Determine the number of splits according to the number of energy storage cabinets to be upgraded.

[0130] In the embodiment of the present application, after the energy storage cabinets that meet the preset communication status requirements are set as the energy storage cabinets to be upgraded, the number of energy storage cabinets that meet the preset communication status requirements, that is, the number of energy storage cabinets to be upgraded, is determined, and the number of energy storage cabinets to be upgraded is determined as the split number.

[0131] S802: Split the upgrade firmware according to the split quantity to obtain multiple upgrade sub-firmwares after splitting.

[0132] In the embodiment of the present application, after the number of splits is determined as above, the upgrade firmware may be evenly split into the number of upgrade sub-firmware.

[0133] Optionally, the following provides a specific implementation step of splitting the upgrade firmware according to the split quantity, such as Fig.10 As shown, the above S802 "split the upgrade firmware according to the split quantity to obtain multiple upgrade sub-firmware after splitting" includes:

[0134] S8021. Allocate a corresponding weight to each energy storage cabinet to be upgraded according to the communication status between the management platform and each energy storage cabinet to be upgraded.

[0135] In the embodiment of the present application, after the communication status between the management platform and each energy storage cabinet to be upgraded is obtained, a corresponding weight is assigned to each energy storage cabinet to be upgraded according to the communication level between the management platform and each energy storage cabinet to be upgraded carried in the communication status. For example, there are three energy storage cabinets to be upgraded as determined above, and the communication level between energy storage cabinet 1 to be upgraded and the management platform is good, then the weight assigned to energy storage cabinet 1 to be upgraded is 1 / 2, the communication level between energy storage cabinet 2 to be upgraded and the management platform is medium, then the weight assigned to energy storage cabinet 2 to be upgraded is 1 / 3, and the communication level between energy storage cabinet 3 to be upgraded and the management platform is poor, then the weight assigned to energy storage cabinet 3 to be upgraded is 1 / 6.

[0136] Optionally, a method for allocating corresponding weights to each energy storage cabinet to be upgraded is provided below, that is, the above S8021 "allocating corresponding weights to each energy storage cabinet to be upgraded according to the communication status between the management platform and each energy storage cabinet to be upgraded", including:

[0137] According to the correspondence between the communication status and the weight, a corresponding weight is assigned to each energy storage cabinet to be upgraded.

[0138] The corresponding relationship between the communication status and the weight is determined in advance according to the communication degree between the management platform and each energy storage cabinet to be upgraded. For example, if the communication degree between the energy storage cabinet to be upgraded and the management platform is good, the weight allocated to the energy storage cabinet to be upgraded is 1 / 2; if the communication degree between the energy storage cabinet to be upgraded and the management platform is medium, the weight allocated to the energy storage cabinet to be upgraded is 1 / 3; if the communication degree between the energy storage cabinet to be upgraded and the management platform is poor, the weight allocated to the energy storage cabinet to be upgraded is 1 / 6.

[0139] In the embodiment of the present application, the correspondence between the communication status and the weight may be predetermined, and according to the correspondence between the communication status and the weight, a corresponding weight may be allocated to each energy storage cabinet to be upgraded corresponding to the communication status.

[0140] S8022. Split the upgrade firmware according to the number of splits and the corresponding weight assigned to each energy storage cabinet to be upgraded to obtain multiple upgrade sub-firmwares after splitting.

[0141] In the embodiment of the present application, after the number of splits is obtained and the corresponding weight is assigned to each energy storage cabinet to be upgraded, the upgrade firmware is split into multiple upgrade sub-firmwares according to the number of splits and the corresponding weight assigned to each energy storage cabinet to be upgraded.

[0142] The upgrade firmware division method provided in the embodiment of the present application divides the upgrade firmware based on the communication status between the management platform and each energy storage cabinet, so that the energy storage cabinet with a good communication status with the management platform can be allocated with a larger capacity upgrade sub-firmware, and the energy storage cabinet with a poor communication status with the management platform can be allocated with a smaller capacity upgrade sub-firmware, thereby improving the data transmission efficiency between the management platform and each energy storage cabinet, and further improving the upgrade efficiency of the energy storage cabinet software.

[0143] In one embodiment, as shown in FIG11 , a complete upgrade method is also provided, which is applied to an energy storage power station, including:

[0144] S10, detecting the communication status between the management platform and each energy storage cabinet;

[0145] S11, taking the energy storage cabinet that meets the preset communication status requirements as the energy storage cabinet to be upgraded;

[0146] S12. Determine the number of splits according to the number of energy storage cabinets to be upgraded;

[0147] S13, assigning a corresponding weight to each energy storage cabinet to be upgraded according to the corresponding relationship between the communication status and the weight;

[0148] S14, splitting the upgrade firmware according to the number of splits and assigning corresponding weights to each energy storage cabinet to be upgraded, to obtain multiple upgrade sub-firmwares after splitting;

[0149] S15, sending each upgraded sub-firmware to each energy storage cabinet in the energy storage power station;

[0150] S16, receiving the upgrade sub-firmware sent by the management platform in the energy storage power station;

[0151] S17, receiving identifiers of other upgraded sub-firmware sent by other energy storage cabinets in the energy storage power station;

[0152] S18. Determine the identifier of the required upgraded sub-firmware according to the upgrade requirements of the energy storage cabinet;

[0153] S19, determining a target energy storage cabinet from other energy storage cabinets by comparing an identifier of a required upgrade sub-firmware, an identifier of the upgrade sub-firmware, and identifiers of other upgrade sub-firmware;

[0154] S20, sending an acquisition request to the target energy storage cabinet;

[0155] S21, receiving other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request;

[0156] S22, according to the identifier of the upgrade sub-firmware and the identifier of the other upgrade sub-firmware, merge the upgrade sub-firmware with the other upgrade sub-firmware to generate a target upgrade firmware;

[0157] S23, performing software upgrade according to the target upgrade firmware.

[0158] The above method splits the upgrade firmware and sends it to each energy storage cabinet. Compared with the method of directly sending the upgrade firmware (the upgrade firmware usually occupies a large capacity, resulting in a long sending time) to the energy storage cabinet, this method greatly improves the sending efficiency of the upgrade firmware, thereby improving the upgrade efficiency of the energy storage cabinet software; in addition, in the case of a failure in the communication connection between any energy storage cabinet and the management platform, the existing management platform directly sends the upgrade firmware to the energy storage cabinet to achieve the energy storage cabinet upgrade method will not be realized. The method provides a method for obtaining the required upgrade sub-firmware from other energy storage cabinets in the energy storage power station when the communication connection between the energy storage cabinet and the management platform fails, thereby achieving the energy storage cabinet upgrade method, breaking the upgrade limitation and greatly improving the flexibility of the energy storage cabinet upgrade.

[0159] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0160] Based on the same inventive concept, the embodiment of the present application also provides an upgrade device for implementing the upgrade method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more upgrade device embodiments provided below can refer to the limitations on the upgrade method above, and will not be repeated here.

[0161] In an exemplary embodiment, Fig.12As shown, an upgrade device is provided, which is applied to any energy storage cabinet in an energy storage power station, including: a first receiving module 10, a second receiving module 11 and an upgrade module 12, wherein:

[0162] The first receiving module 10 is used to receive the upgrade sub-firmware sent by the management platform in the energy storage power station; the upgrade sub-firmware is the sub-firmware obtained by splitting the upgrade firmware by the management platform.

[0163] The second receiving module 11 is used to receive other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station.

[0164] The upgrading module 12 is used to perform software upgrading according to the upgrading sub-firmware and other upgrading sub-firmware.

[0165] In an exemplary embodiment, the second receiving module 11 includes: a determining unit, a sending unit and a receiving unit, wherein:

[0166] A determination unit, specifically used to determine a target energy storage cabinet;

[0167] A sending unit, specifically used to send an acquisition request to a target energy storage cabinet;

[0168] The receiving unit is specifically used to receive other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request.

[0169] In an exemplary embodiment, the above-mentioned determination unit is specifically further used to receive broadcast information sent by other energy storage cabinets in the energy storage power station; the broadcast information carries the identification of other upgraded sub-firmware received by other energy storage cabinets from the management platform; and the target energy storage cabinet is determined according to the upgrade requirements of the energy storage cabinet, the information of the upgraded sub-firmware and the broadcast information.

[0170] In an exemplary embodiment, the above-mentioned determination unit is further specifically used to determine the identifier of the required upgrade sub-firmware according to the upgrade requirements of the energy storage cabinet; by comparing the identifier of the required upgrade sub-firmware, the identifier of the upgrade sub-firmware, and the identifiers of other upgrade sub-firmware, the target energy storage cabinet is determined from other energy storage cabinets.

[0171] In an exemplary embodiment, the upgrade module 12 includes: a fusion unit and an upgrade unit, wherein:

[0172] a fusion unit, specifically used to fuse the upgrade sub-firmware with other upgrade sub-firmware according to the identifier of the upgrade sub-firmware and the identifier of other upgrade sub-firmware, so as to generate a target upgrade firmware;

[0173] The upgrade unit is specifically used to perform software upgrade according to the target upgrade firmware.

[0174] In an exemplary embodiment, Fig.13As shown, an upgrade device is provided, which is applied to a management platform in an energy storage power station, including: a splitting module 20 and a sending module 21, wherein:

[0175] A splitting module 20 is used to split the upgrade firmware to obtain multiple upgrade sub-firmware after splitting;

[0176] The sending module 21 is used to send each upgraded sub-firmware to each energy storage cabinet in the energy storage power station, so as to instruct each energy storage cabinet to perform software upgrade based on the upgraded sub-firmware.

[0177] In an exemplary embodiment, the above-mentioned splitting module 20 includes: a detection unit, a determination unit and a splitting unit, wherein:

[0178] A detection unit, specifically used to detect the communication status between the management platform and each energy storage cabinet;

[0179] A determination unit, specifically configured to select an energy storage cabinet that meets a preset communication state requirement as an energy storage cabinet to be upgraded;

[0180] The splitting unit is specifically used to split the upgrade firmware according to the relevant information of the energy storage cabinet to be upgraded, so as to obtain a plurality of upgraded sub-firmware after the splitting.

[0181] In an exemplary embodiment, the splitting unit is further configured to determine the splitting quantity according to the quantity of energy storage cabinets to be upgraded; and split the upgrade firmware according to the splitting quantity to obtain a plurality of upgrade sub-firmwares after the splitting.

[0182] In an exemplary embodiment, the splitting unit is further configured to assign a corresponding weight to each energy storage cabinet to be upgraded according to the communication status between the management platform and each energy storage cabinet to be upgraded; and to split the upgrade firmware according to the number of splits and the corresponding weight assigned to each energy storage cabinet to be upgraded to obtain a plurality of upgrade sub-firmwares after the splits.

[0183] In an exemplary embodiment, the splitting unit is further configured to allocate a corresponding weight to each energy storage cabinet to be upgraded according to a corresponding relationship between the communication status and the weight.

[0184] In an exemplary embodiment, an upgrading device is also provided, which is applied to an energy storage power station, including:

[0185] Any energy storage cabinet in an energy storage power station, used to execute the method described in the above embodiment;

[0186] The management platform in the energy storage power station is used to execute the method described in the above embodiment.

[0187] Each module in the above-mentioned upgrading device can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0188] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG14. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store communication status data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an upgrade method is implemented.

[0189] Those skilled in the art will understand that the structure shown in FIG. 14 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0190] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0191] Receiving the upgrade sub-firmware sent by the management platform in the energy storage power station; the upgrade sub-firmware is the sub-firmware obtained by splitting the upgrade firmware by the management platform;

[0192] Receive other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station;

[0193] Perform software upgrade based on upgrade sub-firmware and other upgrade sub-firmware.

[0194] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0195] Determine the target energy storage cabinet;

[0196] Send a request to the target energy storage cabinet;

[0197] Receive other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request.

[0198] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0199] Receive broadcast information sent by other energy storage cabinets in the energy storage power station; the broadcast information carries the identifiers of other upgraded sub-firmware received by other energy storage cabinets from the management platform;

[0200] The target energy storage cabinet is determined according to the upgrade requirements of the energy storage cabinet, the information of upgrading the sub-firmware and the broadcast information.

[0201] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0202] According to the upgrade requirements of the energy storage cabinet, determine the identifier of the required upgrade sub-firmware;

[0203] By comparing the identifier of the required upgrade sub-firmware, the identifier of the upgrade sub-firmware, and the identifiers of other upgrade sub-firmware, the target energy storage cabinet is determined from other energy storage cabinets.

[0204] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0205] According to the identifier of the upgrade sub-firmware and the identifier of the other upgrade sub-firmware, the upgrade sub-firmware and the other upgrade sub-firmware are merged to generate a target upgrade firmware;

[0206] Perform software upgrade according to the target upgrade firmware.

[0207] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0208] Splitting the upgrade firmware to obtain multiple upgrade sub-firmwares;

[0209] Each upgraded sub-firmware is sent to each energy storage cabinet in the energy storage power station to instruct each energy storage cabinet to perform software upgrade based on the upgraded sub-firmware.

[0210] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0211] Detect the communication status between the management platform and each energy storage cabinet;

[0212] The energy storage cabinets that meet the preset communication status requirements are used as energy storage cabinets to be upgraded;

[0213] According to the relevant information of the energy storage cabinet to be upgraded, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the split.

[0214] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0215] Determine the number of splits based on the number of energy storage cabinets to be upgraded;

[0216] The upgrade firmware is split according to the split quantity to obtain multiple upgrade sub-firmwares after splitting.

[0217] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0218] According to the communication status between the management platform and each energy storage cabinet to be upgraded, a corresponding weight is assigned to each energy storage cabinet to be upgraded;

[0219] According to the number of splits and the corresponding weights assigned to the energy storage cabinets to be upgraded, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the splits.

[0220] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0221] According to the correspondence between the communication status and the weight, a corresponding weight is assigned to each energy storage cabinet to be upgraded.

[0222] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0223] Receiving the upgrade sub-firmware sent by the management platform in the energy storage power station; the upgrade sub-firmware is the sub-firmware obtained by splitting the upgrade firmware by the management platform;

[0224] Receive other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station;

[0225] Perform software upgrade based on upgrade sub-firmware and other upgrade sub-firmware.

[0226] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0227] Determine the target energy storage cabinet;

[0228] Send a request to the target energy storage cabinet;

[0229] Receive other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request.

[0230] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0231] Receive broadcast information sent by other energy storage cabinets in the energy storage power station; the broadcast information carries the identifiers of other upgraded sub-firmware received by other energy storage cabinets from the management platform;

[0232] The target energy storage cabinet is determined according to the upgrade requirements of the energy storage cabinet, the information of upgrading the sub-firmware and the broadcast information.

[0233] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0234] According to the upgrade requirements of the energy storage cabinet, determine the identifier of the required upgrade sub-firmware;

[0235] By comparing the identifier of the required upgrade sub-firmware, the identifier of the upgrade sub-firmware, and the identifiers of other upgrade sub-firmware, the target energy storage cabinet is determined from other energy storage cabinets.

[0236] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0237] According to the identifier of the upgrade sub-firmware and the identifier of the other upgrade sub-firmware, the upgrade sub-firmware and the other upgrade sub-firmware are merged to generate a target upgrade firmware;

[0238] Perform software upgrade according to the target upgrade firmware.

[0239] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0240] Splitting the upgrade firmware to obtain multiple upgrade sub-firmwares;

[0241] Each upgraded sub-firmware is sent to each energy storage cabinet in the energy storage power station to instruct each energy storage cabinet to perform software upgrade based on the upgraded sub-firmware.

[0242] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0243] Detect the communication status between the management platform and each energy storage cabinet;

[0244] The energy storage cabinets that meet the preset communication status requirements are used as energy storage cabinets to be upgraded;

[0245] According to the relevant information of the energy storage cabinet to be upgraded, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the split.

[0246] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0247] Determine the number of splits based on the number of energy storage cabinets to be upgraded;

[0248] The upgrade firmware is split according to the split quantity to obtain multiple upgrade sub-firmwares after splitting.

[0249] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0250] According to the communication status between the management platform and each energy storage cabinet to be upgraded, a corresponding weight is assigned to each energy storage cabinet to be upgraded;

[0251] According to the number of splits and the corresponding weights assigned to the energy storage cabinets to be upgraded, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the splits.

[0252] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0253] According to the correspondence between the communication status and the weight, a corresponding weight is assigned to each energy storage cabinet to be upgraded.

[0254] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0255] Receiving the upgrade sub-firmware sent by the management platform in the energy storage power station; the upgrade sub-firmware is the sub-firmware obtained by splitting the upgrade firmware by the management platform;

[0256] Receive other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station;

[0257] Perform software upgrade based on upgrade sub-firmware and other upgrade sub-firmware.

[0258] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0259] Determine the target energy storage cabinet;

[0260] Send a request to the target energy storage cabinet;

[0261] Receive other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request.

[0262] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0263] Receive broadcast information sent by other energy storage cabinets in the energy storage power station; the broadcast information carries the identifiers of other upgraded sub-firmware received by other energy storage cabinets from the management platform;

[0264] The target energy storage cabinet is determined according to the upgrade requirements of the energy storage cabinet, the information of upgrading the sub-firmware and the broadcast information.

[0265] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0266] According to the upgrade requirements of the energy storage cabinet, determine the identifier of the required upgrade sub-firmware;

[0267] By comparing the identifier of the required upgrade sub-firmware, the identifier of the upgrade sub-firmware, and the identifiers of other upgrade sub-firmware, the target energy storage cabinet is determined from other energy storage cabinets.

[0268] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0269] According to the identifier of the upgrade sub-firmware and the identifier of the other upgrade sub-firmware, the upgrade sub-firmware and the other upgrade sub-firmware are merged to generate a target upgrade firmware;

[0270] Perform software upgrade according to the target upgrade firmware.

[0271] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0272] Splitting the upgrade firmware to obtain multiple upgrade sub-firmwares;

[0273] Each upgraded sub-firmware is sent to each energy storage cabinet in the energy storage power station to instruct each energy storage cabinet to perform software upgrade based on the upgraded sub-firmware.

[0274] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0275] Detect the communication status between the management platform and each energy storage cabinet;

[0276] The energy storage cabinets that meet the preset communication status requirements are used as energy storage cabinets to be upgraded;

[0277] According to the relevant information of the energy storage cabinet to be upgraded, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the split.

[0278] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0279] Determine the number of splits based on the number of energy storage cabinets to be upgraded;

[0280] The upgrade firmware is split according to the split quantity to obtain multiple upgrade sub-firmwares after splitting.

[0281] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0282] According to the communication status between the management platform and each energy storage cabinet to be upgraded, a corresponding weight is assigned to each energy storage cabinet to be upgraded;

[0283] According to the number of splits and the corresponding weights assigned to the energy storage cabinets to be upgraded, the upgrade firmware is split to obtain multiple upgrade sub-firmwares after the splits.

[0284] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0285] According to the correspondence between the communication status and the weight, a corresponding weight is assigned to each energy storage cabinet to be upgraded.

[0286] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0287] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0288] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An upgrading method, characterized in that: Applied to any energy storage cabinet in an energy storage power station, the method comprises: Receiving an upgrade sub-firmware sent by a management platform in the energy storage power station; the upgrade sub-firmware is a sub-firmware obtained by splitting the upgrade firmware by the management platform; Receiving other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station; Software upgrade is performed according to the upgrade sub-firmware and the other upgrade sub-firmware.

2. The method according to claim 1, characterized in that The receiving other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station includes: Determining the target energy storage cabinet; Sending an acquisition request to the target energy storage cabinet; Receive other upgraded sub-firmware sent by the target energy storage cabinet based on the acquisition request.

3. The method according to claim 2, characterized in that The determining the target energy storage cabinet includes: Receiving broadcast information sent by other energy storage cabinets in the energy storage power station; the broadcast information carries the identifiers of other upgraded sub-firmware received by the other energy storage cabinets from the management platform; The target energy storage cabinet is determined according to the upgrade requirement of the energy storage cabinet, the information of the upgrade sub-firmware and the broadcast information.

4. The method according to claim 3, characterized in that The determining the target energy storage cabinet according to the upgrade requirement of the energy storage cabinet, the information of the upgrade sub-firmware and the broadcast information includes: According to the upgrade requirements of the energy storage cabinet, determine the identifier of the required upgrade sub-firmware; The target energy storage cabinet is determined from the other energy storage cabinets by comparing the identifier of the required upgrade sub-firmware, the identifier of the upgrade sub-firmware, and the identifiers of the other upgrade sub-firmware.

5. The method according to any one of claims 1 to 4, characterized in that: The performing software upgrade according to the upgrade sub-firmware and the other upgrade sub-firmware includes: According to the identifier of the upgrade sub-firmware and the identifier of the other upgrade sub-firmware, the upgrade sub-firmware and the other upgrade sub-firmware are merged to generate a target upgrade firmware; The software is upgraded according to the target upgrade firmware.

6. An upgrading method, characterized in that: A management platform applied to an energy storage power station, the method comprising: Splitting the upgrade firmware to obtain multiple upgrade sub-firmwares; Each of the upgraded sub-firmware is sent to each energy storage cabinet in the energy storage power station respectively, so as to instruct each of the energy storage cabinets to perform software upgrade based on the upgraded sub-firmware.

7. The method according to claim 6, characterized in that The upgrading firmware is split to obtain multiple upgrading sub-firmwares after splitting, including: Detecting the communication status between the management platform and each of the energy storage cabinets; The energy storage cabinets that meet the preset communication status requirements are used as energy storage cabinets to be upgraded; The upgrade firmware is split according to the relevant information of the energy storage cabinet to be upgraded to obtain a plurality of upgrade sub-firmwares after the splitting.

8. The method according to claim 7, characterized in that The upgrading firmware is split according to the relevant information of the energy storage cabinet to be upgraded to obtain multiple upgrading sub-firmwares after splitting, including: Determine the number of splits according to the number of energy storage cabinets to be upgraded; The upgrade firmware is split according to the split quantity to obtain a plurality of upgrade sub-firmwares after splitting.

9. The method according to claim 8, characterized in that The step of splitting the upgrade firmware according to the split quantity to obtain a plurality of upgrade sub-firmwares after splitting includes: According to the communication status between the management platform and each of the energy storage cabinets to be upgraded, a corresponding weight is allocated to each of the energy storage cabinets to be upgraded; According to the split quantity and the corresponding weight assigned to each energy storage cabinet to be upgraded, the upgrade firmware is split to obtain a plurality of upgrade sub-firmwares after the split.

10. The method according to claim 9, characterized in that The allocating a corresponding weight to each of the energy storage cabinets to be upgraded according to the communication status between the management platform and each of the energy storage cabinets to be upgraded includes: According to the correspondence between the communication status and the weight, a corresponding weight is allocated to each of the energy storage cabinets to be upgraded.

11. An upgrading method, characterized in that: Applied to an energy storage power station, the method comprises: Any energy storage cabinet in the energy storage power station is used to perform the method according to any one of claims 1 to 5; The management platform in the energy storage power station is used to execute the method according to any one of claims 6 to 10.

12. An upgrading device, characterized in that: Applicable to any energy storage cabinet in an energy storage power station, the device comprises: A first receiving module is used to receive an upgrade sub-firmware sent by a management platform in the energy storage power station; the upgrade sub-firmware is a sub-firmware obtained by splitting the upgrade firmware by the management platform; A second receiving module, used to receive other upgraded sub-firmware sent by the target energy storage cabinet in the energy storage power station; An upgrade module is used to perform software upgrade according to the upgrade sub-firmware and the other upgrade sub-firmware.

13. An upgrading device, characterized in that: A management platform used in an energy storage power station, the device comprising: A splitting module is used to split the upgrade firmware to obtain multiple upgrade sub-firmware after splitting; The upgrade module is used to send each of the upgrade sub-firmware to each energy storage cabinet in the energy storage power station, so as to instruct each of the energy storage cabinets to perform software upgrade based on the upgrade sub-firmware.

14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.