OTA upgrading method, system and equipment integrating terminal and electric energy meter and medium
By segmenting and resuming firmware in the smart grid system, combined with hierarchical upgrades and mirror zone design, the problems of single OTA upgrade chain, unreliable transmission, and low efficiency of converged terminals and electricity meters are solved, and efficient and reliable collaborative upgrades are achieved.
Patent Information
- Application Number
- CN202511536816.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-27
- Publication Date
- 2025-11-25
AI Technical Summary
In existing technologies, OTA upgrades of integrated terminals and electricity meters in smart grid systems suffer from problems such as a single upgrade chain, unreliable transmission, and low upgrade efficiency.
The firmware is divided into multiple data packets, and a breakpoint resume mechanism is used to upgrade the converged terminal and the energy meter in a coordinated manner. Combined with a hierarchical upgrade strategy, dual mirror zone design and time-sharing scheduling strategy, the reliability and efficiency of data transmission are ensured.
It enables the coordinated upgrade of converged terminals and electricity meters, improves transmission reliability, reduces network resource consumption, increases upgrade efficiency, and enhances system security and reliability.
Smart Images

Figure CN121013073A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart grids, and in particular to an OTA upgrade method, system, device and medium for integrating terminals and electricity meters. Background Technology
[0002] In smart grid systems, converged terminals and electricity meters are core data acquisition devices. With increasing business and security demands, firmware requires regular remote upgrades. Existing OTA (Over-The-Air) upgrade methods mainly suffer from the following problems: 1. Single upgrade chain: Most existing technologies only target the upgrade of converged terminals and lack a mechanism for the coordinated upgrade of converged terminals and electricity meters.
[0003] 2. Unreliable transmission: The firmware file is large and easily interrupted during transmission. Neither the electricity meter nor the fusion terminal has the ability to resume transmission after a breakpoint.
[0004] 3. Low upgrade efficiency: If the upgrade fails, it usually requires downloading the entire firmware package again, which is time-consuming and consumes network bandwidth. Summary of the Invention
[0005] In order to overcome the shortcomings of existing technologies, such as a single upgrade chain, unreliable transmission, and low upgrade efficiency.
[0006] In a first aspect, the present invention provides an OTA upgrade method for integrating a terminal and an energy meter, comprising: The main station divides the firmware to be upgraded into multiple data groups and sends the multiple data groups to the converged terminal in sequence; The converged terminal uses a breakpoint resume mechanism to receive and store the packet data. After the converged terminal completes its own upgrade, it sends the packet data to the electricity meter. The electricity meter uses a breakpoint resume mechanism to receive and store data packets from the converged terminal and complete its own upgrade.
[0007] Optionally, the breakpoint resume mechanism includes the following steps: The main station assigns a number to each group of data; The receiving party records the number of the successfully received packet data and, after the transmission interruption is recovered, sends a retransmission request message to the sending party to request the retransmission of the missing packet data.
[0008] Optionally, after receiving packet data from the master station, the converged terminal performs initial signature verification simultaneously, and the electricity meter performs secondary signature verification simultaneously after receiving packet data from the converged terminal.
[0009] Optionally, the converged terminal and the electricity meter adopt a tiered upgrade strategy. Specifically, the tiered upgrade strategy prioritizes upgrading the startup module, and after successful upgrade, upgrades the communication processing module and the business function module.
[0010] Optionally, both the fusion terminal and the electricity meter are equipped with a current running image area and a pending upgrade image area; during the upgrade process, the new firmware is written to the pending upgrade image area, and the image is switched only after successful verification; if the verification fails, it reverts to the original running image.
[0011] Optionally, when distributing data packets to electricity meters, the fusion terminal adopts a time-sharing scheduling strategy to divide the subordinate electricity meters into different batches for sequential upgrades.
[0012] Optionally, if an error occurs during firmware transmission, the error type is recorded, and a processing request is fed back based on the error type.
[0013] Secondly, the present invention provides an OTA upgrade system integrating a terminal and an energy meter, comprising: The main station module is used to divide the firmware to be upgraded into multiple data groups and send the multiple data groups to the converged terminal in sequence. The converged terminal module is used to receive and store the packet data using a breakpoint resume mechanism. After the converged terminal completes its own upgrade, it sends the packet data to the electricity meter. The electricity meter module is used by the electricity meter to receive and store data packets from the converged terminal and complete its own upgrade using a breakpoint resume mechanism.
[0014] Thirdly, the present invention provides a device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements the steps of the method described in the first aspect.
[0015] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect.
[0016] The beneficial effects of this invention are as follows: By employing firmware segmentation, a breakpoint resumption mechanism, and chain-like upgrade transmission, a collaborative upgrade system is constructed from the main station to the converged terminal and then to the energy meter. Compared to the existing technology that only upgrades a single device, this application achieves collaborative upgrades between the converged terminal and the energy meter, solving the problem of a single upgrade chain; the breakpoint resumption mechanism avoids the retransmission of the entire packet due to transmission interruption, improving transmission reliability; at the same time, the packet data transmission method reduces the amount of data transmitted in a single transmission, reduces network resource consumption, and thus improves upgrade efficiency. Attached Figure Description
[0017] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0018] Figure 1 These are flowcharts from some of the embodiments; Figure 2 These are flowcharts of the breakpoint resume mechanism in some embodiments; Figure 3 These are flowcharts from some of the embodiments; Figure 4 These are flowcharts of the breakpoint resume mechanism in some embodiments; Figure 5 These are flowcharts of the initial signature verification and secondary signature verification in some embodiments; Figure 6 This is a flowchart of dual-mirror area storage in some embodiments; Figure 7 These are flowcharts for handling error types during transmission in some embodiments. Detailed Implementation
[0019] The following will clearly and completely describe the concept, specific structure, and technical effects of the present invention in conjunction with embodiments and accompanying drawings, so as to fully understand the purpose, features, and effects of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of them. Other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are all within the scope of protection of the present invention. Furthermore, all connections / linkages involved in the patent do not simply refer to direct contact between components, but rather to the ability to form a better connection structure by adding or reducing connecting accessories according to specific implementation conditions. The various technical features in this invention can be combined interactively without contradicting each other.
[0020] This invention is applied to a system with a three-terminal connection between a main station, a converged terminal, and an electricity meter, wherein: The master station is usually the central server in the power supply system and is the core of the overall system; A converged terminal is typically a concentrator used to manage all electricity meters within a certain area; An electricity meter is a terminal device installed at the user's end; it is the unit that directly performs metering and control.
[0021] This invention provides an OTA upgrade method for integrating a terminal and an energy meter, comprising: S1. The main station divides the firmware to be upgraded into multiple data groups and sends the multiple data groups to the converged terminal in sequence; S2. The fusion terminal uses a breakpoint resume mechanism to receive and store the packet data. After the fusion terminal completes its own upgrade, it sends the packet data to the electricity meter. S3. The electricity meter uses a breakpoint resume mechanism to receive and store data packets from the converged terminal and complete its own upgrade.
[0022] In practical applications, the main station dividing the firmware to be upgraded into multiple data groups can be understood as dividing the complete firmware file into several small data units according to preset rules. This division can be based on a fixed size, such as dividing a 20MB firmware file into 200 groups, or it can be based on the logical structure of the firmware content, such as generating group data according to functional modules. The main purpose is to reduce the amount of data transmitted in a single transmission, thereby reducing the probability of transmission failure due to network fluctuations or interruptions.
[0023] Furthermore, the converged terminal's use of a breakpoint resume mechanism to receive and store packet data can be understood as recording the status of successfully received packet data during data transmission and requesting only the missing data after network interruption recovery. Specifically, the converged terminal can maintain a reception status table to record the reception status of each packet data. When a transmission interruption is detected, the current operation is paused, and a retransmission request is sent to the master station after network recovery. In addition, the converged terminal can also use a checksum mechanism to verify the integrity of received packet data to ensure data correctness.
[0024] The fact that the electricity meter uses a breakpoint resume mechanism to receive and store data packets from the converged terminal can be understood as the electricity meter also possessing interruption recovery capabilities when receiving data. For example, the electricity meter can record the numbers of received data packets through local storage media and send a resume request to the converged terminal to retrieve missing data after the network anomaly is resolved. As a preferred implementation, the electricity meter can store data packets immediately after each reception to avoid data loss due to device restarts or power outages.
[0025] The innovation of this application lies in constructing a collaborative upgrade system from the main station to the converged terminal and then to the electricity meter through firmware segmentation, a breakpoint resumption mechanism, and chain-like upgrade transmission. Compared with the existing technology that only upgrades a single device, this application realizes the collaborative upgrade of the converged terminal and the electricity meter, solving the problem of a single upgrade chain; through the breakpoint resumption mechanism, it avoids the retransmission of the entire packet due to transmission interruption, improving transmission reliability; at the same time, the packet data transmission method reduces the amount of data transmitted in a single transmission, reduces network resource consumption, and thus improves upgrade efficiency.
[0026] The working principle of this embodiment is as follows: The master station divides the firmware to be upgraded into multiple data packets, thereby achieving segmented processing of large-volume firmware, reducing the amount of data transmitted in a single transmission, and providing a foundation for the subsequent breakpoint resume mechanism. When the converged terminal receives data packets from the master station, it uses the breakpoint resume mechanism for storage. This mechanism ensures that successfully received data packets are recorded even if transmission is interrupted, and requests retransmission of missing portions after recovery, thus avoiding the problem of retransmitting the entire packet due to transmission failure. Furthermore, after completing its own upgrade, the converged terminal forwards the received data packets to the energy meter, forming a chain-like upgrade path from the master station to the converged terminal and then to the energy meter, solving the limitations of single-device upgrades. When the energy meter receives data packets from the converged terminal, it also uses the breakpoint resume mechanism for storage and processing. Specifically, the energy meter can independently record the reception status and request retransmission of missing data after interruption recovery, thereby ensuring the reliability and efficiency of terminal device upgrades. Through the close integration of the above technical features, firmware segmentation and group transmission create conditions for breakpoint resume transmission. The breakpoint resume transmission and post-upgrade distribution of the fusion terminal constitute the core link of the upgrade chain, while the breakpoint resume transmission of the electricity meter completes the closed loop of terminal upgrade. The overall technical solution effectively addresses the problems of single upgrade chain, unreliable transmission and low upgrade efficiency in OTA upgrades of smart grid equipment.
[0027] like Figure 3 As shown, the main station sends out a packet upgrade package, the fusion terminal receives the packet data, and the fusion terminal checks the integrity of the packet. If the packet data is found to be incomplete, it requests retransmission of the packet data. If the packet data is found to be complete, the fusion terminal caches the packet data and sends the packet data to the energy meter. The energy meter continues to check the integrity of the packet data. If the packet data is found to be incomplete, it requests retransmission of the packet data. If the packet data is found to be complete, the energy meter caches the packet data. The energy meter confirms whether all packet data has been received. If so, it enters the packet data synthesis stage or the power outage resume stage until the upgrade is completed. If not, it waits for the reception of the next packet data.
[0028] In one embodiment, the breakpoint resume mechanism includes the following steps: S101. The main station assigns a number to each group of data; S102. The receiving party records the number of the successfully received packet data and, after the transmission interruption is recovered, sends a retransmission request message to the sending party to request the retransmission of the missing packet data.
[0029] Specifically, numbering each data packet at the main station means assigning a unique identifier to each packet. This can be achieved using an incrementing numerical sequence, hash value, or timestamp, ensuring that each packet is distinguishable and unique. The receiving party records the number of successfully received packets, meaning the receiver dynamically maintains a storage structure, which can be implemented using an array, linked list, or database, to track the reception status in real time and identify missing data. Sending a resume request after a transmission interruption means the receiver generates a specific request instruction based on the record. This can be achieved through specific fields in the communication protocol or an independent message format, aiming to accurately locate missing data and trigger a retransmission operation.
[0030] In this scenario, the receiving party can be a converged terminal or an energy meter, while the sending party can be a master station or a converged terminal. When the master station sends data to the converged terminal, the master station is the sending party and the converged terminal is the receiving party. When the converged terminal sends data to the energy meter, the converged terminal is the sending party and the energy meter is the receiving party. The converged terminal can act as both the sender and the receiver.
[0031] In detail, this scheme uses a master station to number data packets, giving each packet a clear identifier during transmission, thus laying the foundation for accurate tracking and management. When the receiver receives data packets, it stores the numbering information in a local record structure, creating a complete view of the reception progress. When transmission is interrupted due to network fluctuations or other reasons, the receiver can quickly determine which data packets have been successfully received and which are missing based on the records, and generate a resume request accordingly. Upon receiving this request, the sender only needs to resend the missing data packets, without retransmitting the entire firmware file. This process significantly reduces network resource waste and improves upgrade efficiency. Furthermore, this mechanism, combined with the master station's method of dividing the firmware into multiple data packets, further enhances the reliability and flexibility of transmission, effectively solving the problems of accuracy and efficiency in data recovery after transmission interruptions.
[0032] like Figure 4 As shown, if the packet data transmission is interrupted, such as due to a network failure, after transmission is restored, the last interruption point is checked, and the remaining packets are sent from the interruption point. The fusion terminal or energy meter receives the remaining packet data and performs verification. If the verification is successful, the data is stored. If the verification fails, the packet is retransmitted to ensure the security of data transmission. After successful storage, it is checked whether the remaining packets have been received. If they have not been received, the remaining packets are sent again. If all packets have been received, the remaining packets are concatenated with the packets received before the interruption. After concatenation, the upgrade is performed.
[0033] like Figure 5 As shown, in some embodiments, the fusion terminal performs initial signature verification synchronously after receiving packet data from the master station, and the electricity meter performs secondary signature verification synchronously after receiving packet data from the fusion terminal.
[0034] Specifically, synchronous signature verification refers to the technical means of verifying the signature information of firmware data in real time during data reception. It can be implemented using digital signature algorithms based on public key infrastructure, such as RSA or ECC algorithms, with the aim of ensuring that the received data has not been tampered with and that its source is trustworthy. Initial signature verification and secondary verification refer to the verification operations independently performed by the converged terminal and the energy meter in their respective receiving stages, respectively; together, they constitute a hierarchical protection mechanism.
[0035] In detail, when the master station sends packet data to the converged terminal, the converged terminal immediately calls the signature verification module to check the data integrity while storing the data. If an anomaly is found, it indicates that the upgrade package is missing and triggers an error feedback mechanism. Similarly, when the electricity meter receives data from the converged terminal, it also immediately initiates a secondary verification process, comparing the signature value to determine the authenticity and integrity of the data. This dual verification mechanism effectively solves the security threats that may exist during firmware transmission; even if an anomaly occurs in one link, it will not affect the overall security. At the same time, this solution, combined with the breakpoint resume mechanism, improves upgrade efficiency while ensuring data integrity, forming a reliable security system.
[0036] The above technical solutions not only enable real-time security monitoring during firmware transmission, but also significantly enhance the overall security of the smart grid equipment OTA upgrade system.
[0037] In some embodiments, the converged terminal and the electricity meter adopt a tiered upgrade strategy, which specifically prioritizes upgrading the startup module, and after successful upgrade, upgrades the communication processing module and the service function module.
[0038] Specifically, the tiered upgrade strategy involves breaking down the firmware upgrade process into multiple stages and executing updates sequentially based on the importance of each module. In practical applications, the boot module can be understood as the most fundamental and critical part of the device, primarily responsible for guiding the device into normal operating condition; therefore, it is given the highest priority during the upgrade process. The communication processing module is used to implement data transmission functions, while the business function module is mainly responsible for specific application logic processing. The purpose of prioritizing the boot module upgrade is to ensure that the device's basic operational capabilities are guaranteed first. Furthermore, due to its small size, the boot module can quickly complete verification and reduce the risk of failure. If this stage fails, the system can quickly revert to the original image without affecting the state of other modules, thus avoiding global retransmission. After the boot module upgrade is successful, the communication processing module and business function module are then updated. This phased processing approach effectively reduces invalid data transmission and duplicate downloads caused by localized failures.
[0039] In detail, this solution uses modular isolation to confine potential faults to a localized area, significantly optimizing the utilization efficiency of upgrade resources. During implementation, the firmware of the startup module is updated first, and verification is performed immediately after the update. Only when the verification result indicates that the startup module has been successfully upgraded will the upgrade process for subsequent communication processing modules and business function modules be triggered. This sequential execution mechanism not only ensures the continuity of the upgrade process but also makes the upgrade of each module independent of other modules; even if the upgrade of one module fails, it will not affect the overall system. Furthermore, the combination of a breakpoint resume mechanism and a mirror area switching design further enhances the system's reliability and recovery capabilities. For example, after the master station sends packet data to the converged terminal, the converged terminal simultaneously performs initial signature verification, and then gradually completes its own upgrade according to a hierarchical strategy and distributes data to the energy meter; the energy meter also follows this strategy, upgrading the startup module first and then processing other modules. This approach improves the upgrade success rate while significantly shortening the overall upgrade time, demonstrating the ingenious application of a hierarchical upgrade strategy in the OTA upgrade of smart grid equipment.
[0040] In some embodiments, both the converged terminal and the electricity meter are equipped with a current running image area and a mirror area to be upgraded. During the upgrade process, the new firmware is written to the mirror area to be upgraded, and the image is switched only after successful verification. If the verification fails, it will revert to the original running image.
[0041] The currently running image area refers to the firmware storage area currently in use by the device. This can be implemented using a dedicated storage partition or a specific storage chip, aiming to ensure the device's continued stable operation during upgrades. The image area to be upgraded can be understood as an independent storage space used to receive and store new firmware. This can be achieved by reserving a fixed storage area or dynamically allocating storage space, providing a secure environment for firmware writing and verification. Image switching refers to the process of switching the device's operating environment from the currently running image area to the image area to be upgraded after successful verification. This can be achieved by modifying boot configuration parameters or adjusting storage mapping relationships, ensuring that the new firmware can be correctly loaded and executed.
[0042] like Figure 6 As shown, specifically, this solution achieves high reliability during the upgrade process through a dual-mirror zone architecture design. During the upgrade, the converged terminal and energy meter first write the new firmware to the mirror zone to be upgraded. This process, based on the isolation characteristics of independent storage areas, ensures that even if the writing process is interrupted, it will not affect the current functionality of the device, thus maintaining the continuity of data acquisition services. The verification mechanism is strictly bound to the mirror switching action; only new firmware that passes the integrity check can be activated. This switching logic based on verification status effectively prevents startup failures caused by damaged or incompatible firmware. When verification fails, the system can quickly revert to the original running mirror zone, directly reusing the original stable version, avoiding the overhead of re-acquiring firmware data and significantly improving upgrade efficiency. The combination of the above mirror backup and switching mechanism with the breakpoint resume mechanism further enhances the fault tolerance of the upgrade process, solves the problem of device unavailability due to upgrade failure, and ensures the high availability of smart grid equipment during firmware updates.
[0043] In some embodiments, when the fusion terminal distributes data packets to the electricity meters, it adopts a time-sharing scheduling strategy to divide the subordinate electricity meters into different batches for sequential upgrades.
[0044] Specifically, time-sharing scheduling is a mechanism for controlling the upgrade process through time. It can be implemented by dividing the process into fixed time intervals, dynamically adjusting time windows, or allocating time slots in real-time based on network load. Dividing subordinate electricity meters into different batches optimizes resource allocation, which can be achieved by distributing them equally by number of meters, grouping them according to priority, or dynamically dividing them based on network topology. Upgrading sequentially means operating each batch independently according to a strict time sequence, aiming to avoid system overload and network congestion caused by concurrent operations.
[0045] In detail, this solution effectively addresses network resource contention and upgrade reliability issues by introducing a time-sharing scheduling strategy. When distributing data packets, the converged terminal first formulates a reasonable packetization plan based on the number of subordinate electricity meters, network bandwidth conditions, or service priorities, and allocates an independent upgrade time slot for each batch. Based on this, each batch of electricity meters only receives data and completes verification within the specified time slot, significantly reducing the risk of network congestion. Simultaneously, this phased operation optimizes the utilization of the converged terminal's computing resources, avoiding system instability caused by all electricity meters simultaneously requesting data. Furthermore, since the operation of each batch is relatively independent, in the event of a transmission interruption or other anomalies, only the specific batch needs to be processed, without affecting the overall upgrade process, thereby improving the efficiency and reliability of error handling.
[0046] In some embodiments, if an error occurs during firmware transmission, the error type is recorded, and a processing request is fed back based on the error type.
[0047] Specifically, error type refers to the classification and identification of various abnormal situations that may occur during firmware transmission. It can be implemented using categories such as network interruption, data verification failure, or verification anomaly. In practical applications, recording error types captures and stores specific error categories, providing necessary data support for subsequent differentiated processing. This aims to avoid the resource waste caused by treating all errors as general failures in traditional solutions. Error type-based feedback processing requests generate customized processing instructions based on the recorded specific error categories. This can be achieved by requesting the retransmission of missing packets for recoverable errors and triggering a safety rollback mechanism for severe errors, with the aim of optimizing resource scheduling and error recovery paths.
[0048] like Figure 7As shown in the diagram, in detail, during firmware transmission, when an anomaly is detected in the transmission link, the system intervenes in real time and captures the error. By defining clear error classification criteria, the system can distinguish between different types of transmission failures and store these error messages in a designated log area. Error types include communication failure, verification failure, and exceeding the retry limit. Subsequently, based on the recorded error type, the system generates corresponding processing requests. For communication failure, the processing request is to retry the transmission N times; for verification failure, the processing request is to request the retransmission of the packet data; for exceeding the retry limit, the processing request is to report the error to the main station. If the response is successful, the normal upgrade process continues; if no response is received, the upgrade stops, and the old firmware is maintained, i.e., the old version is kept running. This intelligent processing method not only significantly improves the reliability of the firmware transmission process but also effectively avoids the inefficiency caused by blindly retransmitting the entire firmware packet. At the same time, this scheme, combined with the breakpoint resume mechanism, further enhances the stability and efficiency of the upgrade process, making the OTA upgrade method for the entire converged terminal and the energy meter more adaptable to complex network environments.
[0049] This invention provides an OTA upgrade system integrating a terminal and an energy meter, comprising: The main station module is used to divide the firmware to be upgraded into multiple data groups and send the multiple data groups to the converged terminal in sequence. The converged terminal module is used to receive and store the packet data using a breakpoint resume mechanism. After the converged terminal completes its own upgrade, it sends the packet data to the electricity meter. The electricity meter module is used by the electricity meter to receive and store data packets from the converged terminal and complete its own upgrade using a breakpoint resume mechanism.
[0050] This invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements the steps of the method described in the above embodiments.
[0051] The present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the OTA upgrade method for the fusion terminal and the energy meter in the above embodiments are implemented.
[0052] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the embodiments described. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.
Claims
1. An OTA upgrade method integrating a terminal and an energy meter, characterized in that, Includes the following steps: The main station divides the firmware to be upgraded into multiple data groups and sends the multiple data groups to the converged terminal in sequence; The converged terminal uses a breakpoint resume mechanism to receive and store the packet data. After the converged terminal completes its own upgrade, it sends the packet data to the electricity meter. The electricity meter uses a breakpoint resume mechanism to receive and store data packets from the converged terminal and complete its own upgrade.
2. The OTA upgrade method for the converged terminal and the energy meter according to claim 1, characterized in that, The breakpoint resume mechanism includes the following steps: The main station assigns a number to each group of data; The receiving party records the number of the successfully received packet data and, after the transmission interruption is recovered, sends a retransmission request message to the sending party to request the retransmission of the missing packet data.
3. The OTA upgrade method for the converged terminal and the energy meter according to claim 1, characterized in that, After receiving packet data from the master station, the converged terminal performs initial signature verification simultaneously, and the electricity meter performs secondary signature verification simultaneously after receiving packet data from the converged terminal.
4. The OTA upgrade method for the converged terminal and the energy meter according to claim 1, characterized in that, The converged terminal and the electricity meter adopt a tiered upgrade strategy. Specifically, the startup module is upgraded first, and after successful upgrade, the communication processing module and the business function module are upgraded.
5. The OTA upgrade method for the converged terminal and the energy meter according to claim 1, characterized in that, Both the integrated terminal and the electricity meter are equipped with a currently running mirror area and a mirror area to be upgraded. During the upgrade process, the new firmware is written to the mirror area to be upgraded, and the mirror is switched only after successful verification. If verification fails, revert to the original running image.
6. The OTA upgrade method for the converged terminal and the energy meter according to claim 1, characterized in that, When distributing data packets to electricity meters, the fusion terminal adopts a time-sharing scheduling strategy, dividing the subordinate electricity meters into different batches for sequential upgrades.
7. The OTA upgrade method for the integrated terminal and the energy meter according to claim 1, characterized in that, If an error occurs during firmware transmission, the error type is recorded, and a processing request is sent back based on the error type.
8. An upgrade system integrating a terminal and an electricity meter, characterized in that, include: The main station module is used to divide the firmware to be upgraded into multiple data groups and send the multiple data groups to the converged terminal in sequence. The converged terminal module is used to receive and store the packet data using a breakpoint resume mechanism. After the converged terminal completes its own upgrade, it sends the packet data to the electricity meter. The electricity meter module is used by the electricity meter to receive and store data packets from the converged terminal and complete its own upgrade using a breakpoint resume mechanism.
9. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method according to any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Intelligent meter firmware upgrade method and equipment, and storage medium
CN109002303A
Method and system for remotely upgrading programs of multiple charging piles through guide rail table
CN117539522A
NB-IOT technology-based firmware remote upgrading method and electric energy meter
CN120029645A
Power distribution terminal remote upgrading method and device, storage medium and program product
CN120335842A
KR20230001788A