US 11,941,388 B2
Program update method and update system
Takanori Fujii, Toki (JP)
Assigned to TOYOTA JIDOSHA KABUSHIKI KAISHA, Toyota (JP)
Filed by TOYOTA JIDOSHA KABUSHIKI KAISHA, Toyota (JP)
Filed on Jun. 29, 2021, as Appl. No. 17/362,144.
Claims priority of application No. 2020-149758 (JP), filed on Sep. 7, 2020.
Prior Publication US 2022/0075612 A1, Mar. 10, 2022
Int. Cl. G06F 9/44 (2018.01); G06F 8/65 (2018.01); G06F 8/71 (2018.01)
CPC G06F 8/65 (2013.01) [G06F 8/71 (2013.01)] 7 Claims
OG exemplary drawing
 
1. A program update method that transmits difference data between a first program and a second program from a first device to a second device and updates a control program implemented in the second device to the second program based on the difference data, the program update method comprising:
in the first device,
acquiring the first program, the first program being divided into a plurality of first data blocks;
acquiring the second program, the second program being divided into a plurality of second data blocks;
searching a search range of the first data blocks to find whether search target data of the second program divided into search units is included in the first program;
not extracting the search target data as a difference when the search target data is included in the first program;
extracting the search target data as the difference to generate difference data when the search target data is not included in the first program; and
outputting the generated difference data to the second device, and in the second device,
updating the control program to the second program based on the difference data, the control program being executable by the second device, wherein:
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.