Vehicle electronic control device and update program

The Central Gate Way unit in the vehicle electronic control system manages software updates for multiple nodes with different methods, ensuring safe and secure updates by sequencing processes appropriately, simplifying configuration, and supporting flexible system applications.

JP7571877B2Active Publication Date: 2024-10-23DENSO CORP

Patent Information

Application Number
JP2023522578
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-05-21
Filing Date
2022-04-21
Publication Date
2024-10-23
Estimated Expiration
2042-04-21

AI Technical Summary

Technical Problem

Existing vehicle electronic control systems face challenges in managing software updates for multiple nodes with different update methods simultaneously, risking unintended software combinations due to improper sequencing.

Method used

A vehicle electronic control device with a Central Gate Way (CGW) unit manages software updates by instructing download, installation, and activation processes separately for each node based on specific communication methods and procedures, ensuring appropriate sequencing and avoiding simultaneous or inappropriate method combinations.

Benefits of technology

This approach ensures safe and secure software updates by preventing unintended software combinations, simplifies software configuration, and supports flexible application to various systems while ensuring quality assurance and efficient management of update processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571877000001
    Figure 0007571877000001
  • Figure 0007571877000002
    Figure 0007571877000002
  • Figure 0007571877000003
    Figure 0007571877000003
Patent Text Reader

Abstract

An electronic control device for vehicles (13), comprising: a downloader (35) that instructs a download execution unit, that executes downloading whereby updated data is downloaded from an external source, to execute downloading; second execution instruction units (36–38) that instruct nodes to be updated to execute installation and activation processing, said nodes executing installation processing which installs updated data and generates updated software and activation processing which activates the updated software; and an execution request unit (34b) that sends execution requests for each update method, to a first execution instruction unit or the second execution instruction unit, and requests execution of downloading, installation, or activation, for each update method.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is based on Japanese Application No. 2021-086157, filed on May 21, 2021, the contents of which are incorporated herein by reference. [Technical Field]

[0002] The present disclosure relates to a vehicle electronic control device and Update Program Mu Regarding. [Background technology]

[0003] In recent years, with the diversification of vehicle control, such as driving assistance functions and autonomous driving functions, the scale of software including programs and data for vehicle control and diagnosis, etc., installed in nodes such as vehicle electronic control units (hereinafter referred to as ECUs (Electronic Control Units)) is increasing. Furthermore, with version upgrades due to functional improvements, etc., opportunities to update (reprogram) software required for node operation are also increasing. Meanwhile, with the advancement of communication networks, connected car technology is also becoming widespread. In light of these circumstances, a technology has been proposed in which a vehicle electronic control unit that functions as a gateway ECU is provided on the vehicle side, and the vehicle electronic control unit distributes update data downloaded from a center device to nodes to be updated, thereby updating the software of the nodes to be updated over the air (OTA) (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Publication No. 2020-27627 Summary of the Invention

[0005] There are a wide variety of nodes that can be updated, and the software update methods may differ. For example, when updating software for an ADAS (Advanced Driving Assistant System) node for driver assistance or autonomous driving, data is transferred via high-speed file communication, while when updating software for a drivetrain node for vehicle operation, data is transferred via diagnostic communication. Therefore, a single campaign information may update the software of multiple nodes to be updated using different update methods. In such cases, if multiple update methods are executed simultaneously without properly managing the update order, there is a risk that software may be updated in an unintended combination.

[0006] The present disclosure aims to appropriately update software when updating software on multiple nodes to be updated using different update methods.

[0007] According to one aspect of the present disclosure, a first execution instruction unit instructs a download process execution unit that executes a download process to download update data from an external device to execute the download process. A second execution instruction unit instructs an update target node that executes an installation process to install the update data and generate updated software and an activation process to activate the updated software to execute the installation process and the activation process. An execution request unit issues an execution request to the first execution instruction unit or the second execution instruction unit, and Type of communication method or processing procedure The software is transmitted in units of update methods based on the above, and one of the download process, installation process, and activation process is executed when updating the software of the node to be updated. Type of communication method or processing procedure The request is made for each update method based on the above. The execution request unit transmits an execution request for the installation process to the second execution instruction unit for each update method, thereby requesting the installation process collectively for each update method.

[0008] When updating the software of the node to be updated, one of the download process, installation process, and activation process is executed. Type of communication method or processing procedureBy requesting the update method unit based on the above, any of the download process, installation process, and activation process can be performed when updating the software of the node to be updated. Type of communication method or processing procedure This allows the software to be updated in units of update methods based on the above. When updating the software of multiple nodes to be updated using different update methods, it is possible to avoid situations where multiple update methods are executed simultaneously or where multiple update methods are executed in an inappropriate order. This makes it possible to avoid situations where software is updated in an unintended combination, and to update the software appropriately. [Brief explanation of the drawings]

[0009] The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: [Figure 1] FIG. 1 is a diagram showing the overall configuration of one embodiment; [Figure 2] FIG. 2 is a diagram showing the electrical configuration of the CGW. [Figure 3] FIG. 3 is a diagram showing the electrical configuration of the ECU; [Figure 4] Figure 4 is a functional block diagram of the CGW. [Figure 5] FIG. 5 is a diagram showing a transmission target of an execution request among specification data; [Figure 6] FIG. 6 is a diagram showing the transmission order of execution requests among the specification data; [Figure 7] FIG. 7 is a diagram (part 1) showing the processing flow. [Figure 8] FIG. 8 is a diagram (part 2) showing the processing flow. [Figure 9] Figure 9 is a flowchart (part 1). [Figure 10] Figure 10 is a flowchart (part 2). [Figure 11] Figure 11 is a flowchart (part 3), [Figure 12] Figure 12 is a flowchart (part 4). [Figure 13] Figure 13 is a flowchart (part 5). [Figure 14] Figure 14 is a flowchart (part 6). [Figure 15] Figure 15 is a flowchart (part 7). DETAILED DESCRIPTION OF THE INVENTION

[0010] An embodiment will be described below with reference to the drawings. A vehicle electronic control system is a system that can update software for vehicle control, diagnosis, etc., installed in an electronic control unit (hereinafter referred to as an ECU (Electronic Control Unit)) via OTA (Over The Air). The software includes programs and data for realizing functions such as vehicle control and diagnosis, and can also be expressed as an application. In this embodiment, a case where software for vehicle control, diagnosis, etc. is updated will be described, but the present invention can also be applied to a case where, for example, a map application or map data used in the map application is updated.

[0011] 1, a vehicle electronic control system 1 includes a center device 3 on the communication network 2 side, and a vehicle-side system 4 and a display terminal 5 on the vehicle side. The communication network 2 includes, for example, a mobile communication network using a 4G line or the like, the Internet, WiFi (Wireless Fidelity) (registered trademark), and the like.

[0012] The display terminal 5 serving as an HMI (Human Machine Interface) is a terminal having the function of receiving operational inputs from a user and the function of displaying various screens, and is, for example, a mobile terminal 6 such as a smartphone or tablet that can be carried by the user, or an in-vehicle display 7 arranged in the vehicle cabin. The mobile terminal 6 can communicate data with the center device 3 via the communication network 2 as long as it is within the communication range of the mobile communication network. The in-vehicle display 7 is connected to the vehicle-side system 4 and may also have a navigation function. Furthermore, the in-vehicle display 7 may be an in-vehicle display ECU having the function of an ECU, or may have the function of controlling the display on the center display, meter display, etc.

[0013] When the user is outside the vehicle cabin and within the communication range of the mobile communication network, the user can perform procedures related to the software update by checking various screens related to the software update on the mobile terminal 6 and inputting operations. When the user is inside the vehicle cabin, the user can perform procedures related to the software update by checking various screens related to the software update on the in-vehicle display 7 and inputting operations. In other words, the user can perform procedures related to the software update by using the mobile terminal 6 and the in-vehicle display 7 selectively when outside the vehicle cabin and when inside the vehicle.

[0014] The center device 3 controls the software update function on the communication network 2 side in the vehicle electronic control system 1 and functions as an OTA center that provides OTA services. The center device 3 has a file server 8, a web server 9, and a management server 10, and the servers 8 to 10 are configured to be able to communicate data with each other. In other words, the center device 3 is configured to include multiple servers that differ for each function.

[0015] The file server 8 is a server that manages software files distributed from the center device 3 to the vehicle-side system 4. The file server 8 manages update data provided by suppliers or the like who are providers of the software distributed from the center device 3 to the vehicle-side system 4, specification data provided by OEMs (Original Equipment Manufacturers), vehicle status data acquired from the vehicle-side system 4, and the like.

[0016] The file server 8 is capable of data communication with the vehicle-side system 4 via the communication network 2, and transmits campaign information and specification data to the vehicle-side system 4. Furthermore, when the file server 8 receives a download request for package data from the vehicle-side system 4, it transmits package data in which update data is packaged to the vehicle-side system 4. The package data includes a compressed zip file. Note that the file server 8 may transmit the specification data and update data to the vehicle-side system 4 simultaneously by transmitting package data in which the specification data and update data are packaged to the vehicle-side system 4.

[0017] Web server 9 is a server that manages web information. Web server 9 transmits web data that it manages in response to a request from a web browser on mobile terminal 6 or the like. Management server 10 is a server that manages personal information of users who have registered for the software update service, software update history for each vehicle, etc.

[0018] The vehicle-side system 4 includes a vehicle master device 11. The vehicle master device 11 controls the updating function of the vehicle-side software in the vehicle electronic control system 1 and functions as an OTA master. The vehicle master device 11 includes a DCM (Data Communication Module) 12 and a CGW (Central Gate Way) 13.

[0019] The DCM 12 communicates data with the center device 3 via the communication network 2 and corresponds to a download processing unit. The CGW 13 functions as a gateway ECU and corresponds to a vehicle electronic control device. The DCM 12 and the CGW 13 are connected to each other via a first bus 14 so that they can communicate data with each other. While FIG. 1 illustrates a configuration in which the DCM 12 and the in-vehicle display 7 are connected to the same first bus 14, the DCM 12 and the in-vehicle display 7 may be connected to different buses. The CGW 13 may have some or all of the functions of the DCM 12, or may have some or all of the functions of the CGW 13. That is, the vehicle master device 11 may have any functional division between the DCM 12 and the CGW 13. The vehicle master device 11 may be configured as two ECUs, the DCM 12 and the CGW 13, or as a single integrated ECU having the functions of the DCM 12 and the CGW 13.

[0020] In addition to the first bus 14, a second bus 15, a third bus 16, a fourth bus 17, and a fifth bus 18 are connected to the CGW 13 as buses inside the vehicle, and various ECUs 19 are connected via the buses 15 to 17, and a power management ECU 20 is connected via the bus 18. The ECUs 19 correspond to nodes.

[0021] The second bus 15 is, for example, a multimedia bus, to which an ECU 19 that controls the multimedia system is connected. The third bus 16 is, for example, an ADAS bus for driving assistance and autonomous driving, to which an ECU 19 that controls the ADAS system is connected. The fourth bus 17 is, for example, a drive system bus for vehicle operation, to which an ECU 19 that controls the drive system is connected. The buses 15 to 17 may be buses of systems other than the multimedia system bus, ADAS system bus, and drive system bus. The number of buses and the number of ECUs 19 are not limited to the configuration illustrated. The buses do not need to be divided into systems, but may be divided according to the location of the ECU 19 to be controlled, such as the front and rear of the vehicle, or according to the system and the location where the ECU 19 is installed. The power management ECU 20 is an ECU that manages power supplied to the DCM 12, CGW 13, various ECUs 19, etc.

[0022] A sixth bus 21 is connected to the CGW 13 as a bus outside the vehicle. A DLC (Data Link Coupler) connector 22 is connected to the sixth bus 21, to which a tool 23 functioning as a service tool is detachably connected. The inside-vehicle buses 14 to 18 and the outside-vehicle bus 21 are configured, for example, by a CAN (Controller Area Network, registered trademark) bus, and the CGW 13 performs data communication between the DCM 12, various ECUs 19, and the tool 23 in accordance with the CAN data communication standard and the diagnostic communication standard (UDS (Unified Diagnosis Services): ISO14229). Note that the DCM 12 and CGW 13 may be connected via Ethernet, or the DLC connector 22 and CGW 13 may be connected via Ethernet.

[0023] The CGW 13 transmits a download request for package data to the center device 3 via the DCM 12, provided that the conditions for downloading the package data are met. The conditions for downloading the package data include that approval for the download has been obtained, that the CGW 13 is able to communicate data with the center device 3 via the DCM 12, that the free space in the storage of the DCM 12 is equal to or greater than a predetermined capacity, that the remaining capacity of the in-vehicle battery is equal to or greater than a predetermined capacity, etc. When the CGW 13 downloads the package data from the center device 3 via the DCM 12, it acquires update data from the downloaded package data.

[0024] The CGW 13 instructs the software update target ECU 19 to install the acquired update data, provided that conditions for instructing installation to write the update data are met. The conditions for instructing installation include that consent for installation has been obtained, the vehicle state is in a state where installation is possible, the update target ECU 19 is in a state where installation is possible, the update data is normal data, the remaining capacity of the vehicle battery is equal to or greater than a predetermined capacity, etc. When the update target ECU 19 is instructed to install the update data by the CGW 13, it installs the update data.

[0025] When installation of the update data is completed in the update target ECU 19, the CGW 13 instructs the update target ECU 19 to activate the software, provided that conditions for instructing activation to make the installed software valid are met. The conditions for instructing activation include obtaining consent for activation, the vehicle state being in a state in which activation is possible, the update target ECU 19 being in a state in which activation is possible, and the remaining capacity of the vehicle battery being equal to or greater than a predetermined capacity. When the update target ECU 19 receives the activation instruction from the CGW 13, it executes activation.

[0026] As shown in FIG. 2, the CGW 13 has, as electrical functional blocks, a microcomputer (hereinafter referred to as "MCU") 24, a storage 25, a data transfer circuit 26, a power supply circuit 27, and a power supply detection circuit 28. The MCU 24 executes various control programs stored in a non-transient physical storage medium to perform various processes and control the operation of the CGW 13. While this embodiment illustrates a configuration in which one MCU 24 is installed in the CGW 13, the number, specifications, and combination of MCUs installed in the CGW 13 are determined according to the processing power required for the CGW 13. In other words, if a relatively high processing power is required for the CGW 13, a MCU with relatively high specifications may be used, or multiple MCUs may be used to achieve distributed processing or parallel processing.

[0027] The storage 25 is, for example, an eMMC (embedded Multi Media Card) or NorFlash. The data transfer circuit 26 controls data communication between the buses 14 to 18 and 21 in accordance with the CAN data communication standard, Ethernet communication standard, diagnostic communication standard, etc. The power supply circuit 27 receives inputs of battery power, accessory power, and ignition power. The power supply detection circuit 28 detects the voltage values ​​of the battery power, accessory power, and ignition power input by the power supply circuit 27, compares these detected voltage values ​​with predetermined voltage thresholds, and outputs the comparison results to the microcomputer 24. Based on the comparison results input from the power supply detection circuit 28, the microcomputer 24 determines whether the battery power, accessory power, and ignition power supplied from the outside to the CGW 13 are normal or abnormal.

[0028] 3, the ECU 19 has, as electrical functional blocks, a microcomputer 29, a data transfer circuit 30, a power supply circuit 31, and a power supply detection circuit 32. The microcomputer 29 has a CPU 29a, a ROM 29b, a RAM 29c, and a flash memory 29d. The flash memory 29d includes a secure area in which information cannot be read from outside the ECU 19. The microcomputer 29 executes various control programs stored in a non-transitory physical storage medium to perform various processes and control the operation of the ECU 19.

[0029] The data transfer circuit 30 controls data communication between the buses 15 to 17 in accordance with the CAN data communication standard, Ethernet communication standard, etc. The power supply circuit 31 receives inputs of battery power, accessory power, and ignition power. The power supply detection circuit 32 detects the voltage values ​​of the battery power, accessory power, and ignition power input by the power supply circuit 31, compares these detected voltage values ​​with predetermined voltage thresholds, and outputs the comparison results to the microcomputer 29. The microcomputer 29 determines whether the battery power, accessory power, and ignition power supplied from the outside to the ECU 19 are normal or abnormal based on the comparison results input from the power supply detection circuit 32. The ECUs 19 are basically configured the same, except for the loads connected to them, such as sensors and actuators.

[0030] In the above-described configuration, because there are a wide variety of ECUs 19 that can be updated, different software update methods may be used for the multimedia ECU 19, the ADAS ECU 19, and the drivetrain ECU 19. For example, when updating the software of an ADAS (Advanced Driving Assistance System) ECU 19, data is transferred via high-speed file communication, while when updating the software of a drivetrain ECU 19, data is transferred via diagnostic communication. In this configuration, where multiple ECUs 19 have different software update methods, the CGW 13 employs the following configuration. Different update methods not only refer to different data transfer communication methods as described above, but also refer to different ECU 19 systems even if the data transfer communication method is the same. The update method refers to the method and order of updating the software of the ECU 19. More specifically, the method and order refer to the type of data transfer communication method (e.g., storage or streaming) and the type of processing procedure required for the update. Note that a single update method may not only update one ECU 19, but may also update multiple ECUs 19 together.

[0031] As shown in FIG. 4, the CGW 13 includes a control unit 33 that includes an overall management unit 34, a downloader 35, a first update master 36, a second update master 37, a third update master 38, and a specification data storage unit 39. The downloader 35 corresponds to a first execution instruction unit. The first update master 36, the second update master 37, and the third update master 38 correspond to a second execution instruction unit. The overall management unit 34 includes a specification data acquisition unit 34a, an execution request unit 34b, a status determination unit 34c, an acceptance result receiving unit 34d, an acceptance result transmitting unit 34e, a processing completion notification receiving unit 34f, and a processing completion notification transmitting unit 34g. Each of the units 34 to 38 and 34a to 34g corresponds to a function executed by the update program. That is, the control unit 33 executes the update program to perform the functions of each of the units 34 to 38 and 34a to 34g. 4, for example, the first update master 36 is connected to the multimedia ECU 19, but the relationship between the update master and the ECU 19 may be other than this. If the first update master 36 is connected to the ADAS ECU 19, the first update master 36 may manage the update process of the ADAS ECU 19. Also, the first update master 36 may manage the update process of the drive system ECU 19.

[0032] The downloader 35 instructs the DCM 12 to execute a download process when it receives a download execution request from the overall management unit 34. The first update master 36 manages the update process for the multimedia ECU 19, and instructs the multimedia ECU 19 to execute an install process when it receives an install execution request from the overall management unit 34, and instructs the multimedia ECU 19 to execute an activate process when it receives an activate execution request. The second update master 37 manages the update process for the ADAS ECU 19, and instructs the ADAS ECU 19 to execute an install process when it receives an install execution request from the overall management unit 34, and instructs the ADAS ECU 19 to execute an activate process when it receives an activate execution request. The third update master 38 manages the update process for the drivetrain ECU 19, instructing the drivetrain ECU 19 to execute the installation process upon receiving an installation execution request from the overall management unit 34, and instructing the drivetrain ECU 19 to execute the activation process upon receiving an activation execution request. In other words, the update masters 36-38 manage the update process for the ECUs 19 they manage, instructing the installation process upon receiving an installation execution request from the overall management unit 34, and instructing the activation process upon receiving an activation execution request. As an example, in the CGW 13, the overall management unit 34, the downloader 35, and the update masters 36-38 are each functionally independent modules. This configuration simplifies the software configuration and ensures proper system quality assurance. Furthermore, it becomes possible to develop software independently of each other, improving development efficiency.

[0033] The specification data acquisition unit 34a acquires specification data from the package data and stores the acquired specification data in the specification data storage unit 39. The specification data includes various information related to software updates, such as information related to the transmission target of the execution request shown in FIG. 5 and information related to the transmission sequence of the execution requests shown in FIG. 6. The information related to the transmission target of the execution request includes items such as the update master, the node ID of the update master, and the process to which the execution request is to be transmitted. FIG. 5 illustrates an example in which the transmission targets of the installation execution request are the first update master 36, the second update master 37, and the third update master 38, and the transmission targets of the activation execution request are the first update master 36, the second update master 37, and the third update master 38. The information related to the transmission sequence of the execution request includes the priority of the installation process and the activation process for the update masters 36 to 38. 6 illustrates an example in which an installation execution request is sent in the order of the first update master 36, the second update master 37, and the third update master 38, and an activation execution request is sent simultaneously to the first update master 36, the second update master 37, and the third update master 38. In other words, the specification data has a data structure including information that can identify the transmission target and transmission order of the execution request when requesting the execution of a download process, an installation process, or an activation process for each update method. Note that the data structure may be in another format as long as it specifies the type of execution request, indicating whether it is download, installation, or activation, and the transmission target and transmission order of the execution request.

[0034] The execution request unit 34b transmits a download execution request to the downloader 35, thereby instructing the downloader 35 to execute the download process to the DCM 12, and causes the DCM 12 to execute the download process. The execution request unit 34b transmits an install execution request to the update masters 36 to 38, thereby instructing the update masters 36 to 38 to execute the install process to the update target ECU 19, and causes the update target ECU 19 to execute the install process. The execution request unit 34b transmits an activate execution request to the update masters 36 to 38, thereby instructing the update masters 36 to 38 to execute the activate process to the update target ECU 19, and causes the update target ECU 19 to execute the activate process.

[0035] The state determination unit 34c determines whether or not a download process can be executed, whether or not an install process can be executed, and whether or not an activation process can be executed. The state determination unit 34c determines whether or not a download process can be executed by determining the conditions under which the above-mentioned package data can be downloaded. The state determination unit 34c determines whether or not a install process can be executed by determining the conditions under which the above-mentioned installation can be instructed. The state determination unit 34c determines whether or not a activation process can be executed by determining the conditions under which the above-mentioned activation can be instructed.

[0036] The consent result receiving unit 34d receives consent results from the user for the download process, the installation process, and the activation process. When the consent result receiving unit 34d receives consent results from the user for the download process, the installation process, and the activation process, the consent result sending unit 34e sends the received consent results to the center device 3.

[0037] The process completion notification receiving unit 34f receives a download process completion notification indicating the completion of the download process from the downloader 35. The process completion notification receiving unit 34f receives an installation process completion notification indicating the completion of the installation process and an activation process completion notification indicating the completion of the activation process from the update masters 36 to 38. When the download process completion notification receiving unit 34f receives the download process completion notification, the process completion notification sending unit 34g sends the received download process completion notification to the center device 3. When the process completion notification receiving unit 34f receives the installation process completion notification or the activation process completion notification, the process completion notification sending unit 34g sends the received installation process completion notification or the activation process completion notification to the center device 3.

[0038] Next, the operation of the above-described configuration will be described with reference to Fig. 7 to Fig. 15. Here, the description will be given on the premise that the transmission targets and transmission order of execution requests are set by the specification data as shown in Fig. 5 and Fig. 6.

[0039] In the control unit 33 of the CGW 13, when the overall management unit 34 receives campaign information from the center device 3 via the DCM 12 (t1) or determines that it has received an event notification from any of the update masters 36 to 38 (S1: YES, t2), it waits for the reception of specification data from the center device 3 (S2). When the overall management unit 34 determines that it has received specification data from the center device 3 via the DCM 12 (S2: YES, t3), it stores the received specification data in the specification data storage unit 39 and determines the transmission target and transmission order of the execution request by referring to the specification data (S3). For example, as described above, the overall management unit 34 determines that the installation execution request is to be transmitted to the first update master 36, the second update master 37, and the third update master 38 in that order, and that the activation execution request is to be transmitted to the first update master 36, the second update master 37, and the third update master 38 simultaneously.

[0040] The overall management unit 34 sends a request to display a download consent screen to the HMI (S4, t4) and waits to receive a consent result from the HMI (S5). When the HMI receives the request to display a download consent screen from the overall management unit 34, it displays a download consent screen, and when the user performs an operation to permit consent, it transmits a consent result indicating consent to the overall management unit 34 (t5).

[0041] When the overall management unit 34 determines that it has received an approval result indicating approval from the HMI (S5: YES), it transmits the approval result indicating approval to the center device 3 via the DCM 12 (S6, t6). The overall management unit 34 determines whether or not the download process is executable (S7), and when it determines that the download process is executable (S7: YES), it transmits a download execution request to the downloader 35 (S8, t7, corresponding to the execution request step), and waits for reception of an ACK in response to the download execution request from the downloader 35 (S9). When the downloader 35 receives the download execution request from the overall management unit 34, it returns an ACK to the overall management unit 34.

[0042] When the overall management unit 34 determines that it has received an ACK from the downloader 35 (S9: YES), it instructs the downloader 35 to execute the download process to the DCM 12 (S10). When the overall management unit 34 instructs the downloader 35 to execute the download process to the DCM 12, it waits for a download process completion notification to be received from the downloader 35 (S11) and monitors the elapsed time since the instruction to execute the download process was given (S12).

[0043] Upon receiving the download execution request from the overall management unit 34, the downloader 35 transmits a package data download request to the center device 3 via the DCM 12 (t8). Upon receiving the package data download request from the CGW 13, the center device 3 distributes the package data to the DCM 12 (t9). The DCM 12 starts the process of downloading the package data from the center device 3, and upon completing the download process, transmits a download process completion notice to the downloader 35. Upon receiving the download process completion notice from the DCM 12, the downloader 35 transmits the download process completion notice to the overall management unit 34 (t10).

[0044] If the overall management unit 34 determines that a download process completion notification has been received from the downloader 35 before a certain period of time has elapsed since the instruction to execute the download process has been given (S11: YES), the overall management unit 34 transmits the download process completion notification to the center device 3 via the DCM 12 (S13, t11).

[0045] On the other hand, if the overall management unit 34 determines that a certain time has elapsed since issuing an instruction to execute the download process before receiving a download process completion notification from the downloader 35 (S12: YES), it determines whether the number of retries has reached a preset upper limit (S14). If the overall management unit 34 determines that the number of retries has not reached the upper limit (S14: NO), it resends the download execution request to the downloader 35 (S15), increments the number of retries (S16), and returns to steps S11 and S12. If the overall management unit 34 determines that the number of retries has reached the upper limit (S14: YES), it transmits an error notification indicating an error in the download process to the center device 3 via the DCM 12 (S17).

[0046] When the download process by the DCM 12 is completed, the overall management unit 34 transmits an installation consent screen display request to the HMI (S18, t12) and waits to receive a consent result from the HMI (S19). When the HMI receives the installation consent screen display request from the overall management unit 34, it displays an installation consent screen, and when the user performs an operation to permit consent, it transmits a consent result indicating consent to the overall management unit 34 (t13).

[0047] When the overall management unit 34 determines that it has received an acceptance result indicating acceptance permission from the HMI (S19: YES), it transmits the acceptance result indicating acceptance permission to the center device 3 via the DCM 12 (S20, t14). The overall management unit 34 determines whether the installation process is executable (S21), and when it determines that the installation process is executable (S21: YES), it targets the update master 36, which has the highest priority for the installation process among the update masters 36 to 38 that are targets for software update, and transmits an installation execution request to the update master 36 (S22, t15, corresponding to the execution request step), and waits to receive an ACK in response to the installation execution request from the update master 36 (S23). When the update master 36 receives the installation execution request from the overall management unit 34, it returns an ACK to the overall management unit 34.

[0048] When the overall management unit 34 determines that it has received an ACK from the update master 36 (S23: YES), it instructs the update target ECU 19 from the update master 36 to execute the installation process (S24). After instructing the update target ECU 19 from the update master 36 to execute the installation process, the overall management unit 34 waits for reception of an installation process completion notification from the update master 36 (S25), and monitors the elapsed time since the instruction to execute the installation process was given (S26).

[0049] When the update target ECU 19 managed by the update master 36 receives an instruction to execute the installation process from the update master 36, the update target ECU 19 starts the installation process, and when the installation process is completed, the update master 36 transmits an installation process completion notification to the update master 36. When the update master 36 receives the installation process completion notification from the update target ECU 19, the update master 36 transmits the installation process completion notification to the overall management unit 34 (t16). In this case, if there are multiple update target ECUs 19 managed by the update master 36, the update master 36 transmits the installation process completion notification to the overall management unit 34 when it receives the installation process completion notifications from all of the update target ECUs 19.

[0050] If the overall management unit 34 determines that it has received an installation process completion notification from the update master 36 before a certain period of time has elapsed since it instructed the update master 36 to execute the installation process (S25: YES), it transmits the installation process completion notification to the center device 3 via the DCM 12 (S27, t17).

[0051] On the other hand, if the overall management unit 34 determines that a certain time has elapsed since instructing the update master 36 to execute the installation process before receiving an installation process completion notification from the update master 36 (S26: YES), it determines whether the number of retries has reached a preset upper limit (S28). If the overall management unit 34 determines that the number of retries has not reached the upper limit (S28: NO), it resends the installation execution request to the update master 36 (S29), increments the number of retries (S30), and returns to steps S25 and S26. If the overall management unit 34 determines that the number of retries has reached the upper limit (S28: YES), it transmits an error notification indicating an error in the installation process to the center device 3 via the DCM 12 (S31).

[0052] The overall management unit 34 determines whether installation execution requests have been sent to all of the update masters 36 to 38 that are targets for sending installation execution requests in the current campaign information (S32). If the overall management unit 34 determines that installation execution requests have not been sent to all of the update masters 36 to 38 that are targets for sending installation execution requests and that there are update masters 36 to 38 to which installation execution requests have not been sent (S32: NO), the overall management unit 34 targets the update master 37, which has the next highest priority among the update masters 36 to 38 that are targets for software update, and returns to step S22 and repeats step S22 and subsequent steps.

[0053] As shown in Figure 6, when the priority of the installation process is set in the order of the first update master 36, the second update master 37, and the third update master 38, the overall management unit 34 sequentially instructs the execution of the installation process for the multimedia system update target ECU 19, the execution of the installation process for the ADAS system update target ECU 19, and the execution of the installation process for the drive system update target ECU 19 (t15 to t23) by sending installation execution requests in the order of the first update master 36, the second update master 37, and the third update master 38.

[0054] On the other hand, the overall management unit 34 determines that it has already sent installation execution requests to all of the update masters 36 to 38 to which it is to send the requests, and that there are no update masters 36 to 38 to which it has not yet sent the installation execution requests (S32: YES), and upon completing the installation process using the update masters 36 to 38, it sends an activation consent screen display request to the HMI (S33, t24) and waits for the receipt of an consent result from the HMI (S34). Upon receiving the activation consent screen display request from the overall management unit 34, the HMI displays an activation consent screen, and when the user performs an operation to grant consent, it sends an consent result indicating the grant of consent to the overall management unit 34 (t25).

[0055] When the overall management unit 34 determines that it has received an approval result indicating approval from the HMI (S34: YES), it transmits the approval result indicating approval to the center device 3 via the DCM 12 (S35, t26). When the overall management unit 34 determines that it is in a state where it can execute the activation process (S36: YES), it simultaneously transmits an activation execution request to the update masters 36 to 38 (S37, t27, corresponding to the execution request procedure) and waits to receive an ACK in response to the activation execution request from the update masters 36 to 38 (S38). When the update masters 36 to 38 receive the activation execution request from the overall management unit 34, they return an ACK to the overall management unit 34.

[0056] When the overall management unit 34 determines that it has received ACK from the update masters 36 to 38 (S38: YES), it causes the update masters 36 to 38 to simultaneously instruct the update target ECUs 19 to execute the activation process (S39). When the overall management unit 34 simultaneously instructs the update masters 36 to 38 to simultaneously instruct the update target ECUs 19 to execute the activation process, it waits for reception of activation process completion notifications from the update masters 36 to 38 (S40) and monitors the elapsed time since the simultaneous instructions to execute the activation process were given (S41).

[0057] When an update target ECU 19 managed by an update master 36 to 38 receives an instruction from the update master 36 to 38 to execute activation processing, the update target ECU 19 starts activation processing, and when the activation processing is completed, the update master 36 to 38 transmits an activation processing completion notification to the update master 36 to 38. When the update master 36 to 38 receives the activation processing completion notification from the update target ECU 19, the update master 36 to 38 transmits the activation processing completion notification to the overall management unit 34 (t28). In this case, if each of the update masters 36 to 38 manages multiple update target ECUs 19, the update masters 36 to 38 transmit the activation processing completion notification to the overall management unit 34 when they receive the activation processing completion notifications from all of the update target ECUs 19 that they manage.

[0058] If the overall management unit 34 determines that it has received an activation process completion notification from the update masters 36 to 38 before a certain period of time has elapsed since it instructed the activation process to be executed (S40: YES), it sends the activation process completion notification to the center device 3 via the DCM 12 (S42, t29).

[0059] On the other hand, if the overall management unit 34 determines that a certain time has elapsed since issuing an instruction to execute the activation process before receiving an activation process completion notification from the update masters 36 to 38 (S41: YES), it determines whether the number of retries has reached a preset upper limit (S43). If the overall management unit 34 determines that the number of retries has not reached the upper limit (S43: NO), it resends the activation execution request to the update masters 36 to 38 (S44), increments the number of retries (S45), and returns to steps S40 and S41. If the overall management unit 34 determines that the number of retries has reached the upper limit (S43: YES), it transmits an error notification indicating an activation error to the center device 3 via the DCM 12 (S46).

[0060] However, after an installation execution request is sent to an update master, a processing request with a higher priority, such as a legal requirement, may occur before the installation process is completed in the update target ECU 19 managed by that update master. In such a case, the overall management unit 34 performs the process shown in FIG. 15.

[0061] When the overall management unit 34 sends an execution request to any update master (S51), it determines whether or not a processing completion notice has been received for the execution request for the currently running process (S52), and determines whether or not a processing request with a higher priority has occurred (S53). If the overall management unit 34 determines that a processing request with a higher priority has occurred before receiving a processing completion notice for the execution request for the currently running process (S53: YES), it sends a request to the update master to suspend the currently running process, suspending the currently running process (S54), and sends an execution request for the subsequent processing with a higher priority to the update master (S55).

[0062] When the overall management unit 34 sends a request to execute a subsequent process with a higher priority to the update master, it determines whether or not it has received a processing completion notice for the request to execute the subsequent process with the higher priority (S56). If it determines that it has received a processing completion notice for the request to execute the subsequent process with the higher priority (S56: YES), it sends a request to resume the interrupted process to the update master, resumes the interrupted process (S57), and returns to steps S52 and S53. Note that the same applies when, after sending an activation execution request to an update master, a processing request with a higher priority, such as a legal requirement, occurs before the activation process is completed in the update-target ECU 19 managed by that update master.

[0063] As described above, according to the embodiment, the following advantageous effects can be obtained. In the CGW 13, the download process, installation process, and activation process are requested to be executed for each update method, so that the download process, installation process, and activation process are executed for each update method. When updating the software of multiple ECUs 19 to be updated using different update methods, it is possible to avoid situations where multiple update methods are executed simultaneously or where multiple update methods are executed in an improper order. This makes it possible to avoid situations where software is updated in an unintended combination, and to ensure that the software is updated appropriately, ensuring safe and secure software updates.

[0064] In the CGW 13, the update masters 36 to 38 are provided for each update method, and by consolidating the control of software updates in the update masters 36 to 38, it is possible to simplify the software configuration and appropriately ensure quality assurance of the system.

[0065] In the CGW13, the destination and transmission order of execution requests are set using specification data, so the content of the software update can be easily switched using specification data, eliminating the need to prepare individual CGW13s that are applicable to various systems and enabling a reduction in the number of part numbers.

[0066] CGW13 is configured to send a request to execute a process that is in an executable state when it determines that the download process, installation process, and activation process are executable, thereby ensuring that the download process, installation process, and activation process are executed.

[0067] When CGW13 receives a consent result from the user for the download process, installation process, or activation process, it transmits the received consent result to the center device 3, so that the consent result from the user for the download process, installation process, and activation process can be managed by the center device 3.

[0068] When CGW13 receives a download process completion notification, an installation process completion notification, or an activation process completion notification, the CGW13 transmits the received process completion notification to the center device 3, so that the completion of the download process, the installation process, and the activation process can be managed by the center device 3.

[0069] In the CGW 13, when a retransmission condition for the execution request from the overall management unit 34 is established, the execution request is retransmitted, so that it is possible to appropriately deal with the case where the overall management unit 34 does not execute the process for some reason despite having transmitted the execution request.

[0070] In the CGW13, when the priority of the subsequent process is higher than the priority of the process currently being executed, the current process is interrupted, a request to execute the subsequent process is sent, and after the subsequent process is completed, a request is made to resume the interrupted process, so that it is possible to appropriately deal with a process request with a high priority such as a legal requirement.

[0071] Although the present disclosure has been described with reference to the embodiments, it is understood that the present disclosure is not limited to the embodiments or structures. The present disclosure also encompasses various modifications and modifications within the scope of equivalents. In addition, various combinations and forms, as well as other combinations and forms including only one element, more than one element, or less than one element, are also within the scope and spirit of the present disclosure.

[0072] Although the configuration in which three update masters 36 to 38 are provided to manage the update processing of three types of ECUs 19 has been exemplified, two or less or four or more update masters may be provided to manage the update processing of two or less or four or more types of ECUs 19. That is, a configuration in which one update master is provided to manage the update processing of one type of ECU 19 may also be provided.

[0073] Although a configuration has been exemplified in which an activation execution request is sent simultaneously to the first update master 36, the second update master 37, and the third update master 38, it is also possible to have a configuration in which an activation execution request is sent to the first update master 36, the second update master 37, and the third update master 38 at individual times.

[0074] In the example shown, when the overall management unit 34 determines that it has received specification data, it refers to the specification data to determine the transmission target and transmission order of the execution request. However, it is also possible to determine only the first transmission target of the execution request, and determine the next transmission target of the execution request each time a processing completion notification is received.

[0075] Although the example shows a configuration in which the DCM 12 downloads package data from the center device 3 to obtain update data, the ECU 19 to be updated may have the functionality of a downloader 35, and the ECU 19 to be updated may directly download package data from the center device 3 to obtain update data.

[0076] The download consent, the installation consent, and the activation consent are not required to be processed separately. For example, the installation consent and the activation consent may be performed by a single consent.

[0077] The control unit and patterns described herein may be implemented by a special-purpose computer configured by configuring a processor and memory programmed to perform one or more functions embodied in a computer program. Alternatively, the control unit and patterns described herein may be implemented by a special-purpose computer configured by configuring a processor with one or more dedicated hardware logic circuits. Alternatively, the control unit and patterns described herein may be implemented by one or more special-purpose computers configured by combining a processor and memory programmed to perform one or more functions with a processor configured with one or more hardware logic circuits. Furthermore, the computer program may be stored as instructions executed by a computer on a computer-readable non-transitory tangible storage medium.

Claims

1. a first execution instruction unit (35) for instructing a download process execution unit that executes a download process for downloading update data from an external device to execute the download process; a second execution instruction unit (36-38) for instructing an update target node, which executes an installation process for installing update data to generate updated software and an activation process for validating the updated software, to execute the installation process and the activation process; an execution request unit (34b) that transmits an execution request to the first execution instruction unit or the second execution instruction unit for each update method based on a communication method or a type of procedure for updating the software of the update target node, and requests execution of any one of the download process, the install process, and the activate process for each update method based on the communication method or the type of procedure for updating the software of the update target node, The execution request unit transmits an execution request for the installation process to the second execution instruction unit for each update method, thereby requesting the installation process collectively for each update method.

2. A specification data acquisition unit (34a) is provided for acquiring specification data from an external source, The electronic control device for a vehicle according to claim 1 , wherein the execution request unit determines a transmission target and a transmission order of the execution request based on the specification data.

3. 3. The electronic control device for a vehicle according to claim 2, wherein the execution request unit targets the download process, the installation process, and the activation process, and determines a transmission target and a transmission order of the execution request before requesting execution of the download process.

4. 3. The electronic control device for a vehicle according to claim 2, wherein the execution request unit targets the download process, the installation process, and the activation process, and determines a next target to which the execution request is to be sent each time any one of the processes is completed.

5. A state determination unit (34c) is provided for determining a state, 5. The electronic control device for a vehicle according to claim 1, wherein the execution request unit requests the execution of the processes that are in an executable state, on the condition that the state determination unit has determined that the download process, the installation process, and the activation process are in an executable state.

6. an approval result receiving unit (34d) for receiving an approval result from a user regarding any one of the download process, the installation process, and the activation process; An electronic control device for a vehicle as described in any one of claims 1 to 5, further comprising an approval result transmitting unit (34e) that transmits the received approval result to the outside when any approval result is received by the approval result receiving unit.

7. When the first execution instruction unit determines that the download process is completed, the first execution instruction unit transmits a download process completion notification; the second execution instruction unit transmits an installation processing completion notification when it determines that the installation processing is completed, and transmits an activation processing completion notification when it determines that the activation processing is completed; a processing completion notification receiving unit (34f) that receives any one of the download processing completion notification, the installation processing completion notification, and the activation processing completion notification; 7. The electronic control device for a vehicle according to claim 1, further comprising: a processing completion notification transmitting unit (34e) that transmits, when any processing completion notification is received by the processing completion notification receiving unit, the received processing completion notification to an external device.

8. 8. The electronic control device for a vehicle according to claim 1, wherein the execution request unit resends the execution request when any of the download process, the installation process, and the activation process is not executed and a condition for resending the execution request is satisfied after sending an execution request to the first execution instruction unit or the second execution instruction unit on an update method basis.

9. 9. The electronic control device for a vehicle according to claim 1, wherein, when a subsequent process has a higher priority than a currently running process, the execution request unit interrupts the currently running process, transmits a request to execute the subsequent process, and requests resumption of the interrupted process after the subsequent process is completed.

10. a first execution instruction unit (35) for instructing a download process execution unit that executes a download process for downloading update data from an external device to execute the download process; a control unit (33) of a vehicle electronic control device (13) including a second execution instruction unit (36-38) for instructing an update target node to execute an installation process for installing update data to generate updated software and an activation process for validating the updated software, the second execution instruction unit (36-38) for instructing the node to execute the installation process and the activation process; transmits an execution request to the first execution instruction unit or the second execution instruction unit for each update method based on a communication method or a type of procedure for updating the software of the update target node, and executes an execution request procedure for requesting execution of any one of the download process, the install process, and the activate process for each update method based on the communication method or the type of procedure for updating the software of the update target node; The execution request procedure is an update program that requests the installation process collectively on an update method basis by sending an execution request for the installation process to the second execution instruction unit on an update method basis.

Citation Information

Patent Citations

  • Mobile terminal and software update method

    JP2010245716A

  • In-vehicle software updating apparatus

    JP2015041334A

  • Vehicle electronic control system, vehicle master device, and data storage surface information transmission control method and data storage surface information transmission control program

    JP2020027627A

  • Software updating device, server device, and software updating method

    JP2020190479A

  • Vehicle electronic control system, screen display control method for progress display, and screen display control program for progress display

    JP2021009658A

Cited By

  • Vehicle function extension method, vehicle function extension system, and information processing device

    WO2026210715A1