WO2019146170A1 - 中継装置、制御方法、およびコンピュータプログラム - Google Patents

中継装置、制御方法、およびコンピュータプログラム Download PDF

Info

Publication number
WO2019146170A1
WO2019146170A1 PCT/JP2018/037600 JP2018037600W WO2019146170A1 WO 2019146170 A1 WO2019146170 A1 WO 2019146170A1 JP 2018037600 W JP2018037600 W JP 2018037600W WO 2019146170 A1 WO2019146170 A1 WO 2019146170A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
update
target
control
vehicle control
Prior art date
Application number
PCT/JP2018/037600
Other languages
English (en)
French (fr)
Inventor
山下 哲生
Original Assignee
住友電気工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 住友電気工業株式会社 filed Critical 住友電気工業株式会社
Publication of WO2019146170A1 publication Critical patent/WO2019146170A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present invention relates to a relay device, a control method, and a computer program.
  • This application claims the priority based on Japanese Patent Application No. 2018-011772 filed on Jan. 26, 2018, and incorporates all the contents described in the Japanese application.
  • ECUs Electronic Control Units
  • the types of ECUs include, for example, those related to a travel system that controls the engine, brakes, EPS (Electric Power Steering), etc. in response to accelerator, brake, and steering wheel operations, and in-vehicle lighting and head in response to switch operations by occupants.
  • EPS Electric Power Steering
  • the ECU is configured by an arithmetic processing unit such as a microcomputer, and the control of the on-vehicle device is realized by reading and executing the control program stored in a ROM (Read Only Memory).
  • the control program of the ECU needs to rewrite the control program of the old version to the control program of the new version in response to the version upgrade. Further, it is also necessary to rewrite data necessary for executing the control program, such as map information and control parameters.
  • Patent Document 1 discloses a technology (on-line update function) of downloading an update program via a network and updating an ECU control program.
  • a relay device includes: an in-vehicle communication unit that communicates with a plurality of on-vehicle control devices; a receiving unit that receives an update program used for update processing of a control program in a target device described below; At least a part of the received update program is transferred to a storage destination device which is an on-vehicle control device of at least one of the following non-target devices, and temporary storage of the transferred data is made to the storage destination device And a control unit for instructing.
  • Target device In-vehicle control device that is an update target of the control program among the plurality of in-vehicle control devices
  • target device in-vehicle control device that is not an update target of the control program among the plurality of in-vehicle control devices
  • a control method is a method of controlling temporary storage of an update program used for update processing of a control program in a target device described below, which can be communicated to the non-target device described below
  • a relay device receiving the update program from the external device, and the relay device receiving at least a part of the update program received from at least one of the non-target devices from the non-target device. Transferring the data to the storage device, and transmitting the control signal instructing the storage device to temporarily store the transferred data.
  • Target device In-vehicle control device that is an update target of the control program among the plurality of in-vehicle control devices
  • target device in-vehicle control device that is not an update target of the control program among the plurality of in-vehicle control devices
  • a computer program is a computer program for causing a computer to function as a relay device that controls temporary storage of an update program used for update processing of a control program in the target device described below.
  • Target device The plurality of vehicle control devices On-board control device targeted for updating of the control program of In-vehicle control device that is not an update target of the control program among in-vehicle control devices
  • the present disclosure can not only be realized as a relay device provided with such a characteristic control unit, a control method having such characteristic processing as a step, and a computer program for causing a computer to execute such a step.
  • the present invention can be realized as a semiconductor integrated circuit that realizes part or all of the relay device.
  • the update program is downloaded from the server or a dedicated device to the ECU to be updated. While the control program is being executed, the ROM in which the control program is stored can not be rewritten. Therefore, the ECU to be updated does not write the downloaded update program directly to the ROM, but temporarily saves it to volatile memory (RAM: Random Access Memory), and stops the control program according to the update instruction. Update processing is performed using the update program. Therefore, in each ECU, although all of the update programs are temporarily stored in the volatile memory, the capacity of the volatile memory is limited, and the capacity may be insufficient.
  • the memory size of the in-vehicle control device can be optimized.
  • the relay device includes an in-vehicle communication unit that communicates with a plurality of in-vehicle control devices, and a receiving unit that receives an update program used for update processing of a control program in the following target device Transferring at least a part of the received update program to a storage destination device which is an on-vehicle control device of at least one of the following non-target devices, and temporarily storing the transferred data as the storage destination device And a controller for instructing the control unit.
  • Target device On-vehicle control device that is an update target of the control program among the plurality of on-vehicle control devices
  • Non-target device on-vehicle control device that is not an update target of the control program on the plurality of on-vehicle control devices
  • At least a part of the update program received from an external device such as a server is temporarily stored by the storage destination device which is a non-target device.
  • the target device needs a large-capacity memory that can reserve free space for temporarily storing the entire size.
  • the temporary storage memory of the target device can be reduced by temporarily storing at least a part of the update program in the storage destination device which is the non-target device. Therefore, the memory size of the target device can be optimized.
  • the relay device further includes a determination unit that determines the storage destination device based on a parameter value indicating a characteristic of the in-vehicle control device.
  • a determination unit that determines the storage destination device based on a parameter value indicating a characteristic of the in-vehicle control device.
  • the parameter value includes the free space of the memory of the non-target device, and one or more of a communication speed, a security level, a type of memory, and a memory failure state.
  • a program for updating an appropriate non-target device in consideration of the degree of memory compression of the non-target device, the time required for the update processing, the security of the update processing, etc. by determining the storage destination device using these as parameter values At least a part of can be temporarily saved.
  • the determination unit further determines the size of the update program to be stored in the determined storage destination device based on the parameter value.
  • the appropriate size of the update program can be temporarily stored in the non-target device according to the characteristics of each non-target device.
  • the temporary processing of the update program used for the update processing of the control program in the above target device It is a method of controlling preservation.
  • This control method has the same effect as the relay device of the above (1) to (4).
  • the computer program according to the present embodiment causes a computer to function as the relay device according to any one of (1) to (4).
  • This computer program has the same effect as the relay device of the above (1) to (4).
  • FIG. 1 is a schematic diagram showing the overall configuration of a program update system according to the embodiment and the configuration of a vehicle.
  • the program update system includes a vehicle 1 and a server 5 that can communicate via a wide area communication network such as the Internet.
  • the server 5 manages the update information of the vehicle 1 and stores the update program.
  • the server 5 can communicate with a number of vehicles 1 registered in advance.
  • a vehicle 1 includes an external communication device 15 for communicating with an external device such as a server 5 and a plurality of ECUs (Electronic Control Units) 30A, 30B, 30C,. And a relay device 10 that is an ECU that relays communication between the external device and the plurality of ECUs 30A, 30B, 30C,.
  • Each of the ECUs 30 is connected by an in-vehicle communication line 16 terminating in the relay device 10 to configure the in-vehicle communication network 4 together with the relay device 10.
  • Communication network 4 is formed of a bus-type communication network (for example, CAN (Controller Area Network)) that enables communication among ECUs 30.
  • CAN Controller Area Network
  • information is stored and transmitted in a format called a data frame.
  • the communication network 4 adopts not only CAN but also communication standards such as LIN (Local Interconnect Network), CANFD (CAN with Flexible Data Rate), Ethernet (registered trademark), or MOST (Media Oriented Systems Transport) (registered trademark) Network may be used.
  • LIN Local Interconnect Network
  • CANFD CAN with Flexible Data Rate
  • Ethernet registered trademark
  • MOST Media Oriented Systems Transport
  • the ECU 30 controls an engine, a brake, an EPS (Electric Power Steering), etc. in response to operations of an accelerator, a brake, and a steering wheel, and turns on / off interior lighting and headlights according to switch operation.
  • the relay device 10 is further connected to the external communication device 15 via a communication line of a predetermined standard.
  • the relay device 10 may be equipped with the external communication device 15.
  • the external communication device 15 wirelessly communicates with the external device via the wide area communication network 2 such as the Internet.
  • the external device is, for example, the server 5 that stores the update program of the ECU 30.
  • the external communication device 15 may have a plug (not shown) and communicate with the external device connected to the plug in a wired manner.
  • the external communication device 15 may be a device owned by a user, such as a mobile phone, a smartphone, a tablet terminal, or a notebook personal computer (PC).
  • the relay device 10 relays the information received by the external communication device 15 from the external device to the ECU 30.
  • the relay device 10 also relays the information received from the ECU 30 to the external communication device 15.
  • the external communication device 15 wirelessly transmits the relayed information to the external device.
  • FIG. 2 is a block diagram showing an internal configuration of the relay device 10. As shown in FIG. As shown in FIG. 2, the relay device 10 includes a control unit 11, a storage unit 12, an in-vehicle communication unit 13, and the like.
  • the control unit 11 of the relay device 10 is a microcomputer including a CPU (Central Processing Unit).
  • the type of microcomputer is not limited to a specific type.
  • the CPU of the control unit 11 has a function of reading out one or more programs stored in the storage unit 12 and executing various processes.
  • the CPU of the control unit 11 can execute a plurality of programs in parallel by switching and executing a plurality of programs in time division, for example.
  • the CPU of the control unit 11 includes one or more large scale integrated circuits (LSI).
  • LSI large scale integrated circuits
  • the plurality of LSIs cooperate to realize the function of the CPU.
  • the computer program executed by the CPU of the control unit 11 can be transferred while being recorded on a recording medium such as a CD-ROM or a DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
  • the storage unit 12 includes a non-volatile memory element such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), or a ROM, and a volatile memory element such as a RAM.
  • the non-volatile memory element of the storage unit 12 has a storage area for storing a program executed by the CPU of the control unit 11 or data necessary for the execution, and the volatile memory element is an update program described later. It has a storage area to store.
  • An in-vehicle communication line 16 is connected to the in-vehicle communication unit 13.
  • the in-vehicle communication unit 13 includes a communication device that communicates with the ECU 30 in accordance with a predetermined communication standard such as CAN.
  • the in-vehicle communication unit 13 transmits the information given from the CPU of the control unit 11 to the predetermined ECU 30, and the ECU 30 gives the information of the transmission source to the CPU of the control unit 11.
  • the external communication device 15 is a wireless communication device including an antenna and a communication circuit that performs transmission and reception of a wireless signal from the antenna.
  • the external communication device 15 can communicate with external devices by being connected to a wide area communication network 2 such as a mobile telephone network.
  • the external communication device 15 transmits information provided from the CPU of the control unit 11 to an external device such as the server 5 via the wide area communication network 2 formed by a base station (not shown), and also receives information received from the external device To the CPU of the control unit 11.
  • FIG. 3 is a block diagram showing an internal configuration of the ECU 30.
  • the ECU 30 includes a control unit 31, a storage unit 32, an in-vehicle communication unit 33, and the like.
  • the control unit 31 of the ECU 30 comprises a microcomputer including a CPU.
  • the type of microcomputer is not limited to a specific type.
  • the CPU of the control unit 31 has a function of reading out one or more programs stored in the storage unit 32 and executing various processes.
  • the CPU of the control unit 31 can execute a plurality of programs in parallel by switching and executing a plurality of programs in time division, for example.
  • the CPU of the control unit 31 includes one or more large scale integrated circuits (LSI).
  • LSI large scale integrated circuits
  • the plurality of LSIs cooperate to realize the function of the CPU.
  • the computer program executed by the CPU of the control unit 31 can be transferred while being recorded on a recording medium such as a CD-ROM or a DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
  • the storage unit 32 includes a non-volatile memory device such as a flash memory, an EEPROM, or a ROM, and a volatile memory device such as a RAM.
  • the non-volatile memory element of the storage unit 32 has a storage area for storing a program executed by the CPU of the control unit 31 and data necessary for the execution, and the volatile memory element includes an update program described later. It has a storage area to store.
  • An in-vehicle communication line 16 is connected to the in-vehicle communication unit 33.
  • the in-vehicle communication unit 33 is a communication device that communicates with the relay device 10 in accordance with a predetermined communication standard such as CAN.
  • the in-vehicle communication unit 33 transmits information given from the CPU of the control unit 31 to the predetermined relay device 10, and the relay device 10 gives information on the transmission source to the CPU of the control unit 31.
  • Update control process In the program update system according to the present embodiment, online update is performed.
  • an ECU for example, the ECU 30A
  • a target ECU an ECU that updates the control program
  • a non-target ECU an ECU other than the target ECU
  • the update control process executed by the control unit 11 is an ECU (hereinafter, referred to as a save destination ECU) that saves at least a part of the non-target ECUs (for example, ECUs 30B and 30C) at least a part of the update program.
  • control unit 11 of the relay device 10 includes an acquisition unit 111, a determination unit 112, and a storage control unit 113 (FIG. 2). These functions are mainly realized by the CPU when the CPU of the control unit 11 reads out and executes the program stored in the storage unit 12.
  • control unit 31 of the ECU 30 controls the storage control unit 311, the update processing unit 312, and the like in order to execute the processing according to the control signal output by the control unit 11 of the relay device 10 executing the above processing. Including ( Figure 3). These functions are mainly realized by the CPU when the CPU of the control unit 31 reads and executes the program stored in the storage unit 32.
  • FIG. 4 is a sequence diagram showing a flow of update control processing executed by the relay device 10 in the control program update processing in the program update system.
  • the relay device 10 receives an update request from the server 5 (step S1)
  • the update control process is started.
  • the update control process may be started at the timing instructed from the server 5.
  • the control unit 11 of the relay device 10 when the control unit 11 of the relay device 10 receives a request for updating the control program from the server 5 (step S1), it starts the determination process (step S2).
  • the determination process includes a process of inquiring a parameter value used for the determination process (step S21), a process of obtaining an answer of the parameter value from at least one ECU 30 (step S22), and a determination process (step S23).
  • step S21 only non-target ECUs (30B, 30C) of the plurality of ECUs 30A, 30B, 30C may be inquired.
  • the parameter value is a memory free space.
  • Each of the ECUs 30 that has received the inquiry in step S21 from the relay device 10 confirms the free space of the memory area for storage of the storage unit 32, and replies to the relay device 10.
  • the acquisition unit 111 realized by the CPU of the control unit 11 of the relay device 10 in step S22 receives the above-mentioned answer from one or more ECUs 30.
  • the determination unit 112 realized by the CPU of the control unit 11 of the relay device 10 determines whether or not the ECU is the storage destination ECU based on the free space of the memory of each ECU acquired by the acquisition unit 111, and storage A determination process (step S23) of determining the size of the update program to be executed is executed. At this time, the determination unit 112 may set itself (the relay device 10) as a storage destination ECU in addition to the ECU that has made the answer.
  • the determination method in the determination process is not limited to a specific method.
  • the determination unit 112 determines that the non-target ECU having the free space of the memory is the storage destination ECU.
  • the size of the update program stored in each storage destination ECU may be the same size as the free space of the storage destination ECU, or may be a predetermined ratio of the free space.
  • the determination unit 112 may determine, as a storage destination ECU, an ECU having a free capacity of a non-target ECU equal to or greater than a threshold. Thus, the size is determined to be stored by the update program of the size according to the free space of each storage destination ECU.
  • the control unit 11 of the relay device 10 performs DL The process is started (step S5).
  • the control unit 11 of the relay device 10 requests the server 5 to download the update program (step S51).
  • the control unit 11 receives the update program downloaded from the server 5 (step S52).
  • the storage control unit 113 realized by the CPU of the control unit 11 of the relay device 10 divides the update program according to the size determined in order from the top, and stores the corresponding update.
  • the in-vehicle communication unit 13 is caused to execute the process of transferring to the destination ECU and the process of transmitting a control signal instructing to temporarily save the data received by the saving destination ECU in the memory (step S53).
  • the storage destination ECU to which (at least a part of) the update program is transferred from the relay apparatus 10 and instructed to temporarily store in the memory executes processing for storing the update program in the storage unit 32 according to the instruction. (Step S6). Thereby, when the update program is downloaded from the server 5, it is divided into the determined size, transferred to the storage ECU, and temporarily stored.
  • the target ECU executes the update process.
  • the start of the update process may be immediately after the storage of the update program is completed, or may be after a predetermined time, or the relay apparatus 10 determines based on the state of the target ECU, the traveling state of the vehicle 1, etc. It may be timing.
  • step S7 When it is time to execute the update process in the target ECU, the control unit 11 of the relay device 10 executes an update support process (step S7) for supporting the update process. That is, the control unit 11 requests the target ECU (for example, the ECU 30A) to execute the update process (step S71), and the storage control unit 113 saves the storage destination ECU (for example, the ECUs 30B and 30C). A control signal instructing transfer of the update program to the target ECU is transmitted to the in-vehicle communication unit 13 (step S72). At this time, the storage control unit 113 instructs each storage destination ECU to transfer timing so as to sequentially transfer data to the target ECU from the top of the update program.
  • the target ECU for example, the ECU 30A
  • step S71 the storage control unit 113 saves the storage destination ECU (for example, the ECUs 30B and 30C)
  • a control signal instructing transfer of the update program to the target ECU is transmitted to the in-vehicle communication unit 13 (step
  • Step S9 When the update program is sequentially transferred from the storage destination ECU to the target ECU according to the instruction of the relay device 10, or the external communication device 15, or the other ECU 30 (step S8), the target ECU executes the update processing ( Step S9).
  • the update process the control program being executed in the target ECU is stopped, and the control program stored in the non-volatile memory in the storage unit 32 is rewritten to the update program. Therefore, the update program is transferred from the storage destination ECU to the target ECU in order from the top, whereby the target ECU can write the transferred update program to the non-volatile memory in that order.
  • the parameter values used for the determination process may include things other than the free space of the memory.
  • the parameter value is a communication speed.
  • the determination unit 112 may determine, as a storage destination ECU, an ECU whose communication speed among the non-target ECUs is equal to or higher than a predetermined speed.
  • the size of the update program stored in each storage destination ECU may be a size according to the ratio of the communication speed of each storage destination ECU. That is, the size of the update program to be stored in each storage destination ECU may be determined such that the number of update programs is stored as the storage destination ECU with the faster communication speed is stored. This is because when a large-sized update program is stored in a storage destination ECU with a slow communication speed, the transfer time to the target ECU may be long, and the time for the update process may be long.
  • the parameter value is a security level.
  • the relay device 10 may store the security level of each ECU in advance, and may not make the inquiry in step S21.
  • the determination unit 112 may determine an ECU having a security level equal to or higher than a predetermined level among non-target ECUs as a storage destination ECU. Further, the size of the update program stored in each storage destination ECU may be a size corresponding to the ratio of the security level of each storage destination ECU. That is, the size of the update program to be stored in each storage destination ECU may be determined so that the number of update programs is stored as the storage destination ECU having the higher security level is stored. By storing the update program in the ECU having a high security level, it is possible to improve the security of the update program.
  • the parameter value is a type of memory (hereinafter, referred to as storage memory) available for storing the update program.
  • the relay device 10 may store the type of storage memory of each ECU in advance, so that the inquiry in step S21 may not be performed.
  • the determination unit 112 may determine, among the non-target ECUs, an ECU whose storage memory type is a predetermined memory type as the storage destination ECU. Further, the size of the update program stored in each storage destination ECU may be a size according to the order set in advance according to the order of the type of memory. Since the time required for access varies depending on the type of memory, it is possible to shorten the update processing time by storing in a type of memory having a shorter access time than a type of memory having a long access time. Also, the external memory may have a lower security level than the built-in memory, and storing in a memory with a high security level can also improve the security of the update program.
  • the parameter value is a memory failure condition.
  • the determination unit 112 may determine, among the non-target ECUs, an ECU that does not have a failure state or has a small degree of failure as a saving destination ECU.
  • the size of the update program stored in each storage destination ECU may be a size corresponding to the ratio of the degree of failure of each storage destination ECU. That is, the size of the update program to be stored in each storage destination ECU may be determined so that the number of update programs is stored more as the storage destination ECU with a lower degree of memory failure is stored. This is because the security of the update program can be improved by storing more update programs as the ECU is lower than the ECU having a high degree of memory failure.
  • two or more of the plurality of parameter values described above may be used in combination in the determination process.
  • one or more parameter values used in the decision process may be variable.
  • the update program to be downloaded may include information for specifying a parameter value used for the determination process.
  • the optimum storage destination ECU and the size of the update program to be stored can be designated by a car maker or the like that provides the update program.
  • the parameter value used by the relay device 10 in the determination process may be determined according to the traveling state of the vehicle 1. As a result, the optimal storage destination ECU or the size of the update program to be stored is determined according to the traveling state of the vehicle 1.
  • online update is performed in the program update system.
  • the update control process in the relay device 10 is not limited to the online update, and may be executed by the update that is not online. That is, when a dedicated device (not shown) holding the update program is connected to the relay device 10 via the communication line, and the update process is executed using the update program downloaded to the relay device 10 via the communication line The update control process may be performed on the
  • the disclosed features are realized by one or more modules.
  • the feature can be realized by a circuit element or other hardware module, a software module that defines a process for realizing the feature, or a combination of a hardware module and a software module.
  • the program may be provided as a program that is a combination of one or more software modules for causing a computer to execute the above-described operations.
  • a program is provided as a program product by recording it on a computer readable recording medium such as a flexible disk attached to a computer, a CD-ROM (Compact Disk-Read Only Memory), a ROM, a RAM and a memory card. It can also be done.
  • the program can be provided by being recorded in a recording medium such as a hard disk built in the computer.
  • the program can be provided by downloading via a network.
  • the program according to the present disclosure is to call a necessary module among program modules provided as a part of an operating system (OS) of a computer in a predetermined arrangement at a predetermined timing to execute processing. It is also good. In that case, the program itself does not include the above module, and the processing is executed in cooperation with the OS. Programs not including such modules may also be included in the programs according to the present disclosure.
  • OS operating system
  • the program according to the present disclosure may be provided by being incorporated into a part of another program. Also in this case, the program itself does not include a module included in the other program, and the process is executed in cooperation with the other program. Programs incorporated into such other programs may also be included in the programs according to the present disclosure.
  • the provided program product is installed and executed in a program storage unit such as a hard disk.
  • the program product includes the program itself and a recording medium in which the program is recorded.
  • Reference Signs List 1 vehicle 2 wide area communication network 4 communication network 5 server 10 relay device 11 control unit 12 storage unit 13 in-car communication unit 15 in-car communication unit 16 out-of-car communication device 16 in-car communication line 30, 30A, 30B, 30C ECU 31 control unit 32 storage unit 33 in-vehicle communication unit 111 acquisition unit 112 determination unit 113 storage control unit 311 storage control unit 312 update processing unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

中継装置は、複数の車載制御装置と通信する車内通信部と、下記の対象装置において制御プログラムの更新処理に用いる更新用プログラムを、車外装置から受信する受信部と、受信した前記更新用プログラムの少なくとも一部を、下記の非対象装置のうちの少なくとも1つの車載制御装置である保存先装置に転送し、転送されたデータの一時的な保存を前記保存先装置に指示する制御部と、を備える。対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象である車載制御装置、非対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象ではない車載制御装置

Description

中継装置、制御方法、およびコンピュータプログラム
 この発明は中継装置、制御方法、およびコンピュータプログラムに関する。本出願は、2018年1月26日出願の日本出願第2018-011772号に基づく優先権を主張し、前記日本出願に記載された全ての内容を援用するものである。
 近年、自動車の技術分野においては、車両の高機能化が進行しており、多種多様な車載機器が車両に搭載されている。従って、車両には、各車載機器を制御するための制御装置である、所謂ECU(Electronic Control Unit)が多数搭載されている。
 ECUの種類には、例えば、アクセル、ブレーキ、ハンドルの操作に対してエンジンやブレーキ、EPS(Electric Power Steering)等の制御を行う走行系に関わるもの、乗員によるスイッチ操作に応じて車内照明やヘッドライトの点灯/消灯と警報器の吹鳴等の制御を行うボディ系ECU、運転席近傍に配設されるメータ類の動作を制御するメータ系ECUなどがある。
 一般的にECUは、マイクロコンピュータ等の演算処理装置によって構成されており、ROM(Read Only Memory)に記憶した制御プログラムを読み出して実行することにより、車載機器の制御が実現される。
 ECUの制御プログラムは、バージョンアップに対応して、旧バージョンの制御プログラムを新バージョンの制御プログラムに書き換える必要がある。また、たとえば地図情報や制御用のパラメータなど、制御プログラムの実行に必要なデータも書き換える必要がある。
 たとえば、特許文献1には、ネットワークを介して更新用プログラムをダウンロードし、ECUの制御プログラムの更新を行う技術(オンライン更新機能)が開示されている。
特開2013-2958号公報
 本開示の一態様に係る中継装置は、複数の車載制御装置と通信する車内通信部と、下記の対象装置において制御プログラムの更新処理に用いる更新用プログラムを、車外装置から受信する受信部と、受信した前記更新用プログラムの少なくとも一部を、下記の非対象装置のうちの少なくとも1つの車載制御装置である保存先装置に転送し、転送されたデータの一時的な保存を前記保存先装置に指示する制御部と、を備える。
  対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象である車載制御装置
  非対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象ではない車載制御装置
 また、本開示の一の態様に係る制御方法は、下記の対象装置における制御プログラムの更新処理に用いる更新用プログラムの一時的な保存を制御する方法であって、下記の非対象装置に通信可能な中継装置が、前記更新用プログラムを車外装置から受信するステップと、前記中継装置が、受信した前記更新用プログラムの少なくとも一部を、前記非対象装置のうちの少なくとも1つの車載制御装置である保存先装置に転送するステップと、前記中継装置が、転送されたデータの一時的な保存を前記保存先装置に指示する制御信号を送信するステップと、を備える。
  対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象である車載制御装置
  非対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象ではない車載制御装置
 また、本開示の一の態様に係るコンピュータプログラムは、下記の対象装置における制御プログラムの更新処理に用いる更新用プログラムの一時的な保存を制御する中継装置としてコンピュータを機能させるためのコンピュータプログラムであって、前記コンピュータを、下記の対象装置において制御プログラムの更新処理に用いる更新用プログラムを、車外装置から受信する受信部と、受信した前記更新用プログラムの少なくとも一部を、下記の非対象装置のうちの少なくとも1つの車載制御装置である保存先装置に転送し、転送されたデータの一時的な保存を前記保存先装置に指示する制制御部、として機能させる
  対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象である車載制御装置
  非対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象ではない車載制御装置
 本開示は、このような特徴的な制御部を備える中継装置、かかる特徴的な処理をステップとする制御方法、及びかかるステップをコンピュータに実行させるためのコンピュータプログラムとして実現することができるだけでなく、中継装置の一部又は全部を実現する半導体集積回路として実現することができる。
実施形態にかかるプログラム更新システムの全体構成および車両の構成を表した概略図である。 中継装置の内部構成を示すブロック図である。 ECUの内部構成を示すブロック図である。 プログラム更新システムにおける制御プログラムの更新処理において中継装置で実行される更新制御処理の流れを示すシーケンス図である。
 <本開示が解決しようとする課題>
 特許文献1に開示されているようなオンライン更新を含めて制御プログラムを更新する際には、サーバまたは専用の装置から更新用プログラムが更新対象のECUにダウンロードされる。制御プログラムを実行している間、当該制御プログラムが格納されるROMを書き換えることはできない。このため、更新対象のECUでは、ダウンロードされた更新用プログラムを直接ROMに書き込むのではなく、揮発性メモリ(RAM:Random Access Memory)に一時保存し、更新指示に従って、制御プログラムを停止した後に当該更新用プログラムを用いて更新処理を実行する。そのため、各ECUでは、更新用プログラムの全てが揮発性メモリに一時保存されるが、揮発性メモリの容量は限られており、容量不足となることがある。
 特に、特許文献1に開示されているようなオンライン更新において更新用プログラムが走行中にダウンロードされた場合には、走行に必要な処理に揮発性メモリが用いられているため、より一層容量不足が生じやすいという問題がある。容量不足を解消するためには、大容量の揮発性メモリが必要となる。ECUに大容量の揮発性メモリを搭載すると、ECUはコストアップし、また、大型化するという問題がある。
 <本開示の効果>
 本開示によれば、車載制御装置のメモリサイズを適正化できる。
 <本発明の実施形態の概要>
 以下、本発明の実施形態の概要を列記して説明する。
 (1) 本実施形態に係る中継装置は、複数の車載制御装置と通信する車内通信部と、下記の対象装置において制御プログラムの更新処理に用いる更新用プログラムを、車外装置から受信する受信部と、受信した前記更新用プログラムの少なくとも一部を、下記の非対象装置のうちの少なくとも1つの車載制御装置である保存先装置に転送し、転送されたデータの一時的な保存を前記保存先装置に指示する制御部と、を備える。
  対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象である車載制御装置
  非対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象ではない車載制御装置
 これにより、サーバ等の車外装置から受信した更新用プログラムの少なくとも一部が、非対象装置である保存先装置で一時保存される。更新用プログラムを、すべて対象装置で一時保存する場合、対象装置では全サイズを一時保存するための空き容量が確保できるだけの大容量のメモリが必要になる。これに対して、更新用プログラムの少なくとも一部が非対象装置である保存先装置で一時保存されることによって、対象装置の一時保存用のメモリを削減することができる。そのため、対象装置のメモリサイズを適正化することができる。
 (2) 好ましくは、中継装置は、前記車載制御装置の特性を示すパラメータ値に基づいて前記保存先装置を決定する決定部をさらに備える。
 これにより、車載制御装置の特性に応じて適切な車載制御装置に更新用プログラムの少なくとも一部を一時保存させることができる。
 (3) 好ましくは、前記パラメータ値は、前記非対象装置のメモリの空き容量と、通信速度、セキュリティレベル、メモリの種類、および、メモリの故障状態のうちの1つ以上とを含む。
 これらをパラメータ値として用いて保存先装置を決定することによって、非対象装置のメモリの圧迫度合い、更新処理に要する時間、更新処理のセキュリティ、などを考慮して適切な非対象装置に更新用プログラムの少なくとも一部を一時保存させることができる。
 (4) 好ましくは、決定部は、さらに、パラメータ値に基づいて、決定された保存先装置に保存させる更新用プログラムのサイズを決定する。
 これにより、各非対象装置の特性に応じて更新用プログラムのうちの適切なサイズを非対象装置に一時保存させることができる。
 (5) また、本実施形態に係る制御方法は、(1)~(4)のいずれか1つに記載の中継装置において、上記の対象装置における制御プログラムの更新処理に用いる更新用プログラムの一時保存を制御する方法である。
 かかる制御方法は、上記(1)~(4)の中継装置と同様の効果を奏する。
 (6) また、本実施形態に係るコンピュータプログラムは、コンピュータを、(1)~(4)のいずれか1つに記載の中継装置として機能させる。
 かかるコンピュータプログラムは、上記(1)~(4)の中継装置と同様の効果を奏する。
 <本発明の実施形態の詳細>
 以下、図面を参照しつつ、本発明の実施形態の詳細を説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがって、これらの説明は繰り返さない。なお、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
 <第1の実施の形態>
 〔システムの全体構成〕
 図1は、実施形態にかかるプログラム更新システムの全体構成および車両の構成を表した概略図である。
 図1に示すように、プログラム更新システムは、インターネットなどの広域通信網を介して通信可能な車両1およびサーバ5を含む。
 サーバ5は、車両1の更新情報を管理するとともに、更新用プログラムを保存する。サーバ5は、予め登録された多数の車両1と通信可能である。
 〔車両構成〕
 図1を参照して、本実施の形態にかかる車両1は、サーバ5等の車外装置と通信するための車外通信機15と、複数のECU(Electronic Control Unit)30A,30B,30C,…と、車外装置と複数のECU30A,30B,30C,…との通信を中継するECUである中継装置10と、を含む。複数のECU30A,30B,30C,…を代表させてECU30とも称する。
 各ECU30は、中継装置10において終端する車内通信線16によって接続されて、中継装置10とともに車内の通信ネットワーク4を構成する。通信ネットワーク4はECU30同士の通信を可能とする、バス型の通信ネットワーク(たとえば、CAN(Controller Area Network))よりなる。この通信方式のネットワークでは、データフレームと呼ばれるフォーマットに情報を格納して送受信される。
 通信ネットワーク4は、CANだけでなく、LIN(Local Interconnect Network)、CANFD(CAN with Flexible Data Rate)、Ethernet(登録商標)、又はMOST(Media Oriented Systems Transport)(登録商標)などの通信規格を採用するネットワークであってもよい。
 ECU30は、たとえば、アクセル、ブレーキ、ハンドルの操作に対してエンジンやブレーキ、EPS(Electric Power Steering)等の制御を行うパワー・トレイン系ECU、スイッチ操作に応じて車内照明やヘッドライトの点灯/消灯と警報器の吹鳴等の制御を行うボディ系ECU、運転席近傍に配設されるメータ類の動作を制御するメータ系ECUなどである。
 中継装置10は、さらに、所定規格の通信線を介して車外通信機15と接続されている。または、中継装置10は、車外通信機15を搭載していてもよい。車外通信機15は、インターネット等の広域通信網2を介して、車外装置と無線通信する。車外装置は、たとえば、ECU30の更新用プログラムを保存するサーバ5である。または、車外通信機15は図示しないプラグを有し、当該プラグに接続された車外装置と有線にて通信してもよい。車外通信機15は、ユーザが所有する携帯電話機、スマートフォン、タブレット型端末、ノートPC(Personal Computer)等の装置であってもよい。
 中継装置10は、車外装置から車外通信機15が受信した情報をECU30に中継する。また、中継装置10は、ECU30から受信した情報を車外通信機15に中継する。車外通信機15は、中継された情報を車外装置に無線送信する。
 〔中継装置の構成〕
 図2は、中継装置10の内部構成を示すブロック図である。
 図2に示すように、中継装置10は、制御部11、記憶部12、および車内通信部13などを備える。
 中継装置10の制御部11は、CPU(Central Processing Unit)を含むマイコンからなる。マイコンの種類は特定の種類に限定されない。制御部11のCPUは、記憶部12に記憶された1または複数のプログラムを読み出して、各種処理を実行するための機能を有している。
 制御部11のCPUは、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。
 制御部11のCPUは、1または複数の大規模集積回路(LSI)を含む。複数のLSIを含むCPUでは、複数のLSIが協働して当該CPUの機能を実現する。
 制御部11のCPUが実行するコンピュータプログラムは、CD-ROMやDVD-ROMなどの記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からのダウンロードによって譲渡することもできる。
 記憶部12は、フラッシュメモリ、EEPROM(Electrically Erasable Programmable Read Only Memory)、または、ROMなどの不揮発性のメモリ素子と、RAMなどの揮発性のメモリ素子とを含む。
 記憶部12の不揮発性のメモリ素子は、制御部11のCPUが実行するプログラムまたは実行に必要なデータなどを記憶する記憶領域を有し、揮発性のメモリ素子は、後述する更新用プログラムなどを記憶する記憶領域を有する。
 車内通信部13には車内通信線16が接続されている。車内通信部13は、CANなどの所定の通信規格に則って、ECU30と通信する通信装置よりなる。
 車内通信部13は、制御部11のCPUから与えられた情報を所定のECU30宛てに送信し、ECU30が送信元の情報を制御部11のCPUに与える。
 車外通信機15は、アンテナと、アンテナからの無線信号の送受信を実行する通信回路とを含む無線通信機よりなる。車外通信機15は、携帯電話網等の広域通信網2に接続されることにより車外装置との通信が可能である。
 車外通信機15は、図示しない基地局により形成される広域通信網2を介して、制御部11のCPUから与えられた情報をサーバ5等の車外装置に送信するとともに、車外装置から受信した情報を制御部11のCPUに与える。
 〔ECUの構成〕
 図3は、ECU30の内部構成を示すブロック図である。
 図3に示すように、ECU30は、制御部31、記憶部32、および車内通信部33などを備える。
 ECU30の制御部31は、CPUを含むマイコンからなる。マイコンの種類は特定の種類に限定されない。制御部31のCPUは、記憶部32に記憶された1または複数のプログラムを読み出して、各種処理を実行するための機能を有している。
 制御部31のCPUは、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。
 制御部31のCPUは、1または複数の大規模集積回路(LSI)を含む。複数のLSIを含むCPUでは、複数のLSIが協働して当該CPUの機能を実現する。
 制御部31のCPUが実行するコンピュータプログラムは、CD-ROMやDVD-ROMなどの記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からのダウンロードによって譲渡することもできる。
 記憶部32は、フラッシュメモリ、EEPROM、または、ROMなどの不揮発性のメモリ素子と、RAMなどの揮発性のメモリ素子とを含む。
 記憶部32の不揮発性のメモリ素子は、制御部31のCPUが実行するプログラムおよび実行に必要なデータなどを記憶する記憶領域を有し、揮発性のメモリ素子は、後述する更新用プログラムなどを記憶する記憶領域を有する。
 車内通信部33には車内通信線16が接続されている。車内通信部33は、CANなどの所定の通信規格に則って、中継装置10と通信する通信装置よりなる。
 車内通信部33は、制御部31のCPUから与えられた情報を所定の中継装置10宛てに送信し、中継装置10が送信元の情報を制御部31のCPUに与える。
 〔更新制御処理〕
 本実施の形態にかかるプログラム更新システムでは、オンライン更新が行われる。以降の説明において、複数のECU30A,30B,30Cのうち、制御プログラムの更新を行うECU(たとえばECU30A)を対象ECU、対象ECU以外のECUを非対象ECUという。
 オンライン更新の際に、中継装置10の制御部11は更新制御処理を実行する。制御部11の実行する更新制御処理は、非対象ECU(たとえばECU30B,30C)のうちの少なくとも1台のECUを、更新用プログラムの少なくとも一部を保存させるECU(以下、保存先ECUと称する)と決定するとともに、当該保存先ECUに保存させる更新用プログラムのサイズを決定する決定処理と、更新用プログラムをダウンロード(DL)する処理と、対象ECUでの更新処理を支援する更新支援処理と、を含む。
 これらの処理を実行するために、中継装置10の制御部11は、取得部111と、決定部112と、記憶制御部113と、を含む(図2)。これらの機能は、制御部11のCPUが記憶部12に記憶されているプログラムを読み出して実行することによって、主にCPUによって実現される。
 また、中継装置10の制御部11が上記の処理を実行することによって出力された制御信号に従う処理を実行するために、ECU30の制御部31は、記憶制御部311と、更新処理部312と、を含む(図3)。これらの機能は、制御部31のCPUが記憶部32に記憶されているプログラムを読み出して実行することによって、主にCPUによって実現される。
 図4は、プログラム更新システムにおける制御プログラムの更新処理において中継装置10で実行される更新制御処理の流れを示すシーケンス図である。一例として、中継装置10がサーバ5から更新要求を受けると(ステップS1)、更新制御処理が開始するものとする。その他、更新制御処理は、サーバ5から指示されたタイミングで開始されてもよい。
 図を参照して、中継装置10の制御部11は、サーバ5から制御プログラムの更新の要求を受けると(ステップS1)、決定処理(ステップS2)を開始する。決定処理は、決定処理に用いるパラメータ値を問い合わせる処理(ステップS21)と、少なくとも1台のECU30から上記パラメータ値の回答を得る処理(ステップS22)と、判定処理(ステップS23)と、を含む。ステップS21では、複数のECU30A,30B,30Cのうちの非対象ECU(30B,30C)のみに問い合わせてもよい。
 第1の実施の形態において、パラメータ値はメモリの空き容量である。中継装置10からステップS21の問い合わせを受けた各ECU30は、記憶部32の保存用のメモリ領域の空き容量を確認し、中継装置10に回答する。ステップS22で中継装置10の制御部11のCPUが実現する取得部111は、1台以上のECU30から上記回答を受信する。
 中継装置10の制御部11のCPUが実現する決定部112は、取得部111によって取得された各ECUのメモリの空き容量に基づいて、当該ECUを保存先ECUとすることの可否、および、保存する更新用プログラムのサイズを判定する判定処理(ステップS23)を実行する。このとき、決定部112は、上記回答を行ったECUに加えて、自身(中継装置10)も保存先ECUとしてもよい。
 判定処理における判定方法は特定の方法に限定されない。一例として、決定部112は、メモリの空き容量を有する非対象ECUを保存先ECUとすると判定する。この場合、各保存先ECUに保存する更新用プログラムのサイズは、当該保存先ECUの空き容量と同じサイズであってもよいし、空き容量の所定割合であってもよい。他の例として、決定部112は、非対象ECUのうちの空き容量が閾値以上のECUを保存先ECUと決定してもよい。これにより、各保存先ECUの空き容量に応じたサイズの更新用プログラムが保存するサイズと決定される。
 以上の決定処理が終了し、非対象ECUのうちから1つ以上の保存先ECUと、各保存先ECUが保存する更新用プログラムのサイズとが決定すると、中継装置10の制御部11は、DL処理を開始する(ステップS5)。DL処理を開始すると、中継装置10の制御部11は、サーバ5に対して更新用プログラムのダウンロードを要求する(ステップS51)。制御部11は、サーバ5からダウンロードされた更新用プログラムを受信する(ステップS52)。
 サーバ5から更新用プログラムを受信すると、中継装置10の制御部11のCPUが実現する記憶制御部113は、当該更新用プログラムを先頭から順に決定されたサイズに応じて分割して、対応する保存先ECUに転送する処理と、当該保存先ECUに受信したデータをメモリに一時的に保存することを指示する制御信号を送信する処理とを車内通信部13に実行させる(ステップS53)。
 中継装置10から更新用プログラム(の少なくとも一部)が転送され、メモリに一時的に記憶することが指示された保存先ECUは、指示に従って記憶部32に更新用プログラムを記憶する処理を実行する(ステップS6)。これにより、サーバ5から更新用プログラムがダウンロードされると、決定されたサイズに分割されて保存先ECUに転送され、一時保存される。
 更新用プログラムがすべてダウンロードされ、いずれかのECUに保存が完了すると、対象ECUで更新処理が実行される。更新処理の開始は、更新用プログラムの保存が完了した直後であってもよいし、所定時間経過後でもよいし、対象ECUの状態や車両1の走行状態などに基づいて中継装置10が決定したタイミングであってもよい。
 対象ECUで更新処理を実行するタイミングになると、中継装置10の制御部11はこの更新処理を支援するための更新支援処理(ステップS7)を実行する。すなわち、制御部11は対象ECU(たとえばECU30A)に対して更新処理の実行を要求するとともに(ステップS71)、記憶制御部113は各保存先ECU(たとえばECU30B,30C)に対して、保存している更新用プログラムの対象ECUへの転送を指示する制御信号を車内通信部13に送信させる(ステップS72)。このとき、記憶制御部113は、更新用プログラムの先頭から順に対象ECUに転送するように、各保存先ECUに転送のタイミングを指示する。
 中継装置10、または車外通信機15、もしくは他のECU30の指示に従って保存先ECUから対象ECUに更新用プログラムが先頭から順に転送されると(ステップS8)、対象ECUでは更新処理が実行される(ステップS9)。更新処理では、対象ECUにおいて実行中の制御プログラムが停止され、記憶部32における不揮発性メモリに格納された制御プログラムが更新用プログラムに書き換えられる。したがって、保存先ECUから対象ECUに対して更新用プログラムが先頭から順に転送されることで、対象ECUでは転送された更新用プログラムを不揮発性メモリにその順に書き込むことができる。
 〔第1の実施の形態の効果〕
 第1の実施の形態にかかる中継装置10において以上の更新制御処理が実行されることによって、サーバ5からダウンロードされた更新用プログラムの少なくとも一部が、非対象ECUのうちの1台以上の保存先ECUに一時保存される。このため、対象ECUは、更新用プログラムをすべて格納可能なサイズの揮発性メモリの空き容量は不要となる。これにより、対象ECUのメモリサイズが適正化される。その結果、対象ECUのコストアップを抑えることができるとともに、大型化を抑えることができる。
 <第2の実施の形態>
 決定処理に用いられるパラメータ値は、メモリの空き容量以外を含んでもよい。他の例として、パラメータ値は通信速度である。
 一例として、決定部112は、非対象ECUのうちの通信速度が所定速度以上のECUを保存先ECUと決定してもよい。また、各保存先ECUに保存する更新用プログラムのサイズは、各保存先ECUの通信速度の比率に応じたサイズとしてもよい。つまり、通信速度の速い保存先ECUほど更新用プログラムを多く保存するように、各保存先ECUで保存する更新用プログラムのサイズを決定してもよい。通信速度の遅い保存先ECUに大きなサイズの更新用プログラムが保存されると、対象ECUへの転送時間が長くなり、更新処理の時間が長くなる可能性があるためである。
 他の例として、パラメータ値はセキュリティレベルである。この場合、中継装置10は各ECUのセキュリティレベルを予め記憶しておくことで、上記ステップS21の問い合わせを行わなくてもよい。
 一例として、決定部112は、非対象ECUのうちのセキュリティレベルが所定レベル以上のECUを保存先ECUに決定してもよい。また、各保存先ECUに保存する更新用プログラムのサイズは、各保存先ECUのセキュリティレベルの比率に応じたサイズとしてもよい。つまり、セキュリティレベルの高い保存先ECUほど更新用プログラムを多く保存するように、各保存先ECUで保存する更新用プログラムのサイズを決定してもよい。セキュリティレベルの高いECUに更新用プログラムの保存させることによって、当該更新用プログラムのセキュリティも向上させることができるためである。
 他の例として、パラメータ値は更新用プログラムの保存に利用可能なメモリ(以下、保存用メモリと称する)の種類である。この場合、中継装置10は各ECUの保存用メモリの種類を予め記憶しておくことで、上記ステップS21の問い合わせを行わなくてもよい。
 一例として、決定部112は、非対象ECUのうちの、保存用メモリの種類が所定のメモリの種類であるECUを保存先ECUに決定してもよい。また、各保存先ECUに保存する更新用プログラムのサイズは、メモリの種類の順に応じて予め設定されている順に応じたサイズとしてもよい。メモリの種類によってはアクセスに要する時間が異なるため、アクセス時間の長い種類のメモリよりもアクセス時間の短い種類のメモリに保存した方が更新処理の時間を短くできるためである。また、外付けのメモリは内蔵メモリよりもセキュリティレベルが低いことがあり、セキュリティレベルの高いメモリに保存した方が当該更新用プログラムのセキュリティも向上させることができるためである。
 他の例として、パラメータ値はメモリの故障状態である。一例として、決定部112は、非対象ECUのうちの、故障状態がない、または、故障の程度が小さいECUを保存先ECUに決定してもよい。また、各保存先ECUに保存する更新用プログラムのサイズは、各保存先ECUの故障の程度の比率に応じたサイズとしてもよい。つまり、メモリの故障の程度の低い保存先ECUほど更新用プログラムを多く保存するように、各保存先ECUで保存する更新用プログラムのサイズを決定してもよい。メモリの故障の程度の高いECUよりも低いECUほど多くの更新用プログラムの保存させることによって、当該更新用プログラムのセキュリティも向上させることができるためである。
 さらに他の例として、決定処理には、上記の複数のパラメータ値の2以上が組み合わせて用いられてもよい。これにより、各ECUのメモリの圧迫や、更新処理に要する時間や、セキュリティなどの様々な観点から最適な保存先ECUを決定することができ、また、各保存先ECUに保存する更新用プログラムのサイズを決定することができる。
 さらに他の例として、決定処理に用いる1つまたは複数のパラメータ値は可変であってもよい。一例として、ダウンロードする更新用プログラムに決定処理に用いるパラメータ値を指定する情報が含まれていてもよい。これにより、更新用プログラムを提供するカーメーカーなどによって、最適な保存先ECUおよび保存する更新用プログラムのサイズを指定することができる。また、車両1の走行状態に応じて、中継装置10が決定処理に用いるパラメータ値を決定してもよい。これにより、車両1の走行状態に応じて最適な保存先ECU、または、保存する更新用プログラムのサイズが決定される。
 <第3の実施の形態>
 上記の第1の実施の形態では、プログラム更新システムにおいてオンライン更新が行われるものとしている。しかしながら、中継装置10における更新制御処理は、オンライン更新に限定されず、オンラインでない更新で実行されてもよい。すなわち、更新用プログラムを保持した図示しない専用装置を通信線で中継装置10に接続し、中継装置10に対して当該通信線を介してダウンロードされた更新用プログラムを用いて更新処理を実行する場合に更新制御処理が行われてもよい。
 開示された特徴は、1つ以上のモジュールによって実現される。たとえば、当該特徴は、回路素子その他のハードウェアモジュールによって、当該特徴を実現する処理を規定したソフトウェアモジュールによって、または、ハードウェアモジュールとソフトウェアモジュールとの組み合わせによって実現され得る。
 上述の動作をコンピュータに実行させるための、1つ以上のソフトウェアモジュールの組み合わせであるプログラムとして提供することもできる。このようなプログラムは、コンピュータに付属するフレキシブルディスク、CD-ROM(Compact Disk-Read Only Memory)、ROM、RAMおよびメモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。あるいは、コンピュータに内蔵するハードディスクなどの記録媒体にて記録させて、プログラムを提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。
 なお、本開示にかかるプログラムは、コンピュータのオペレーティングシステム(OS)の一部として提供されるプログラムモジュールのうち、必要なモジュールを所定の配列で所定のタイミングで呼出して処理を実行させるものであってもよい。その場合、プログラム自体には上記モジュールが含まれずOSと協働して処理が実行される。このようなモジュールを含まないプログラムも、本開示にかかるプログラムに含まれ得る。
 また、本開示にかかるプログラムは他のプログラムの一部に組込まれて提供されるものであってもよい。その場合にも、プログラム自体には上記他のプログラムに含まれるモジュールが含まれず、他のプログラムと協働して処理が実行される。このような他のプログラムに組込まれたプログラムも、本開示にかかるプログラムに含まれ得る。提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。
 今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 1 車両
 2 広域通信網
 4 通信ネットワーク
 5 サーバ
 10 中継装置
 11 制御部
 12 記憶部
 13 車内通信部
 15 車外通信機
 16 車内通信線
 30,30A,30B,30C ECU
 31 制御部
 32 記憶部
 33 車内通信部
 111 取得部
 112 決定部
 113 記憶制御部
 311 記憶制御部
 312 更新処理部
 

Claims (6)

  1.  複数の車載制御装置と通信する車内通信部と、
     下記の対象装置において制御プログラムの更新処理に用いる更新用プログラムを、車外装置から受信する受信部と、
     受信した前記更新用プログラムの少なくとも一部を、下記の非対象装置のうちの少なくとも1つの車載制御装置である保存先装置に転送し、転送されたデータの一時的な保存を前記保存先装置に指示する制御部と、を備える、中継装置。
      対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象である車載制御装置
      非対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象ではない車載制御装置
  2.  前記車載制御装置の特性を示すパラメータ値に基づいて前記保存先装置を決定する決定部をさらに備える、請求項1に記載の中継装置。
  3.  前記パラメータ値は、前記非対象装置のメモリの空き容量と、通信速度、セキュリティレベル、メモリの種類、および、メモリの故障状態のうちの1つ以上とを含む、請求項2に記載の中継装置。
  4.  前記決定部は、さらに、前記パラメータ値に基づいて、決定された前記保存先装置に保存させる前記更新用プログラムのサイズを決定する、請求項2または請求項3に記載の中継装置。
  5.  下記の対象装置における制御プログラムの更新処理に用いる更新用プログラムの一時的な保存を制御する方法であって、
     下記の非対象装置に通信可能な中継装置が、前記更新用プログラムを車外装置から受信するステップと、
     前記中継装置が、受信した前記更新用プログラムの少なくとも一部を、前記非対象装置のうちの少なくとも1つの車載制御装置である保存先装置に転送するステップと、
     前記中継装置が、転送されたデータの一時的な保存を前記保存先装置に指示する制御信号を送信するステップと、を備える、制御方法。
      対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象である車載制御装置
      非対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象ではない車載制御装置
  6.  下記の対象装置における制御プログラムの更新処理に用いる更新用プログラムの一時的な保存を制御する中継装置としてコンピュータを機能させるためのコンピュータプログラムであって、
     前記コンピュータを、
     下記の対象装置において制御プログラムの更新処理に用いる更新用プログラムを、車外装置から受信する受信部と、
     受信した前記更新用プログラムの少なくとも一部を、下記の非対象装置のうちの少なくとも1つの車載制御装置である保存先装置に転送し、転送されたデータの一時的な保存を前記保存先装置に指示する制制御部、として機能させる、コンピュータプログラム。
      対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象である車載制御装置
      非対象装置:前記複数の車載制御装置のうちの前記制御プログラムの更新対象ではない車載制御装置
     
PCT/JP2018/037600 2018-01-26 2018-10-09 中継装置、制御方法、およびコンピュータプログラム WO2019146170A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018011772 2018-01-26
JP2018-011772 2018-01-26

Publications (1)

Publication Number Publication Date
WO2019146170A1 true WO2019146170A1 (ja) 2019-08-01

Family

ID=67395881

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/037600 WO2019146170A1 (ja) 2018-01-26 2018-10-09 中継装置、制御方法、およびコンピュータプログラム

Country Status (1)

Country Link
WO (1) WO2019146170A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003316681A (ja) * 2002-04-19 2003-11-07 Denso Corp 車載通信システム
JP2017157003A (ja) * 2016-03-02 2017-09-07 住友電気工業株式会社 プログラム更新システム、プログラム更新方法及びコンピュータプログラム
JP2018079768A (ja) * 2016-11-15 2018-05-24 トヨタ自動車株式会社 更新データ保存システム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003316681A (ja) * 2002-04-19 2003-11-07 Denso Corp 車載通信システム
JP2017157003A (ja) * 2016-03-02 2017-09-07 住友電気工業株式会社 プログラム更新システム、プログラム更新方法及びコンピュータプログラム
JP2018079768A (ja) * 2016-11-15 2018-05-24 トヨタ自動車株式会社 更新データ保存システム

Similar Documents

Publication Publication Date Title
WO2018142750A1 (ja) 制御装置、プログラム更新方法、およびコンピュータプログラム
JP6519708B2 (ja) 制御装置、プログラム更新方法、およびコンピュータプログラム
CN111034132B (zh) 控制设备、控制方法和计算机程序
JP6361671B2 (ja) プログラム更新システム、プログラム更新方法、中継装置及びコンピュータプログラム
JP6323480B2 (ja) プログラム更新システム、プログラム更新方法及びコンピュータプログラム
WO2018185994A1 (ja) 制御装置、転送方法、およびコンピュータプログラム
JP5382131B2 (ja) 車両用ゲートウェイシステム
KR102526968B1 (ko) 차량 및 그 제어 방법
JP6620891B2 (ja) 中継装置、中継方法、およびコンピュータプログラム
JP7207301B2 (ja) 更新制御装置、制御方法、およびコンピュータプログラム
JP2017157003A5 (ja)
US11288156B2 (en) Control apparatus, control method, and computer program
WO2017208890A1 (ja) 制御装置、制御方法及びコンピュータプログラム
JP6394678B2 (ja) 制御装置、制御プログラムの更新可否の決定方法、及びコンピュータプログラム
US11416237B2 (en) Control apparatus, control method, and computer program
CN110650446A (zh) 优化的tcu发射功率
CN110574015A (zh) 车载中继装置、控制程序及存储器共有方法
US11340891B2 (en) Control device, control method, and computer program
JP2018074306A (ja) 車内通信システム、車内通信方法、マネージャ装置、及び車載制御装置
WO2019146170A1 (ja) 中継装置、制御方法、およびコンピュータプログラム
JP2019101641A (ja) 自動車
KR20140086159A (ko) 제어기 업데이트 시스템 및 방법
WO2019188073A1 (ja) 制御装置、制御方法、およびコンピュータプログラム
JP7314867B2 (ja) マスタ、ネットワークシステム、方法、プログラム、センタ、および車両
CN113986259A (zh) 服务器、软件更新装置、车辆、软件更新系统、控制方法及非临时存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18902337

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18902337

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP