OTA updating method, OTA updating device and energy storage equipment
By controlling the mainboard to receive and detect the download link, the update file is written to the external memory and then sent to the board of the energy storage device with one click. This solves the problems of cumbersome and incompatible OTA upgrade processes for portable energy storage devices, realizes automated board upgrades, and improves user experience and device stability.
Patent Information
- Application Number
- CN202510741122.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-09-19
AI Technical Summary
In the field of portable energy storage, the OTA upgrade process is cumbersome, the accuracy of the upgrade cannot be guaranteed, and it may cause board software incompatibility, affecting the normal use of the device.
This paper provides an OTA update method that controls the mainboard to receive the download link from the server, writes the update file to the external memory after command detection, and sends it to each board for update with one click, optimizing the upgrade process and avoiding multiple confirmation operations.
It realizes the one-time automatic upgrade of the energy storage equipment's boards and cards, improves the user experience, avoids board and card crashes, and ensures the normal use of the equipment.
Smart Images

Figure CN120676327A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy storage technology, and in particular to an OTA update method, an OTA update device, and an energy storage device. Background Art
[0002] Over-the-Air (OTA) technology, a core solution for modern device firmware updates and upgrades, leverages diverse communication protocols to achieve efficient deployment and has become the preferred solution for firmware iterations in smart terminals (such as mobile phones, cars, and wearable devices). However, in the portable energy storage sector, the OTA upgrade process is cumbersome and cannot guarantee accuracy. For example, when multiple boards need to be upgraded simultaneously, each upgrade must be confirmed individually, impacting the user experience. Furthermore, if only one board is upgraded while others remain, software incompatibility between the remaining boards may occur, impacting normal device operation. Summary of the Invention
[0003] The embodiments of the present application provide an OTA update method, an OTA update device, and an energy storage device.
[0004] The OTA update method of the embodiment of the present application is used for an energy storage device, wherein the energy storage device includes a control mainboard and multiple boards connected to the control mainboard, wherein the control mainboard communicates with a server, and the OTA update method includes:
[0005] Receiving a download link sent by the server according to the one-key upgrade instruction;
[0006] Performing instruction detection on the download link;
[0007] When detecting that the download link is valid, obtaining the update file according to the download link;
[0008] Writing the update file into an external memory;
[0009] When the update file is successfully written into the external memory, the update file is sent to each of the boards and the boards are controlled to be updated according to the update file.
[0010] In certain embodiments, the energy storage device includes a plurality of battery packs, each of which includes a battery management system board. When the update file is successfully written to the external memory, the update file is sent to each of the boards and the boards are controlled to be updated according to the update file, including:
[0011] According to the number of the battery pack, the update file is sent to each of the battery management system boards in sequence so that the battery packs are updated in sequence;
[0012] When all the battery packs are updated, all the battery packs are numbered.
[0013] In some embodiments, the update file includes battery update data, and sending the update file to each of the battery management system boards in sequence according to the number of the battery pack so that the battery packs are updated in sequence includes:
[0014] Request handshake with the battery management system board of the current battery pack;
[0015] In case that the handshake with the battery management system board of the current battery pack is successful, the battery update data is sent to the battery management system board of the current battery pack so that the current battery pack is updated according to the battery update data.
[0016] In some embodiments, the board includes a PV board, the update file includes PV update data, and when the update file is successfully written to the external memory, sending the update file to each of the boards and controlling the boards to perform updates according to the update file includes:
[0017] Request handshake with the PV board through the serial port protocol;
[0018] In case the handshake with the PV board is successful, PV update data is sent to the PV board so that the PV board is updated according to the PV update data.
[0019] In some embodiments, the board includes an inverter board, the update file includes inverter update data, and when the update file is successfully written to the external memory, sending the update file to each of the boards and controlling the boards to perform updates according to the update file includes:
[0020] Request handshake with the inverter board through the serial port protocol;
[0021] In case the handshake with the inverter is successful, the upgrade flag is set, and the inverter update data is sent to the inverter board so that the inverter is updated according to the inverter update data.
[0022] In some embodiments, when the update file is successfully written to the external memory, sending the update file to each of the boards and controlling the boards to perform updates according to the update file includes:
[0023] If the handshake with the inverter fails, re-request handshake with the inverter board for a preset number of times;
[0024] If the handshake fails, the upgrade is determined to have failed.
[0025] In some embodiments, the OTA update method further includes:
[0026] When the board is updated, detecting whether the update file has the target file of the control mainboard;
[0027] If the target file exists, the update is performed according to the target file.
[0028] In some embodiments, the OTA update method further includes:
[0029] When it is detected that the download link is valid, "downloading" is sent to the server.
[0030] In some embodiments, the control mainboard further communicates with the client, and the OTA update method further includes:
[0031] When the update file is successfully written into the external memory, a message "Installing in Progress" is sent to the client.
[0032] The OTA update device of the embodiment of the present application is used for an energy storage device, wherein the energy storage device includes a control mainboard and multiple boards connected to the control mainboard, wherein the control mainboard communicates with a server, and the OTA update device includes:
[0033] A receiving module, configured to receive a download link sent by the server according to a one-key upgrade instruction;
[0034] A detection module, configured to perform instruction detection on the download link;
[0035] An acquisition module, configured to acquire an update file according to the download link when detecting that the download link is valid;
[0036] A writing module, used for writing the update file into an external memory;
[0037] An update module is used to send the update file to each of the boards and control the boards to perform update according to the update file when the update file is successfully written into the external memory.
[0038] The energy storage device provided in the embodiments of the present application includes a control mainboard and a plurality of boards connected to the control mainboard. The control mainboard communicates with a server and is configured to:
[0039] Receiving a download link sent by the server according to the one-key upgrade instruction;
[0040] Performing instruction detection on the download link;
[0041] When detecting that the download link is valid, obtaining the update file according to the download link;
[0042] Writing the update file into an external memory;
[0043] When the update file is successfully written into the external memory, the update file is sent to each of the boards and the boards are controlled to be updated according to the update file.
[0044] The OTA update method, OTA update device, and energy storage device of the embodiments of the present application optimize the upgrade process through a one-click upgrade method, upgrading all boards in the energy storage device that need to be upgraded simultaneously. The upgrade process eliminates the need for multiple clicks to confirm the upgrade; the entire upgrade process is automatically completed in one go. This eliminates the need for user selection operations, and if an upgrade fails during the interactive upgrade process of each board, the board can be prevented from freezing, without affecting normal use and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0046] Figure 1 It is a flowchart of the OTA update method of certain embodiments of the present application.
[0047] Figure 2 It is a module schematic diagram of an OTA update device in certain embodiments of the present application.
[0048] Figure 3 It is a module schematic diagram of the energy storage device of certain embodiments of the present application.
[0049] Figure 4-8 It is a flowchart of the OTA update method of certain embodiments of the present application. DETAILED DESCRIPTION
[0050] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be understood as limiting the present application.
[0051] Over-the-Air (OTA) technology, a core solution for modern device firmware updates, leverages diverse communication protocols for efficient deployment. Mainstream OTA implementations are primarily based on communication technology architectures such as Wi-Fi, 4G / 5G cellular networks, LPWAN (Low Power Wide Area Network), and Bluetooth. With its ubiquitous access (coverage radius up to kilometers), automated deployment (upgrade success rate >99.5%), and scalable architecture (supporting millions of concurrent devices), OTA has become the preferred solution for firmware iteration in smart devices (such as mobile phones, automobiles, wearable devices, and energy storage devices).
[0052] Typically, in the field of portable energy storage, the OTA upgrade process is as follows: After the portable energy storage device connects to Wi-Fi on the app and selects Update, the server platform will publish the download link that needs to be upgraded via the MQTT protocol (a lightweight message transmission protocol based on the publish / subscribe model). The portable energy storage device obtains and parses this link to complete the upgrade of the portable energy storage device. However, this OTA upgrade process is cumbersome. If multiple boards need to be upgraded at the same time, the upgrades need to be confirmed one by one, affecting the user experience. In addition, the accuracy of the upgrade cannot be guaranteed. In addition, if only one board is upgraded and the others are not upgraded, it may cause software incompatibility of the remaining boards, affecting the normal use of the device.
[0053] In view of this, please see Figure 1 The present application provides an OTA update method for an energy storage device, wherein the energy storage device includes a control mainboard and multiple boards connected to the control mainboard, and the control mainboard communicates with a server. The OTA update method includes:
[0054] 01. Receive the download link sent by the server according to the one-click upgrade instruction;
[0055] 02. Perform instruction detection on the download link;
[0056] 03. When the download link is detected to be valid, obtain the update file according to the download link;
[0057] 04. Write the update file to the external storage;
[0058] 05. When the update file is successfully written into the external memory, the update file is sent to each board and the board is controlled to be updated according to the update file.
[0059] See also Figure 2The present application also provides an OTA update device 10, which includes a receiving module 110, a detection module 120, an acquisition module 130, a writing module 140 and an updating module 150, wherein the above step 01 can be implemented by the receiving module 110, the above step 02 can be implemented by the detection module 120, the above step 03 can be implemented by the acquisition module 130, the above step 04 can be implemented by the writing module 140, and the above step 05 can be implemented by the updating module 150.
[0060] In other words, the receiving module 110 is used to receive the download link issued by the server according to the one-click upgrade instruction; the detection module 120 can be used to perform instruction detection on the download link; the acquisition module 130 can be used to obtain the update file according to the download link when it is detected that the download link is valid; the writing module 140 can be used to write the update file to the external memory; the update module 150 can be used to send the update file to each board and control the board to update according to the update file when the update file is successfully written to the external memory.
[0061] See also Figure 3 The present application also provides an energy storage device 100, which includes a control mainboard and multiple boards. The multiple boards are electrically connected to the control mainboard, and the control mainboard communicates with the server. The control mainboard is used to receive a download link issued by the server according to a one-key upgrade instruction; perform instruction detection on the download link; when it is detected that the download link is valid, obtain an update file according to the download link; write the update file to an external memory; when the update file is successfully written to the external memory, send the update file to each board and control the board to update according to the update file.
[0062] The OTA update method, OTA update device, and energy storage device 100 of this application optimize the upgrade process through a one-click upgrade method. All boards in the energy storage device 100 that require upgrading are upgraded simultaneously, eliminating the need for multiple clicks to confirm the upgrade. The entire upgrade process is automatically completed in one go. This eliminates the need for user selection operations. Furthermore, if an upgrade fails during the interactive upgrade process of each board, the board itself can be prevented from freezing, preventing normal use and improving the user experience.
[0063] It should be noted that the OTA update device can exist in the form of hardware or software. The OTA update device can be an independent component independent of the energy storage device 100. The OTA update device can also be a part of a certain energy storage device 100 and integrated into the energy storage device 100 in the form of hardware or software, or in other words, the energy storage device 100 includes the OTA update device. For example, when the OTA update device is integrated into the energy storage device 100 as part of the energy storage device 100, the OTA update device can be integrated into the control motherboard.
[0064] The energy storage device 100 can be a portable energy storage device. For example, the energy storage device 100 can be a portable outdoor power source. It should be noted that a portable energy storage device is a movable and easy-to-carry electric energy storage and supply device. The energy storage device 100 includes one or more battery packs. The number of battery packs can be 1, 2, 3, 4, 5, 8, 10 or even more. The actual number of battery packs in the energy storage system 100 can be set according to the energy storage demand, and the specific number is not limited. When there are multiple battery packs, they can be divided into main packs and expansion packs based on their functions. There is one main pack and one or more expansion packs. For example, please refer to Figure 3 In the embodiment of the present application, the energy storage device 100 may include four battery packs, one of which serves as a main pack and the other three as expansion packs. The main pack can be connected to the expansion packs via a communication bus and electrically connected to the expansion packs via a power bus.
[0065] The energy storage device 100 also includes a control mainboard and multiple boards, both of which are used to manage the battery pack. The boards may include, but are not limited to, battery management system (BMS) boards, PV boards, inverter boards, and other boards (drive boards, sampling boards). The control mainboard, PV boards, and inverter boards may all be located in the main package, while the BMS board may be located in each battery pack. In other words, the main package includes a BMS board, a PV board, and an inverter board, while each expansion pack may include a BMS board.
[0066] It should be noted that the control motherboard is the main controller of the energy storage device 100, such as the CPU, memory, storage devices, and input and output devices, and provides communication and data transmission between them. The control motherboard is used to monitor and manage the operation of the entire energy storage device 100, ensuring the stability and efficiency of the energy storage device 100. The battery management system board is used to implement functions such as monitoring, protection, and management of the battery pack. The battery management system board can be electrically connected to the battery pack. The battery management system board can monitor the voltage, current, temperature and other parameters of the battery pack in real time to prevent the battery pack from overcharging, over-discharging, overheating, etc., ensure the safe operation of the battery pack, and extend the service life of the battery pack. The PV board can be connected to the photovoltaic panel to achieve the maximum power point output of the photovoltaic panel. The inverter board is used to convert the DC power of the battery pack into AC power when the energy storage device 100 is powering external devices, or to convert external AC power into DC power for input into the battery pack during charging.
[0067] Furthermore, the control board can communicate with the server via Wi-Fi, 4G and 5G cellular networks, low-power wide area networks, and Bluetooth communications. Product maintenance personnel of the energy storage device 100 can obtain download links for updated boards by publishing new update files for each board on the server.
[0068] When the server receives a one-key update instruction, the download link can be sent to the control motherboard of the energy storage device 100 through the Message Queuing Telemetry Transport (MQTT) protocol. It should be noted that the MQTT protocol is a lightweight, low-power, and reliable Internet of Things communication protocol based on the publish / subscribe model. It is suitable for resource-constrained devices and network environments with its simple design, small data packet header, and support for multiple service quality levels. It is widely used in the fields of Internet of Things, mobile applications, cloud computing, and big data to achieve efficient message transmission and communication between devices and between devices and the cloud. The one-key update instruction can be generated by the client, and after the client connects to the network and communicates with the server, the one-key update instruction can be sent to the server. The download link can include download links for all board update files.
[0069] After receiving the download link, the control mainboard parses it and performs command detection to determine whether the download link is valid. If the download link is invalid, the update request is confirmed to have failed. If the control mainboard detects that the download link is valid, it can send "downloading" to the server. In this way, the server can timely grasp the update status of the energy storage device 100. At the same time, it obtains the update file according to the download link to start the upgrade. The update file is all the new board update data in the server platform.
[0070] The control board then stores the acquired update file in external memory (flash). The control board then uses the external memory to confirm whether the update file for each board has been successfully written. If the update file fails to be written, the update file is re-stored to the external memory, ensuring that the update file is successfully stored in the external memory. After confirming that the update file for each board has been successfully written, the corresponding update file is sent to each board so that each board is updated according to the update file. This achieves a one-click update and upgrade of the energy storage device 100, eliminating the need for user selection. Furthermore, compared to related technologies where the user confirms the upgrade one by one, this avoids software incompatibilities caused by upgrading only some boards, ensuring the normal operation of the energy storage device 100.
[0071] In addition, in some embodiments, the control board can also communicate with the client and send real-time installation information to the client. For example, after obtaining the update file and storing it in the external memory (flash), the control board can also send a "installing" message to the client. This allows the user to understand the update status of the energy storage device 100 in real time.
[0072] See also Figure 4 In some embodiments, step 05 includes:
[0073] 051, according to the battery pack number, send the update file to each battery management system board in sequence so that the battery packs are updated in sequence;
[0074] 052. After all battery packs are updated, all battery packs are numbered.
[0075] In some embodiments, sub-steps 051 and 052 can be implemented by the update module 150, or in other words, the update module 150 can be used to send update files to each battery management system board in sequence according to the battery pack number so that the battery packs are updated in sequence; and when all battery packs are updated, all battery packs are numbered.
[0076] In some embodiments, the control mainboard can be used to send update files to each battery management system board in sequence according to the battery pack number so that the battery packs are updated in sequence; and when all battery packs are updated, all battery packs are numbered.
[0077] For example, in some examples, the battery pack includes a main pack, expansion pack 1, expansion pack 2 and expansion pack 3. According to the battery pack number, the main pack is updated first, and the update file is sent to the battery management system board of the main pack for updating; after the main pack is updated, the expansion pack 1 is updated, and the update file is sent to the battery management system board of the expansion pack 1 for updating; after the expansion pack 1 is updated, the expansion pack 2 is updated, and the update file is sent to the battery management system board of the expansion pack 2 for updating; after the expansion pack 2 is updated, the expansion pack 3 is updated, and the update file is sent to the battery management system board of the expansion pack 3 for updating; when all battery packs are updated, the battery packs are numbered.
[0078] It is understandable that in the related art, the battery packs are numbered after each battery pack upgrade is completed, and the operation can easily cause the battery pack to go offline, making it impossible to switch to the next battery pack for upgrade. However, this application does not temporarily address the battery pack after the battery pack upgrade is completed. When the last battery pack upgrade is completed, the battery pack is uniformly addressed. In this way, it can ensure that the battery pack does not go offline, reducing the risk of update abnormalities.
[0079] See also Figure 5 In some embodiments, the update file includes battery update data, and step 051 includes:
[0080] 0511, request handshake with the battery management system board of the current battery pack;
[0081] 0512. When the handshake with the battery management system board of the current battery pack is successful, the battery update data is sent to the battery management system board of the current battery pack so that the current battery pack is updated according to the battery update data.
[0082] Further reading Figure 2 In some embodiments, sub-steps 051 and 052 can be implemented by the update module 150, or in other words, the update module 150 can be used to request a handshake with the battery management system board of the current battery pack, and if the handshake with the battery management system board of the current battery pack is successful, send the battery update data to the battery management system board of the current battery pack so that the current battery pack is updated according to the battery update data.
[0083] In some embodiments, the control main board can be used to request a handshake with the battery management system board of the current battery pack, and if the handshake with the battery management system board of the current battery pack is successful, send battery update data to the battery management system board of the current battery pack so that the current battery pack is updated according to the battery update data.
[0084] Specifically, the control mainboard requests a handshake with the battery management system board of the current battery pack. If the handshake fails, the handshake is repeated. If the handshake still fails after the preset number of times, it is determined that the control mainboard cannot communicate with the battery management system board, and it is determined that the battery pack cannot be updated temporarily. After the control mainboard successfully shakes hands with the battery management system board of the current battery pack, it sends the battery update data to the battery management system board of the current battery pack, so that the battery management system board of the current battery pack can update the data according to the battery. If the update is successful, the battery management system board of the next battery pack is updated until all battery packs are updated. If the update fails, you can try to update again, and if the update still fails after the preset number of updates, exit the update. In this way, the function of updating and upgrading the battery pack is realized.
[0085] See also Figure 6 In some embodiments, the update file includes PV update data, and step 05 further includes:
[0086] 053, request handshake with PV board through serial port protocol;
[0087] 054. When the handshake with the PV board is successful, the PV update data is sent to the PV board so that the PV board is updated according to the PV update data.
[0088] In some embodiments, sub-steps 053 and 054 can be implemented by the update module 150, or in other words, the update module 150 can be used to request a handshake with the PV board through the serial port protocol, and if the handshake with the PV board is successful, send the PV update data to the PV board, so that the PV board is updated according to the PV update data.
[0089] In some embodiments, the control mainboard may be configured to request a handshake with the PV board through a serial port protocol, and if the handshake with the PV board is successful, send PV update data to the PV board, so that the PV board is updated according to the PV update data.
[0090] Specifically, the control mainboard connects to the PV board via a serial port. A handshake is initiated with the PV board via the serial port. If the handshake fails, the control mainboard re-handshakes. If the handshake fails after a preset number of attempts, which can be two, three, or five, the control mainboard determines that the PV board is unable to communicate with the board. After a successful handshake with the PV board, the control mainboard sends PV update data, causing the PV board to update according to the PV update data. An end frame is then sent, and a response is awaited from the PV board. If a response is received, the PV board is confirmed to have been successfully updated. If not, the control mainboard is re-updated until the PV board is successfully updated. If the update fails after the maximum number of re-updates, the control mainboard stops updating the PV board and determines that the update has failed. This implements the PV board update function.
[0091] See also Figure 7 In some embodiments, the update file includes inversion update data, and step 05 further includes:
[0092] 055, request handshake with the inverter board through the serial port protocol;
[0093] 056, when the handshake with the inverter is successful, the upgrade flag is set and the inverter update data is sent to the inverter board to update the inverter data.
[0094] In some embodiments, sub-steps 055 and 056 can be implemented by the update module 150, or in other words, the update module 150 can be used to request a handshake with the inverter board through the serial port protocol; if the handshake with the inverter is successful, the upgrade flag is set and the inverter update data is sent to the inverter board to update the inverter data.
[0095] In some embodiments, the control mainboard can be used to request a handshake with the inverter board through a serial port protocol; if the handshake with the inverter is successful, the upgrade flag is set and the inverter update data is sent to the inverter board to update the inverter data.
[0096] Specifically, the control board connects to the inverter board via a serial port. The control board performs a handshake with the inverter board via the serial port. If the handshake fails, the control board performs another handshake. If the handshake fails after a preset number of attempts, the control board determines that it cannot communicate with the inverter board, i.e., the upgrade has failed. The preset number of attempts can be two, three, or five. After a successful handshake with the inverter board, the control board sets the upgrade flag to 1. The control board then sends a 32-byte file header to the inverter board, along with the inverter update data and a data transfer completion command to the inverter board, causing the inverter board to perform the data update. This completes the inverter board update function.
[0097] See also Figure 8 In some embodiments, the OTA update method further includes:
[0098] 06. After the board is updated, check whether the updated file contains the target file for controlling the mainboard;
[0099] 07. If the target file exists, update it according to the target file.
[0100] In some embodiments, the update module 150 can be used to detect whether the update file contains a target file for controlling the mainboard after the board is updated, and to perform an update according to the target file if the target file exists.
[0101] In some embodiments, the control mainboard can be used to detect whether the update file has a target file of the control mainboard when the board is updated, and to perform an update according to the target file if the target file exists.
[0102] Specifically, after all boards are upgraded, that is, after all battery management system boards, inverter boards, and PV boards are updated, if it is detected that the control main board needs to be updated, the control main board will be updated, the update file will be written to the external memory, and the bootloader (a small program that runs before the operating system kernel or user application runs) will be jumped into for update and upgrade, and the control main board update function will be completed by restarting.
[0103] In this way, the control mainboard and all other boards are updated together. In addition, since the control mainboard is updated after all boards are updated, the control mainboard is avoided from affecting the normal use of the energy storage device 100 due to update failure when updating together with other boards.
[0104] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
Claims
1. An OTA update method for energy storage equipment, characterized in that: The energy storage device includes a control mainboard and a plurality of boards connected to the control mainboard, the control mainboard communicates with a server, and the OTA update method includes: Receiving a download link sent by the server according to the one-key upgrade instruction; Performing instruction detection on the download link; When detecting that the download link is valid, obtaining the update file according to the download link; Writing the update file into an external memory; When the update file is successfully written into the external memory, the update file is sent to each of the boards and the boards are controlled to be updated according to the update file.
2. The OTA update method according to claim 1, wherein: The energy storage device includes a plurality of battery packs, each of which includes a battery management system board. When the update file is successfully written to the external memory, the update file is sent to each of the boards and the boards are controlled to be updated according to the update file, including: According to the number of the battery pack, the update file is sent to each of the battery management system boards in sequence so that the battery packs are updated in sequence; When all the battery packs are updated, all the battery packs are numbered.
3. The OTA update method according to claim 1, wherein: The update file includes battery update data, and according to the number of the battery pack, the update file is sent to each of the battery management system boards in sequence so that the battery packs are updated in sequence, including: Request handshake with the battery management system board of the current battery pack; In case that the handshake with the battery management system board of the current battery pack is successful, the battery update data is sent to the battery management system board of the current battery pack so that the current battery pack is updated according to the battery update data.
4. The OTA update method according to claim 1, wherein: The board includes a PV board, the update file includes PV update data, and when the update file is successfully written into the external memory, sending the update file to each of the boards and controlling the boards to perform updates according to the update file, including: Request handshake with the PV board through the serial port protocol; In case the handshake with the PV board is successful, PV update data is sent to the PV board so that the PV board is updated according to the PV update data.
5. The OTA update method according to claim 1, wherein: The board includes an inverter board, the update file includes inverter update data, and when the update file is successfully written into the external memory, sending the update file to each of the boards and controlling the boards to perform updates according to the update file, including: Request handshake with the inverter board through the serial port protocol; When the handshake with the inverter is successful, the upgrade flag is set, and the inverter update data is sent to the inverter board to update the inverter data.
6. The OTA update method according to claim 5, wherein: When the update file is successfully written into the external memory, sending the update file to each of the boards and controlling the boards to perform updates according to the update file comprises: If the handshake with the inverter fails, re-request handshake with the inverter board for a preset number of times; If the handshake fails, the upgrade is determined to have failed.
7. The OTA update method according to claim 1, wherein: The OTA update method further includes: When the board is updated, detecting whether the update file has the target file of the control mainboard; If the target file exists, the update is performed according to the target file.
8. The OTA update method according to claim 1, wherein: The OTA update method further includes: When it is detected that the download link is valid, "downloading" is sent to the server.
9. The OTA update method according to claim 1, wherein: The control mainboard also communicates with the client, and the OTA update method further includes: When the update file is successfully written into the external memory, a message "Installing" is sent to the client.
10. An OTA update device for energy storage equipment, characterized in that: The energy storage device includes a control mainboard and a plurality of boards connected to the control mainboard, the control mainboard communicates with the server, and the OTA update device includes: A receiving module, configured to receive a download link sent by the server according to a one-key upgrade instruction; A detection module, configured to perform instruction detection on the download link; An acquisition module, configured to acquire an update file according to the download link when detecting that the download link is valid; A writing module, used for writing the update file into an external memory; The update module is used to send the update file to each of the boards and control the boards to perform update according to the update file when the update file is successfully written into the external memory.
11. An energy storage device, characterized in that: The energy storage device includes a control mainboard and a plurality of boards connected to the control mainboard. The control mainboard communicates with the server and is used to: Receiving a download link sent by the server according to the one-key upgrade instruction; Performing instruction detection on the download link; When detecting that the download link is valid, obtaining the update file according to the download link; Writing the update file into an external memory; When the update file is successfully written into the external memory, the update file is sent to each of the boards and the boards are controlled to be updated according to the update file.
Citation Information
Patent Citations
Battery management system upgrading method and device, server and storage medium
CN111124455A
Method for remotely upgrading battery program through battery changing cabinet
CN113110855A
Software upgrading method and device, embedded equipment and storage medium
CN116243949A
Firmware upgrading method, energy storage power supply, medium, terminal equipment and energy storage system
CN116860295A
Upgrading method, device, system and medium
CN119292625A