System upgrading method and system based on service center

By adopting a system upgrade method based on the business center in the system, the business center as the upgrade unit as the entire business center, the compatibility problem between multiple programs in the prior art is solved, and a high reliability and security system upgrade is achieved.

CN119883333APending Publication Date: 2025-04-25CONTEMPORARY NEBULA TECH ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510158315.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing system upgrade method cannot ensure compatibility between multiple programs that need to coordinate work, resulting in limited business functions or failure in data synchronization.

Method used

The system upgrade method based on the business center is adopted, and the business center as the smallest unit of the upgrade is used. Multiple business centers are upgraded through the upgrade center, and the operating data of the lower computer is transmitted to the new business center during the upgrade process to ensure the coordination performance, reliability and consistency of the operation strategy.

Benefits of technology

By using the business center as an upgrade unit as a whole, compatibility between multiple programs is ensured, reliability and security of system upgrades are improved, and data loss is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883333A_ABST
    Figure CN119883333A_ABST
Patent Text Reader

Abstract

The invention discloses a system upgrading method and system based on service centers, the method is applied to a system with a plurality of service centers and an upgrading center, the system is divided into a plurality of service centers according to service types, and the upgrading center is used for upgrading the plurality of service centers. Comprising the following steps: S1, acquiring an upgrading instruction, and taking a service center matched with the upgrading instruction as a to-be-upgraded center; s2, obtaining an upgrade installation package, and generating a new service center according to the upgrade installation package and the to-be-upgraded center; and S3, starting the new service center, and closing the to-be-upgraded center. According to the system upgrading method provided by the invention, the system is divided into a plurality of service centers according to the service types, and the reliability and the safety of automatic upgrading are improved based on the service centers serving as the minimum unit of upgrading.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This case is a divisional application based on the invention patent with application date of July 23, 2024, application number: 202410988438.9, and name: "A method for automatic system upgrade". Technical Field

[0002] The present invention relates to the technical field of energy storage management systems, and in particular to a system upgrade method and system based on a business center. Background Art

[0003] With the popularization of agile development and DevOps concepts, the iteration speed of software products has increased significantly, and new features, bug fixes, performance optimization and other upgrades are frequently released. Existing system upgrades usually use a single program as the minimum upgrade unit. However, some types of services provided by the system require coordination between multiple programs to be implemented. The system upgrade method that uses programs as the minimum upgrade unit cannot ensure the compatibility between multiple programs that need to be coordinated. Therefore, this existing system upgrade method increases program compatibility issues and operation and maintenance complexity, which may result in limited business functions or data synchronization failures after the system upgrade. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a system upgrade method and system based on a business center to solve the problem that the existing system upgrade cannot ensure the compatibility between multiple programs that need to work in coordination.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a system upgrade method based on a business center, which is applied to a system having multiple business centers and an upgrade center, wherein the system is divided into multiple business centers according to business types, and the upgrade center is used to upgrade the multiple business centers, including the following steps: S1: Obtain an upgrade instruction, and use a service center matching the upgrade instruction as a center to be upgraded; S2: Obtain an upgrade installation package, and generate a new service center according to the upgrade installation package and the center to be upgraded; S3: Start the new service center and close the center to be upgraded; The step S3 includes: sending the data of the lower computer to the new business center and the center to be upgraded respectively; wherein the center to be upgraded only collects the equipment data of the lower computer, and the operation data of the lower computer is pushed to the new business center.

[0006] Another object of the present invention is to provide an energy storage management system, which is used to execute the above-mentioned system upgrade method, the energy storage management system includes multiple business centers and an upgrade center, the energy storage management system is divided into multiple business centers according to business types, the upgrade center is used to upgrade multiple business centers, and the multiple business centers include a monitoring center, an operation and maintenance center, an operation center, a policy center, a background management center, a data center and a database center; the monitoring center is used to monitor the performance of each of the business centers; the operation center is used to issue charging tasks to the lower computer and report the operation data of the charging station; the operation and maintenance center is used to report the status information of the lower computer to the operation center and respond to the instructions of the lower computer; the policy center is used to execute the policy of the energy storage management system; the background management center is used to operate the configuration of the charging station; the data center is used to interact with the device and collect and broadcast the device data; the database center is used to provide Sqlite database operation services.

[0007] The beneficial effect of the present invention is that the system upgrade method provided by the present invention is divided into multiple business centers according to the type of business center, and the business center as a whole is used as the smallest unit for upgrading. During the upgrade, the business center as a whole is upgraded, thereby ensuring that all programs in the business center that need to work together are compatible with each other. In addition, during the upgrade process, the system upgrade method provided by the present invention transmits the operation data of the lower computer to the new business center, and only the new business center provides services and makes decisions based on the operation data to ensure the collaborative performance, reliability and consistency of the operation strategy. The center to be upgraded only receives the device data of the lower computer to avoid data loss. The system upgrade method has high reliability and security. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 A flow chart of a system upgrade method provided by the present invention in one embodiment; Figure 2 A flowchart of step S2 of the system upgrade method provided by the present invention in one embodiment; Figure 3 A flowchart of step S3 of the system upgrade method provided by the present invention in one embodiment; Figure 4 A system block diagram of an energy storage management system in one embodiment of the present invention is provided. DETAILED DESCRIPTION

[0009] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.

[0010] Please refer to Figures 1 to 4A system upgrade method based on a business center is applied to a system having multiple business centers and an upgrade center, wherein the system is divided into multiple business centers according to business types, and the upgrade center is used to upgrade the multiple business centers, including the following steps: S1: Obtain an upgrade instruction, and use a service center matching the upgrade instruction as a center to be upgraded; S2: Obtain an upgrade installation package, and generate a new service center according to the upgrade installation package and the center to be upgraded; S3: Start the new service center and close the center to be upgraded; The step S3 includes: sending the data of the lower computer to the new business center and the center to be upgraded respectively; wherein the center to be upgraded only collects the equipment data of the lower computer, and the operation data of the lower computer is pushed to the new business center.

[0011] From the above description, it can be seen that the beneficial effect of the present invention is that the system upgrade method provided by the present invention is divided into multiple business centers according to the type of business center, and the business center as a whole is used as the smallest unit for upgrading. During the upgrade, the business center as a whole is upgraded, thereby ensuring that all programs in the business center that need to work together are compatible with each other. In addition, during the upgrade process, the system upgrade method provided by the present invention transmits the operation data of the lower computer to the new business center, and only the new business center provides services and decisions based on the operation data to ensure the collaborative performance, reliability and consistency of the operation strategy. The center to be upgraded only receives the device data of the lower computer to avoid data loss. The system upgrade method has high reliability and security.

[0012] Furthermore, the step S3 includes the following steps: S301: Determine whether the new service center is successfully started; if so, execute step S302; if not, send a failure log to the upgrade center; S302: Switch the serial port and determine whether the serial port switching is successful; if so, execute step S303; if not, close the new business center and send a failure log to the upgrade center; S303: Determine whether the new business center passes the upgrade verification; if so, close the center to be upgraded; if not, close the new business center and send a failure log to the upgrade center.

[0013] From the above description, it can be seen that the system upgrade method provided by the present invention follows a predefined standardized process, and performs upgrade verification on the new business center during the automatic upgrade process to ensure that the new business center can replace the center to be upgraded, thereby reducing the impact of the upgrade on the normal use of users and improving the reliability and stability of the system upgrade method.

[0014] Furthermore, the step S302 also includes: determining whether all serial ports of the lower computer and the new business center can perform data communication normally; if so, executing step S303; if not, closing the new business center and sending a failure log to the upgrade center.

[0015] From the above description, it can be seen that before closing the center to be upgraded, verify whether the communication connection between the new business center and the lower computer is normal to ensure the reliability of system operation and avoid the loss of operation and maintenance data due to abnormal communication between the new business center and the lower computer.

[0016] Furthermore, during the upgrade process, the underlying transparent transmission program of the lower computer is not upgraded.

[0017] It can be seen from the above description that the system upgrade method provided by the present invention has high reliability and can reduce the risk of data loss of the lower computer.

[0018] Furthermore, the step S2 includes the following steps: S201: Determine whether the upgrade installation package passes the integrity verification; if so, execute step S202; if not, send the failure log to the upgrade center; S202: Generate the new business center according to the upgrade installation package and the business data of the center to be upgraded, and determine whether the new business center is successfully generated; if so, execute step S203; if not, execute step S204; S203: Determine whether the new business center passes the validity verification; if so, execute step S3; if not, execute step S204; S204: The new business center performs rollback and sends the rollback log to the upgrade center.

[0019] From the above description, it can be seen that in the process of generating a new business center, the upgrade installation package is integrity checked, which can prevent the upgrade installation package from being maliciously tampered with or counterfeit upgrades, thereby enhancing the security of the system; when problems occur during the upgrade process, the new business center can be rolled back, and the system can be restored to the state before the new business center was generated, that is, the system is restored to the state before the upgrade, so as to reduce the upgrade risk.

[0020] Furthermore, the step S2 further includes: S205: Determine whether all the centers to be upgraded correspond to the generation of new business centers; if so, execute step S3; if not, return to execute step S203.

[0021] From the above description, it can be seen that in some preferred implementations, multiple business systems can be upgraded in sequence through an upgrade installation package to improve upgrade efficiency, and during the upgrade process, it is determined whether all the centers to be upgraded correspond to new business centers to ensure the integrity and reliability of the system upgrade.

[0022] Furthermore, the method further comprises step S4: the service center has a service name composed of a name and a version number, and a soft link is created according to the name of the center to be upgraded, wherein the soft link points to a new service center that matches the center to be upgraded.

[0023] From the above description, it can be seen that in the system upgrade method provided by the present invention, the service name of the business center is composed of a name and a version number. The method ensures the name consistency of the center to be upgraded and the new business center matching the center to be upgraded by creating a soft link, thereby facilitating the management of system services.

[0024] Furthermore, the step S1 also includes: determining whether a preset upgrade condition is met; if so, executing step S2; if not, sending a failure log to the upgrade center.

[0025] Furthermore, the service center has a service name consisting of a name and a version number; The determination of whether the preset upgrade conditions are met includes: comparing the version number of the center to be upgraded with the version number of the upgrade instruction to determine whether the version number of the upgrade instruction is greater than the version number of the center to be upgraded; if so, the preset upgrade conditions are met; if not, the preset upgrade conditions are not met.

[0026] As can be seen from the above description, each business center has a version number, so during the upgrade process, each business center can be upgraded differently without upgrading the entire system, saving system resources and making it easier to implement silent upgrades.

[0027] Another object of the present invention is to provide an energy storage management system, which is used to execute the above-mentioned system upgrade method, the energy storage management system includes multiple business centers and an upgrade center, the energy storage management system is divided into multiple business centers according to business types, the upgrade center is used to upgrade multiple business centers, and the multiple business centers include a monitoring center, an operation and maintenance center, an operation center, a policy center, a background management center, a data center and a database center; the monitoring center is used to monitor the performance of each of the business centers; the operation center is used to issue charging tasks to the lower computer and report the operation data of the charging station; the operation and maintenance center is used to report the status information of the lower computer to the operation center and respond to the instructions of the lower computer; the policy center is used to execute the policy of the energy storage management system; the background management center is used to operate the configuration of the charging station; the data center is used to interact with the device and collect and broadcast the device data; the database center is used to provide Sqlite database operation services.

[0028] Embodiment 1 Please refer to Figures 1 to 4 In the first embodiment of the present invention, a system upgrade method based on a business center is provided, which is applied to a system having multiple business centers and an upgrade center, wherein the system is divided into multiple business centers according to business types, and the upgrade center is used to upgrade the multiple business centers, and the method comprises the following steps: S1: Obtain an upgrade instruction, take the business center matching the upgrade instruction as the center to be upgraded, and determine whether the preset upgrade conditions are met; if so, execute step S2; if not, send a failure log to the upgrade center.

[0029] The system upgrade method provided in this embodiment can monitor the upgrade release in real time. Once a new version is available, it will be automatically downloaded and installed immediately, which can reduce the time users have to wait for the new version. The method provided in this embodiment can be used to upgrade a large number of devices at the same time without manual operation one by one, which greatly improves the upgrade efficiency. In particular, when this method is applied in enterprise-level scenarios, it can effectively reduce human resource costs. In addition, the system upgrade method can also ensure that all devices or users are upgraded to the same version, avoiding version fragmentation, which is beneficial to the consistency and stability of the later operation and maintenance system.

[0030] In this embodiment, the system upgrade method can be specifically applied to an energy storage management system (EMS). The energy storage management system according to the method is divided into multiple centers according to business types, so that the energy storage management system can achieve business isolation, and each business center can focus on its own business, which can facilitate troubleshooting when a fault occurs in the energy storage management system; in addition, in the system upgrade method provided in this embodiment, by dividing the energy storage management system into multiple business centers, the energy storage management system can be upgraded according to the business center, which is convenient for rollback and failure cause troubleshooting after upgrade failure.

[0031] like Figure 4 The diagram shows a multi-center structure relationship diagram of the energy storage management system divided according to the method provided in this embodiment. The multiple business centers include: a monitoring center, an operation and maintenance center, an operation center, a strategy center, a background management center, a data center, and a database center.

[0032] Specifically, the monitoring center is used to monitor the performance of each business center and ensure the normal operation of each business center, among which the operation and maintenance center, operation center, strategy center, background management center, data center and database center are all monitored by the monitoring center. The operation center connects to the operation platform, issues charging tasks to the charging piles in the charging station, and reports the operation data of the charging station to the operation platform. The operation and maintenance center is used to display the operation interface of the current charging station and operate the current charging station, such as: issuing instructions to the charging piles, configuring peak and valley electricity, configuring protection parameters, etc., and the operation and maintenance center reports the status information of the charging piles and responds to the instructions of the charging piles to the operation center. The strategy center is used to execute the strategy of the current energy storage management system, ensure the normal operation of the energy storage management system, and provide basic protection for the energy storage management system. The strategy center reports the operation status of the strategy and the relevant instructions of the response strategy to the operation and maintenance center. The background management center is used to operate the configuration of the charging station, such as user permissions, operation strategies and equipment configuration. The data center is used to interact with the equipment and collect and broadcast equipment data. The data center provides equipment interaction functions to the operation center, operation and maintenance center, strategy center and background management center. The database center is used to provide Sqlite database operation services and provide Sqlite database interaction functions to the operation center, operation and maintenance center, strategy center and background management center.

[0033] In this embodiment, each business center of the energy storage management system stores its own version number. Therefore, in the system automatic upgrade method provided in this embodiment, each business center can be upgraded independently of each other, so that each business center of the energy storage management system can achieve differentiated upgrades according to actual needs.

[0034] In the system upgrade method provided in this embodiment, the determination in the above step S1 whether the center to be upgraded meets the preset upgrade condition includes: The version number of the center to be upgraded is compared with the version number of the upgrade instruction to determine whether the version number of the upgrade instruction is greater than the version number of the center to be upgraded; if so, the preset upgrade condition is met; if not, the preset upgrade condition is not met.

[0035] The system upgrade method provided in this embodiment includes step S2: obtaining an upgrade installation package, generating a new business center based on the upgrade installation package and the center to be upgraded, and determining whether the new business center is generated successfully; if so, executing step S3; if not, sending a failure log to the upgrade center.

[0036] like Figure 2 As shown, in this embodiment, step S2 specifically includes the following steps: S201: Determine whether the upgrade installation package passes the integrity verification; if so, execute step S202; if not, send the failure log to the upgrade center; S202: Generate the new business center according to the upgrade installation package and the business data of the center to be upgraded, and determine whether the new business center is successfully generated; if so, execute step S203; if not, execute step S204; S203: Determine whether the new business center passes the validity verification; if so, execute step S3; if not, execute step S204; S204: The new business center performs rollback and sends the rollback log to the upgrade center.

[0037] In this embodiment, the system upgrade method can roll back the new business center when a problem occurs during the system upgrade process, so that the system can automatically restore to the state before the upgrade, which reduces the upgrade risk. The method provided by this embodiment can perform integrity verification on the upgrade installation package before the upgrade to prevent malicious tampering or counterfeit upgrades, thereby enhancing the upgrade security of the system.

[0038] Detailed, such as Figure 2 As shown, in this embodiment, the operation platform sends an upgrade instruction to the operation center, and the operation center forwards the upgrade instruction to the upgrade center, which is used to upgrade each business center; the upgrade center can use the business center that matches the upgrade instruction as the center to be upgraded, and the upgrade center can also obtain failure logs, upgrade logs, and rollback logs, and report the above logs and the upgrade status of the system to the operation center, and then the operation center reports the above logs and the upgrade status of the system to the operation platform.

[0039] In this embodiment, obtaining the upgrade installation package in step S2 includes: downloading the upgrade installation package offline or online, and decompressing the upgrade installation package to obtain an upgrade installation package directory.

[0040] In some preferred embodiments of the present invention, multiple service centers in the system may be upgraded simultaneously using one upgrade installation package. To ensure the integrity of the system upgrade, step S2 further includes: S205: Determine whether all the centers to be upgraded correspond to the generation of new business centers; if so, execute step S3; if not, return to execute step S203.

[0041] The system upgrade method provided in this embodiment includes S3: starting the new service center and closing the center to be upgraded.

[0042] Please refer to Figure 3 In this embodiment, step S2 specifically includes the following steps: S301: Determine whether the new service center is successfully started; if so, execute step S302; if not, send a failure log to the upgrade center; S302: Switch the serial port and determine whether the serial port switching is successful; if so, execute step S303; if not, close the new business center and send a failure log to the upgrade center; S303: Determine whether the new business center passes the upgrade verification; if so, close the center to be upgraded; if not, close the new business center and send a failure log to the upgrade center.

[0043] In this embodiment, the center to be upgraded will be closed only after the new business center is generated and it is ensured that the new business center can take over the normal operation of the center to be upgraded. The system does not need to be stopped during the upgrade process, and the data of the lower-level device can be responded and reported normally. Therefore, the system upgrade method provided in this embodiment is usually completed automatically in the background to reduce the impact of the upgrade on the normal use of users and realize silent upgrade. This usage method can improve the user experience.

[0044] In some upgrade scenarios of the energy storage management system, after the upgrade is completed, the system needs to be restarted or the new business center needs to be restarted to switch from the center to be upgraded to the new business center. In order to minimize the impact of the upgrade on the normal use of users, this method can notify the user in advance and let the user choose the restart time.

[0045] In detail, in this embodiment, the step of switching serial ports described in the above step S302 includes: the center to be upgraded includes multiple first serial ports, and the new business center includes multiple second serial ports that match the multiple first serial ports one by one; closing all the first serial ports, and switching the serial ports of other business centers connected to the first serial ports to the second serial ports that match the first serial ports; broadcasting all the second serial ports to determine whether the serial port switching is successful.

[0046] In detail, in order to further improve the reliability and stability of the program upgrade method, the above-mentioned step S302 also includes: determining whether all serial ports of the lower computer and the new business center can communicate data normally; if so, executing step S303; if not, closing the new business center and sending a failure log to the upgrade center.

[0047] In the system upgrade method provided in this embodiment, during the upgrade process, the underlying transparent transmission program of the lower computer is not upgraded, and step S302 further includes: the data of the lower computer is sent to the new service center and the center to be upgraded respectively.

[0048] In order to improve the reliability of the system upgrade method, during the upgrade process, the lower computer sends data to the new business center and the center to be upgraded respectively through its non-upgraded underlying transparent program to reduce the risk of data loss during the upgrade process.

[0049] In detail, the system upgrade method provided in this embodiment can be applied to the data center upgrade of the energy storage management system. During the upgrade process, the charging piles push the charging pile data to the old data center (i.e., the center to be upgraded) and the new data center respectively, wherein the old data center only collects the equipment data of the charging piles, and the operation data of the charging piles is pushed to the new data center.

[0050] The system upgrade method provided in this embodiment follows a predefined standardized process, reduces the possibility of human operational errors, and improves reliability during the upgrade process; precisely because the upgrade process of the system upgrade method provided in this embodiment is standardized and automated, it can reduce the risk of upgrade failure, thereby reducing the human resource requirements and human resource costs for technical support for system upgrades.

[0051] In summary, the system upgrade method provided by the present invention can realize automatic upgrade, thereby saving human resources, and improve the reliability and security of system upgrade, ensure that all devices are upgraded to the same version, avoid version fragmentation, and is conducive to maintaining the consistency and stability of the system; in addition, the system divides multiple business modules according to business type, which is beneficial for each business module to achieve business isolation, and the method is based on the business module upgrade, after the business module upgrade fails, it can be convenient to troubleshoot the failure problem and easy to roll back, thereby ensuring the reliability and stability of the system upgrade; in addition, the method will close the module to be upgraded only after the new business module is successfully generated, which can realize the silent upgrade function. During the automatic upgrade process, the system does not need to stop, and the data of each lower computer can respond and report normally, thereby improving the user's system usage experience during the upgrade process, and further improving the reliability and stability of the system upgrade.

[0052] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A system upgrade method based on a business center, characterized in that: It is applied to a system having multiple business centers and an upgrade center, wherein the system is divided into multiple business centers according to business types, and the upgrade center is used to upgrade the multiple business centers, and includes the following steps: S1: Obtain an upgrade instruction, and use a service center matching the upgrade instruction as a center to be upgraded; S2: Obtain an upgrade installation package, and generate a new service center according to the upgrade installation package and the center to be upgraded; S3: Start the new service center and close the center to be upgraded; The step S3 includes: sending the data of the lower computer to the new business center and the center to be upgraded respectively; wherein the center to be upgraded only collects the equipment data of the lower computer, and the operation data of the lower computer is pushed to the new business center.

2. The system upgrade method according to claim 1, characterized in that: The step S3 comprises the following steps: S301: Determine whether the new service center is successfully started; if so, execute step S302; if not, send a failure log to the upgrade center; S302: Switch the serial port and determine whether the serial port switching is successful; if so, execute step S303; if not, close the new business center and send a failure log to the upgrade center; S303: Determine whether the new business center passes the upgrade verification; if so, close the center to be upgraded; if not, close the new business center and send a failure log to the upgrade center.

3. The system upgrade method according to claim 2, characterized in that: The step S302 also includes: determining whether all serial ports of the lower computer and the new business center can perform data communication normally; if so, executing step S303; if not, closing the new business center and sending a failure log to the upgrade center.

4. The system upgrade method according to claim 1, characterized in that: The step S3 also includes: during the upgrade process, the bottom layer transparent transmission program of the lower computer is not upgraded.

5. The system upgrade method according to claim 1, characterized in that: The step S2 comprises the following steps: S201: Determine whether the upgrade installation package passes the integrity verification; if so, execute step S202; if not, send the failure log to the upgrade center; S202: Generate the new business center according to the upgrade installation package and the business data of the center to be upgraded, and determine whether the new business center is successfully generated; if so, execute step S203; if not, execute step S204; S203: Determine whether the new business center passes the validity verification; if so, execute step S3; if not, execute step S204; S204: The new business center performs rollback and sends the rollback log to the upgrade center.

6. The system upgrade method according to claim 1, characterized in that: The step S2 further comprises: S205: Determine whether all the centers to be upgraded correspond to the generation of new business centers; if so, execute step S3; if not, return to execute step S203.

7. The system upgrade method according to claim 1, characterized in that: The process also includes step S4: the service center has a service name composed of a name and a version number, and a soft link is created according to the name of the center to be upgraded, wherein the soft link points to a new service center that matches the center to be upgraded.

8. The system upgrade method according to claim 1, characterized in that: The step S1 also includes: determining whether a preset upgrade condition is met; if so, executing step S2; if not, sending a failure log to the upgrade center.

9. The system upgrade method according to claim 8, characterized in that: The service center's service name is composed of a name and a version number; The determining whether the preset upgrade condition is met includes: comparing the version number of the center to be upgraded with the version number of the upgrade instruction, and determining whether the version number of the upgrade instruction is greater than the version number of the center to be upgraded; If so, the preset upgrade conditions are met; if not, the preset upgrade conditions are not met.

10. An energy storage management system, characterized in that: The energy storage management system is used to execute the system upgrade method described in any one of claims 1 to 9. The energy storage management system includes multiple business centers and an upgrade center. The energy storage management system is divided into multiple business centers according to business types, and the upgrade center is used to upgrade multiple business centers; the multiple business centers include a monitoring center, an operation and maintenance center, an operation center, a policy center, a background management center, a data center and a database center; the monitoring center is used to monitor the performance of each of the business centers; the operation center is used to issue charging tasks to the lower computer and report the operation data of the charging station; the operation and maintenance center is used to report the status information of the lower computer to the operation center and respond to the instructions of the lower computer; the policy center is used to execute the policy of the energy storage management system; the background management center is used to operate the configuration of the charging station; the data center is used to interact with the device and collect and broadcast the device data; the database center is used to provide Sqlite database operation services.