System, method for confirming update of program, and update confirmation program

The system with dual execution units and update checks addresses the issue of mixed program versions in complex ECUs, ensuring correct updates and preventing unintended ECU operation.

JP2024133270AActive Publication Date: 2024-10-01TOYOTA JIDOSHA KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024113731
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-01
Estimated Expiration
2038-02-16

AI Technical Summary

Technical Problem

In vehicles with sophisticated ECUs having multiple processors, there is a risk of mixed execution timing of programs during updates, leading to unexpected combinations of pre- and post-update versions, potentially causing unintended ECU operation.

Method used

A system with first and second execution units, storage units, and an update mechanism that checks program identifiers before and after updates, ensuring correct switching to updated programs and notifying users of failures.

Benefits of technology

Ensures correct program updates across multiple processors, preventing unintended ECU operation by detecting and addressing mixed version combinations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024133270000001_ABST
    Figure 2024133270000001_ABST
Patent Text Reader

Abstract

To provide a system for confirming that a program to be executed has been updated to a new program in program update, and a method and program for confirming update of a program.SOLUTION: A system to be mounted on a vehicle includes: a first storage region for storing a program to be executed on the vehicle; a second storage region for storing an update program which is a program of an update version, on the basis of update data to be acquired through wireless communication from a device outside the vehicle; an update unit which executes update processing to switch a program to be executed on the vehicle from the program stored in the first storage region to the update program stored in the second storage region; and an execution unit which confirms whether the program to be executed on the vehicle has been updated or not, after the update unit executes the update processing, on the basis of identification information relating to the program to be executed on the vehicle, at least.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a system installed in a vehicle or the like, and a method and program for checking update of the system's program. [Background technology]

[0002] Vehicles have a memory and control unit called an ECU (Electronic Control Unit). The vehicle is equipped with a plurality of control devices each equipped with a controller (processor), and each control unit executes a program stored in a memory unit to perform various types of vehicle control processing.

[0003] Such programs are sometimes updated to improve or add functions. Patent Document 1 discloses a system that downloads program update data to a mobile terminal device via a network, and provides the data from the mobile terminal device to a vehicle to rewrite the program, thereby updating the program. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2016-60407 A Summary of the Invention [Problem to be solved by the invention]

[0005] As ECUs become more sophisticated and complex, there are ECUs that have multiple processors, each of which executes a different program. In such ECUs, there is a risk that the execution timing of various processes may differ for each program when writing an update program to the memory unit or when switching the target program from the pre-update to the updated one. If such a difference occurs, some of the target programs may not be changed to the updated programs when the ECU is started, and the pre-update and updated versions of each program may be mixed in unexpected combinations. In such a state, the ECU may operate in an unintended manner.

[0006] In view of the above problems, the present invention aims to provide a system, a method for confirming program updates, and an update confirmation program that can confirm that the program to be executed has been changed from the program before the update to the updated program when a program is updated. [Means for solving the problem]

[0007] In order to solve the above problem, one aspect of the present invention is a system that can be installed in a vehicle having a first execution unit and a second execution unit, the system including: a storage means for storing a first update program that is an update version of a first program executed in the first execution unit and a second update program that is an update version of a second program executed in the second execution unit based on update data acquired by wireless communication from a device external to the vehicle; an update means for performing an update process that switches the first program executed in the first execution unit to the first update program and switches the second program executed in the second execution unit to the second update program; a detection means for detecting that a part of the update process has failed based at least on identification information relating to the programs executed in each of the first execution unit and the second execution unit after the update means has performed the update process; and a notification unit for notifying a user of the vehicle that a part of the update process has failed based on the detection means' detection that a part of the update process before the update has failed.

[0008] Another aspect of the present invention is a method for checking updates of a program executed by a control device of a vehicle having a first execution unit and a second execution unit, the method including the steps of: storing a first update program, which is an update version of a first program executed in the first execution unit, and a second update program, which is an update version of a second program executed in the second execution unit, based on update data acquired by wireless communication from a device external to the vehicle; performing an update process of switching the first program executed in the first execution unit to the first update program and switching the second program executed in the second execution unit to the second update program; detecting, after performing the update process, that a portion of the update process has failed based at least on identification information relating to the programs executed in each of the first execution unit and the second execution unit; and notifying a user of the vehicle that a portion of the update process has failed based on the detection of a failure of a portion of the update process.

[0009] Another aspect of the present invention is a program update confirmation program executed by a control device of a vehicle having a first execution unit and a second execution unit, the program causing the control device to execute the following steps: storing a first update program, which is an update version of a first program executed in the first execution unit, and a second update program, which is an update version of a second program executed in the second execution unit, based on update data acquired via wireless communication from a device external to the vehicle; performing an update process of switching the first program executed in the first execution unit to the first update program and switching the second program executed in the second execution unit to the second update program; detecting, after performing the update process, that a portion of the update process has failed based at least on identification information relating to the programs executed in each of the first execution unit and the second execution unit; and notifying a user of the vehicle that a portion of the update process has failed based on the detection of a portion of the update process having failed. Effect of the Invention

[0010] According to the present invention, it is possible to provide a system, a program checking method, and an update checking program that can check whether a program has been correctly modified. [Brief description of the drawings]

[0011] [Figure 1] A functional block diagram of a vehicle control device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a schematic diagram of an execution unit and a storage unit of a vehicle control device according to an embodiment of the present invention; [Diagram 3] FIG. 1 is a sequence diagram showing the processing of a vehicle control device according to an embodiment of the present invention; [Figure 4] FIG. 2 is a schematic diagram of an execution unit and a storage unit of a vehicle control device according to an embodiment of the present invention; [Diagram 5] FIG. 1 is a sequence diagram showing the processing of a vehicle control device according to an embodiment of the present invention; [Figure 6] FIG. 2 is a schematic diagram of an execution unit and a storage unit of a vehicle control device according to an embodiment of the present invention; [Figure 7] FIG. 4 is a schematic diagram of an execution unit and a storage unit of a vehicle control device according to a modified example of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] (overview) In the vehicle control device according to the present invention, a plurality of execution units execute respective programs. When a program is updated, each execution unit can confirm whether the program has been changed to the updated program by obtaining and checking the identifier of the program to be executed from the other execution units.

[0013] (Embodiment) Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[0014] <Configuration> FIG. 1 shows a functional block diagram of a vehicle control device 100 in this embodiment. As an example, the vehicle control device 100 is an automatic driving ECU that performs automatic driving control of a vehicle, and controls the steering, engine, brakes, etc. based on inputs from various sensors to drive the vehicle. The vehicle control device 100 includes a first execution unit 11 and a second execution unit 21 that are processors, and a first storage unit 12 and a second storage unit 22 that are non-volatile memories such as Flash ROM. The first storage unit 12 has a first control program storage area 13 and a first update program storage area 14. The first execution unit 11 is a processor, and executes a first control program that is a program to be currently executed and is stored in the first control program storage area 13. The second execution unit 21 is a processor, and executes a second control program that is a program to be currently executed and is stored in the second control program storage area 23. The vehicle control device 100 may also include a volatile RAM. The above-mentioned automatic driving control is performed by the execution output of these programs.

[0015] The update unit 91 acquires update data received by an OTA receiver or the like mounted on the vehicle from a server or the like outside the vehicle via a network. Upon acquiring the update data, the update unit 91 can generate, based on the update data, one or both of a first update program which is an update version of the first control program and a second update program which is an update version of the second control program. The update unit 91 stores the first update program in the first update program storage area 14 of the first storage unit 12, and stores the second update program in the second update program storage area 24 of the second storage unit 22. The functions of the update unit 91 may be executed by the first execution unit 11 and the second execution unit 21, respectively.

[0016] FIG. 2 shows a schematic diagram of each execution unit and each storage unit of the vehicle control device 100 when the first update program is not stored in the first storage unit 12 and the second update program is not stored in the second storage unit 22. The first control program includes an identifier, which is "122" in the illustrated example. This indicates the version of the first control program. Similarly, the second control program includes an identifier, which is "122" in the illustrated example. This indicates the version of the second control program. Therefore, in the illustrated state, the first control program and the second control program are a pair of versions that should be executed simultaneously.

[0017] <Process 1> An example of the program update process according to this embodiment will be described below. First, a case where both the first control program and the second control program are updated will be described. Fig. 3 shows a sequence for explaining the process. This sequence is started, for example, when the ignition switch is turned on.

[0018] (Step S101): The first execution unit 11 reads and executes the first control program. The first execution unit 11 can determine to read the first control program from the first control program storage area 13 as the program to be executed based on, for example, first read destination information stored in the first storage unit 12 and including an address or the like specifying the read destination of the program. The first read destination information is, for example, information that the update unit 91 writes to the first storage unit 12, and includes information specifying the read destination of the program to the first execution unit 11 and a flag indicating that this information has been changed.

[0019] (Step S102): The second execution unit 21 reads and executes the second control program. The second execution unit 21 can determine to read the second control program from the second control program storage area 23 as the program to be executed based on, for example, the second read destination information stored in the second storage unit 22. The second read destination information is, for example, information that the update unit 91 writes to the second storage unit 12, and includes information specifying the read destination of the program to the second execution unit 21 and a flag indicating that this information has been changed.

[0020] (Step S103): The update unit 91 generates a first update program and a second update program based on the update data. The format of the update data is not particularly limited, and may be, for example, differential data including an updated part from the program before the update or compressed data thereof, or the entire update program. The update unit 91 stores the first update program in the first update program storage area 14 of the first storage unit 12, and stores the second update program in the second update program storage area 24 of the second storage unit 22.

[0021] When the above steps S101, S102, and S103 are executed and the ignition switch is turned off, the following process is carried out. (Step S104): The update unit 91 changes the read destination address included in the first read destination information stored in the first storage unit 12 so as to specify the first update program storage area 14. By changing the read destination address of the second read destination information stored in second storage unit 22 so that it designates second update program storage area 24, and setting a flag indicating that the change has occurred, first execution unit 11 specifies that the first update program should be read from first update program storage area 14 when reading out the program to be executed next time. Furthermore, updating unit 91 changes the read destination address of the second read destination information stored in second storage unit 22 so that it designates second update program storage area 24, and by setting a flag indicating that the change has occurred, second execution unit 21 specifies that the second update program should be read from second update program storage area 24 when reading out the program to be executed next time.

[0022] When the above process of step S104 is executed and the ignition switch is next turned on, the following process is executed. FIG. 4 shows the execution units and storage units of the vehicle control device 100 when the first update program is stored in the first storage unit 12 and the second update program is stored in the second storage unit 22. The first update program includes an identifier, which is "123" in the illustrated example. This indicates the version of the first update program. Similarly, the second update program includes an identifier, which is "123" in the illustrated example. This indicates the version of the second update program. Therefore, in the illustrated state, the first update program and the second update program are the same version pair.

[0023] (Step S105): The first execution unit 11, for example, refers to the first read destination information stored in the first memory unit 12 and detects that the program to be executed has been changed from the first control program stored in the first control program memory area 13 to the first update program stored in the first update program memory area 14.

[0024] (Step S106): The second execution unit 21, for example, refers to the second read destination information stored in the second memory unit 22 and detects that the program to be executed has been changed from the second control program stored in the second control program memory area 23 to the second update program stored in the second update program memory area 24.

[0025] (Step S107): The first execution unit 11 reads out an identifier from the first update program and notifies the second execution unit 21. The second execution unit 21 also reads out an identifier from the second update program and notifies the first execution unit 11. In this way, the first execution unit 11 and the second execution unit 21 can obtain the identifiers of each other's execution target programs.

[0026] (Step S108): The first execution unit 11 checks whether the program to be executed by the second execution unit 21 has been correctly changed to the second update program based on the notified identifier of the second update program. For example, the first execution unit 11 compares the notified identifier of the second update program with the read identifier of the first update program, and checks that the program to be executed by the second execution unit 21 has been correctly changed to the second update program because they indicate the same version. The first execution unit 11 may also store the identifier of the second control program in the first storage unit 12, and check that the program to be executed by the second execution unit 21 has been correctly changed to the second update program because the notified identifier of the second update program indicates the next version of the identifier of the second control program. The order of the versions may be checked by following a predetermined rule, or the second update program may also include an identifier indicating the previous version, and check that it matches the identifier of the second control program.

[0027] (Step S109): Based on the notified identifier of the first update program, the second execution unit 21 checks whether the program to be executed by the first execution unit 11 has been correctly updated to the first update program. For example, the second execution unit 21 compares the notified identifier of the first update program with the read identifier of the second update program, and since they indicate the same version, it determines that the program to be executed by the first execution unit 11 has been correctly updated to the first update program. The second execution unit 21 may store the identifier of the first control program in the second storage unit 22, and may confirm that the program to be executed by the first execution unit 11 has been correctly changed to the first update program by checking that the notified identifier of the first update program indicates the next version of the identifier of the first control program. The order of the versions may be confirmed by following a predetermined rule, or the first update program may include an identifier indicating the previous version and confirm that it matches the identifier of the first control program.

[0028] (Step S110): The first execution unit 11 notifies the second execution unit 21 of the confirmation result of step S108. In addition, the second execution unit 21 notifies the first execution unit 11 of the confirmation result of step S109.

[0029] (Step S111): If it is confirmed through steps S108 and S109 that the program to be executed by first execution unit 11 has been correctly changed to the first update program, and that the program to be executed by second execution unit 21 has been correctly changed to the second update program, first execution unit 11 reads out the first update program from first update program memory area 14 and executes it.

[0030] (Step S112): When it is confirmed in steps S108 and S109 that the program to be executed by the first execution unit 11 has been correctly changed to the first update program and that the program to be executed by the second execution unit 21 has been correctly changed to the second update program, the second execution unit 21 reads out and executes the second update program from the second update program storage area 24. Note that when it is confirmed that the program to be executed by the first execution unit 11 has been correctly changed to the first update program and that the program to be executed by the second execution unit 21 has been correctly changed to the second update program, the update unit 91 may receive notifications thereof from the first execution unit 11 and the second execution unit 21 in steps S111 and S112, and may set the first control program storage area 13 and the second control program storage area 23 as areas for storing the first update program and the second update program, respectively, when the update data is next received.

[0031] (Step S113): If it is not possible to confirm in steps S108 and S109 that the program to be executed by first execution unit 11 has been correctly changed to the first update program and / or that the program to be executed by second execution unit 21 has been correctly changed to the second update program, first execution unit 11 reads and executes the first control program from first control program storage area 13. Also, first execution unit 11 sets the read destination address of the first read destination information stored in first storage unit 12 to specify first control program storage area 13, and lowers the flag.

[0032] (Step S114): If it is not possible to confirm either or both of the fact that the program to be executed by the first execution unit 11 has been correctly changed to the first update program and the fact that the program to be executed by the second execution unit 21 has been correctly changed to the second update program by steps S108 and S109, the second execution unit 21 reads out the second control program from the second control program storage area 23 and executes it. The second execution unit 21 also sets the read destination address of the second read destination information stored in the second storage unit 22 to specify the second control program storage area 14, and lowers the flag. Note that, before executing the first control program and the second control program in steps S113 and S114, it is preferable to refer to the identifiers of these programs and confirm that the programs to be executed are correctly the first control program and the second control program. In order to be able to execute the first control program and the second control program in this way, the update unit 91 at least checks that the program to be executed by the first execution unit 11 has been correctly changed to the first update program and the program to be executed by the second execution unit 21 has been correctly changed to the second update program. It is preferable to store the first control program and the second control program without deleting them until it is confirmed that the program has been correctly changed to the second update program. If the update unit 91 cannot confirm that either or both of the program to be executed by the first execution unit 11 has been correctly changed to the first update program and the program to be executed by the second execution unit 21 has been correctly changed to the second update program, the update unit 91 may receive notifications of this from the first execution unit 11 and the second execution unit 21 in steps S113 and S114, and output a signal to notify the user or the like of the occurrence of an abnormality.

[0033] This completes the sequence for updating both the first control program and the second control program.

[0034] <Process 2> Next, a process in which only one of the first control program and the second control program is updated will be described. As an example, a process in which the first control program is updated and the second control program is not updated will be described below. Figure 5 shows a sequence for explaining the process. This sequence is started, for example, when the ignition switch is turned on.

[0035] (Step S201): As in step S101 described above, the first execution unit 11 reads and executes the first control program. The first execution unit 11 can determine, for example, based on the first read destination information stored in the first storage unit 12, that the first control program should be read from the first control program storage area 13 as a program to be executed.

[0036] (Step S202): As in step S102 described above, the second execution unit 21 reads and executes the second control program. The second execution unit 21 can determine, for example, based on the second read destination information stored in the second storage unit 22, that the second control program is to be read from the second control program storage area 23 as the program to be executed.

[0037] (Step S203): The update unit 91 generates a first update program based on the update data. The update unit 91 stores the first update program in the first update program storage area 14 of the first storage unit 12.

[0038] When the above steps S201, S202, and S203 are executed and the ignition switch is turned off, the following process is carried out. (Step S204): The update unit 91 changes the read destination address of the first read destination information stored in the first memory unit 12 to specify the first update program memory area 14, and sets a flag indicating that a change has occurred, so that the first execution unit 11 reads the first update program from the first update program memory area 14 the next time it reads out the program to be executed.

[0039] When the above process of step S204 is executed and the ignition switch is next turned on, the following process is performed. Fig. 6 shows a schematic diagram of each execution unit and each storage unit of the vehicle control device 100 when the first update program is stored in the first storage unit 12 and the second update program is not stored in the second storage unit 22. The first update program includes an identifier, which is "123" in the illustrated example. This indicates the version of the first update program.

[0040] (Step S205): The first execution unit 11, for example, refers to the first read destination information stored in the first storage unit 12, and detects that the program to be executed has been changed from the first control program stored in the first control program storage area 13 to the first update program stored in the first update program storage area 14. The first execution unit 11 also detects that the program to be executed has been changed from the first control program stored in the first control program storage area 13 to the first update program stored in the first update program storage area 14. The update unit 91 detects that the program to be executed by the first execution unit 11 has not been changed. This is possible, for example, by the first execution unit 11 referring to the second read destination information stored in the second storage unit 22. If the first execution unit 11 cannot refer to the second storage unit 22, the update unit 91 may cause the first execution unit 11 to also store the second read destination information in the first storage unit 12.

[0041] (Step S206): The second execution unit 21, for example, refers to the second read destination information stored in the second storage unit 22, and detects that the program to be executed is the second control program stored in the second control program storage area 23 based on the read destination address and flag. The second execution unit 21 also detects that the program to be executed by the first execution unit 11 has been changed. This is possible by the second execution unit 21 referring to the first read destination information stored in the first storage unit 12. If the second execution unit 21 cannot refer to the first storage unit 12, the update unit 91 may store the first read destination information in the second storage unit 22 as well.

[0042] (Step S207): The first execution unit 11 reads out an identifier from the first update program and notifies the second execution unit 21. The second execution unit 21 also reads out an identifier from the second control program and notifies the first execution unit 11. In this way, the first execution unit 11 and the second execution unit 21 can obtain the identifiers of each other's execution target programs.

[0043] (Step S208): Based on the notified identifier of the second control program, the first execution unit 11 confirms that the program to be executed by the second execution unit 21 remains the second control program without any changes.

[0044] (Step S209): The second execution unit 21 confirms whether the program to be executed by the first execution unit 11 has been correctly changed to the first update program based on the notified identifier of the first update program. For example, the second execution unit 21 stores the identifier of the first control program in the second storage unit 22, and confirms that the program to be executed by the first execution unit 11 has been correctly changed to the first update program by checking that the notified identifier of the first update program indicates the next version of the identifier of the first control program. The order of the versions may be confirmed by following a predetermined rule, or the first update program may include an identifier indicating the previous version and confirm that it matches the identifier of the first control program. Furthermore, if the second execution unit can confirm that the program to be executed by the first execution unit 11 has been correctly changed to the first update program, it can store the notified identifier of the first update program in the second storage unit 22 and use it as the identifier of the first control program in the next process.

[0045] (Step S210): The first execution unit 11 notifies the second execution unit 21 of the confirmation result of step S208. In addition, the second execution unit 21 notifies the first execution unit 11 of the confirmation result of step S209.

[0046] (Step S211): If it is confirmed through steps S208 and S209 that the program to be executed by the first execution unit 11 has been correctly changed to the first update program, and that the program to be executed by the second execution unit 21 has not been changed from the second control program, the first execution unit 11 reads out the first update program from the first update program memory area 14 and executes it.

[0047] (Step S212): If it is confirmed in steps S208 and S209 that the program to be executed by the first execution unit 11 has been correctly changed to the first update program, and that the program to be executed by the second execution unit 21 has not been changed from the second control program, the second execution unit 21 reads out the second control program from the second control program storage area 23. When the update unit 91 confirms that the program to be executed by the first execution unit 11 has been correctly changed to the first update program and that the program to be executed by the second execution unit 21 has not been changed from the first program, the update unit 91 may receive notifications of this from the first execution unit 11 and the second execution unit 21 in steps S211 and S212, and may use the first control program storage area 13 as an area for storing the first update program when the first update data is next received.

[0048] (Step S213): If it is not possible to confirm either or both of the following in steps S208 and S209: that the program to be executed by first execution unit 11 has been correctly changed to the first update program, and that the program to be executed by second execution unit 21 has not been changed from the second update program, first execution unit 11 reads and executes the first control program from first control program storage area 13. Also, first execution unit 11 sets the read destination address of the first read destination information stored in first storage unit 12 to specify first control program storage area 13, and lowers the flag.

[0049] (Step S214): When it is not possible to confirm either or both of the fact that the program to be executed by the first execution unit 11 has been correctly changed to the first update program by steps S208 and S209 and that the program to be executed by the second execution unit 21 has not been updated from the second control program, the second execution unit 21 reads out the second control program from the second control program storage area 23 and executes it. Note that, before executing the first control program and the second control program in steps S213 and S214, it is preferable to confirm that the programs to be executed are the first control program and the second control program by referring to the identifiers of these programs. In addition, in order to be able to execute the first control program in this way, it is preferable that the update unit 91 does not delete the first control program until it is possible to confirm at least that the program to be executed by the first execution unit 11 has been correctly changed to the first update program and that the program to be executed by the second execution unit 21 has not been correctly changed from the second update program. In addition, if the update unit 91 is unable to confirm either or both of that the program to be executed by the first execution unit 11 has been correctly changed to the first update program and that the program to be executed by the second execution unit 21 has not been changed from the second control program, in steps S213 and S214, it may receive notification thereof from the first execution unit 11 and the second execution unit 21, and output a signal to notify a user or the like of the occurrence of an abnormality.

[0050] With the above, the sequence for the case where the first control program is updated but the second control program is not updated ends. In addition, in the case where the second control program is updated but the first control program is not updated, the "first" and "second" in the above description can be read as interchangeable.

[0051] (Modification) In the above embodiment, the case where there are two execution units has been described, but the present invention can also be applied to the case where there are three or more execution units. FIG. 7 shows each execution unit and storage unit when the vehicle control device 100 has four sets of execution units and storage units. The first to fourth storage units 12, 22, 32, 42 have first to fourth control program storage areas 13, 23, 33, 34 for storing the control programs executed by the first to fourth execution units 11, 21, 31, 41, and first to fourth update program storage areas 14, 24, 34, 44 for storing the update programs. In this case, when there is an update to a program, the first execution unit 11 checks the identifiers of the other execution units, that is, the second, third, and fourth execution units 12, 13, 14, in the same manner as in the above embodiment, and the second execution unit 21 checks the identifiers of the programs to be executed by the first execution unit 11, and by sharing the respective check results, it is possible to check the programs to be executed for all execution units. In addition, each execution unit can receive the execution target from any other execution unit. As long as the program can be verified, the combination of the execution unit and other execution units that are the subject of verification is not limited.

[0052] In the above embodiments and variants, when a program executed by another processor is updated, as long as each processor can obtain an identifier of the program to be executed from the other processor and confirm that the program to be executed has actually been updated, the content and order of the processing of each step may be appropriately modified, omitted, etc.

[0053] <Effects> In the update process according to the above embodiment and modified example, each execution unit checks the version of each other's target program before executing the program. Therefore, if there is a difference in the execution timing of the process by the update unit to write the update program to the storage unit or to switch the target program from the pre-update to the updated one, and the pre-update version and the post-update version of each program are mixed in an unexpected combination, this can be detected. In this case, it is possible to prevent unintended operations from being executed by returning all programs to the pre-update version and executing them, or notifying the user to prompt them to take action.

[0054] The present invention can be understood not only as a vehicle control device, but also as a method for checking a program executed by a processor of the vehicle control device, and a program for checking the program. [Industrial Applicability]

[0055] The present invention is useful for vehicles equipped with on-board equipment such as an automatic driving device. [Explanation of symbols]

[0056] 11 First Executive Division 12 1st memory section 13 First control program storage area 14 First Update Program Storage Area 21 Second Executive Division 22 2nd memory section 23 Second control program storage area 24 Second Update Program Storage Area 31 Third Executive Division 32 Third memory section 33 Third control program storage area 34 Third Update Program Storage Area 41 4th Executive Division 42 4th memory section 43 Fourth control program storage area 44 4th Update Program Storage Area 91 Update section 100 Vehicle control device

Claims

1. A system that can be mounted on a vehicle and includes a first execution unit and a second execution unit, a storage means for storing a first update program, which is an update of a first program executed in the first execution unit, and a second update program, which is an update of a second program executed in the second execution unit, based on update data acquired by wireless communication from a device external to the vehicle; an update unit that performs an update process for switching the first program executed in the first execution unit to the first update program and switching the second program executed in the second execution unit to the second update program; a detection means for detecting, after the update means has performed the update process, that a part of the update process has failed based at least on identification information related to the programs executed in each of the first execution unit and the second execution unit; a notification unit that notifies a user of the vehicle that a part of the update process has failed based on the detection by the detection means that a part of the update process before the update has failed; A system comprising:

2. 2. The system according to claim 1, wherein the first program and the second program are programs used for automatic driving control of the vehicle.

3. 3. The system according to claim 1, wherein the execution unit acquires the identification information when the vehicle is started.

4. 4. The system according to claim 1, wherein the update data is difference data between a program executed in the vehicle and an update version of the program.

5. 5. The system according to claim 1, wherein the identification information is version information of a program executed in the vehicle.

6. 6. The system according to claim 1, wherein the execution unit notifies another execution unit that executes a program executed in the vehicle of a result of the confirmation by the execution unit.

7. A vehicle comprising a system according to any one of claims 1 to 6.

8. A method for checking an update of a program executed by a control device of a vehicle including a first execution unit and a second execution unit, comprising: storing a first update program, which is an update version of a first program executed in the first execution unit, and a second update program, which is an update version of a second program executed in the second execution unit, based on update data acquired by wireless communication from a device external to the vehicle; performing an update process of switching the first program executed in the first execution unit to the first update program and switching the second program executed in the second execution unit to the second update program; detecting, after performing the update process, that a part of the update process has failed based at least on identification information related to the programs executed in each of the first execution unit and the second execution unit; notifying a user of the vehicle that a portion of the update process has failed based on detection that a portion of the update process has failed; An update checking method comprising:

9. A program update confirmation program executed by a control device of a vehicle having a first execution unit and a second execution unit, the control device comprising: storing a first update program, which is an update version of a first program executed in the first execution unit, and a second update program, which is an update version of a second program executed in the second execution unit, based on update data acquired by wireless communication from a device external to the vehicle; performing an update process of switching the first program executed in the first execution unit to the first update program and switching the second program executed in the second execution unit to the second update program; detecting, after performing the update process, that a part of the update process has failed based at least on identification information related to the programs executed in each of the first execution unit and the second execution unit; notifying a user of the vehicle that a portion of the update process has failed based on detection that a portion of the update process has failed; An update confirmation program that executes the above.

Citation Information

Patent Citations

  • Controller for vehicle

    JP1999053207A

  • Electronic control unit

    JP2007092621A

  • Electronic control device and data rewrite system

    JP2017091057A

  • Vehicle control device and on-vehicle network system

    JP2018018186A

  • Multiple-stage secure vehicle software updating

    US20170060559A1