# US 2024/0004633 A1 · Electronic control device

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

- Number: US 2024/0004633 A1
- Document ID: US20240004633A1
- Status: Published application
- Kind: A1
- Application number: 18/254,447
- Filed: 2021-08-31
- Published: 2024-01-04
- Earliest claimed: 2020-12-16
- Assignees: Hitachi Astemo, Ltd.
- Applicants: Hitachi Astemo, Ltd.
- Inventors: Shun KINUGASA; Kosuke SUMIYA; Yusuke ABE; Atsushi HIRONAKA
- Web page: https://patentgrep.com/patent/US20240004633A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- B60R 16/02: electric {constitutive elements}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- B60R: VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The purpose of the present invention is to provide technology whereby a retransmission start address can be properly identified even when update data is compressed or encrypted. In the electronic control device according to the present invention, update data includes at least one of compressed data and encrypted data and includes unprocessed data that is neither compressed nor encrypted, and the unprocessed data retains an address list that can identify the positions of data blocks included in the update data.

## Claims

### Claim 1

An electronic control device mounted on a vehicle, the electronic control device comprising:
a calculation unit configured to execute a program in which a process of controlling a device mounted on the vehicle is mounted;
a communication unit configured to receive update data used to update the program; and
a storage unit configured to store the program,
wherein
the update data includes at least one of compressed data subjected to compression processing or encrypted data subjected to encryption processing, and includes non-processed data not subjected to compression processing or encryption processing,
the calculation unit extracts an update version data block of the program to be written to the storage unit from the update data by at least performing one of decompressing the compressed data and decrypting the encrypted data,
the non-processed data holds an address list describing information capable of specifying each data block included in the update data,
when the process of writing the update version data block to the storage unit is interrupted in a middle, the calculation unit specifies a data block in the update data corresponding to the update version data block to be rewritten according to the address list, and designates the specified data block to re-acquire the update data.

### Claim 2 (depends on 1)

The electronic control device according to claim 1, wherein
the non-processed data includes a header portion of a head of the update data,
the address list is included in the header portion, and
the calculation unit acquires the address list from the header portion to specify a data block in the update data corresponding to the update version data block to be rewritten.

### Claim 3 (depends on 2)

The electronic control device according to claim 2, further comprising a memory that stores the address list,
wherein
the calculation unit stores the address list acquired from the header portion in the memory when writing the update version data block in the storage unit, and
the calculation unit specifies a data block in the update data corresponding to the update version data block to be rewritten using the address list stored in the memory when a process of writing the update version data block into the storage unit is interrupted in a middle.

### Claim 4 (depends on 1)

The electronic control device according to claim 1, wherein
the update data includes one or more data blocks,
the non-processed data includes a header portion at a head of the data block,
the address list is included in the header portion, and
the calculation unit acquires the address list from the header portion to specify a data block in the update data corresponding to the update version data block to be rewritten.

### Claim 5 (depends on 4)

The electronic control device according to claim 4, wherein
the data block is subjected to the compression processing, and
a header portion of the data block is not compressed.

### Claim 6 (depends on 5)

The electronic control device according to claim 5, wherein
the calculation unit acquires the update version data block by decompressing the update data for each data block, and
the calculation unit writes the update data into the storage unit for each update version data block.

### Claim 7 (depends on 5)

The electronic control device according to claim 5, wherein
the update data is configured by aggregating one or more of the data blocks subjected to the compression processing and the header portion corresponding to the data block,
the update data is subjected to the encryption processing for each of the data blocks, and
the header portion is not encrypted.

### Claim 8 (depends on 5)

The electronic control device according to claim 5, wherein
the update data is subjected to the encryption processing after being subjected to the compression processing, and
the calculation unit acquires the update version data block by decrypting and then decompressing the update data.

### Claim 9 (depends on 1)

The electronic control device according to claim 1, wherein
the update data includes one or more of data blocks,
supplementary information of the data block is described at a head or a tail or a position between the head and the tail of the data block, and
the address list describes a position of a head of the data block or describes a position of the supplementary information arranged at a head of the data block.

### Claim 10 (depends on 1)

The electronic control device according to claim 1, wherein
the update data includes a second data block next to a first data block, and
when a process of writing the second data block to the storage unit is interrupted in a middle after the first data block is written to the storage unit, the calculation unit resumes the process of writing the update data to the storage unit from the second data block.

### Claim 11 (depends on 10)

The electronic control device according to claim 10, further comprising:
a memory that stores write completion block information indicating that writing of the data block of the update data to the storage unit is completed,
wherein
each time a data block of the update data is written in the storage unit, the calculation unit stores the write completion block information related to the data block in which writing is completed in the memory, and
when the write completion block information indicates that the writing of the second data block to the storage unit is not completed, the calculation unit resumes the process of writing the update data to the storage unit from the second data block.

### Claim 12 (depends on 11)

The electronic control device according to claim 11, wherein the calculation unit diagnoses whether the update data is normally written to the storage unit according to the write completion block information.

### Claim 13 (depends on 1)

The electronic control device according to claim 1, wherein
the vehicle includes a gateway device that temporarily stores the update data and transfers the temporarily stored update data to the electronic control device,
the communication unit receives the update data via the gateway device, and
when resuming the write processing interrupted in a middle, the calculation unit re-acquires the update data temporarily held by the gateway device.

### Claim 14 (depends on 1)

The electronic control device according to claim 1, wherein
a first data block included in the update data is encrypted by using a second data block that is included in the update data and is different from the first data block,
the update data includes an initialization vector used to decrypt a data block encrypted first in the update data, and
when the second data block is a data block encrypted first in the update data, the calculation unit acquires the second data block and the initialization vector together to decrypt the second data block.

### Claim 15 (depends on 1)

The electronic control device according to claim 1, wherein
a first data block included in the update data is encrypted by using a second data block that is included in the update data and is different from the first data block,
the update data includes an initialization vector used to decrypt a data block encrypted first in the update data,
the first data block is arranged after the second data block in the update data, and
when decrypting the first data block, the calculation unit decrypts the first data block by acquiring the first data block and the second data block together.
