Bms system upgrading method in ups system and ups system upgrading tool
By receiving, verifying, and sending upgrade package data within the UPS system, the software upgrade of the BMS system is achieved. This solves the problem of low upgrade efficiency in the BMS system, simplifies operations, improves security and adaptability, and enhances the intelligent utilization efficiency of the UPS system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- VERTIV CORP
- Filing Date
- 2025-01-21
- Publication Date
- 2026-07-21
Smart Images

Figure CN122431691A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of uninterruptible power supply systems, and more particularly to a BMS system upgrade method and UPS system upgrade tool in a UPS system. Background Technology
[0002] UPS (Uninterruptible Power System) systems are commonly used electrical devices, and batteries are an essential component. With continuous battery development, lithium batteries, characterized by high operating voltage, large capacity, high energy density, good safety performance, and long cycle life, have been increasingly adopted in UPS systems. The use of lithium batteries requires a dedicated Battery Management System (BMS), which is constantly being updated. Therefore, BMS systems already installed in UPS systems also require ongoing firmware upgrades.
[0003] Typically, BMS systems require professional maintenance personnel from the lithium battery manufacturer to upgrade them using their proprietary upgrade software and interface tools. However, when lithium batteries are used in UPS systems, the BMS system becomes an auxiliary component. Continuing to use the BMS manufacturer's firmware upgrade methods for BMS system firmware upgrades is not only cumbersome and increases maintenance costs, but also makes the effectiveness of UPS after-sales service dependent on the BMS supplier, thus reducing the UPS system's importance and the efficiency of its intelligent operation. Summary of the Invention
[0004] This application provides a BMS system upgrade method and a UPS system upgrade tool in a UPS system to solve the problem of low efficiency in BMS system upgrades in UPS systems.
[0005] In a first aspect, embodiments of this application provide a BMS system upgrade method for a UPS system. The method is applied to a UPS system upgrade tool, and the UPS system includes at least one BMS system. The method includes:
[0006] Receive upgrade package data sent by the host computer and write the upgrade package data into the storage space of the UPS system;
[0007] Once it is confirmed that the upgrade package data has been received, the accuracy of the upgrade package data is verified.
[0008] If the verification passes, determine the target BMS system corresponding to the upgrade package data in at least one BMS system, and send the upgrade package data to the target BMS system.
[0009] In one embodiment, the upgrade package data is used to instruct the host computer to generate upgrade package data based on the trigger instruction when it receives the trigger instruction. Both the trigger instruction and the upgrade package data include a unique identifier of the BMS system to be upgraded.
[0010] In one embodiment, verifying the accuracy of the upgrade package data includes:
[0011] Based on the verification bytes of the upgrade package data, the upgrade package data is initially verified. If the initial verification passes, the unique identifier of the BMS system to be upgraded carried in the upgrade package data is identified.
[0012] Based on the unique identifier, determine whether the BMS system to be upgraded exists in at least one BMS system.
[0013] In one embodiment, the method further includes:
[0014] If the BMS system to be upgraded exists in at least one BMS system, the verification is confirmed to be successful, and the BMS system to be upgraded is confirmed to be the target BMS system.
[0015] If the initial verification fails or the BMS system to be upgraded does not exist in at least one BMS system, a verification failure command is sent to the host computer. The verification failure command is used to instruct the host computer to resend the upgrade package data.
[0016] In one embodiment, sending the upgrade package data to the target BMS system includes:
[0017] Send a notification command to the target BMS system. The notification command is used to instruct the target management system to enter startup mode.
[0018] Send upgrade package data to the target BMS system.
[0019] In one embodiment, the method further includes:
[0020] Receive upgrade results from the target BMS system; the upgrade results are used to instruct the target BMS system to verify the upgrade package data and transfer the data upon receiving it.
[0021] Secondly, embodiments of this application provide a UPS system upgrade tool, which includes:
[0022] The first communication module is used to receive upgrade package data sent by the host computer and write the upgrade package data into the storage space of the UPS system;
[0023] The data verification and storage module is used to verify the accuracy of the upgrade package data after confirming that the upgrade package data has been received.
[0024] The second communication module is used to determine the target BMS system corresponding to the upgrade package data in at least one BMS system when the verification is successful, and to send the upgrade package data to the target BMS system.
[0025] Thirdly, embodiments of this application provide a computer device, including: a memory and a processor;
[0026] The memory stores instructions that the computer executes;
[0027] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0028] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0029] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0030] This application provides a BMS system upgrade method and tool for a UPS system. The method includes: receiving upgrade package data sent by a host computer and writing the upgrade package data into the storage space of the UPS system; verifying the accuracy of the upgrade package data after confirming that the upgrade package data has been received; and, if the verification passes, determining the target BMS system corresponding to the upgrade package data in at least one BMS system and sending the upgrade package data to the target BMS system. This application uses a UPS system upgrade tool to upgrade the BMS system software in the UPS system. The upgrade process is consistent with the UPS system software process, making it simpler and faster. Furthermore, upgrading using the UPS system upgrade tool effectively improves the compatibility between the BMS system and the UPS system, enhancing the safety and reliability of the BMS system. Attached Figure Description
[0031] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0032] Figure 1 This is a schematic diagram illustrating a scenario of a BMS system upgrade method in a UPS system provided in one embodiment.
[0033] Figure 2This is a flowchart illustrating a BMS system upgrade method in a UPS system provided in one embodiment. Figure 1 ;
[0034] Figure 3 This is a flowchart illustrating a BMS system upgrade method in a UPS system provided in one embodiment. Figure 2 ;
[0035] Figure 4 This is a flowchart illustrating a BMS system upgrade method in a UPS system provided in one embodiment. Figure 3 ;
[0036] Figure 5 This is a flowchart illustrating a method for upgrading a lithium battery BMS system in a UPS system, as provided in one embodiment.
[0037] Figure 6 This is a schematic diagram of the structure of a UPS system upgrade tool provided in one embodiment;
[0038] Figure 7 A schematic diagram of the structure of the computer device provided in this application.
[0039] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0040] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0041] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0042] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "connected" and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0043] UPS (Uninterruptible Power System) systems are commonly used electrical devices, and batteries are an essential component. With continuous battery development, lithium batteries, characterized by high operating voltage, large capacity, high energy density, good safety performance, and long cycle life, have been increasingly adopted in UPS systems. The use of lithium batteries involves a dedicated Battery Management System (BMS) to monitor, control, and manage various battery performance aspects, ensuring safe, stable, and long-lasting operation.
[0044] A UPS system comprises hardware and software components. The hardware converts electrical energy, while the software monitors and controls the UPS system in real time. For example, in one embodiment, the UPS system mainly includes a battery bank, rectifier, inverter, static switch, and monitoring module. The combination of the battery bank, rectifier, inverter, and static switch provides uninterrupted power supply. The monitoring module monitors and controls the UPS system in real time, including battery status, output voltage, and load conditions. The monitoring module ensures stable system operation and timely fault diagnosis.
[0045] Each battery pack in a UPS system consists of two parts: the battery pack itself and the Battery Management System (BMS). The BMS comprises both hardware and software. The hardware's primary function is to monitor the battery pack's status in real time, ensuring safe, stable, and efficient operation. It assesses the battery's health by collecting parameters such as voltage, current, and temperature, and takes appropriate protective measures in case of abnormalities. The software mainly includes the battery management software, which is the brain of the BMS system, responsible for data processing, algorithm implementation, and strategy formulation. To better manage the batteries, the software is continuously updated; therefore, the BMS system software already installed in the UPS system requires ongoing firmware upgrades.
[0046] Typically, BMS system software upgrades require professional maintenance personnel from the lithium battery manufacturer to use their dedicated upgrade software and interface tools. However, when lithium batteries are used in UPS systems, the BMS system becomes an auxiliary component. Continuing to use the BMS manufacturer's firmware upgrade methods for BMS firmware upgrades is not only cumbersome and increases maintenance costs, but also makes the effectiveness of UPS after-sales service dependent on the BMS supplier, reducing the UPS system's importance and the efficiency of its intelligent operation.
[0047] To address the aforementioned technical problems, this application provides a BMS system upgrade method for a UPS system. The BMS system upgrade method provided in this application can be an online upgrade or an offline upgrade. The implementation of the method provided in this application relies on, for example... Figure 1 The upgrade system shown includes a host computer software 101 for managing and monitoring the UPS system. The host computer software 101 has a display interface and an interactive interface, allowing operators to trigger upgrade operations. The UPS system upgrade tool 102 performs firmware upgrades on the UPS system. In this embodiment, it can upgrade not only the software portion of the UPS system but also the software portion of the BMS system 103 within the UPS system. The UPS system upgrade tool 102 establishes a connection with the host computer 101 and has the functions of receiving, reading, parsing, and sending upgrade package data. The UPS system upgrade tool 102 includes, but is not limited to, PCs, tablets, and smartphones. The BMS system 103 and the UPS system upgrade tool 102 can communicate via a serial port, and the UPS system upgrade tool 102 has the function of sending upgrade package data to the BMS system 103.
[0048] In one embodiment, this application provides a BMS system upgrade method in a UPS system, which is applied to... Figure 2 Taking the UPS system upgrade tool 102 as an example, such as Figure 2 As shown, the method includes:
[0049] Step 202: Receive the upgrade package data sent by the host computer and write the upgrade package data into the storage space of the UPS system;
[0050] Step 204: After confirming that the upgrade package data has been received, verify the accuracy of the upgrade package data;
[0051] Step 206: If the verification passes, determine the target BMS system corresponding to the upgrade package data in at least one BMS system, and send the upgrade package data to the target BMS system.
[0052] The software portion of a Battery Management System (BMS) typically consists of an application and a bootloader. The application is the core of the BMS software, responsible for processing various data and status information from the battery pack to implement various battery management functions. The bootloader has the ability to update the application software. When a BMS software upgrade is needed, the bootloader can receive the new software image and update the application portion to ensure that the BMS system's functionality and performance are always up-to-date.
[0053] The upgrade package data includes all the information and files required for the software upgrade. For a BMS system, this includes, but is not limited to, upgrade package metadata, application code, bootloader code, verification and signature information, upgrade documentation, and other auxiliary files. It should be noted that the upgrade in this embodiment can be an update to the application, an update to the bootloader, or an update to both the application and bootloader simultaneously. Furthermore, since the UPS system includes at least one BMS system, the upgrade package data carries the identifier of the BMS system to be upgraded.
[0054] Specifically, the host computer 101 sends upgrade package data to the UPS system upgrade tool 102. The UPS system upgrade tool 102 receives the upgrade package data and stores it in the storage space. After receiving the data, it verifies the upgrade package data. If the verification is successful, the UPS system upgrade tool 102 sends a software upgrade notification command to the BMS system. Once it is determined that the BMS system is in an upgradeable state, the UPS system upgrade tool 102 sends upgrade package data to the BMS system. The BMS system completes the upgrade based on the received upgrade package data.
[0055] When the UPS system upgrade tool 102 sends a software upgrade notification command to the BMS system, since the UPS system includes at least one BMS system, it needs to identify the target BMS system corresponding to the upgrade package data in order to upgrade the target BMS system. After the BMS system upgrade is completed, the UPS system and the BMS system can operate normally in match.
[0056] The BMS system upgrade method in the UPS system provided in the above embodiments includes: receiving upgrade package data sent by a host computer and writing the upgrade package data into the storage space of the UPS system; verifying the accuracy of the upgrade package data after confirming that the upgrade package data has been received; and determining the target BMS system corresponding to the upgrade package data in at least one BMS system and sending the upgrade package data to the target BMS system if the verification passes. This application embodiment uses a UPS system upgrade tool to upgrade the BMS system software in the UPS system. The upgrade process is consistent with the UPS system software process, making it simpler and faster. Furthermore, upgrading using the UPS system upgrade tool effectively improves the compatibility between the BMS system and the UPS system, enhancing the safety and reliability of the BMS system.
[0057] In one embodiment, the upgrade package data is used to instruct the host computer to generate upgrade package data based on the trigger instruction when it receives the trigger instruction. Both the trigger instruction and the upgrade package data include a unique identifier of the BMS system to be upgraded.
[0058] The trigger command is initiated when the BMS system requiring upgrade is determined based on the actual scenario. The unique identifier of each BMS system uniquely identifies the system and is used to distinguish between multiple BMS systems within a UPS system. In one embodiment, each BMS system has a unique ID, which is included in the trigger command and upgrade package data.
[0059] For example, open the UPS system's host computer software, click to enter the software upgrade page on the interactive interface, select the ID of the BMS system to be upgraded, and finally click the confirmation button to start the BMS system upgrade. After clicking the confirmation button, a trigger command is generated, which includes the ID of the selected BMS system to be upgraded. The host computer determines the upgrade package data based on the ID of the BMS system to be upgraded and sends it to the UPS system upgrade tool.
[0060] It should be noted that after selecting the ID numbers of the BMS systems to be upgraded, if there are multiple BMS systems to be upgraded, the host computer will generate corresponding upgrade package data for each BMS system to be upgraded, and use this data to upgrade the corresponding BMS system. However, in the UPS system, if all BMS systems are identical, the host computer can send only one upgrade package data to the UPS system upgrade tool. This upgrade package data includes the IDs of all BMS systems to be upgraded, and the UPS system upgrade tool will then send the corresponding upgrade package data to each BMS system separately.
[0061] Furthermore, the trigger command is generated only after confirming that the host computer has obtained the upgrade data, meaning that there is a situation where the BMS system needs to be upgraded. Specifically, after opening the host computer software of the UPS system, the host computer can determine whether there is a BMS system in the UPS system that needs to be upgraded. If not, the BMS system ID cannot be selected.
[0062] In the method provided in the above embodiments, the UPS system and its included BMS system are comprehensively managed and monitored by the host computer. When upgrading the BMS system, the BMS system upgrade can be completed directly through the host computer and the UPS system upgrade tool. This process is consistent with the operation process of upgrading UPS software, which is simple, easy to operate, and highly efficient, and can quickly complete the BMS system upgrade.
[0063] In one embodiment, such as Figure 3 As shown, the accuracy of the upgrade package data is verified, including:
[0064] Step 302: Perform an initial verification on the upgrade package data based on the verification bytes of the upgrade package data. If the initial verification passes, identify the unique identifier of the BMS system to be upgraded carried in the upgrade package data.
[0065] Step 304: Determine whether the BMS system to be upgraded exists in at least one BMS system based on the unique identifier.
[0066] Upgrade package data is typically transmitted in frames. This segmentation helps ensure data integrity and reliability. During transmission, each frame contains specific information, such as a frame sequence number and a frame checksum, so the receiving end can correctly reassemble and verify the data. To ensure the accuracy of the upgrade package data, a checksum byte is usually included in each package. These checksum bytes can be MD5 checksums or other forms of checksums, used to verify the received data at the receiving end. If the checksum does not match, it indicates that an error may have occurred during transmission. In this case, the UPS system upgrade tool can request the host computer to resend the data or cancel the upgrade operation.
[0067] In the application scenario described in this application, the UPS system includes multiple BMS systems. Therefore, after confirming the accuracy of the upgrade package data, it is also necessary to determine whether the upgrade package data is used to upgrade the BMS system within the UPS system. In this case, by identifying the unique identifier of the BMS system to be upgraded carried in the upgrade package data, it is determined whether the BMS system to be upgraded is one of at least one BMS system within the UPS system. If so, the data transmission is correct; otherwise, the upgrade cannot be performed.
[0068] In the method provided in the above embodiments, the accuracy of the upgrade package data received by the UPS system is verified by checking the byte and the unique identifier of the BMS system, thereby improving the accuracy of the BMS system upgrade, avoiding the possibility of BMS system upgrade failure, and ensuring the normal operation of the UPS system.
[0069] In one embodiment, such as Figure 4 As shown, the method also includes:
[0070] Step 402: If the BMS system to be upgraded exists in at least one BMS system, the verification is confirmed to be successful, and the BMS system to be upgraded is confirmed to be the target BMS system.
[0071] Step 404: If the initial verification fails or the BMS system to be upgraded does not exist in at least one BMS system, a verification failure instruction is sent to the host computer. The verification failure instruction is used to instruct the host computer to resend the upgrade package data.
[0072] The unique identifier of the BMS system to be upgraded carried in the upgrade package data is matched with the unique identifier of the BMS system included in the UPS system. If the match is successful, the BMS system to be upgraded is identified as the target BMS system, and the UPS system upgrade tool sends the upgrade package data to the target BMS system for upgrade. Otherwise, a verification failure command is sent to the host computer, which is used to instruct the host computer to resend the upgrade package data.
[0073] In the method provided in the above embodiments, if the verification fails, the upgrade package data is automatically retrieved from the host computer again to ensure that the BMS system upgrade is successful.
[0074] In one embodiment, sending the upgrade package data to the target BMS system includes:
[0075] Send a notification command to the target BMS system. The notification command is used to instruct the target management system to enter startup mode.
[0076] Send upgrade package data to the target BMS system.
[0077] The notification command refers to the software upgrade notification command. The startup mode is the bootloader mode. When the UPS system upgrade tool sends upgrade package data to the target BMS system to enable the upgrade, the target BMS system must be in an upgrade-ready state. Sending the upgrade package data directly to the target BMS system may lead to upgrade failure or even affect the normal operation of the target BMS system. Therefore, the UPS system upgrade tool first sends a notification command to the target BMS system. After receiving the notification command, the target BMS system switches mode and enters upgrade state. At this point, the UPS system upgrade tool then sends the upgrade package data to the target BMS system.
[0078] Specifically, upon receiving the notification command, the target BMS system enters bootloader mode. In bootloader mode, new software versions can be loaded and installed, ensuring the BMS system always has the latest functionality and security. After confirming that the target BMS system is in bootloader mode, the UPS system upgrade tool sends upgrade package data to the target BMS system. The target BMS system receives the upgrade package data, places it in the bootloader's storage area, and performs data verification. If verification passes, data transfer is performed. After the transfer is complete, the target BMS system restarts and enters the application (APP) mode. At this point, the target BMS system upgrade is complete, and the UPS system and BMS system are operating normally in sync.
[0079] In the method provided in the above embodiments, switching to bootloader mode is an important step in the BMS system upgrade process. It ensures the smooth progress of the upgrade process and reduces risks. Simultaneously, by entering bootloader mode, low-level operations and adjustments can be performed on the system to meet specific upgrade requirements.
[0080] To facilitate understanding, let's take a UPS system using lithium batteries as an example. When upgrading the software of a lithium battery-powered BMS system, a UPS software upgrade tool is used to upgrade the BMS software through the UPS system. During the upgrade, open the UPS system's host computer software, enter the software upgrade page, select the BMS ID number to be upgraded, and finally click the confirm button to start the BMS software upgrade. Wait for the BMS software upgrade to complete.
[0081] like Figure 5 As shown, the BMS system upgrade method for lithium batteries in a UPS system includes the following steps:
[0082] S101 sends BMS upgrade package data to the UPS through the UPS's host computer software;
[0083] S102, the UPS receives the software upgrade package data from the BMS and stores it in the UPS's external Flash memory;
[0084] S103, After the upgrade package data is received, the upgrade package data is verified;
[0085] S104. After the verification is successful, the UPS sends a notification command to the BMS to upgrade the BMS software.
[0086] S105, after receiving the notification command from the UPS, the BMS system enters the Bootloader section and begins operation;
[0087] S106, the UPS sends the BMS software upgrade package data to the BMS;
[0088] S107, BMS receives software upgrade package data;
[0089] S108, Data verification is performed after data reception is completed;
[0090] S109, After successful verification, the received data is moved to the BMS APP code storage area;
[0091] S110, after BMS restarts, it enters the APP section and runs the upgraded code;
[0092] S111, BMS software upgrade complete, UPS and BMS are now operating normally and compatible.
[0093] The BMS system upgrade method for lithium batteries in UPS systems provided in the above embodiments is applicable to all current UPS systems equipped with lithium batteries. Without affecting the normal power supply of the UPS system, it fulfills the need for timely lithium battery software upgrades without requiring additional components, simplifying the upgrade process. This solution not only increases the safety and reliability of the UPS system matched with lithium batteries but also improves the overall maintenance efficiency of the UPS and enhances the functional integrity of the UPS system.
[0094] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0095] Based on the same inventive concept, this application also provides a UPS system upgrade tool. The solution provided by this UPS system upgrade tool is similar to the solution described in the above method. Therefore, the specific limitations of one or more UPS system upgrade tool embodiments provided below can be found in the limitations of BMS system upgrade in the UPS system above, and will not be repeated here.
[0096] In one embodiment, such as Figure 6 As shown, the UPS system upgrade tool 60 includes a first communication module 601, a data verification and storage module 602, and a second communication module 603, wherein:
[0097] The first communication module 601 is used to receive upgrade package data sent by the host computer and write the upgrade package data into the storage space of the UPS system;
[0098] The data verification and storage module 602 is used to verify the accuracy of the upgrade package data after confirming that the upgrade package data has been received.
[0099] The second communication module 603 is used to determine the target BMS system corresponding to the upgrade package data in at least one BMS system when the verification is successful, and to send the upgrade package data to the target BMS system.
[0100] In one embodiment, the first communication module 601 is further configured to determine that the upgrade package data is used to instruct the host computer to generate upgrade package data based on the trigger instruction when it receives the trigger instruction, wherein both the trigger instruction and the upgrade package data include a unique identifier of the BMS system to be upgraded.
[0101] In one embodiment, the data verification and storage module 602 is further configured to:
[0102] Based on the verification bytes of the upgrade package data, perform an initial verification on the upgrade package data. If the initial verification passes, identify the unique identifier of the BMS system to be upgraded carried in the upgrade package data.
[0103] Based on the unique identifier, determine whether the BMS system to be upgraded exists in at least one BMS system.
[0104] In one embodiment, the data verification and storage module 602 is further configured to:
[0105] If the BMS system to be upgraded exists in at least one BMS system, the verification is confirmed to be successful, and the BMS system to be upgraded is confirmed to be the target BMS system.
[0106] If the initial verification fails or the BMS system to be upgraded does not exist in at least one BMS system, a verification failure command is sent to the host computer. The verification failure command is used to instruct the host computer to resend the upgrade package data.
[0107] In one embodiment, the second communication module 603 is further configured to:
[0108] Send a notification command to the target BMS system. The notification command is used to instruct the target management system to enter startup mode.
[0109] Send upgrade package data to the target BMS system.
[0110] In one embodiment, the second communication module 603 is further configured to:
[0111] Receive upgrade results from the target BMS system; the upgrade results are used to instruct the target BMS system to verify the upgrade package data and transfer the data upon receiving it.
[0112] The modules in the aforementioned UPS system upgrade tool can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.
[0113] Figure 7 A schematic diagram of the structure of the computer device provided in this application. Figure 7 As shown, the computer device 70 provided in this embodiment includes at least one processor 701 and a memory 702. Optionally, the device 70 further includes a communication component 703. The processor 701, memory 702, and communication component 703 are connected via a bus 704.
[0114] In a specific implementation, at least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to perform the above-described method.
[0115] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0116] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0117] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0118] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0119] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0120] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0121] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0122] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0123] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0124] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0125] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0126] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0127] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0128] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for upgrading a BMS system in a UPS system, characterized in that, The method is applied to a UPS system upgrade tool, wherein the UPS system includes at least one BMS system; the method includes: Receive upgrade package data sent by the host computer and write the upgrade package data into the storage space of the UPS system; Once it is determined that the upgrade package data has been received, the accuracy of the upgrade package data is verified. If the verification passes, the target BMS system corresponding to the upgrade package data in at least one BMS system is determined, and the upgrade package data is sent to the target BMS system.
2. The method according to claim 1, characterized in that, The upgrade package data is used to instruct the host computer to generate upgrade package data based on the trigger instruction when it receives the trigger instruction. Both the trigger instruction and the upgrade package data include a unique identifier of the BMS system to be upgraded.
3. The method according to claim 2, characterized in that, The verification of the accuracy of the upgrade package data includes: Based on the verification bytes of the upgrade package data, the upgrade package data is initially verified. If the initial verification passes, the unique identifier of the BMS system to be upgraded carried in the upgrade package data is identified. Based on the unique identifier, determine whether the BMS system to be upgraded exists in the at least one BMS system.
4. The method according to claim 3, characterized in that, The method further includes: If the BMS system to be upgraded exists in at least one of the BMS systems, the verification is confirmed to be successful, and the BMS system to be upgraded is confirmed to be the target BMS system. If the initial verification fails or the BMS system to be upgraded does not exist in at least one of the BMS systems, a verification failure instruction is sent to the host computer, which is used to instruct the host computer to resend the upgrade package data.
5. The method according to claim 4, characterized in that, Sending the upgrade package data to the target BMS system includes: Send a notification command to the target BMS system, the notification command being used to instruct the target management system to enter startup mode; The upgrade package data is sent to the target BMS system.
6. The method according to claim 5, characterized in that, The method further includes: The system receives the upgrade result from the target BMS system; the upgrade result is used to instruct the target BMS system to verify the upgrade package data and transfer the data upon receiving the upgrade package data.
7. A UPS system upgrade tool, characterized in that, The UPS system upgrade tool includes: The first communication module is used to receive upgrade package data sent by the host computer and write the upgrade package data into the storage space of the UPS system; The data verification and storage module is used to verify the accuracy of the upgrade package data after determining that the upgrade package data has been received. The second communication module is used to determine the target BMS system corresponding to the upgrade package data in at least one BMS system when the verification is successful, and to send the upgrade package data to the target BMS system.
8. A computer device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-6.
10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-6.