Center, OTA master, method, program, and vehicle

The center dynamically adjusts security levels for software updates based on vehicle location, addressing inefficiencies in existing systems by providing secure and compliant software distribution for vehicle electronic control units.

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

Patent Information

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

AI Technical Summary

Technical Problem

Existing software update systems for vehicle electronic control units lack the ability to dynamically adjust security levels based on regional laws and regulations, leading to potential inefficiencies or delays in software distribution.

Method used

A center that communicates with an OTA master to generate and transmit software update packages encrypted at security levels appropriate for the vehicle's current location, using stored information associating regions with required security levels.

Benefits of technology

Enables secure and efficient software updates tailored to regional security requirements, reducing distribution delays and ensuring compliance with local regulations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533379000001
    Figure 0007533379000001
  • Figure 0007533379000007
    Figure 0007533379000007
  • Figure 0007533379000006
    Figure 0007533379000006
Patent Text Reader

Abstract

To provide a center, or the like, capable of properly transmitting a distribution package while dynamically setting a security level.SOLUTION: A center configured to communicate with an OTA master configured to control software update for electronic control units includes: a storage unit which stores security information in which security levels required for the software update are associated with areas where a vehicle is used; a receiving unit which receives, from the vehicle, location information indicating locations of the vehicle and version information indicating versions of the electronic control units; a determination unit which determines whether there is a target electronic control unit which is to be subjected to the software update, based on the version information; a control unit which generates a distribution package encrypted at a security level of an area where the vehicle is located, based on the security information and the location information when the target electronic control unit exists; and a transmission unit which transmits the distribution package 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] 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]

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

[0005] The security level required for software updates of electronic control units using OTA differs depending on the laws and regulations of the region (country, state, etc.) in which the vehicle is used. Therefore, if the security level (encryption level) of the distribution package containing the data and information required for software updates is set uniformly, it is possible that depending on the region in which the vehicle is located at the time of the software update, the package cannot be distributed as is, or the security level may be too high and it may take a long time to decrypt the data and information. For this reason, there is room for improvement in the setting of the security level of the distribution package.

[0006] The present disclosure has been made in consideration of the above-mentioned problems, and aims to provide a center, OTA master, etc. that can dynamically set a security level and suitably transmit and receive distribution packages. [Means for solving the problem]

[0007] 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 an electronic control unit installed in a vehicle, the center comprising: a memory unit that stores security information that associates an area in which the vehicle is used with a security level required for the software update; a receiving unit that receives from the vehicle location information that indicates the location of the vehicle and version information that indicates each version of a plurality of electronic control units; a determination unit that determines whether or not there is a target electronic control unit that is an electronic control unit that is the target of the software update based on the version information; a control unit that generates a distribution package encrypted at the security level of the area in which the vehicle is located based on the security information and location information when the determination unit determines that there is a target electronic control unit; and a transmitting unit that transmits the distribution package to the OTA master based on a request from the OTA master. Effect of the Invention

[0008] According to the present disclosure, the center sets a security level for the distribution package based on the vehicle's location at the time of the software update, so that a distribution package with a security level appropriate for the vehicle's location at the time of the software update can be distributed to the OTA master. [Brief description of the drawings]

[0009] [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 security information stored 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 control process executed by the center [Figure 8] Flowchart of software update control process executed by OTA master DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] In the present disclosure, the center prestores information associating the region where the vehicle is used with the security level required for software updates, and when an update data download request is received from the OTA master, the center generates a distribution package encrypted at the security level of the region where the vehicle equipped with the OTA master is located, and transmits the package to the OTA master. This process enables software updates to be performed at the security level required in the distribution region. Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings.

[0011] <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 40a to 40d mounted on a vehicle, and includes a center 10 located outside the vehicle and an in-vehicle network 20 built inside the vehicle.

[0012] (1) Center The center 10 is capable of communicating with an OTA master 30 (described later) provided in the in-vehicle network 20 via the network 70. The center 10 can control and manage software updates of the multiple electronic control units 40a-40d connected to the OTA master 30 by transmitting update data for the software of the electronic control units 40a-40d 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.

[0013] 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 software update control and update management, and software 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 executing a predetermined process related to software update. The communication device 14 is a device for communicating with the OTA master 30 via a network 70.

[0014] Fig. 3 is a functional block diagram of the center 10 shown in Fig. 2. The center 10 shown in Fig. 3 includes a determination unit 15, 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 determination unit 15, 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.

[0015] The storage unit 16 stores information related to software update processing of one or more electronic control units mounted on the vehicle. As information related to software update processing, the storage unit 16 stores at least update management information in which information indicating software available in the electronic control units 40a to 40d is associated with each vehicle identification information (vehicle ID) that identifies the vehicle, and update data (or a distribution package including the update data) for the software of the electronic control units 40a to 40d. As information indicating software available in the electronic control units 40a to 40d, for example, a combination of the latest version information of each software of the multiple electronic control units 40a to 40d is defined. In addition, as information related to software update processing, the storage unit 16 stores security information in which a security level required for software update is associated with each region where the vehicle is used. FIG. 4 shows an example of security information stored in the storage unit 16. In the security information exemplified in FIG. 4, the region where the vehicle is used is associated with the security level required for software update. Regions can be divided into units such as countries, states, cities, towns, and legally regulated areas. In addition, as information related to the software update process, the storage unit 16 can store an update status indicating the update state of the software being implemented in the vehicle. Furthermore, the storage unit 16 can store information related to the type of non-volatile memory mounted in each of the multiple electronic control units 40a to 40d.

[0016] 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 40a to 40d 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). In addition, when the communication unit 17 receives a download request for a distribution package, it encrypts the distribution package including update data for the software of the electronic control units 40a to 40d according to a security level corresponding to the vehicle's location (described later) and then transmits the package to the OTA master 30.

[0017] When the communication unit 17 receives an update check request from the OTA master 30, the determination unit 15 determines whether or not there is software update data for the electronic control units 40a to 40d mounted on the vehicle identified by the vehicle ID included in the update check request, based on the update management information (such as the version of the electronic control unit) stored in the storage unit 16. The determination result by the determination unit 15 as to whether or not there is update data is transmitted to the OTA master 30 by the communication unit 17.

[0018] When the determining unit 15 determines that there is update data for the software of the electronic control units 40a to 40d, the control unit 18 generates a distribution package including the update data to be transmitted to the OTA master 30 upon receiving a download request for the distribution package from the OTA master 30. At this time, the control unit 18 generates a distribution package encrypted at a predetermined security level based on the security information stored in the storage unit 16 and the location information indicating the vehicle location included in the update confirmation request or download request. The distribution package may include information specifying the encryption method. This encryption according to the security level will be described later.

[0019] (2) In-vehicle network The in-vehicle network 20 includes an OTA master 30, a plurality of electronic control units 40a to 40d, and a communication module 50. The OTA master 30 and the communication module 50 are connected via a bus 60a. The OTA master 30 and the electronic control units 40a and 40b are connected via a bus 60b. The OTA master 30 and the electronic control units 40c and 40d are connected via a bus 60c.

[0020] The OTA master 30 can wirelessly communicate with the center 10 via the bus 60a and the communication module 50 and the network 70. The OTA master 30 is a device having a function of managing an OTA state, controlling an update sequence, which is a flow of a software update process, and performing a software update of an electronic control unit to be updated (hereinafter referred to as a "target electronic control unit"). The OTA master 30 controls software updates of the target electronic control units among the electronic control units 40a to 40d based on update data acquired from the center 10, etc. The OTA master 30 is sometimes referred to as a central gateway (CGW).

[0021] 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 50 and the electronic control units 40a to 40d, respectively, via the buses 60a to 60c shown in FIG. 1.

[0022] 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.

[0023] The storage unit 37 stores a program for executing software updates of the electronic control units 40a to 40d (a control program for the OTA master 30), various data used when executing software updates, and software update data downloaded from the center 10. The storage unit 37 can also store information on the type of non-volatile memory mounted in each of the electronic control units 40a to 40d. Furthermore, the storage unit 37 may store in advance the encryption method applied to the distribution package transmitted from the center 10.

[0024] 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, version information on the current version of the software of the electronic control units 40a to 40d connected to the in-vehicle network 20, and location information indicating the location of the vehicle. The vehicle ID and the current version of the software of the electronic control units 40a to 40d are used to determine whether or not there is update data for the software of the electronic control units 40a to 40d by comparing them with the latest version of the software held by the center 10 for each vehicle ID. The location information is used by the center 10 to determine the security level of the distribution package. The communication unit 38 also 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 software update data for the electronic control units 40a-40d, the communication unit 38 transmits a download request for a distribution package of the software update data to the center 10 (transmission unit), and receives (downloads) the distribution package transmitted from the center 10 under the control of the control unit 39 (reception unit). This download request may include location information. The communication unit 38 also transmits the update status of the software transmitted by the electronic control units 40a-40d to the center 10 (transmission unit).

[0025] The control unit 39 judges whether or not there is update data for the software of the electronic control units 40a to 40d based on a response from the center 10 to the update confirmation request received by the communication unit 38. The control unit 39 also performs decryption and verification of authenticity of the distribution package that the communication unit 38 receives (downloads) from the center 10 and stores in the storage unit 37 based on its own control. The control unit 39 also controls software update processing (various verifications, installation, activation, etc.) of the electronic control units 40a to 40d 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. During this software update process, the control unit 39 appropriately controls procedures such as various verifications, installations, and activations in the multiple electronic control units 40a to 40d.

[0026] The electronic control units 40a to 40d are devices (ECUs: Electronic Control Units) for controlling the operation of each part of the vehicle. In FIG. 1, an example is shown in which the in-vehicle network 20 includes four electronic control units 40a to 40d, but the number of electronic control units is not particularly limited. For example, a display device (HMI) for performing various displays, such as a display that there is update data during software update processing of the electronic control units 40a to 40d, a display of a consent request screen for requesting consent to the software update from the vehicle user or administrator, and a display of the result of the software update, may be connected to the OTA master 30. A car navigation system or the like can be used as the display device. In addition, the number of buses connecting the electronic control units to the OTA master 30 is not particularly limited. For example, the above-mentioned display device may be connected to the OTA master 30 by a bus other than the buses 60a to 60c.

[0027] The communication module 50 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 20 to the center 10. The communication module 50 is wirelessly connected to the center 10 via the network 70, and performs vehicle authentication by the OTA master 30, downloading update data, etc. Note that the communication module 50 may be configured as part of the OTA master 30.

[0028] [Software Updates Process Overview] The OTA master 30 transmits a software update check request to the center 10, for example, when the power supply of the vehicle is turned on. The update check request includes a vehicle ID for identifying the vehicle, vehicle configuration information that is information about the state (system configuration) of the electronic control units 40a to 40d connected to the in-vehicle network 20, such as the hardware and current versions of the software of the electronic control units 40a to 40d, and location information that indicates the location of the vehicle. The vehicle configuration information can be created by acquiring the identification number (ECU_ID) of the electronic control unit and the identification number (ECU_Software_ID) of the software version of the electronic control unit from the electronic control units 40a to 40d connected to the in-vehicle network 20. The vehicle ID and the current version of the software of the electronic control units 40a to 40d are used to determine whether or not there is update data for the software of the electronic control units 40a to 40d by comparing them with the latest version of the software held by the center 10 for each vehicle ID. The location information can be, for example, latitude / longitude information acquired by a GPS system mounted on the vehicle. The center 10 transmits a notification indicating the presence or absence of update data to the OTA master 30 in response to the update confirmation request received from the OTA master 30. If there is update data for the software of the electronic control units 40a to 40d, 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 to the OTA master 30 a distribution package including update data to which a security level (described later) according to the vehicle's location has been assigned based on security information stored in the center 10. In addition to the update data, the distribution package may include information specifying the encryption method applied to the distribution package, verification data for verifying the authenticity of the update data, the number and type of update data, various control information used during software update, and the like.

[0029] The OTA master 30 determines whether or not there is update data for the software of the electronic control units 40a to 40d, based on the response to the update confirmation request received from the center 10. The OTA master 30 also performs decryption and verification of 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 software to make it valid.

[0030] 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 (not shown) that provides a notification by display and an audio output device (not shown) that provides a notification by audio, which are provided in the in-vehicle network 20, can be used. For example, when a display device is used as the output device in the consent request process, the OTA master 30 can cause the display device to display a consent request screen for requesting consent to the software update from the user or administrator, or cause the display device to display a notification that prompts a specific input operation such as pressing an consent button if the user or administrator consents. In addition, in the consent request process, the OTA master 30 can cause the display device to display a statement or an icon notifying that there is update data for the software of the electronic control units 40a to 40d, or cause the display device 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.

[0031] Here, if the non-volatile memory of the target electronic control unit is a single bank memory having one storage area for storing data such as software, in principle, installation and activation are performed consecutively, so consent request processing for software update is performed before installation is performed. Note that even in the case of a target electronic control unit having a single bank memory, it may be requested to temporarily stop the update processing when installation is complete, that is, to wait (hold) activation. Also, if the non-volatile memory of the target electronic control unit is a dual bank memory having two storage areas for storing data such as software, consent request processing for software update is performed at least after installation is performed and before activation is performed. Note that if the non-volatile memory of the target electronic control unit is a dual bank memory, consent request processing for software update before installation may be performed or may be omitted.

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

[0033] Downloading is a process in which the OTA master 30 receives update data for updating the software of the electronic control unit transmitted from the center 10 and stores it in the storage unit 37. In downloading, update data is downloaded using a distribution package encrypted according to a predetermined security level, which will be described later. 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, decrypting the distribution package, and verifying the update data.

[0034] The update data transmitted from the center 10 to the OTA master 30 may include update software for the electronic control unit (all data or difference data), compressed data obtained by compressing the update software, or 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 target electronic control unit before the update. The distribution package to be downloaded may include update data for only a single electronic control unit or update data for multiple electronic control units.

[0035] The installation is a process in which the OTA master 30 writes update software (updated programs) in a specified order to the non-volatile memories of multiple target electronic control units based on the update data downloaded from the center 10. The installation phase not only executes the installation, but also includes control of a series of processes related to the installation, such as judging whether the installation can be executed, transferring the update data, and verifying the update software.

[0036] 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.

[0037] The target electronic control unit can install the update software based on an installation request from the OTA master 30. Note that for a specific target electronic control unit that has received the update data, the installation may be performed autonomously without receiving an explicit instruction from the OTA master 30.

[0038] Activation is a process in which the target electronic control unit activates the update software installed in the non-volatile memory. 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 the vehicle user or administrator to consent to activation, and verifying the execution result.

[0039] The activation of the update software can be performed by the target electronic control unit based on an activation request from the OTA master 30. Note that, for a specific target electronic control unit that has received the update data, the activation may be performed autonomously after the installation is completed, without receiving an explicit instruction from the OTA master 30.

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

[0041] 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.

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

[0043] Fig. 7 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. 7 is started when the center 10 receives an update confirmation request transmitted by the OTA master 30.

[0044] (Step S701) 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 S701, YES), the process proceeds to step S702, and if an update check request has not been received (step S701, NO), the process proceeds to step S704.

[0045] (Step S702) 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 40a to 40d 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 S703.

[0046] (Step S703) The control unit 18 of the center 10 determines whether or not there is software update data for the electronic control units 40a to 40d 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 S704.

[0047] (Step S704) 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 S704, YES), the process proceeds to step S705, and if no download request has been received (step S704, NO), the process proceeds to step S701.

[0048] (Step S705) The control unit 18 of the center 10 acquires a security level corresponding to the vehicle's position obtained from the position information included in the request (update confirmation request or download request) received from the OTA master 30, based on the security information stored in the storage unit 16 of the center 10. For example, as in the example of Fig. 4, when the vehicle is located in area A, "Level 1" is acquired as the security level of the distribution package for this vehicle. Once the security level corresponding to the vehicle's position has been acquired, the process proceeds to step S706.

[0049] (Step S706) The control unit 18 of the center 10 generates a distribution package encrypted with a strength corresponding to the acquired security level as a distribution package including update data to be transmitted to the OTA master 30. As an example of encryption, when the security level is equal to or higher than a predetermined threshold (high), the distribution package is encrypted based on information (key) specific to the vehicle, and when the security level is lower than the predetermined threshold (low), the distribution package is encrypted based on information (key) common to a plurality of vehicles. When the security level is equal to or higher than a predetermined threshold, the information specific to the vehicle may be generated using vehicle identification information such as VIN, or may be encrypted differently for each VIN (for each vehicle). In addition, this distribution package may include information specifying the encryption method. When the distribution package encrypted based on the security level according to the vehicle's position is generated, the process proceeds to step S707.

[0050] (Step S707) The communication unit 17 of the center 10 transmits the distribution package, which has been encrypted based on the security level according to the vehicle's location, to the OTA master 30. When the distribution package is transmitted, the process proceeds to step S701.

[0051] In the above embodiment, an example has been described in which the center 10 generates a distribution package encrypted based on a security level corresponding to the vehicle's location at the timing of receiving a request from the OTA master 30. However, the center 10 may generate in advance a plurality of distribution packages encrypted based on security levels corresponding to all regions for all vehicles at the timing of registering update data in the center 10.

[0052] Fig. 8 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. 8 is executed, for example, when the power supply of the vehicle is turned on.

[0053] (Step S801) 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 40a to 40d. This confirmation request includes the vehicle ID and the current version of the software of the electronic control units 40a to 40d. When the confirmation request is transmitted to the center 10, the process proceeds to step S802.

[0054] (Step S802) 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 S803.

[0055] (Step S803) 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 40a to 40d, 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 S803, Yes), the process proceeds to step S804, and if there is no software update data at all (step S803, No), this software update control process ends.

[0056] (Step S804) 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 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 S805.

[0057] (Step S805) 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 S806.

[0058] (Step S806) 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.

[0059] <Effects> As described above, according to the network system according to an embodiment of the present disclosure, the center prestores information (security information) that associates the region in which the vehicle is used with the security level required for the software update. Then, when the center receives a download request for update data from the OTA master, the center generates a distribution package encrypted at the security level of the region in which the vehicle equipped with the OTA master is located, and transmits the package to the OTA master. This process allows the software update to be performed appropriately at the security level required for the region in which the update data is distributed, even for the same software update.

[0060] This distribution package can include information that identifies the encryption method used in the distribution package. If this information is included, the OTA master that receives the distribution package can easily decrypt the distribution package.

[0061] Furthermore, when the security level requirement is high, that is, the security level of the area where the vehicle is located is equal to or higher than a predetermined threshold, encryption based on information unique to the vehicle can be used to suppress tampering, etc. Furthermore, when the security level requirement is low, that is, the security level of the area where the vehicle is located is lower than a predetermined threshold, encryption based on information common to multiple vehicles can be used to simplify decryption of the distribution package, thereby shortening the time required for software update.

[0062] The above describes one embodiment of the disclosed technology, but the present disclosure can be understood as not only a center, but also an OTA master capable of communicating with a center, a center having a processor and memory, a method executed by the OTA master, a program, or a computer-readable non-transitory storage medium storing a program, or a vehicle equipped with an OTA master, etc. [Industrial Applicability]

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

[0064] 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 20 In-vehicle network 30 OTA Master 33 ROM 35 Microcomputer 40a~40d Electronic control unit (ECU) 50 Communication Module 60a~60c Bus 70 Network

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 storage unit that stores security information that associates an area in which the vehicle is used with a security level required for the software update; a receiving unit that receives, from the vehicle, location information indicating a location of the vehicle and version information indicating each version of the plurality of electronic control units; a determination unit that determines whether or not there is a target electronic control unit that is the electronic control unit that is the target of the software update based on the version information; a control unit that generates a distribution package encrypted at the security level of the area in which the vehicle is located, based on the security information and the location information, when the determination unit determines that the target electronic control unit is present; 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 control unit generates the distribution package including information specifying the encryption method.

3. 3. The center according to claim 1, wherein the control unit performs the encryption based on information unique to the vehicle when the security level of the area in which the vehicle is located is equal to or higher than a predetermined threshold.

4. 4. The center according to claim 1, wherein the control unit performs the encryption based on information common to a plurality of the vehicles when the security level of the area in which the vehicle is located is lower than a predetermined threshold.

5. An OTA master that controls software updates of an electronic control unit mounted on a vehicle, a transmitting unit that transmits location information indicating a location of the vehicle to a center; a receiving unit that receives from the center a distribution package encrypted at a security level of the area in which the vehicle is located based on the location information; a control unit that controls the software update of the electronic control unit to be updated based on the distribution package received by the receiving unit.

6. The OTA master according to claim 5 , wherein the control unit decrypts the distribution package based on information that specifies the encryption method included in the distribution package.

7. The OTA master according to claim 5 or 6, wherein the control unit decrypts the distribution package based on information specific to the vehicle.

8. The OTA master according to claim 5 , wherein the control unit decrypts the distribution package based on information common to a plurality of the vehicles.

9. 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: storing security information that associates a region in which the vehicle is used with a security level required for the software update; receiving, from the vehicle, location information indicating a location of the vehicle and version information indicating versions of the plurality of electronic control units; determining whether or not there is a target electronic control unit that is the electronic control unit that is the target of the software update based on the version information; generating a distribution package encrypted at the security level of the region in which the vehicle is located based on the security information and the location information if the target electronic control unit is determined to be present; transmitting the distribution package to the OTA master upon request from the OTA master.

10. 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: transmitting position information of the vehicle to a center; receiving from the center a distribution package encrypted at a security level of a region in which the vehicle is located based on the location information; and controlling the software update of the electronic control unit to be updated based on the received distribution package.

11. 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, storing security information that associates a region in which the vehicle is used with a security level required for the software update; receiving, from the vehicle, location information indicating a location of the vehicle and version information indicating versions of the plurality of electronic control units; determining whether or not there is a target electronic control unit that is the electronic control unit that is the target of the software update based on the version information; generating a distribution package encrypted at the security level of the region in which the vehicle is located based on the security information and the location information if the target electronic control unit is determined to be present; and transmitting the distribution package to the OTA master based on a request from the OTA master.

12. 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, transmitting position information of the vehicle to a center; receiving from the center a distribution package encrypted at a security level of a region in which the vehicle is located based on the location information; and controlling the software update of the electronic control unit to be updated based on the received distribution package.

13. A vehicle equipped with the OTA master according to any one of claims 5 to 8.

Citation Information

Patent Citations

  • Ciphering device and data protection device

    JP1999122237A

  • Storage medium for data structure stored with information image file, system for handling the information image file, method and program for operating the system, recording medium with the program recorded thereon and information terminal, program for operating the terminal, recording medium with the program recorded thereon

    JP2002229452A

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

    JP2004326689A

  • Processing program for print job, printer and printing system

    JP2005099885A

  • Software updating device and software updating method

    JP2016170740A