Software update method, program thereof, information terminal, system, and vehicle

JP7564082B2Active Publication Date: 2024-10-08TOYOTA JIDOSHA KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021205855
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2024-10-08
Estimated Expiration
2039-10-31

AI Technical Summary

Benefits of technology

【0010】 上記本発明の車両用制御装置、プログラム更新方法、及びプログラム更新システムによれば、既存プログラムの実行が要求されるまでに時間的猶予があると想定される車両が停車したタイミングでプログラム更新処理を開始するので、プログラム更新処理の中断が発生することを抑制できる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564082000001
    Figure 0007564082000001
  • Figure 0007564082000002
    Figure 0007564082000002
  • Figure 0007564082000003
    Figure 0007564082000003
Patent Text Reader

Abstract

An update method is provided that can prevent interruptions in software update processing. [Solution] A software update method for controlling a vehicle, in which, when the download of an installation package for a new version of the software is completed, a notification is sent to the vehicle user's information terminal that a software update process is being performed, and the update process is initiated at least when a specified operation by the user is accepted and the vehicle is locked.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device mounted on a vehicle or the like, a program (software) update method executed by the control device, and a program update system including the control device. [Background technology]

[0002] Vehicles are equipped with multiple control devices called ECUs (Electronic Control Units). Control devices such as ECUs each have a memory unit that stores one or more programs executed by one or more control units such as CPUs, and perform their respective functions. To improve the functionality of the control devices, it has been proposed to update the programs stored in the memory unit by rewriting them to newer versions. In particular, it has been proposed that the vehicle would receive program update data from an external server via wireless communication, so that programs could be updated without having to go to a repair shop, etc.

[0003] Patent Document 1 discloses a program update system for updating a program installed in an ECU mounted on a vehicle. In this system, a management device manages version information and update files for each vehicle ID, and therefore improves distribution efficiency by transmitting update files to the ECU only when the program installed in the ECU is not the latest version based on the vehicle ID sent from the ECU. [Prior art documents] [Patent documents]

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

[0005] When an existing program needs to be executed while updating the existing program using program update data, the execution of the update process may need to be temporarily suspended. When such an interruption occurs, the time from start to completion of the program update process becomes longer.

[0006] The present invention has been made in consideration of the above-mentioned problems, and aims to provide a vehicle control device, a program update method, and a program update system that can suppress interruptions of the program update process. [Means for solving the problem]

[0007] In order to solve the above problems, one aspect of the present invention is a vehicle control device comprising a memory unit having a first memory area for storing a program related to vehicle control and a second memory area for storing an update program for updating the program, and comprising a judgment control unit for determining whether the vehicle is stopped or not, and an update control unit for starting an update process for updating the program stored in the first memory area with the update program stored in the second memory area when the judgment control unit determines that the vehicle is stopped.

[0008] Another aspect of the present invention is a program update method executed by a vehicle control device having a memory unit having a first memory area for storing a program related to vehicle control and a second memory area for storing an update program for updating the program, comprising the steps of: determining whether the vehicle is stopped or not; and, if it is determined in the determining step that the vehicle is stopped, starting an update process for updating the program stored in the first memory area with the update program stored in the second memory area.

[0009] Furthermore, another aspect of the present invention is a program update system including a vehicle control device mounted on a vehicle and equipped with a memory unit having a first memory area for storing a program related to vehicle control and a second memory area for storing an update program for updating the program, and a management server for managing the update programs and communicating with the vehicle to download the update programs to the second memory area of ​​the vehicle control device, wherein the vehicle control device acquires information about the vehicle, determines whether the vehicle is stopped based on the acquired information, and if it determines that the vehicle is stopped, initiates an update process to update the program stored in the first memory area with the update program stored in the second memory area. Effect of the Invention

[0010] According to the vehicle control device, program update method, and program update system of the present invention, the program update process is started when the vehicle is stopped, which is when it is assumed that there is sufficient time before the execution of the existing program is required, thereby preventing interruptions to the program update process. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a program update system to which a control device according to an embodiment of the present invention is applied; [Diagram 2] FIG. 1 shows an example of the configuration of a control device. [Diagram 3] 1 is a flowchart of a program update process according to a first embodiment executed by a control device. [Figure 4A] Example of vehicle state transition and update process start timing in the first embodiment [Figure 4B] Example of vehicle state transition and update process start timing in the first embodiment [Figure 5A] 11 is a flowchart of a program update process according to a second embodiment executed by a control device. [Figure 5B] 11 is a flowchart of a program update process according to a second embodiment executed by a control device. [Figure 6A]Example of vehicle state transition and update process start timing in the second embodiment [Figure 6B] Example of vehicle state transition and update process start timing in the second embodiment DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] The control device of the present invention stores the update program in an area different from the area that stores the existing program executed during vehicle control, and starts the process of updating the existing program with the update program when the vehicle is stopped. This provides a time buffer until the next request for execution of the existing program, and prevents interruptions to the program update process.

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

[0014] [composition] Fig. 1 is a diagram showing an example of the configuration of a program update system to which a control device according to an embodiment of the present invention is applied. The program update system 10 shown in Fig. 1 includes a vehicle 100, a vehicle management server 200, and a mobile device 300. The vehicle 100 includes a communication device 110, a plurality of control devices 120, and a display device 130. The communication device 110, the plurality of control devices 120, and the display device 130 are communicatively connected via an in-vehicle network such as a Controller Area Network (CAN). The number of control devices 120 is not limited.

[0015] The communication device 110 is a data communication module (DCM) or the like, and is communicatively connected to external devices such as a vehicle management server 200 and a mobile device 300 via a wireless network such as 4G or Wi-Fi.

[0016] The control device 120 is, for example, a device called an ECU that performs various controls of the vehicle 100. The control device 120 includes a communication unit 121, a control unit 122, and a storage unit 123, as illustrated in FIG.

[0017] The communication unit 121 communicates with the vehicle management server 200 via the communication device 110 of the vehicle 100, and performs such operations as inquiring about updates to the vehicle management server 200 and downloading update programs from the vehicle management server 200. The control unit 122 controls the control device 120, including the processes (described later) of vehicle state determination, program update, update time derivation, and update status display. The storage unit 123 stores one or more programs executed by the control unit 122. The storage unit 123 also has a first storage area 1231 that stores a program related to vehicle control (existing program), and a second storage area 1232 that stores an update program, which is data required to update the existing program, independently of each other.

[0018] 2, the first storage area 1231 and the second storage area 1232 of the storage unit 123 may be provided as two physically separate storage units. Also, all of the control devices 120 of the vehicle 100 do not have to be program-updateable devices having the first storage area 1231 and the second storage area 1232.

[0019] The vehicle management server 200 is a server that manages update programs, which are data used to update the existing programs of the control device 120 mounted on the vehicle 100. The vehicle management server 200 stores update programs for the existing programs of the control device 120 in a storage unit (not shown), and wirelessly communicates with the communication device 110 of the vehicle 100 to receive inquiries about updates from the vehicle 100 and download the update programs to the vehicle 100.

[0020] The display device 130 is an information terminal equipped with a display screen that displays information (update status information) related to the status of the program update process in the control device 120. The display device 130 displays a screen for a predetermined notification or permission request based on an instruction to display corresponding to the update status information transmitted from the control device 120 via the in-vehicle network, or an instruction to display corresponding to the update status information transmitted from the vehicle management server 200 via the wireless network. Examples of this display device 130 include a multi-information display mounted on the vehicle 100 and a car navigation device.

[0021] The mobile device 300 is an information terminal equipped with a display screen that receives and displays update status information relating to the status of the program update process in the control device 120 via the communication device 110. The mobile device 300 displays a screen for a predetermined notification or permission request based on an instruction to display corresponding to the update status information transmitted from the control device 120 via a wireless network, or an instruction to display corresponding to the update status information transmitted from the vehicle management server 200 via a wireless network. Examples of this mobile device 300 include general-purpose devices such as a smartphone, tablet device, or personal computer owned by the vehicle user of the vehicle 100.

[0022] 1 includes the display device 130 and the mobile device 300 as information terminals that display update status information related to the status of the program update process in the control device 120, but only one of the configurations may be used. Also, as long as the update status information can be displayed and presented to the vehicle user, configurations other than the display device 130 and the mobile device 300 may be included as information terminals. Also, an instruction to display the update status information to the display device 130 and the mobile device 300 may be issued by the control device 120 that is performing the update, or may be issued by the vehicle management server 200 after appropriately receiving the update status from the control device 120 that is performing the update.

[0023] <First Example> Fig. 3 is a flowchart illustrating the procedure of a program update process according to a first embodiment that can be executed by the control device 120. Fig. 4A and Fig. 4B are examples of timing charts of the program update process according to the first embodiment.

[0024] The process shown in FIG. 3 starts, for example, when the power of the vehicle 100 is turned on.

[0025] Step S301: The control unit 122 of the control device 120 inquires of the vehicle management server 200 via the communication unit 121 whether or not there is an update for the existing program stored in the first storage area 1231 of the storage unit 123.

[0026] Step S302: The control unit 122 of the control device 120 receives a response to the inquiry from the vehicle management server 200 via the communication unit 121. If the control unit 122 receives a response from the vehicle management server 200 that there is an update (step S302, Yes), the process proceeds to step S303, and if the control unit 122 receives a response that there is no update (step S302, No), the process ends.

[0027] Step S303: The control unit 122 of the control device 120 downloads the update program from the vehicle management server 200 via the communication unit 121. The downloaded update program is stored in the second storage area 1232 of the storage unit 123. This download of the update program does not affect vehicle control, and is therefore performed in the background without restricting vehicle control.

[0028] Step S304: The control unit 122 of the control device 120 judges whether the vehicle 100 is in a stopped state. Examples of the stopped state include when the power supply of the vehicle 100 is off (for example, the ignition switch is off), the shift position is in the parking (P) position, and the speed of the vehicle 100 is zero, and these states can be easily judged based on various vehicle information that can be acquired from various devices mounted on the vehicle 100. If the vehicle 100 is in a stopped state (step S304, Yes), the process proceeds to step S305.

[0029] Step S305: The control unit 122 of the control device 120 starts a process of updating the existing program stored in the first memory area 1231 of the memory unit 123 with the update program stored in the second memory area 1232 of the memory unit 123.

[0030] Step S306: The control unit 122 of the control device 120 judges whether or not the program update process is completed. If the update process is completed (step S306, YES), this process ends.

[0031] 4A shows a case where the download of the update program is completed while the vehicle 100 is not stopped, and then the vehicle 100 transitions to a stopped state. In this case, the program update process is started after waiting for the vehicle 100 to be stopped. By starting the update process at this timing, it is expected that there is a time lag before the execution of the existing program is requested, and therefore it is possible to suppress interruptions of the program update process.

[0032] 4B shows a case where the download of an update program is started while the vehicle 100 is not stopped, and the vehicle 100 transitions to a stopped state before the download is completed. In this case, the program update process is started following the completion of the download of the update program. Even when the update process is started at this timing, there is expected to be a time lag before the execution of the existing program is requested, so that interruptions to the program update process can be suppressed.

[0033] After the program update process is started, it is desirable to apply a predetermined process to vehicle control related to the program being updated until the update is completed in order to prevent the update process from being interrupted midway. For example, if the program is an engine control program, the predetermined process may be a process to limit an increase in engine speed. By taking such a process, even if the vehicle 100 transitions to a stopped state during the program update process, the update can be completed without interrupting the update process. This makes it possible to prevent the update process from taking a long time.

[0034] <Second Example> Figures 5A and 5B are flowcharts for explaining the procedure of a program update process according to a second embodiment that can be executed by the control device 120. The process of Figure 5A and the process of Figure 5B are connected by connectors X and Y, respectively. Figures 6A and 6B are examples of timing charts of the program update process according to this second embodiment.

[0035] In the second embodiment, in addition to the processing of the first embodiment described above, a processing for displaying information on the progress of the update processing on the screen of the display device 130, the mobile device 300, or the like is added.

[0036] Examples of the information on the progress of the update process include an update notification indicating that an update program is available, a DL permission request requesting permission from the vehicle user to download the update program from the vehicle management server 200 to the control device 120, a DL completion notification indicating that the download of the update program from the vehicle management server 200 to the control device 120 has been completed, an update startup preparation completion notification indicating that preparation for starting the update process of the existing program using the update program has been completed, an update startup permission request requesting permission from the vehicle user to start the update process of the existing program using the update program (i.e., the control content is switched), and an update completion notification indicating that the update process of the existing program using the update program has been completed. Another example is the time required for the update process by OTA (On The Air), which is a notification requirement in the regulations of the World Forum for Harmonization of Vehicle Regulations (WP29).

[0037] The process shown in FIG. 5A starts, for example, when the power of the vehicle is turned on.

[0038] Step S501: The control unit 122 of the control device 120 inquires of the vehicle management server 200 via the communication unit 121 whether or not there is an update for the existing program stored in the first storage area 1231 of the storage unit 123.

[0039] Step S502: The control unit 122 of the control device 120 receives a response to the inquiry from the vehicle management server 200 via the communication unit 121. If the control unit 122 receives a response from the vehicle management server 200 that there is an update (step S502, Yes), the process proceeds to step S503, and if the control unit 122 receives a response that there is no update (step S502, No), the process ends.

[0040] Step S503: The control unit 122 of the control device 120 causes the communication unit 121, the communication device 110, and the vehicle management server 200 to display an update notification on the screen of the display unit 130 or the mobile device 300.

[0041] Step S504: The control unit 122 of the control device 120 causes the display unit 130 and the mobile device 300 to display the DL permission request on their screens via the communication unit 121, the communication device 110, and the vehicle management server 200.

[0042] Step S505: The control unit 122 of the control device 120 judges whether or not a response permitting the download of the update program has been received from the display device 130 or the mobile device 300. If permission has been granted (step S505, Yes), the process proceeds to step S506, and if permission has not been granted (step S505, No), the process ends.

[0043] Step S506: The control unit 122 of the control device 120 downloads the update program from the vehicle management server 200 via the communication unit 121. The downloaded update program is stored in the second storage area 1232 of the storage unit 123. This download of the update program does not affect vehicle control, and is therefore performed in the background without restricting vehicle control.

[0044] Step S507: The control unit 122 of the control device 120 derives an update time, which is a time predicted to be required from the start to the completion of the update process. This update time is typically a time required for the started update process to be completed without interruption, on the premise that a predetermined procedure is performed on the vehicle control related to the program being updated, and is derived based on the size of the downloaded update program, etc.

[0045] Step S508: The control unit 122 of the control device 120 causes the display unit 130 and the mobile device 300 to display a DL completion notification on their screens via the communication unit 121, the communication device 110, and the vehicle management server 200.

[0046] Step S509: The control unit 122 of the control device 120 causes the display unit 130 and the mobile device 300 to display a notification that update start preparation is complete on the screen via the communication unit 121, the communication device 110, and the vehicle management server 200.

[0047] Step S510: The control unit 122 of the control device 120 judges whether the vehicle 100 is in a stopped state. Examples of the stopped state include the ignition switch of the vehicle 100 being off (IG-OFF), the shift position being in the parking (P) position, and the speed of the vehicle 100 being zero, and these states can be easily determined based on information that can be obtained from various devices mounted on the vehicle 100. If the vehicle 100 is in a stopped state (step S510, Yes), the process proceeds to step S511.

[0048] Step S511: The control unit 122 of the control device 120 causes the display unit 130 and the mobile device 300 to display the update start permission request and the update time on the screen via the communication unit 121, the communication device 110, and the vehicle management server 200.

[0049] Step S512: The control unit 122 of the control device 120 judges whether or not a response permitting the start of the update process has been received from the display device 130 or the mobile device 300. If permission has been given (step S512, Yes), the process proceeds to step S513, and if permission has not been given (step S512, No), the process ends.

[0050] Step S513: The control unit 122 of the control device 120 starts a process of updating the existing program stored in the first memory area 1231 of the memory unit 123 with the update program stored in the second memory area 1232 of the memory unit 123.

[0051] Step S514: The control unit 122 of the control device 120 judges whether or not the program update process is completed. If the update process is completed (step S514, YES), the process proceeds to step S515.

[0052] Step S515: The control unit 122 of the control device 120 displays an update completion notification on the screen of the display unit 130 or the mobile device 300 via the communication unit 121, the communication device 110, and the vehicle management server 200. When the display ends, this process ends.

[0053] 6A shows a case where the download of the update program is completed while the vehicle 100 is not stopped, and the vehicle 100 does not transition to a stopped state even after the DL completion notification and the update start preparation completion notification are finished. In this case, the update start permission request and the update time are displayed after waiting for the vehicle 100 to be stopped. Then, after the update start is permitted, the program update process is started. By starting the update process at this timing, it is expected that there will be a time lag before the execution of the existing program is requested, and therefore it is possible to suppress interruptions of the program update process.

[0054] FIG. 6B shows a case where the download of the update program is completed during the period when the vehicle 100 is in a non-stop state, and the vehicle 100 transitions to a stopped state in the subsequent update start preparation completion notification. In this case, the update start permission request and the update time are displayed following the update start preparation completion notification. Then, after the update start is permitted, the program update process is started. Even when the update process is started at this timing, a time leeway can be expected before the execution of the existing program is requested, so that interruption of the program update process can be suppressed. Note that the example of FIG. 6B shows a case where the vehicle 100 transitions to a non-stop state before the program update process is completed. In this case, a predetermined process is performed on the vehicle control related to the program being updated from the time the vehicle 100 transitions to a non-stop state until the program update process is completed (the update completion notification is displayed).

[0055] In this second embodiment, a case has been described in which the update notification, DL permission request, DL completion notification, update startup preparation completion notification, update time, update startup permission request, and update completion notification are all displayed, but it is also possible to display at least the update time and omit some or all of the other notifications and requests.

[0056] [Actions and Effects] As described above, according to the vehicle control device, program update method, and program update system according to one embodiment of the present invention, the storage unit has a first storage area for storing a program related to vehicle control and a second storage area for storing an update program for updating the program, and the update program is downloaded from the vehicle management server to the second storage area without affecting vehicle control. Then, when it is determined that the vehicle is in a stopped state (vehicle power is off, the parking brake is activated, vehicle speed is zero, etc.), an update process is started to update the program stored in the first storage area with the update program stored in the second storage area.

[0057] In this way, the program update process is started when the vehicle is stopped, which is assumed to be a time lag before the execution of the existing program is required, thereby preventing interruptions to the program update process.

[0058] Furthermore, according to the vehicle control device, program update method, and program update system according to an embodiment of the present invention, after an update program is downloaded from the vehicle management server to the second storage area, an update time, which is a time predicted to be required from the start to the completion of the update process based on the update program, is calculated and displayed on the information terminal. Therefore, it is possible to present the update time with high accuracy to the vehicle user.

[0059] If such a highly accurate update time can be presented, for example, if a vehicle user who is presented with an update time in a parking lot outside of a vehicle returns to the vehicle after the update time has passed, the update process will have been completed and the vehicle can be operated immediately. This reduces the inconvenience of having to wait in the vehicle without knowing the exact time until the update is completed.

[0060] Furthermore, according to the vehicle control device, the program update method, and the program update system according to an embodiment of the present invention, when a permission request for starting an update process is displayed on an information terminal, it is possible to present a highly accurate update time together with the permission request, so that the vehicle user can approve the program update after understanding the time required for the program update.

[0061] Although one embodiment of the present invention has been described above, the present invention can be understood not only as a vehicle control device and a program update system, but also as a program update method, a control program for that method, a computer-readable non-transitory storage medium storing that control program, and a vehicle equipped with a program update system. [Industrial Applicability]

[0062] The present invention can be used in a control device mounted on a vehicle or the like. [Explanation of symbols]

[0063] 10 Program Update System 100 vehicles 110 Communication Devices 120 Control device 130 Display device 121 Communications Department 122 Control section 123 Storage section 1231 1st storage area 1232 2nd storage area 200 Vehicle Management Server 300 Mobile Devices

Claims

1. A software update method executed by a control unit of a control device that controls a vehicle, comprising: When the download of the installation package of the new version of the software is completed, a notification that the preparation for the software update process is completed is sent to an information terminal of a user of the vehicle, regardless of whether the shift position of the vehicle is in a park position or not; Derive an update time, which is a time expected to be required from the start to the completion of the update process by the software based on the downloaded installation package, based on a size of the downloaded installation package, on the premise that a predetermined measure for limiting the execution of control of the vehicle is taken; When the update time is derived, displaying the update time on the information terminal; At least when a predetermined operation by the user is received and the shift position of the vehicle is in a parking position, the update process is started; a predetermined measure for preventing the update process from being interrupted midway until the update process is completed.

2. 2 . The update method according to claim 1 , wherein the predetermined operation by the user is an operation of authorizing the start of the update process, and the update time is displayed on the information terminal together with a permission request for requesting the permission.

3. A software update program to be executed by a computer of a control device that controls a vehicle, When the download of the installation package of the new version of the software is completed, regardless of whether the shift position of the vehicle is in a park position, notifying an information terminal of a user of the vehicle that preparation for the software update process is completed; Deriving an update time, which is a time expected to be required from the start to the completion of the update process by the software based on the downloaded installation package, based on a size of the downloaded installation package on the premise that a predetermined measure is taken to limit the execution of control of the vehicle; When the update time is derived, displaying the update time on the information terminal; starting the update process at least when a predetermined operation by the user is received and the shift position of the vehicle is a parking position; and a step of taking a predetermined action to avoid interruption of the update process until the update process is completed.

4. A control device for a vehicle that updates software that executes control of the vehicle, a first control unit that, when downloading of an installation package of a new version of the software is completed, causes an information terminal of a user of the vehicle to notify the user that preparation for updating the software is completed, regardless of whether the shift position of the vehicle is in a parking position; A second control unit derives an update time, which is a time expected to be required from the start to the completion of the update process by the software based on the downloaded installation package, based on a size of the downloaded installation package on the premise that a predetermined procedure for limiting the execution of control of the vehicle is performed; a third control unit that, when the update time is derived, causes the information terminal to display the update time; a fourth control unit that starts the update process at least when a predetermined operation by the user is received and the shift position of the vehicle is a parking position; a fifth control unit that performs a predetermined process to prevent the update process from being interrupted midway until the update process is completed.

5. A vehicle equipped with the control device according to claim 4.

Citation Information

Patent Citations

  • Program update system for vehicle

    JP2011148398A

  • Software update system and server

    JP2017134506A

  • On-vehicle update device and on-vehicle update system

    JP2018037059A

  • Reprogramming controller

    JP2018086894A

  • Information distribution system and in-vehicle device

    JP2019020866A