Patent ID: 11941388
Assignee: TOYOTA JIDOSHA KABUSHIKI KAISHA
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. An update system that transmits difference data between a first program and a second program to a device to be updated and updates a control program implemented in the device to be updated to the second program based on the difference data, the update system comprising:
the device to be updated;
a first storage device that stores the first program, the first program being divided into a plurality of first data blocks;
a second storage device that stores the second program, the second program being divided into a plurality of second data blocks; and
a difference extraction device that generates the difference data and transmits the difference data to the device to be updated, wherein:
the difference extraction device
acquires the first program and the second program from the first storage device and the second storage device, respectively,
searches a search range of the first data blocks by a search unit to find whether search target data of the second program is included in the first program,
does not extract the search target data as a difference when the search target data is included in the first program, and
extracts the search target data as the difference to generate difference data when the search target data is not included in the first program;

the device to be updated includes at least one processor configured to update the control program implemented in the device to be updated to the second program based on the difference data, the control program being executable by the at least one processor;
the search range of the first data blocks is set, in the first program, so as to (1) include a total number of the first data blocks less than the plurality of first data blocks and (2) include a first number of the first data bocks located at addresses rearward of an address that is the same as an address of one of the second data blocks including the search target data of the second program that is greater than a second number of the first data blocks located at addresses forward of the address that is the same as the address of the one of the second data blocks including the search target data of the second program; and
an offset area that does not include data as a program is provided in a head area of the first program.