# US 2017/0371640 A1 · Method and apparatus for controlling electronic device of vehicle

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

- Number: US 2017/0371640 A1
- Document ID: US20170371640A1
- Status: Published application
- Kind: A1
- Application number: 15/381,839
- Filed: 2016-12-16
- Published: 2017-12-28
- Earliest claimed: 2016-06-22
- Assignees: Hyundai Motor Company
- Applicants: Hyundai Motor Company
- Inventors: Kee Hoon Choi
- Web page: https://patentgrep.com/patent/US20170371640A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- B60R 16/02: electric {constitutive elements}
- 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
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- 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

A method for controlling software needed to drive an in-vehicle electronic device includes receiving a data package including a plurality of partial data needed to update software of a vehicle and applying either a parallel update procedure or a sequential update procedure according to whether first partial data to be updated through a central processing unit (CPU) is contained in the data package.

## Claims

### Claim 1

A method for controlling software related to operating an in-vehicle electronic device, comprising:
receiving a data package including a plurality of partial data for updating software stored on a vehicle;
determining whether the data package includes first partial data, wherein the first partial data is configured to update a central processing unit (CPU); and
applying one of a parallel update procedure or a sequential update procedure according to whether the first partial data is determined to be included in the data package.

### Claim 2 (depends on 1)

The method according to claim 1, wherein:
when the sequential update procedure is applied to update the first partial data, the parallel update procedure is applied to update a plurality of second partial data other than the first partial data included in the data package.

### Claim 3 (depends on 1)

The method according to claim 1, wherein applying one of the parallel update procedure or the sequential update procedure includes:
calculating an update time for a plurality of second partial data included in the data package;
assigning a plurality of update times for the second partial data into a plurality of groups, wherein a sum of update times within each group does not exceed a maximum summed update time;
classifying the second partial data to identify the respective group the second partial data is assigned into; and
parallel-updating the second partial data classified according to the respective assigned groups.

### Claim 4 (depends on 3)

The method according to claim 3, wherein calculating the update time includes:
searching for an update speed corresponding to a system element to which the second partial data will be applied; and
calculating the update time based on the update speed and a size of the second partial data.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the update speed is a predetermined value for determining whether the system element is an on-board device or for determining whether the system element interacts with another device through an external connection terminal, such that the determined results are applied to the system element.

### Claim 6 (depends on 3)

The method according to claim 3, wherein assigning the plurality of update times for the second partial data into the plurality of groups comprises:
assigning a first group having a maximum update time from among the plurality of update times set to a maximum value;
arranging a first set of update times from among the plurality of update times into a new group, where the first set of update times includes a first update time and a second update time each shorter than the maximum value; and
adding a third update time to the new group when the sum of the first update time and the second update time is shorter than the maximum value, and moving the third update time to another new group when the sum of update times of the new group exceeds the maximum value.

### Claim 7 (depends on 3)

The method according to claim 3, further comprising:
recognizing a category of partial data contained in the data package; and
calculating an update time of the partial data according to the category of the partial data.

### Claim 8 (depends on 7)

The method according to claim 7, wherein:
the partial data is one of differential data or image data, and the update time is established according to the category of the partial data.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the first partial data includes both update information corresponding to the central processing unit (CPU) and also update information corresponding to at least one more of an external amplifier, a monitor, or a keyboard.

### Claim 10

An apparatus for controlling software needed to drive at least one electronic device in a vehicle including a processing system that comprises at least one data processor and at least one computer-readable memory storing a computer program, wherein the processing system is configured to cause the apparatus to:
receive a data package including a plurality of partial data for updating software stored on a vehicle;
determine whether the data package includes first partial data, wherein the first partial data is configured to update a central processing unit (CPU); and
apply one of a parallel update procedure or a sequential update procedure according to whether the first partial data is determined to be included in the data package.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the processing system applying the parallel update procedure or the sequential update procedure is configured to cause the apparatus to:
calculate an update time for a plurality of second partial data;
assign a plurality of update times for the second partial data into a plurality of groups, wherein a sum of update times within each group does not exceed a maximum update time;
classify the second partial data to identify the respective group the second partial data is assigned into; and
parallel-update the second partial data classified according to the respective assigned groups.

### Claim 12

An apparatus for controlling software needed to drive an in-vehicle electronic device, comprising:
a data receiver configured to receive a data package including a plurality of partial data for updating software stored on a vehicle; and
a controller configured to:
determine whether the data package includes first partial data, wherein the first partial data is configured to update a central processing unit (CPU); and
apply one of a parallel update procedure or a sequential update procedure according to whether the first partial data is determined to be included in the data package.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein:
when the sequential update procedure is applied to update the first partial data, the parallel update procedure is applied to update a plurality of second partial data other than the first partial data included in the data package.

### Claim 14 (depends on 12)

The method according to claim 12, wherein the controller is further configured to:
calculate an update time for a plurality of second partial data included in the data package;
assign a plurality of update times for the second partial data into a plurality of groups, wherein a sum of update times within each group does not exceed a maximum summed update time;
classify the second partial data to identify the respective group the second partial data is assigned into; and
parallel-update the second partial data classified according to the respective assigned groups.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the controller is configured to calculate the update time to:
search for an update speed corresponding to a system element to which the second partial data will be applied; and
calculate the update time based on the update speed and a size of the second partial data.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the update speed is a predetermined value for determining whether the system element is an on-board device or for determining whether the system element interacts with another device through an external connection terminal, such that the determined results are applied to the system element.

### Claim 17 (depends on 14)

The apparatus according to claim 14, wherein the controller is configured to assign the plurality of update times for the second partial data into the plurality of groups to:
assign a first group having a maximum update time from among the plurality of update times set to a maximum value;
arrange a first set of update times from among the plurality of update times into a new group, where the first set of update times includes a first update time and a second update time each shorter than the maximum value; and
add a third update time to the new group when the sum of the first update time and the second update time is shorter than the maximum value, and move the third update time to another new group when the sum of update times of the new group exceeds the maximum value.

### Claim 18 (depends on 14)

The apparatus according to claim 14, wherein the controller is further configured to:
recognize a category of partial data contained in the data package; and
calculate an update time of the partial data according to the category of the partial data.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein:
the partial data is one of differential data or image data, and the update time is established according to the category of the partial data.

### Claim 20 (depends on 12)

The apparatus according to claim 12, wherein the first partial data includes both update information corresponding to the central processing unit (CPU) and also update information corresponding to at least one more of an external amplifier, a monitor, or a keyboard.
