Method for confirming correction program and information processing apparatus
First Claim
1. A method for confirming a correction program executed by a computer, the method comprising:
- receiving, by the computer, first information that includes a value for confirmation of authenticity and a version identity of a control program from a control unit, the control unit being loaded onto the automobile, the control program being held by each of a plurality of equipment connected to the control unit via a network or a bus;
selecting, by the computer from among a plurality of control programs based on the first information, a first correction target control program, for which at least one of the authenticity and the version identity is not maintained, and a second correction target control program that defines an output value from the correction target control program as input;
determining, by the computer based on the first information and the first and second correction target control programs, correction programs to be applied to the first and second correction target control programs;
calculating, by the computer, second information that includes a first set of hash values respectively calculated from the control programs when the correction programs have been applied respectively to the first and second correction target control programs held by each of the plurality of equipment;
transmitting, by the computer, the correction target control programs to the control unit;
receiving, by the computer, from the control unit, third information that includes a second set of hash values respectively calculated from the correction target control programs after applying the correction programs to the first and second correction target control programs held by each of the plurality of equipment;
comparing, by the computer, the second set of hash values included in the third information with the first set of hash values included in the second information for the correction target control programs;
judging, by the computer in accordance with a result of the comparing, that the applying of the correction programs to the first and second target control programs has succeeded when all of the second set of hash values match all of the first set of hash values, or when a first subset of the first set of hash values that correspond to travel target control programs that affect travel by the automobile match a second subset of the second set of hash values that correspond to the travel target control programs;
transmitting, by the computer, to the control unit an instruction to validate each of the first and second target control programs to which the correction programs have been applied, when the applying of the correction programs to the first and second target control programs has succeeded; and
transmitting, by the computer, to the control unit an instruction to roll back the applying of the correction programs, when the applying of any of the correction programs to the first and second target control programs has failed.
1 Assignment
0 Petitions
Accused Products
Abstract
A method includes receiving first information that is information on a control program from a control unit which executes the control program for controlling equipment loaded onto an automobile, the control unit being loaded onto the automobile, calculating second information that is a state of the control program when applying a correction program on the control program to the control unit on the basis of the received first information, transmitting the correction program to the control unit, receiving from the control unit third information that is information on a state of the control program after applying the transmitted correction program to the control unit, comparing the received third information with the calculated second information, and judging whether or not processing of applying the correction program to the control unit has succeeded on the basis of a result of the comparison.
44 Citations
13 Claims
-
1. A method for confirming a correction program executed by a computer, the method comprising:
-
receiving, by the computer, first information that includes a value for confirmation of authenticity and a version identity of a control program from a control unit, the control unit being loaded onto the automobile, the control program being held by each of a plurality of equipment connected to the control unit via a network or a bus; selecting, by the computer from among a plurality of control programs based on the first information, a first correction target control program, for which at least one of the authenticity and the version identity is not maintained, and a second correction target control program that defines an output value from the correction target control program as input; determining, by the computer based on the first information and the first and second correction target control programs, correction programs to be applied to the first and second correction target control programs; calculating, by the computer, second information that includes a first set of hash values respectively calculated from the control programs when the correction programs have been applied respectively to the first and second correction target control programs held by each of the plurality of equipment; transmitting, by the computer, the correction target control programs to the control unit; receiving, by the computer, from the control unit, third information that includes a second set of hash values respectively calculated from the correction target control programs after applying the correction programs to the first and second correction target control programs held by each of the plurality of equipment; comparing, by the computer, the second set of hash values included in the third information with the first set of hash values included in the second information for the correction target control programs; judging, by the computer in accordance with a result of the comparing, that the applying of the correction programs to the first and second target control programs has succeeded when all of the second set of hash values match all of the first set of hash values, or when a first subset of the first set of hash values that correspond to travel target control programs that affect travel by the automobile match a second subset of the second set of hash values that correspond to the travel target control programs; transmitting, by the computer, to the control unit an instruction to validate each of the first and second target control programs to which the correction programs have been applied, when the applying of the correction programs to the first and second target control programs has succeeded; and transmitting, by the computer, to the control unit an instruction to roll back the applying of the correction programs, when the applying of any of the correction programs to the first and second target control programs has failed. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory computer-readable recording medium having stored therein a program for confirming a correction program for causing a computer to execute a process, the process comprising:
-
receiving first information that includes a value for confirmation of authenticity and a version identity of a control program from a control unit, the control unit being loaded onto the automobile, the control program being held by each of a plurality of equipment connected to the control unit via a network or a bus; selecting, by the computer from among a plurality of control programs based on the first information, a first correction target control program, for which at least one of the authenticity and the version identity is not maintained, and a second correction target control program that defines an output value from the correction target control program as input; determining, by the computer based on the first information and the first and second correction target control programs, correction programs to be applied to the first and second correction target control programs; calculating second information that includes a first set of hash values respectively calculated from the control programs when the correction programs have been applied respectively to the first and second correction target control programs held by each of the plurality of equipment; transmitting the correction target control programs to the control unit; receiving from the control unit, third information that includes a second set of hash values respectively calculated from the correction target control programs after applying the correction programs to the first and second correction target control programs held by each of the plurality of equipment; comparing the second set of hash values included in the third information with the first set of hash values included in the second information for the correction target control programs; judging, in accordance with a result of the comparing, that the applying of the correction programs to the first and second target control programs has succeeded when all of the second set of hash values match all of the first set of hash values, or when a first subset of the first set of hash values that correspond to travel target control programs that affect travel by the automobile match a second subset of the second set of hash values that correspond to the travel target control programs; and rolling back application of the correction programs, when the applying of any of the correction programs to the first and second target control programs has failed. - View Dependent Claims (7, 8, 9)
-
-
10. An information processing apparatus, connectable to a control unit in an automobile, the control unit connected to each of a plurality of equipment in the automobile via at least one of a network and a bus, the information processing apparatus comprising:
a processor configured to receive first information that includes a value for confirmation of authenticity and a version identity of a control program from the control unit of the automobile; to select from among the plurality of control programs based on the first information a first correction target control program, for which at least one of the authenticity and the version identity is not maintained, and a second correction target control program that defines an output value from the correction target control program as input; to determine, based on the first information and the first and second correction target control programs, correction programs to be applied to the first and second correction target control programs; to calculate second information that includes a first set of hash values respectively calculated from the control programs when the correction programs have been applied respectively to the first and second correction target control programs held by each of the plurality of equipment; to transmit the correction target control programs to the control unit; to receive from the control unit third information that includes a second set of hash values respectively calculated from the correction target control programs after applying the correction programs to the first and second correction target control programs to each of the plurality of equipment; to compare the second set of hash values included in the third information with the first set of hash values included in the second information for the correction target control programs and obtain a comparison result; to judge, in accordance with the comparison result, that the applying of the correction programs to the first and second target control programs has succeeded when all of the second set of hash values match all of the first set of hash values, or when a first subset of the first set of hash values that correspond to travel target control programs that affect travel by the automobile match a second subset of the second set of hash values that correspond to the travel target control programs; and to roll back application of the correction programs, when the application of any of the correction programs to the first and second target control programs has failed. - View Dependent Claims (11, 12, 13)
Specification