Center, OTA master, method, program, and vehicle

A centralized system generates a unified distribution package for both wired and wireless software updates in vehicles, addressing inefficiencies in existing methods by streamlining the update process for electronic control units.

JP7540401B2Active Publication Date: 2024-08-27TOYOTA JIDOSHA KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021103215
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-22
Publication Date
2024-08-27
Estimated Expiration
2041-06-22

AI Technical Summary

Technical Problem

Existing software update methods for electronic control units in vehicles require separate distribution packages for wired and wireless connections, necessitating inefficient duplication of efforts.

Method used

A centralized system generates a unified distribution package that can be used by both wired external devices and OTA masters, incorporating necessary data and information for both connection types, thereby streamlining the software update process.

Benefits of technology

This approach allows for efficient generation of distribution packages that can be utilized by both wired external devices and OTA masters, reducing redundancy and enhancing the efficiency of software updates in vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540401000001
    Figure 0007540401000001
  • Figure 0007540401000007
    Figure 0007540401000007
  • Figure 0007540401000006
    Figure 0007540401000006
Patent Text Reader

Abstract

To provide a center, an OTA master, or the like, that are capable of efficiently generating distribution packages.SOLUTION: A center configured to communicate with an OTA master configured to control software update for an electronic control unit mounted on a vehicle, the center comprises: a control unit configured to generate a distribution package including update data of software of a target electronic control unit, which is an electronic control unit to be subjected to software update, first information which is referenced by an external device connected to the vehicle by wire in updating the software of the target electronic control unit via an in-vehicle network, and second information which is referenced by the OTA master wirelessly connected to the center in updating the software of the target electronic control unit via the in-vehicle network; and a transmission unit configured to transmit the distribution package to the OTA master on the basis of, a request from the OTA master.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a center, an OTA master, or the like that controls software updates for electronic control units. [Background technology]

[0002] A vehicle is equipped with multiple electronic control units for controlling the operation of the vehicle. Each electronic control unit includes a processor, a temporary storage unit such as a RAM, and a non-volatile memory that is a non-volatile storage unit such as a flash ROM. The processor executes software stored in the non-volatile memory to realize the control function of the electronic control unit. The software stored in each electronic control unit is rewritable, and by updating the software to a newer version, the function of each electronic control unit can be improved or a new vehicle control function can be added.

[0003] The software of the electronic control unit can be updated or added by connecting an external device such as a diagnostic tool via a wired connection at a vehicle dealership or the like to the in-vehicle network to which the electronic control unit is connected and installing update software that is pre-stored in the external device into the electronic control unit.

[0004] Also, as a technology for updating software of an electronic control unit, there is known an OTA (Over The Air) technology in which an in-vehicle communication device connected to an in-vehicle network is wirelessly connected to a communication network such as the Internet, and a device in charge of updating the software of the vehicle downloads software from a server via wireless communication and installs the downloaded software in the electronic control unit, thereby updating or adding software to the electronic control unit. For example, see Patent Document 1. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2004-326689 A Summary of the Invention [Problem to be solved by the invention]

[0006] The communication methods and conditions to be met differ between updating the software of an electronic control unit using an external device connected to an in-vehicle network via a wired connection and updating the software of an electronic control unit using OTA (wirelessly connecting to an in-vehicle network).For this reason, when updating the software of an electronic control unit, it was necessary to create two types of distribution packages: one containing the data and information required to perform the software update via wired connection, and the other containing the data and information required to perform the software update via OTA.

[0007] The present disclosure has been made in consideration of the above-mentioned problems, and aims to provide a center, an OTA master, and the like that can efficiently generate distribution packages. [Means for solving the problem]

[0008] In order to solve the above problems, one aspect of the disclosed technology is a center capable of communicating with an OTA master that controls software updates of electronic control units mounted on a vehicle, the center comprising: a control unit that generates a distribution package including software update data for a target electronic control unit, which is the electronic control unit to be updated, first information that an external device connected to the vehicle by wire refers to when performing a software update of the target electronic control unit via an in-vehicle network, and second information that the OTA master connected wirelessly to the center refers to when performing a software update of the target electronic control unit via the in-vehicle network; and a transmission unit that transmits the distribution package to the OTA master based on a request from the OTA master. Effect of the Invention

[0009] According to the center and OTA master of the present disclosure, a distribution package can be generated that can be referenced by both an external device connected to the vehicle via a wired connection and an OTA master connected wirelessly to the center, thereby enabling efficient generation of the distribution package. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a block diagram showing an overall configuration of a network system according to an embodiment; [Diagram 2] Block diagram showing the general configuration of the center [Diagram 3] Center functional block diagram [Figure 4] An example of a distribution package generated by the center [Diagram 5] Block diagram showing the schematic configuration of the OTA master [Figure 6] OTA Master Functional Block Diagram [Figure 7] Flowchart of distribution package generation process executed by the center [Figure 8] Flowchart of distribution control process executed by the center [Figure 9] Flowchart of software update control process executed by OTA master DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The present disclosure generates a distribution package that can be referenced by both an external device connected to a vehicle by wire and an OTA master connected to a center by wireless. This eliminates the need to create two types of distribution packages, one containing data and information necessary for performing software updates by wire and the other containing data and information necessary for performing software updates by OTA, and allows efficient distribution package generation. Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings.

[0012] <Embodiment> [composition] Fig. 1 is a block diagram showing an overall configuration of a network system according to an embodiment of the present disclosure. The network system shown in Fig. 1 is a system for updating software of a plurality of electronic control units 50a to 50d mounted on a vehicle, and includes a center 10 and an external device 110 that are located outside the vehicle, and an in-vehicle network 90 that is built inside the vehicle.

[0013] (1) Center The center 10 is capable of wirelessly communicating with an OTA master 30 (described later) provided in the in-vehicle network 90 via the network 100. The center 10 can control and manage software updates of the multiple electronic control units 50a-50d connected to the OTA master 30 by transmitting update data for the software of the electronic control units 50a-50d and receiving notifications indicating the progress of the software update process between the center 10 and the OTA master 30. The center 10 functions as a so-called server.

[0014] FIG. 2 is a block diagram showing a schematic configuration of the center 10 in FIG. 1. As shown in FIG. 2, the center 10 includes a central processing unit (CPU) 11, a random access memory (RAM) 12, a storage device 13, and a communication device 14. The storage device 13 is a device including a readable and writable storage medium such as a hard disk drive (HDD) or a solid state drive (SSD), and stores a program for performing software update management, information used for the software update management, and update data for each electronic control unit. In the center 10, the CPU 11 executes a program read from the storage device 13 by using the RAM 12 as a working area, thereby performing a predetermined process related to software update. The communication device 14 is a device for communicating with the OTA master 30 via the network 100.

[0015] Fig. 3 is a functional block diagram of the center 10 shown in Fig. 2. The center 10 shown in Fig. 3 includes a storage unit 16, a communication unit 17, and a control unit 18. The storage unit 16 is realized by the storage device 13 shown in Fig. 2. The communication unit 17 and the control unit 18 are realized by the CPU 11 shown in Fig. 2 executing a program stored in the storage device 13 using the RAM 12.

[0016] The storage unit 16 stores information related to software update processing of one or more electronic control units mounted on the vehicle. As the information related to the software update processing, the storage unit 16 stores at least update management information in which information indicating software available in the electronic control units 50a to 50d is associated with each vehicle identification information (vehicle ID) that identifies the vehicle, and update data of the software of the electronic control units 50a to 50d. As the information indicating the software available in the electronic control units 50a to 50d, for example, a combination of the latest version information of each software of the multiple electronic control units 50a to 50d is defined. Furthermore, as the information related to the software update processing, the storage unit 16 can store an update status indicating the update state of the software being performed in the vehicle. Furthermore, the storage unit 16 can store information (described later) related to the type of non-volatile memory mounted in each of the multiple electronic control units 50a to 50d.

[0017] The communication unit 17 functions as a transmitting unit and a receiving unit that transmits and receives data, information, requests, and the like to and from the OTA master 30. The communication unit 17 receives a software update confirmation request from the OTA master 30 (receiving unit). The update confirmation request is information transmitted from the OTA master 30 to the center 10 when, for example, the power supply or ignition is turned on in the vehicle (hereinafter referred to as "power ON"), and is information for requesting the center 10 to confirm whether or not there is update data for the electronic control units 50a to 50d based on vehicle configuration information described later. In addition, in response to the update confirmation request received from the OTA master 30, the communication unit 17 transmits information indicating the presence or absence of update data to the OTA master 30 (transmitting unit). In addition, the communication unit 17 receives a transmission request (download request) for a distribution package from the OTA master 30 (receiving unit). Furthermore, upon receiving a download request for a distribution package, the communication unit 17 transmits to the OTA master 30 a distribution package of update data for the software of the electronic control units 50a to 50d, which is generated by the control unit 18, which will be described later.

[0018] When the communication unit 17 receives an update check request from the OTA master 30, the control unit 18 determines whether or not there is software update data for the electronic control units 50a-50d mounted on the vehicle identified by the vehicle ID included in the update check request, based on the update management information stored in the storage unit 16. The determination result by the control unit 18 as to whether or not there is update data is transmitted to the OTA master 30 by the communication unit 17. When the control unit 18 determines that there is software update data for the electronic control units 50a-50d, upon receiving a download request for a distribution package from the OTA master 30, it generates a distribution package for the corresponding update data stored in the storage unit 16.

[0019] The control unit 18 generates a distribution package including at least update data for the software of an electronic control unit to be updated (hereinafter referred to as a "target electronic control unit"), external device information (first information) that an external device 110 connected to the vehicle by wire refers to when updating the software of the target electronic control unit via the in-vehicle network 90, and OTA master information (second information) that an OTA master 30 connected wirelessly to the center 10 refers to when updating the software of the target electronic control unit via the in-vehicle network 90. ​​The external device information is information that defines the conditions that the external device 110 should determine when updating the software of the target electronic control unit, the unit of data transfer to the target electronic control unit, and the response when an error occurs. The OTA master information is information that defines the conditions that the OTA master 30 should determine when updating the software of the target electronic control unit, the unit of data transfer to the target electronic control unit, and the response when an error occurs.

[0020] Fig. 4 shows an example of a distribution package generated by the control unit 18. The distribution package shown in Fig. 4 includes, in addition to update data, information for external devices, and information for the OTA master, identification information (such as a flag) for identifying (the location of) information to be referenced by the external device 110 and the OTA master 30 that have acquired the distribution package. Note that this identification information can be omitted in cases where the address of the information reference destination in the distribution package by the external device 110 and the OTA master 30 is predetermined. Also, Fig. 4 shows an example in which one update data shared by the external device 110 and the OTA master 30 is packaged, but the update data for the external device 110 and the update data for the OTA master 30 may be packaged separately.

[0021] (2) External equipment The external device 110 is a tool for communicating with the vehicle by connecting by wire to a communication interface such as a connector (not shown) provided in the vehicle. An example of the external device 110 is a service tool used in a repair shop or dealer to transmit data required for software update to a plurality of electronic control units 50a to 50d connected to the in-vehicle network 90, and to perform so-called diagnostic communication for self-diagnosis of the vehicle. This external device 110 is capable of communicating with the center 10 via a predetermined network, and is configured to be able to acquire a distribution package generated by the center 10.

[0022] (3) In-vehicle network The in-vehicle network 90 includes an OTA master 30, a plurality of electronic control units 50a to 50d, a display device 70, and a communication module 80. The OTA master 30 and the communication module 80 are connected via a bus 60a. The OTA master 30 and the electronic control units 50a and 50b are connected via a bus 60b. The OTA master 30 and the electronic control units 50c and 50d are connected via a bus 60c. The OTA master 30 and the display device 70 are connected via a bus 60d.

[0023] The OTA master 30 can communicate wirelessly with the center 10 via the bus 60a and the communication module 80 and the network 100. The OTA master 30 can also communicate wired with the electronic control units 50a to 50d and the display device 70 via the buses 60b to 60d. The OTA master 30 is a device that has the function of managing the OTA state, controlling an update sequence, which is the flow of a software update process, and performing software updates of the target electronic control units to be updated. The OTA master 30 controls software updates of the target electronic control units among the electronic control units 50a to 50d based on update data acquired from the center 10 by communication, etc. The OTA master 30 is sometimes referred to as a central gateway (CGW).

[0024] 5 is a block diagram showing a schematic configuration of the OTA master 30 in FIG. 1. As shown in FIG. 5, the OTA master 30 includes a CPU 31, a RAM 32, a ROM (Read-Only Memory) 33, a storage device 34, and a communication device 36. The CPU 31, the RAM 32, the ROM 33, and the storage device 34 constitute a microcomputer 35. In the OTA master 30, the CPU 31 executes a program read from the ROM 33 by using the RAM 32 as a working area, thereby executing a predetermined process related to software update. The communication device 36 is a device for communicating with the communication module 80, the electronic control units 50a to 50d, and the display device 70 via the buses 60a to 60d shown in FIG. 1.

[0025] Fig. 6 is a functional block diagram of the OTA master 30 shown in Fig. 5. The OTA master 30 shown in Fig. 6 includes a storage unit 37, a communication unit 38, and a control unit 39. The storage unit 37 is realized by the storage device 34 shown in Fig. 5. The communication unit 38 and the control unit 39 are realized by the CPU 31 shown in Fig. 5 executing a program stored in the ROM 33 using the RAM 32.

[0026] The memory unit 37 stores a program for executing software updates of the multiple electronic control units 50a to 50d (a control program for the OTA master 30), various data used when executing the software updates, and software update data downloaded from the center 10 via a distribution package.

[0027] The communication unit 38 functions as a transmitting unit and a receiving unit that transmits and receives data, information, requests, and the like to and from the center 10. The communication unit 38 transmits a software update check request to the center 10, for example, when the power of the vehicle is turned on (transmitting unit). The update check request includes, for example, a vehicle ID for identifying the vehicle and information on the current version of the software of the electronic control units 50a to 50d connected to the in-vehicle network 90. ​​The vehicle ID and the current version of the software of the electronic control units 50a to 50d are used to determine whether or not there is update data for the software of the electronic control units 50a to 50d by comparing them with the latest version of the software stored by the center 10 for each vehicle ID. In addition, the communication unit 38 receives a notification indicating the presence or absence of update data from the center 10 as a response to the update check request (receiving unit). When there is update data for the software of the electronic control units 50a to 50d, the communication unit 38 transmits a download request for a distribution package including the software update data to the center 10 (transmission unit), and receives (downloads) the distribution package transmitted from the center 10 (reception unit). In addition, the communication unit 38 transmits the update status of the software transmitted by the electronic control units 50a to 50d to the center 10 (transmission unit).

[0028] The control unit 39 judges whether or not there is update data for the software of the electronic control units 50a to 50d, based on a response from the center 10 to the update confirmation request received by the communication unit 38. The control unit 39 also verifies the authenticity of the distribution package that the communication unit 38 receives (downloads) from the center 10 and stores in the storage unit 37. The control unit 39 also controls software update processing (various verifications, installation, activation, etc.) for the electronic control units 50a to 50d, using the update data received (downloaded) from the center 10. Specifically, the control unit 39 transfers one or more pieces of update data downloaded in the distribution package to the target electronic control unit, and causes the target electronic control unit to install update software based on the update data. After the installation is completed, the control unit 39 instructs the target electronic control unit to activate the installed update software.

[0029] The electronic control units 50a to 50d are devices (ECUs) for controlling the operation of each part of the vehicle. Although four electronic control units 50a to 50d are illustrated in Fig. 1, the number of electronic control units is not particularly limited. In addition, the number of buses connecting the electronic control units to the OTA master 30 is also not particularly limited.

[0030] The display device 70 is a human machine interface (HMI) used to perform various displays, such as displaying the presence of update data during software update processing of the electronic control units 50a to 50d, displaying a consent request screen for requesting consent to the software update from the vehicle user or administrator, and displaying the results of the software update. The display device 70 can typically be a display device of a car navigation system, but is not particularly limited as long as it can display information required during software update processing. In addition to the display device 70, an electronic control unit or the like may be further connected to the bus 60d shown in FIG. 1.

[0031] The communication module 80 is a unit having a function of controlling communication between the center 10 and the vehicle, and is a communication device for connecting the in-vehicle network 90 to the center 10. The communication module 80 is wirelessly connected to the center 10 via the network 100, and performs vehicle authentication by the OTA master 30, downloading update data, etc. Note that the communication module 80 may be configured as part of the OTA master 30.

[0032] [Software Updates Process Overview] For example, the OTA master 30 transmits a software update check request to the center 10 when the power supply of the vehicle is turned on. The update check request includes a vehicle ID for identifying the vehicle and vehicle configuration information, which is information on the state (system configuration) of the electronic control units 50a to 50d connected to the in-vehicle network 90, such as the current versions of the hardware and software of the electronic control units 50a to 50d. The vehicle configuration information can be created by acquiring the identification numbers (ECU_ID) of the electronic control units and the identification numbers (ECU_Software_ID) of the software versions of the electronic control units from the electronic control units 50a to 50d connected to the in-vehicle network 90. ​​The vehicle ID and the current versions of the software of the electronic control units 50a to 50d are used to determine whether or not there is update data for the software of the electronic control units 50a to 50d by comparing them with the latest version of the software held by the center 10 for each vehicle ID. The center 10 transmits a notification indicating the presence or absence of update data to the OTA master 30 as a response to the update check request received from the OTA master 30. When there is update data for the software of the electronic control units 50a to 50d, the OTA master 30 transmits a download request for a distribution package to the center 10. In response to the download request received from the OTA master 30, the center 10 transmits a distribution package of the update data to the OTA master 30. In addition to the above-mentioned update data, external device information, and OTA master information, the distribution package may also include verification data for verifying the authenticity of the update data, the number and type information of update data, various control information used when updating the software, and the like.

[0033] The OTA master 30 determines whether or not there is update data for the software of the electronic control units 50a to 50d, based on the response to the update confirmation request received from the center 10. The OTA master 30 also verifies the authenticity of the distribution package received from the center 10 and stored in the storage device 13. The OTA master 30 also transfers one or more pieces of update data downloaded in the distribution package to the target electronic control unit, and causes the target electronic control unit to install the update data. After the installation is completed, the OTA master 30 instructs the target electronic control unit to activate the installed updated version of the software.

[0034] In addition, in the consent request process, the OTA master 30 causes the output device to output a notification that consent is required for the software update or a notification that prompts input that the software update has been consented to. As the output device, a display device 70 provided in the in-vehicle network 90, an audio output device that notifies by voice, or the like can be used. For example, in the consent request process, when the display device 70 is used as the output device, the OTA master 30 can cause the display device 70 to display a consent request screen for requesting consent to the software update from the user or administrator, or cause the display device 70 to display a notification that prompts a specific input operation such as pressing an consent button when the user or administrator consents. In addition, in the consent request process, the OTA master 30 can cause the display device 70 to display a statement or an icon notifying that there is update data for the software of the electronic control units 50a to 50d, or cause the display device 70 to display restrictions during the execution of the software update process. When the OTA master 30 receives input indicating consent from the user or administrator, it executes the above-mentioned installation and activation control process and updates the software of the target electronic control unit.

[0035] Here, if the non-volatile memory of the electronic control unit is a single bank memory having one storage area for storing the control program, update data, etc., installation and activation are performed consecutively, so consent request processing for the software update is performed before installation. If the non-volatile memory of the electronic control unit is a dual bank memory having two storage areas for storing the control program, update data, etc., consent request processing for the software update is performed at least after installation and before activation. Note that, if the non-volatile memory of the electronic control unit is a dual bank memory, consent request processing for the software update before installation may be performed or may be omitted.

[0036] The software update process consists of a phase (download phase) in which the OTA master 30 downloads (receives) update data from the center 10, a phase (installation phase) in which the OTA master 30 transfers the downloaded update data to the target electronic control unit and installs (writes) update software based on the update data in the storage area of ​​the target electronic control unit, and a phase (activation phase) in which the target electronic control unit activates (enables) the installed update software.

[0037] Downloading is a process in which the OTA master 30 receives update data for updating the software of the electronic control units 50a to 50d, which has been transmitted from the center 10 in a distribution package, and stores the data in the storage device 34. The download phase not only executes the download, but also includes control of a series of processes related to the download, such as judging whether the download can be executed, requesting the vehicle user or administrator to consent to the download, and verifying the update data.

[0038] The update data transmitted from the center 10 to the OTA master 30 may include any of update software (all data or difference data) for the electronic control units 50a to 50d, compressed data obtained by compressing the update software, and divided data obtained by dividing the update software or the compressed data. The update data may also include the ECU_ID (or serial number) of the target electronic control unit and the ECU_Software_ID of the electronic control unit before the update. The update data is downloaded as the above-mentioned distribution package, and the distribution package includes update data for a single or multiple electronic control units.

[0039] The installation is a process in which the OTA master 30 writes update software (an updated program) to the target electronic control unit based on the update data downloaded from the center 10. The installation phase includes not only the execution of the installation, but also control of a series of processes related to the installation, such as a determination as to whether the installation can be performed, a request for consent to the installation from the vehicle user or administrator, the transfer of the update data, and the verification of the update software.

[0040] If the update data includes the update software itself (all data), the OTA master 30 transfers the update data (update software) to the target electronic control unit in the installation phase. If the update data includes compressed data, difference data, or divided data of the update software, the OTA master 30 may transfer the update data to the target electronic control unit and the target electronic control unit may generate the update software from the update data, or the OTA master 30 may generate the update software from the update data and then transfer the update software to the target electronic control unit. Here, the update software can be generated by decompressing the compressed data or assembling (integrating) the difference data or divided data.

[0041] The target electronic control unit can install the update software based on an installation request (or instruction) from the OTA master 30 (or the center 10). Note that the target electronic control unit that receives the update data may autonomously install the software without receiving an explicit instruction from the OTA master 30.

[0042] Activation is a process in which the target electronic control unit activates the installed update software. The activation phase includes not only the execution of activation, but also a series of controls related to activation, such as judging whether activation can be executed, requesting consent to activation from the vehicle user or administrator, and verifying the execution result.

[0043] The activation of the update software can be performed by the target electronic control unit based on an activation request (or instruction) from the OTA master 30 (or the center 10). Note that the target electronic control unit that has received the update data may autonomously activate the software after the installation is completed, without receiving an explicit instruction from the OTA master 30.

[0044] The software update process can be performed consecutively or in parallel for each of the multiple target electronic control units.

[0045] Furthermore, in this specification, the "software update process" includes not only a process in which download, installation, and activation are all performed consecutively, but also a process in which only some of the download, installation, and activation are performed.

[0046] [process] Next, with further reference to FIGS. 7, 8, and 9, the processing executed in the network system according to this embodiment will be described.

[0047] Fig. 7 is a flowchart illustrating a processing procedure according to a specific example of distribution package generation processing performed by the control unit 18 of the center 10. The distribution package generation processing illustrated in Fig. 7 is started, for example, when a campaign occurs, which is an event for updating software for a vehicle.

[0048] (Step S701) The control unit 18 of the center 10 generates information for external device (first information). The information for external device is information that the external device 110 refers to when updating the software of the target electronic control unit via the in-vehicle network 90, and is information that defines the conditions that the external device 110 should determine when updating the software of the target electronic control unit, the unit of data transfer for update data to the target electronic control unit, and the response when an error occurs. When the information for external device is generated, the process proceeds to step S702.

[0049] (Step S702) The control unit 18 of the center 10 generates information for the OTA master (second information). The information for the OTA master is information that the OTA master 30 refers to when updating the software of the target electronic control unit, and is information that defines the conditions that the OTA master 30 should determine when updating the software of the target electronic control unit, the unit of data transfer for update data to the target electronic control unit, and the response to an error. When the information for the OTA master is generated, the process proceeds to step S703.

[0050] (Step S703) The control unit 18 of the center 10 generates identification information. The identification information is information referenced by the external device 110 and the OTA master 30, and is information for identifying the positions of the information for the external device and the information for the OTA master when packaged together with the update data for distribution. Note that if the positions of the information referenced by the external device 110 and the OTA master 30 are known in advance, the generation of the identification information in step S703 can be omitted. Once the identification information is generated, the process proceeds to step S704.

[0051] (Step S704) The control unit 18 of the center 10 generates a distribution package including the update data, the information for the external device, and the information for the OTA master, and further including the identification information if generated. This completes the distribution package generation process.

[0052] Fig. 8 is a flowchart illustrating an example of a distribution control process executed by each component of the center 10. The distribution control process shown in Fig. 8 is started when the center 10 receives an update confirmation request transmitted by the OTA master 30.

[0053] (Step S801) The communication unit 17 of the center 10 judges whether or not a software update check request has been received from the OTA master 30. If an update check request has been received (step S801, YES), the process proceeds to step S802, and if an update check request has not been received (step S801, NO), the process proceeds to step S804.

[0054] (Step S802) The control unit 18 of the center 10 checks whether there is software that needs to be updated. This check is performed based on the current version of the software of each of the electronic control units 50a to 50d mounted on the vehicle obtained from the vehicle configuration information included in the update confirmation request, and the latest version of each piece of software stored in the storage unit 16 of the center 10. After checking whether there is software that needs to be updated, the process proceeds to step S803.

[0055] (Step S803) The control unit 18 of the center 10 determines whether or not there is software update data for the electronic control units 50a to 50d mounted on the vehicle included in the update confirmation request based on the update management information stored in the storage unit 16 of the center 10, and transmits information indicating the presence or absence of update data based on the determination result to the OTA master 30. When the presence or absence of update data is transmitted, the process proceeds to step S804.

[0056] (Step S804) The communication unit 17 of the center 10 judges whether or not a download request for the distribution package has been received from the OTA master 30. If a download request has been received (step S804, YES), the process proceeds to step S805, and if no download request has been received (step S804, NO), the process proceeds to step S801.

[0057] (Step S805) The communication unit 17 of the center 10 transmits the distribution package to the OTA master 30. When the distribution package is transmitted, the process proceeds to step S801.

[0058] Fig. 9 is a flowchart illustrating an example of a software update control process executed by each component of the OTA master 30. The software update control process shown in Fig. 9 is executed, for example, when the power supply of the vehicle is turned on.

[0059] (Step S901) The communication unit 38 of the OTA master 30 transmits a confirmation request to the center 10 as to whether or not there is update data for the software of the electronic control units 50a to 50d. This confirmation request includes the vehicle ID and the current version of the software of the electronic control units 50a to 50d. When the confirmation request is transmitted to the center 10, the process proceeds to step S902.

[0060] (Step S902) The communication unit 38 of the OTA master 30 receives the confirmation result in response to the confirmation request for the update data from the center 10. When the confirmation result is received, the process proceeds to step S903.

[0061] (Step S903) The control unit 39 of the OTA master 30 determines whether or not there is software update data for at least one of the electronic control units 50a to 50d, based on the confirmation result of the update data confirmation request received by the communication unit 38 of the OTA master 30. If there is at least one software update data (step S903, Yes), the process proceeds to step S904, and if there is no software update data at all (step S903, No), this software update control process ends.

[0062] (Step S904) The control unit 39 of the OTA master 30 downloads the update data. More specifically, the communication unit 38 of the OTA master 30 transmits a download request for a distribution package including the update data to the center 10, and the communication unit 38 receives the distribution package transmitted from the center 10 in response to the download request. The communication unit 38 stores the received distribution package in the storage unit 37 of the OTA master 30. Once the update data has been downloaded, the process proceeds to step S905.

[0063] (Step S905) The control unit 39 of the OTA master 30 executes installation of software based on the update data in the target electronic control unit. More specifically, the control unit 39 transfers the update data included in the distribution package to the target electronic control unit based on the OTA master information (which can be identified by the identification information) included in the distribution package, and instructs the target electronic control unit to install the update software. The target electronic control unit writes the update data received from the OTA master 30 to a data storage area. Once the installation of the update software has been executed, the process proceeds to step S906.

[0064] (Step S906) The control unit 39 of the OTA master 30 activates the update software installed in the target electronic control unit. More specifically, the control unit 39 instructs the target electronic control unit, which has written the update software to its data storage area, to activate the update software based on the OTA master information included in the distribution package. The target electronic control unit restarts when a specific input operation such as turning the power off is performed, and executes the update software. When the update software activation process is executed, this software update control process ends.

[0065] <Effects> As described above, according to the network system according to an embodiment of the present disclosure, a distribution package that can be referenced by both an external device connected to a vehicle by wire and an OTA master connected to a center by wireless is generated. This eliminates the need to create two types of distribution packages, one containing data and information necessary for performing software updates by wire and the other containing data and information necessary for performing software updates by OTA, and allows efficient distribution package generation.

[0066] In addition, since the distribution package containing the update data includes information (identification information) that identifies the information referenced by the OTA master (information for the OTA master), it is possible to update the software of the electronic control unit via OTA using a distribution package common to the OTA master and external devices.

[0067] The above describes one embodiment of the disclosed technology, but the present disclosure can be understood as a distribution control method, a distribution control program, or a computer-readable non-transitory storage medium storing a distribution control program, executed not only by a center but also by a center equipped with a processor, memory, and storage device. [Industrial Applicability]

[0068] The disclosed technique can be used in a network system for updating software in an electronic control unit. [Explanation of symbols]

[0069] 10 Center 11, 31 CPU 12,32 RAM 13, 34 Storage device 14, 36 Communication equipment 16, 37 Memory section 17, 38 Communications Department 18, 39 Control section 30 OTA Master 33 ROM 35 Microcomputer 50a~50d Electronic Control Unit (ECU) 60a~60d Bus 70 Display device 80 Communication Module 90 In-vehicle network 100 Network 110 External equipment

Claims

1. A center capable of communicating with an OTA master that controls software updates of an electronic control unit mounted on a vehicle, a control unit that generates a distribution package including software update data for a target electronic control unit, which is the electronic control unit to be updated, first information that an external device connected to the vehicle by wire references when updating the software of the target electronic control unit via an in-vehicle network, and second information that the OTA master connected wirelessly to the center references when updating the software of the target electronic control unit via the in-vehicle network; A center comprising: a transmitting unit that transmits the distribution package to the OTA master based on a request from the OTA master.

2. The center according to claim 1 , wherein the distribution package further includes identification information for specifying whether the external device and the OTA master should refer to the first information or the second information.

3. An OTA master that controls software updates of an electronic control unit mounted on a vehicle, a communication unit that receives from a center a distribution package including update data for software of a target electronic control unit, which is the electronic control unit to be updated, first information that an external device connected to a vehicle by wire refers to when updating the software of the target electronic control unit via an in-vehicle network, and second information that the OTA master connected to a center by wireless refers to when updating the software of the target electronic control unit via the in-vehicle network; a control unit that controls a software update of the target electronic control unit based on the update data and the second information.

4. The distribution package further includes identification information indicating whether the external device and the OTA master should refer to the first information or the second information; The OTA master according to claim 3 , wherein the control unit identifies the second information based on the identification information.

5. A method executed by a center that includes a processor and a memory and is capable of communicating with an OTA master that controls software updates of an electronic control unit installed in a vehicle, the method comprising: generating a distribution package including update data for software of a target electronic control unit, which is the electronic control unit to be updated, first information referenced by an external device connected to the vehicle by wire when updating the software of the target electronic control unit via an in-vehicle network, and second information referenced by the OTA master wirelessly connected to the center when updating the software of the target electronic control unit via the in-vehicle network; transmitting the distribution package to the OTA master upon request from the OTA master.

6. A method executed by an OTA master that includes a processor and a memory and controls software updates of an electronic control unit installed in a vehicle, the method comprising: receiving, from the center, a distribution package including update data for software of a target electronic control unit, which is the electronic control unit to be updated, first information referenced by an external device connected to a vehicle by wire when updating the software of the target electronic control unit via an in-vehicle network, and second information referenced by the OTA master wirelessly connected to the center when updating the software of the target electronic control unit via the in-vehicle network; and controlling a software update of the target electronic control unit based on the update data and the second information.

7. A program executed by a computer at a center that includes a processor and a memory and is capable of communicating with an OTA master that controls software updates of an electronic control unit mounted on a vehicle, generating a distribution package including update data for software of a target electronic control unit, which is the electronic control unit to be updated, first information referenced by an external device connected to the vehicle by wire when updating the software of the target electronic control unit via an in-vehicle network, and second information referenced by the OTA master wirelessly connected to the center when updating the software of the target electronic control unit via the in-vehicle network; and transmitting the distribution package to the OTA master based on a request from the OTA master.

8. A program executed by a computer of an OTA master that includes a processor and a memory and controls software updates of an electronic control unit mounted on a vehicle, receiving, from a center, a distribution package including update data for software of a target electronic control unit, which is the electronic control unit to be updated, first information referenced by an external device connected to a vehicle by wire when updating the software of the target electronic control unit via an in-vehicle network, and second information referenced by the OTA master wirelessly connected to the center when updating the software of the target electronic control unit via the in-vehicle network; and controlling a software update of the target electronic control unit based on the update data and the second information.

9. A vehicle equipped with the OTA master according to claim 3 or 4.

Citation Information

Patent Citations

  • Method for rewriting software of on-vehicle equipment, system of telematics system, and telematics device

    JP2004326689A

  • Program update system and program update method

    JP2015103163A

  • Utility node software / firmware updates through multi-type packages

    JP2016507806A

  • Virtual machine monitor, and update method of software and firmware

    JP2020107355A

  • Control apparatus and terminal apparatus

    JP2022149662A