# US 2015/0149991 A1 · System for firmware upgrade in ami and method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149991 A1
- Document ID: US20150149991A1
- Status: Published application
- Kind: A1
- Application number: 14/487,223
- Filed: 2014-09-16
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Industrial Technology Research Institute
- Applicants: Industrial Technology Research Institute
- Inventors: Yao-Hsin Chen; Ping-Hai Hsu
- Web page: https://patentgrep.com/patent/US20150149991A1

## CPC

- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F 11/1402: {Saving, restoring, recovering or retrying}
- G06F 11/1433: {during software upgrading}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 9/3226: {using a predetermined code, e.g. password, passphrase or PIN (network architectures or network communication protocols for supporting authentication of entities using passwords in a packet data network H04L63/083)}
- H04L 9/3247: {involving digital signatures}
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and method for firmware upgrade in an AMI are provided. A remote server provides a firmware image file. After receiving the firmware image file and verifying the remote server, a data concentrator transmits at least one encoding symbol generated from the firmware image file to at least one meter through broadcasting and a retransmission mechanism of minimum retransmission contents. Upon receiving a predetermined number of encoding symbols, each meter recovers the original firmware image file from the received encoding symbols. Then, each meter receives and verifies an activation code generated by the remote server before carrying out the firmware upgrade.

## Claims

### Claim 1

A system for firmware upgrade in an Advanced Metering Infrastructure (AMI), comprising:
a remote server including a database to store a firmware image file and a security module to generate a digital signature and an activation code;
a data concentrator connected to the remote server, including:
a verification module to verify the firmware image file from the remote server using the digital signature; and
a broadcasting module to broadcast a predetermined number or more of encoding symbols generated from the firmware image file, to obtain minimum retransmission contents based on a receiving status of the encoding symbols, and further to broadcast new encoding symbols, wherein the amount of which matches the minimum retransmission contents; and
at least a meter connected to the data concentrator to receive the encoding symbols, the meter including:
a forward error correction (FEC) decoder to decode the encoding symbols from the data concentrator and recover the firmware image file based on the encoding symbols; and
a verification module to check the status of completion of the firmware image file recovered by the FEC decoder, and to obtain the activation code generated by the remote server from the data concentrator, the activation code after successful verification being used to drive firmware upgrade of the meter.

### Claim 2 (depends on 1)

The system of claim 1, wherein the broadcasting module compares the predetermined number with a number of encoding symbols received by the meter to obtain a number of encoding symbols by the meter to recover the firmware image file as the minimum retransmission contents.

### Claim 3 (depends on 1)

The system of claim 1, wherein the data concentrator further includes an FEC encoder to gather the sizes of firmware blocks and sizes of transmission frames of the meter to obtain a transmission constraint of the meter, to compare the transmission constraint of the meter to obtain a unit partition size of the encoding symbols, and to encode the firmware image file received to create at least one encoding symbol having a size that matches the unit partition size.

### Claim 4 (depends on 1)

The system of claim 1, wherein the remote server further includes an FEC encoder to encode the firmware image file with a specific firmware block size to generate encoding symbols of the firmware image file to be transmitted to the data concentrator.

### Claim 5

A method for firmware upgrade in an Advanced Metering Infrastructure (AMI), comprising:
obtaining, by using a data concentrator, a firmware image file from a remote server and confirming legitimacy of the firmware image file through a source verification mechanism;
broadcasting, by using the data concentrator, at least one encoding symbol generated by encoding the firmware image file to at least one meter, wherein the number of the at least one encoding symbol is a predetermined number, calculating minimum retransmission contents based on a message returned by the at least one meter, and further transmitting encoding symbols that are not broadcast in the encoding symbols, the amount of which matching the minimum retransmission contents, until the at least one meter has received enough encoding symbols to recover the firmware image file;
verifying version and integrity of the firmware image file; and
obtaining, by using the at least one meter, an activation code and activating firmware upgrade once correctness of the activation code is confirmed.

### Claim 6 (depends on 5)

The method of claim 5, wherein the source verification mechanism includes verifying the legitimacy of the firmware image file through asymmetric encryption algorithms.

### Claim 7 (depends on 5)

The method of claim 5, wherein the encoding of the firmware image file includes the data concentrator obtaining a transmission constraint supported by the at least one meter and encoding the firmware image file based on the transmission constraints of the at least one meters through an encoding symbol length algorithm to generate at least one encoding symbols, and the remote server encodes the firmware image file with a predetermined firmware block size to generate an encoded firmware image file and transmitting the encoded firmware image file to the data concentrator for subsequent transmission.

### Claim 8 (depends on 7)

The method of claim 7, wherein the transmission constraint of the at least one meter includes the firmware block size and a transmission frame size of the at least one meter, and the data concentrator determines a unit partition size of the encoding symbols based on the transmission constraints of the at least one meter.

### Claim 9 (depends on 7)

The method of claim 7, wherein the encoding symbol length algorithm gathers the firmware block size and a transmission frame size supported by the at least one meter and obtains the transmission constraint of the at least one meter from the firmware block size and the transmission frame size, and compares the transmission constraints of the meters to obtain the minimum one as the unit partition size of the encoding symbols.

### Claim 10 (depends on 5)

The method of claim 5, wherein the message returned by the at least one meter indicates a receiving status of the encoding symbols of the respective meter.

### Claim 11 (depends on 5)

The method of claim 5, wherein calculating the minimum retransmission contents includes using a retransmission calculating algorithm to compare the number of encoding symbols received by the at least one meter with a firmware block number of the at least one meter to calculate the number of encoding symbols by the at least one meter to recover the firmware image file, and the maximum one is used as the minimum retransmission contents.

### Claim 12 (depends on 5)

The method of claim 5, wherein the at least one meter obtaining an activation code and activating firmware upgrade includes allowing the data concentrator to obtain the activation codes for the at least one meter from the remote server and transmit the activation codes to the respective meters.
