BMS remote online upgrading method supporting breakpoint resume based on 4G

By introducing 4G-based breakpoint continuous transmission technology into the BMS remote online upgrade system, the upgrade failure caused by network interruption or device restart during the remote online upgrade process is solved, and efficient and secure remote online upgrade is achieved.

CN120066539APending Publication Date: 2025-05-30YIN NEW POWER TECH (SHANDONG) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411898515.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

During remote online upgrades, in the case of network interruption, device restart, etc., traditional upgrade methods require re-downloading or installing upgrade packages from scratch, resulting in wasted time and traffic, increasing maintenance costs and risk of equipment damage.

Method used

Using 4G-based breakpoint continuous transmission technology, through the coordinated work of the cloud, 4G communication module, download module, flash module, breakpoint continuous transmission module and external flash, we can continue to download or install the upgrade package from the interrupt when the network is interrupted or the device is restarted.

Benefits of technology

It improves the upgrade success rate, saves time and traffic resources, reduces the upgrade cost and risk of equipment damage, and improves user experience and system security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066539A_ABST
    Figure CN120066539A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of battery management systems (BMS), and particularly relates to a BMS remote online upgrading method supporting breakpoint resume based on 4G. The method comprises the following steps: firstly, constructing a framework comprising a cloud, a 4G communication module, BMS function modules and an external flash; the method comprises the following steps: uploading hex or s19 format software and version number and other information to a cloud end, and notifying a BMS after verification is valid; the BMS receives the message, requests cloud data if the external flash does not finish upgrading, and downloads the cloud data after verification; if yes, continuing according to the progress, and completing setting of the flag bit. And restarting the BMS, flashing the new software to the flash of the BMS according to the flag bit, and running the new software. According to the method, network or equipment abnormity is handled through breakpoint continuous transmission, the success rate is improved, time and flow are saved, and the cost and equipment loss risk are reduced; automatic upgrading is achieved through cooperation of the modules, maintenance and service cost is reduced, safety and stability are high, and equipment performance and user experience are optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of battery management systems (BMS), and particularly relates to a BMS remote online upgrade method based on 4G that supports resume from breakpoint. Background Art

[0002] With the continuous development of technology, the application of battery management system (BMS) in numerous devices has become increasingly crucial. The BMS is responsible for monitoring the battery status, optimizing the charging and discharging process, and ensuring the safety and reliability of the battery. The continuous improvement of its performance is essential for the overall operation of the device. Against this background, the over-the-air (OTA) technology for online remote upgrade has emerged, providing great convenience for the function optimization and update of the BMS. The OTA technology enables the end-users of the BMS to download or install update programs without manual intervention, and the system can autonomously complete the upgrade process in the background. In this way, the BMS can push update content in real-time to ensure that all users can quickly obtain the latest function modules and security patches, effectively enhancing the functionality and security of the device. On the one hand, it can promptly repair potential security vulnerabilities and quickly respond to known risks, greatly reducing the possibility of the device being attacked externally; on the other hand, it eliminates the need for manual intervention and physical contact with the device, significantly reducing the maintenance cost and service cost and improving the operation efficiency. However, in the practice of remote upgrade, the network environment is complex and changeable, and the device status is also unstable. The resume from breakpoint function has become an essential part of the OTA technology. When the upgrade process is blocked due to network interruption, device restart, or other unexpected situations, the traditional upgrade method often needs to download or install the upgrade package from the beginning, which not only consumes a large amount of time and network traffic, increases the user cost and waiting time, but also easily aggravates the risk of device wear due to frequent repeated operations, reducing the upgrade success rate and user experience. Summary of the Invention

[0003] In view of the technical problems existing in the background art, the present invention proposes a BMS remote online upgrade method based on 4G that supports resume from breakpoint.

[0004] To achieve the above object, the technical solution adopted by the present invention includes the following steps:

[0005] S1. First, construct a remote upgrade framework, which includes a cloud, a 4G communication module, a download module, a flashing module, a resume from breakpoint module, and an external flash;

[0006] Among them, the BMS includes the download module, the flashing module, the verification module, and the breakpoint resume module; the download module is used to read external flash data and download application software data to the external flash; the flashing module is used to flash the application software program read from the external flash into the flash of the BMS; the verification module is used to verify the application software data sent by the cloud; the breakpoint resume module is used for continuous download; the 4G module is used for communication with the cloud; the external flash is used to store new application software; the cloud is used to upload, store, and transmit application software;

[0007] S2. Secondly, upload the latest application software to the cloud. The format of the application software is hex or s19, and information such as the application software version number is filled in. The cloud verifies the data according to the output format characteristics. If it is valid, it sends the information of the latest version of the application software to the BMS;

[0008] S3. Then, after the BMS receives the latest application software message through the 4G module, its breakpoint resume module reads the external flash. If there is no uncompleted upgrade situation of the latest application software in the cloud in the external flash, the BMS requests the application software data from the cloud platform through the 4G module. After receiving it, it performs Crc verification through the verification module. If it is valid, it downloads the application software data and the download progress to the external flash through the download module and continues to request data. Otherwise, it requests data again until the request for the application software data in the cloud is completed. If there is an uncompleted upgrade situation in the external flash, the BMS requests the cloud data according to the download progress in the flash and operates according to the above request, verification, and download process. When the request is completed, the latest software upgrade completion flag bit in the external flash is set to valid;

[0009] S4. Finally, after the BMS finishes downloading the latest application software, it restarts, reads the latest software upgrade completion flag bit in the external flash. When the flag bit is valid, it starts the download module and the flashing module to write the latest application software into the BMS flash, erases the latest software upgrade completion flag bit in the external flash, and runs the new application software.

[0010] 4. A BMS remote online upgrade method based on 4G supporting breakpoint resume according to claim 1, wherein the breakpoint resume module continues to download or install the upgrade package from the interruption point in case of network interruption, device restart, or other situations that cause the upgrade to be incomplete.

[0011] 5. A BMS remote online upgrade method based on 4G supporting breakpoint resume according to claim 1, wherein the verification module uses the Crc verification algorithm to verify the integrity and accuracy of the application software data sent by the cloud.

[0012] Compared with the prior art, the advantages and positive effects of the present invention are that the innovative resume - interrupted download function can accurately resume the upgrade from the breakpoint in the face of network interruption, device restart and other situations, greatly improving the upgrade success rate, saving time and traffic resources, effectively reducing the upgrade cost and the risk of device damage, which are the key features often lacking in the prior art. Through the cooperation of the cloud, 4G communication module and BMS modules, automatic remote upgrade is realized without manual intervention. While ensuring that users can quickly obtain the latest functions and security patches, it significantly reduces the maintenance and service costs, comprehensively improves the user experience and system security, strongly enhances the stability and reliability of the BMS system, and deeply optimizes the device performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following - described drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0014] Figure 1 It is a framework diagram for remote online upgrade of BMS; Figure 2 It is a flowchart for the cloud to upload application software; Figure 3 It is a flowchart for downloading BMS online application programs; Figure 4 It is a flowchart for BMS flashing. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0015] In order to more clearly understand the above - mentioned objects, features and advantages of the present invention, the following further describes the present invention with reference to the drawings and embodiments. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0016] Many specific details are set forth in the following description in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described herein. Therefore, the present invention is not limited by the specific embodiments disclosed in the following specification.

[0017] Embodiment. This technical solution proposes a BMS remote online upgrade method based on 4G that supports resume of interrupted downloads. For online remote upgrade (OTA), BMS end-users do not need to manually download or install updates. The BMS system can automatically complete it in the background, which is very convenient. The BMS can release updates in real-time to ensure that all users quickly obtain the latest features and security patches. Online upgrade can quickly repair security vulnerabilities, respond to known security risks in a timely manner, reduce the possibility of the device being attacked, and eliminate the need for manual intervention and physical contact with the device, thereby reducing maintenance and service costs. In addition, resume of interrupted downloads is one of the indispensable components of OTA. If the upgrade is not completed due to network interruption, device restart, or other reasons, the system can continue to download or install the upgrade package from the interrupted point instead of starting from scratch. This mechanism is particularly important because in remote upgrades, the network environment and device conditions may be unstable. Resume of interrupted downloads can improve the success rate of upgrades. Due to network instability or other reasons, interrupted upgrades can continue from the interrupted point, reducing the risk of upgrade failure; save time and resources, eliminating the need to redownload the entire upgrade package, saving time and traffic, and effectively reducing upgrade costs; improve the user experience and reduce the risk of device damage.

[0018] First, build the entire framework for remote upgrade, which mainly includes the cloud, 4G communication module, download module, flashing module, resume of interrupted downloads, and external flash. See the specific framework in Figure 1 as shown. Among them, the BMS mainly includes a download module, a flashing module, a verification module, and a resume of interrupted downloads module. The download module is mainly used to: read the external flash data and application software data and download them to the external flash. The flashing module is mainly used to flash the application software program read from the external flash into the BMS flash. The verification module is mainly used to verify the application software data sent by the cloud to prevent the data from being damaged during transmission. The resume of interrupted downloads module is mainly used for continuous download, saving the time-consuming of redownloading the already downloaded part after the transmission is interrupted; the 4G module is used for communication with the cloud; the external flash is used to store the new application software; the cloud is used for uploading, storing, and transmitting.

[0019] Second, upload the latest application software (in hex or s19 format) to the cloud and fill in information such as the application software version number. The cloud will determine the filled application software information. Perform data verification according to the characteristics of the output format. If valid, the cloud sends the information of the latest version of the application software to the BMS. See the specific process in Figure 2 as shown.

[0020] Again, the BMS receives the message of the latest application software through the 4G module, which mainly includes the version and line number of the application software. The breakpoint continuation module inside the BMS reads the external flash to check whether there is an unfinished upgrade of the latest application software in the cloud in the external flash. If not, the BMS requests the application software data from the cloud platform through the 4G module. The cloud platform sends the corresponding application software program data according to the BMS request. After receiving the cloud platform data, the BMS performs Crc verification through the verification module. If it is valid, the application software data and the download progress are downloaded to the external flash through the download module, and the data is continuously requested. Otherwise, the data is requested again, and this process is repeated until the request for the cloud application software data is completed. If there is, the BMS starts to request the cloud data according to the download progress in the flash, and requests, verifies and downloads the application software data according to the above process. When the request is completed, the latest software upgrade completion flag bit in the external flash is set to valid. See specifically Figure 3 .

[0021] Finally, after downloading the latest application software, the BMS restarts, reads the latest software upgrade completion flag bit in the external flash. When it is valid, the download module and the flashing module are started to write the latest application software into the BMS flash, erase the latest software upgrade completion flag bit in the external flash, and run the new application software. The specific process is shown in Figure 4 shown.

[0022] The above is only a preferred embodiment of the present invention, and it is not a limitation of the present invention in other forms. Any person skilled in the art may use the disclosed technical content to make changes or modifications into equivalent embodiments with equivalent changes and apply them to other fields. However, as long as it does not depart from the technical solution content of the present invention, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention still belong to the protection scope of the technical solution of the present invention.

Claims

1. A BMS remote online upgrade method based on 4G supporting breakpoint resume, characterized in that: The following steps are involved: S1. First, build a remote upgrade framework, which includes a cloud, a 4G communication module, a download module, a flash module, a breakpoint resume module and an external flash; The BMS includes the download module, the flash module, the verification module and the breakpoint resume module; the download module is used to read the external flash data and download the application software data to the external flash; the flash module is used to flash the application software program read from the external flash to the flash of the BMS; the verification module is used to verify the application software data sent by the cloud; the breakpoint resume module is used for continuous downloading; the 4G module is used to communicate with the cloud; the external flash is used to store new application software; the cloud is used to upload, store and transmit application software; S2. Secondly, upload the latest application software to the cloud. The application software format is hex or s19, and fill in the application software version number and other information. The cloud verifies the data according to the output format characteristics. If it is valid, the latest version of the application software information is sent to the BMS; S3. Then, after the BMS receives the latest application software message through the 4G module, its breakpoint resume module reads the external flash. If the latest cloud application software does not exist in the external flash and has not been upgraded, the BMS requests the cloud platform application software data through the 4G module. After receiving, the verification module performs CRC verification. If it is valid, the application software data and download progress are downloaded to the external flash through the download module and continue to request data. Otherwise, the data is requested again until the cloud application software data request is completed. If there is an incomplete upgrade in the external flash, the BMS requests the cloud data according to the download progress in the flash, and operates according to the above request, verification and download process. When the request is completed, the latest software upgrade completion flag of the external flash is set to valid. S4. Finally, after the BMS downloads the latest application software, it restarts and reads the latest software upgrade completion flag in the external flash. When the flag is valid, the download module and the flash module are started to write the latest application software into the BMS flash, erase the latest software upgrade completion flag in the external flash, and run the new application software.

2. According to claim 1, a BMS remote online upgrade method based on 4G supporting breakpoint resume transmission is characterized in that: The breakpoint resume module continues downloading or installing the upgrade package from the interruption point when the network is interrupted, the device is restarted or other reasons cause the upgrade to be incomplete.

3. According to claim 1, a BMS remote online upgrade method based on 4G supporting breakpoint resume transmission is characterized in that: The verification module uses a CRC verification algorithm to verify the integrity and accuracy of the application software data sent from the cloud.

Citation Information

Patent Citations

  • Battery management system software remote upgrading system and remote upgrading method thereof

    CN105491161A

  • Lithium battery BMS Internet of Things system updating method and device, medium and equipment

    CN115480802A

  • Method and system for communication between battery BMS and cloud platform

    CN116506248A

  • Remote BMS upgrading method based on charging pile control system

    CN117331588A

  • Remote upgrading method and device for energy storage system and medium

    CN118473929A