WO2020080321A1 - 車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システム - Google Patents

車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システム Download PDF

Info

Publication number
WO2020080321A1
WO2020080321A1 PCT/JP2019/040360 JP2019040360W WO2020080321A1 WO 2020080321 A1 WO2020080321 A1 WO 2020080321A1 JP 2019040360 W JP2019040360 W JP 2019040360W WO 2020080321 A1 WO2020080321 A1 WO 2020080321A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
update
ecu
transmission
program
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP2019/040360
Other languages
English (en)
French (fr)
Inventor
太郎 板津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
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 Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2020553166A priority Critical patent/JP7042408B2/ja
Priority to CN201980062743.2A priority patent/CN112770940B/zh
Priority to US17/279,796 priority patent/US11507365B2/en
Publication of WO2020080321A1 publication Critical patent/WO2020080321A1/ja
Anticipated expiration legal-status Critical
Priority to JP2022025779A priority patent/JP2022066260A/ja
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the present invention relates to an in-vehicle update device, an update processing program, a program update method, and an in-vehicle update system.
  • the vehicle is equipped with an in-vehicle ECU (Electronic Control Unit) for controlling in-vehicle equipment such as power train system for engine control and body system for air conditioner control.
  • the vehicle-mounted ECU includes an arithmetic processing unit such as an MPU, a rewritable non-volatile storage unit such as a RAM, and a communication unit for communicating with another vehicle-mounted ECU, and reads and executes the control program stored in the storage unit. By doing so, the in-vehicle device is controlled.
  • the vehicle is equipped with a relay device having a wireless communication function, and communicates with the program providing device connected to the network outside the vehicle through the relay device to control the vehicle-mounted ECU from the program providing device.
  • the program can be downloaded (received) and the control program of the vehicle-mounted ECU can be updated (see Patent Document 1, for example).
  • An in-vehicle update device is an in-vehicle update device that acquires an update program transmitted from an external server outside a vehicle and performs a process for updating a program of an in-vehicle ECU mounted in the vehicle, A control unit that controls transmission of the update program to the vehicle-mounted ECU is provided, and when the control unit restarts the transmission after the transmission is interrupted, the identification information of the vehicle-mounted ECU indicates that the transmission is interrupted. If it is different from the identification information before the transmission, it is determined that the vehicle-mounted ECU has been replaced while the transmission is interrupted, and a predetermined process is executed.
  • 9 is a flowchart illustrating a process of a control unit of the vehicle-mounted update device according to the second embodiment.
  • 9 is a block diagram illustrating the configuration of an in-vehicle ECU 3 according to the third embodiment.
  • FIG. It is an explanatory view which illustrates one mode of composition information on in-vehicle ECU.
  • An object of the present disclosure is, when updating a program of an on-vehicle ECU, when the on-vehicle ECU is replaced while transmission between the on-vehicle updating device and the on-vehicle ECU is interrupted, the on-vehicle update can be appropriately handled. Provide equipment.
  • An in-vehicle update device is an in-vehicle update device that acquires an update program transmitted from an external server outside a vehicle and performs a process for updating a program of an in-vehicle ECU mounted in the vehicle. Therefore, a control unit that controls transmission of the update program to the vehicle-mounted ECU is provided, and when the control unit restarts the transmission after the transmission is interrupted, the identification information of the vehicle-mounted ECU is the transmission information. Is different from the identification information before the interruption, the in-vehicle ECU is determined to be replaced while the transmission is interrupted, and a predetermined process is executed.
  • the vehicle-mounted ECU when the transmission is resumed after the transmission is interrupted, if the identification information of the vehicle-mounted ECU is different from the identification information before the transmission is suspended, the vehicle-mounted ECU is interrupted during the transmission. Determines that the vehicle-mounted ECU has been replaced and executes a predetermined process, and therefore can appropriately respond when the vehicle-mounted ECU is replaced.
  • the predetermined process executed by the control unit is a process of transmitting information regarding the determination to the external server or a display device provided in the vehicle. Is.
  • the vehicle-mounted ECU when the transmission is resumed after the transmission is interrupted, if the identification information of the vehicle-mounted ECU is different from the identification information before the transmission is suspended, the vehicle-mounted ECU is interrupted during the transmission. Determines that the replacement has been performed and transmits the determination result to an external server or a display device provided in the vehicle, so that the determination result can be notified.
  • the predetermined process executed by the control unit is a process of storing information regarding the determination.
  • the vehicle-mounted ECU when the transmission is resumed after the transmission is interrupted, if the identification information of the vehicle-mounted ECU is different from the identification information before the transmission is suspended, the vehicle-mounted ECU is interrupted during the transmission. Determines that the replacement has been performed and stores the determination result in the storage unit of the vehicle-mounted update device, so that the determination result can be saved.
  • the predetermined process executed by the control unit is a process of stopping transmission of the update program.
  • the vehicle-mounted ECU when the transmission is resumed after the transmission is interrupted, if the identification information of the vehicle-mounted ECU is different from the identification information before the transmission is suspended, the vehicle-mounted ECU is interrupted during the transmission. Determines that the update program has been replaced, and stops the transmission of the update program. Therefore, it is possible to prevent the replaced in-vehicle ECU from receiving the update program.
  • the control unit when the control unit restarts the transmission after the transmission is interrupted, the control unit determines whether the predetermined item included in the identification information of the vehicle-mounted ECU and the transmission are included. When the predetermined item included in the identification information before being interrupted is the same, the transmission of the update program is restarted from the beginning, and the predetermined item included in the identification information of the vehicle-mounted ECU and the transmission are interrupted. If the predetermined item included in the previous identification information is not the same, the transmission of the update program is stopped.
  • the transmission of the update program is restarted from the beginning or the transmission of the update program is stopped, so that the vehicle-mounted ECU is replaced while the transmission is interrupted. If you do, you can respond appropriately.
  • the predetermined item included in the identification information of the vehicle-mounted ECU is information regarding the ECU part number of the vehicle-mounted ECU.
  • the predetermined item included in the identification information of the vehicle-mounted ECU is the information related to the ECU part number of the vehicle-mounted ECU, so that even when the vehicle-mounted ECU is replaced while the transmission is interrupted. If the ECU part number of the replaced on-vehicle ECU is the same as the part number of the on-vehicle ECU when the transmission was interrupted, the transmission of the update program is restarted from the beginning. Therefore, it is possible to more appropriately deal with the case where the vehicle-mounted ECU is replaced while the transmission is suspended.
  • the in-vehicle updating device may restart the transmission (data transfer) of the update program from the beginning after the programming session is established between the in-vehicle updating device and the in-vehicle ECU. .
  • the control unit restarts the transmission after the transmission is interrupted
  • the identification information of the vehicle-mounted ECU is displayed before the transmission is interrupted.
  • the transmission of the update program is restarted.
  • the transmission when the transmission is restarted after the transmission is interrupted, if the identification information of the vehicle-mounted ECU is the same as the identification information before the transmission is interrupted, the transmission of the update program is restarted.
  • the program of the vehicle-mounted ECU can be surely updated.
  • the control unit stores information about a transmission status of the update program to the vehicle-mounted ECU, and when the transmission is interrupted, the vehicle-mounted ECU may perform When the information regarding the reception status of the update program is acquired, and the information regarding the transmission status and the acquired information regarding the reception status match, from the interruption point determined based on the information regarding the transmission status or the information regarding the reception status. , When the transmission of the update program to the vehicle-mounted ECU is restarted and the information on the transmission status and the acquired information on the reception status do not match, the transmission of the update program to the vehicle-mounted ECU is performed from the beginning. Resume.
  • the transmission of the program to the vehicle-mounted ECU is resumed from the interruption point at which the transmission is interrupted, so that the transmission is efficiently resumed. can do.
  • An update processing program acquires an update program transmitted from an external server outside a vehicle to a computer, transmits the update program to an in-vehicle ECU, and after the transmission is interrupted, When the transmission is restarted, if the identification information of the vehicle-mounted ECU is different from the identification information before the transmission is interrupted, it is determined that the vehicle-mounted ECU has been replaced while the transmission is suspended, and the predetermined information is determined. Execute the process.
  • the computer can be made to function as an in-vehicle update device.
  • a program update method acquires an update program transmitted from an external server outside a vehicle, transmits the update program to an in-vehicle ECU, and transmits the transmission after the transmission is interrupted.
  • the identification information of the vehicle-mounted ECU is different from the identification information before the transmission is interrupted, it is determined that the vehicle-mounted ECU has been replaced while the transmission is interrupted, and a predetermined process is performed. Run.
  • An in-vehicle update system is an in-vehicle update system that is installed in a vehicle, and includes an external communication device that receives an update program transmitted from an external server outside the vehicle, and the external communication device.
  • An in-vehicle update device that acquires an update program transmitted from the external server via the vehicle, and an in-vehicle ECU that updates the program by the update program transmitted from the in-vehicle update device.
  • a control unit for controlling transmission of the update program to the ECU wherein the control unit, when restarting the transmission after the transmission is interrupted, identifies the identification of the vehicle-mounted ECU before the transmission is interrupted. If it is different from the identification information of No. 1, the in-vehicle ECU is determined to be replaced while the transmission is interrupted, and a predetermined process is executed.
  • FIG. 1 is a schematic diagram showing the configuration of the vehicle-mounted update system according to the first embodiment.
  • FIG. 2 is a block diagram showing the configuration of the vehicle-mounted update device 2 and the like.
  • the in-vehicle update system S includes an in-vehicle communication device 1 and an in-vehicle update device 2 mounted in the vehicle C, and the program or data acquired from the program providing device S1 connected via the in-vehicle network N is installed in the vehicle C. It is transmitted to the on-vehicle ECU 3 (Electronic Control Unit).
  • ECU 3 Electronic Control Unit
  • the program providing device S1 is a computer such as a server connected to an external network N such as the Internet or a public line network, and has a storage unit S11 such as a RAM (Random Access Memory), a ROM (Read Only Memory) or a hard disk. It is equipped and corresponds to an external server outside the vehicle.
  • a program or data created by a manufacturer of the vehicle-mounted ECU 3 or the like for controlling the vehicle-mounted ECU 3 is stored in the storage unit S11 (predetermined storage area).
  • the program or data is transmitted to the vehicle C as an update program as described later, and is used to update the program or data of the vehicle-mounted ECU 3 mounted on the vehicle C.
  • the program providing device S1 (external server) configured as described above is also referred to as an OTA (Over The Air) server.
  • the vehicle-mounted ECU 3 installed in the vehicle acquires the update program transmitted by wireless communication from the program providing device S1 and applies the update program as a program for executing the update program, thereby updating the program executed by the own ECU (repro). can do.
  • the program will be described as including a program code including a control syntax and the like for the in-vehicle ECU 3 to perform processing, and an external file in which data referred to when executing the program code is described.
  • the external file in which the program code and the data are written is transmitted from the program providing device S1 as, for example, an encrypted archive file.
  • the vehicle C is equipped with an on-vehicle communication device 1, an in-vehicle update device 2, a display device 5, and a plurality of in-vehicle ECUs 3 for controlling various in-vehicle devices.
  • the vehicle exterior communication device 1 and the vehicle-mounted update device 2 are communicatively connected by a harness such as a serial cable.
  • the vehicle-mounted update device 2 and the vehicle-mounted ECU 3 are communicatively connected by an in-vehicle LAN 4 that supports a communication protocol such as CAN (Control Area Network / registered trademark) or Ethernet (registered trademark).
  • the external communication device 1 includes an external communication unit 11 and an input / output I / F (interface) 12 for communicating with the in-vehicle update device 2.
  • the external communication unit 11 is a communication device for performing wireless communication using a mobile communication protocol such as 3G, LTE, 4G, or WiFi, and is a program providing device via an antenna 13 connected to the external communication unit 11. Data is transmitted / received to / from S1. Communication between the vehicle exterior communication device 1 and the program providing device is performed via an external network such as a public line network or the Internet.
  • the input / output I / F 12 is a communication interface for serial communication with the vehicle-mounted update device 2, for example.
  • the vehicle exterior communication device 1 and the vehicle-mounted update device 2 communicate with each other via an input / output I / F 12 and a harness such as a serial cable connected to the input / output I / F 12.
  • the vehicle exterior communication device 1 is a device separate from the vehicle-mounted update device 2, and these devices are communicatively connected by the input / output I / F 12 or the like, but the invention is not limited to this.
  • the vehicle exterior communication device 1 may be incorporated in the vehicle-mounted update device 2 as a component of the vehicle-mounted update device 2.
  • the onboard updating device 2 includes a control unit 20, a storage unit 21, and an in-vehicle communication unit 23.
  • the in-vehicle update device 2 acquires from the in-vehicle communication device 1 the update program that the in-vehicle communication device 1 has received from the program providing device S1 by wireless communication, and transmits the update program to a predetermined in-vehicle ECU 3 (update target) via the in-vehicle LAN 4. It is configured to transmit to the vehicle-mounted ECU 3).
  • the vehicle-mounted update device 2 controls a plurality of system segments, such as a control system vehicle-mounted ECU 3, a safety system vehicle-mounted ECU 3, and a body system vehicle-mounted ECU 3, and relays communication between the vehicle-mounted ECUs 3 among these segments. It is a gateway.
  • the vehicle-mounted update device 2 may be configured as one functional unit of the body ECU that controls the entire vehicle C.
  • the control unit 20 is configured by a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or the like, and by reading and executing a control program and data stored in advance in the storage unit 21, various control processing and Arithmetic processing and the like are performed.
  • the control unit 20 corresponds to an acquisition unit that acquires the update program transmitted from the program providing device S1 via the vehicle exterior communication device 1.
  • the storage unit 21 is configured by a volatile memory device such as a RAM (Random Access Memory) or a non-volatile memory device such as a ROM (Read Only Memory), an EEPROM (Electrically Erasable Programmable ROM), or a flash memory, A control program and data to be referred to at the time of processing are stored in advance.
  • the control program stored in the storage unit 21 may store the control program read from the recording medium 22 readable by the vehicle-mounted update device 2. Alternatively, the control program may be downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the storage unit 21. Further, the storage unit 21 (predetermined storage area) stores configuration information of all vehicle-mounted ECUs 3 mounted on the vehicle C.
  • the storage unit 21 stores the update program acquired from the program providing apparatus S1 and information regarding the progress status when the update program is transmitted to the vehicle-mounted ECU 3.
  • the in-vehicle communication unit 23 is an input / output interface using a communication protocol such as CAN (Control Area Network) or Ethernet (registered trademark), and the control unit 20 is connected to the in-vehicle LAN 4 via the in-vehicle communication unit 23. It mutually communicates with vehicle-mounted devices such as the vehicle-mounted ECU 3 or other relay devices.
  • vehicle-mounted devices such as the vehicle-mounted ECU 3 or other relay devices.
  • a plurality of (three in the drawing) in-vehicle communication units 23 are provided, and each in-vehicle communication unit 23 is connected to a communication line that constitutes the in-vehicle LAN 4.
  • the in-vehicle LAN 4 is divided into a plurality of segments, and the in-vehicle ECU is assigned to each segment for the functions of the in-vehicle ECU (control system function, safety system function, body system function). Connect accordingly.
  • the vehicle-mounted ECU 3 includes a control unit 30, a storage unit 31, and an in-vehicle communication unit 32.
  • the storage unit 31 is configured by a volatile memory element such as a RAM (Random Access Memory) or a non-volatile memory element such as a ROM (Read Only Memory), an EEPROM (Electrically Erasable Programmable ROM) or a flash memory,
  • the program or data of the vehicle-mounted ECU 3 is stored. This program or data is a target to be updated by the update program transmitted from the vehicle-mounted update device 2.
  • the storage unit 31 includes a first storage area (first surface) 311 and a second storage area (second surface) 312.
  • the storage unit 31 stores two programs, a program (current version) currently executed (applied) by the vehicle-mounted ECU 3 and a program (old version) previously applied to the current version.
  • the current version of the program and the old version of the program are stored separately in either the first storage area 311 or the second storage area 312. That is, when the current version program is stored in the first storage area 311, the old version program is stored in the second storage area 312. When the old version program is stored in the first storage area 311, the current version program is stored in the second storage area 312.
  • the control unit 30 has previously applied it.
  • the reliability of the vehicle-mounted ECU 3 can be ensured by reading and executing (switching) the old version of the program that was operating normally.
  • the storage unit 31 stores information about each version of the two programs, the current version and the old version, and information about an area (operation surface) in which the program currently being executed (applied) is stored. That is, when the program currently stored in the first storage area (first surface) 311 is being executed, the storage unit 31 stores that the operation surface is the first storage area (first surface) 311. To be done. When the program currently stored in the second storage area (second surface) 312 is being executed, the storage unit 31 stores the operation surface as the second storage area (second surface) 312. .
  • the storage unit 31 includes the version information of the programs (current version and old version) and the information about the operation side, the configuration information of the own ECU, the information about the progress status when the update program is received from the vehicle-mounted update device 2, and the past. Information relating to the update history of one or more times performed is stored.
  • the control unit 30 is configured by a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or the like, and reads and executes programs and data stored in the storage unit 31 (operating surface) to perform control processing, An in-vehicle device including the in-vehicle ECU 3 or an actuator is controlled.
  • a CPU Central Processing Unit
  • MPU Micro Processing Unit
  • the control unit 30 of the in-vehicle ECU 3 receives the update program transmitted from the in-vehicle update device 2 via the in-vehicle communication unit 32 and acquires the update program. Therefore, the control unit 30 of the vehicle-mounted ECU 3 acquires the update program transmitted from the program providing device S1 via the vehicle exterior communication device 1 and the vehicle-mounted update device 2.
  • the control unit 30 stores the acquired update program in a storage area (a first storage area 311 or a second storage area 312) that is not on the operation side. That is, when acquiring the update program transmitted from the in-vehicle update device 2, the control unit 30 deletes the program stored in the storage area that is not the operation surface (non-operation surface) as the acquisition preparation process.
  • the program stored in the storage area that is not on the operating side is an old version of the program that was executed before the current version of the program. You can delete the version.
  • the control unit 30 deletes the old version program stored in the storage area (non-operation surface) that is not the operation surface, and stores the update program transmitted from the vehicle-mounted update device 2 in the non-operation surface.
  • transmission of the update program from the vehicle-mounted update device 2 is performed in block units obtained by dividing the update program into, for example, a predetermined data size.
  • a block ID for individually identifying the block is given to each transmitted block, and the control unit 30 of the vehicle-mounted ECU 3 stores the received block ID in the storage unit 31 so that the update program The progress status regarding reception can be stored.
  • control unit 30 of the vehicle-mounted ECU 3 When the control unit 30 of the vehicle-mounted ECU 3 normally ends the reception of the update program, that is, the normal reception of all the divided blocks, and then executes a predetermined operation such as turning on and off the IG switch of the vehicle C , The operation surface is switched, and the received update program is applied and executed as the current version program.
  • the control unit 30 of the vehicle-mounted ECU 3 stores in the storage unit 31 that the update of the program is completed (normal end) when the reception of the update program is normally ended, or when the operation surface is normally switched, and It may be transmitted (notified) to the vehicle-mounted update device 2.
  • the display device 5 is, for example, an HMI (Human Machine Interface) device such as a car navigation display.
  • the display device 5 is communicatively connected to the input / output I / F 24 of the vehicle-mounted update device 2 through a harness such as a serial cable.
  • the display device 5 displays data or information output from the control unit 20 of the vehicle-mounted update device 2 via the input / output I / F 24.
  • the connection form between the display device 5 and the in-vehicle update device 2 is not limited to the connection form by the input / output I / F 24 or the like, and the display device 5 and the in-vehicle update device 2 may be in the connection form via the in-vehicle LAN 4. Good.
  • FIG. 3 is an explanatory diagram illustrating an example of the configuration information of the vehicle-mounted ECU 3.
  • the control unit 20 of the vehicle-mounted update device 2 configures the vehicle-mounted ECU 3 with respect to all the vehicle-mounted ECUs 3 that are constantly mounted in the vehicle C when the IG (ignition) switch is turned on or at a predetermined timing.
  • Information vehicle configuration information
  • an update history of the configuration information vehicle configuration information update history
  • the transmitted configuration information and update history are acquired and stored in the storage unit 21.
  • the control unit 20 of the vehicle-mounted update device 2 acquires the configuration information and the update history voluntarily transmitted by the vehicle-mounted ECUs 3 without requesting the vehicle-mounted ECU 3 to transmit the configuration information and the update history of the vehicle-mounted ECU 3.
  • it may be stored in the storage unit 21.
  • the storage unit 21 of each vehicle-mounted ECU 3 stores the configuration information and update history of the own ECU. Therefore, the vehicle-mounted update device 2 collects the configuration information and the update history stored in the vehicle-mounted ECUs 3 and stores the configuration information and the update history of the vehicle-mounted ECUs 3, respectively.
  • the vehicle-mounted update device 2 may transmit the configuration information and the update history of each of the vehicle-mounted ECUs 3 that are collectively stored to the program providing device S1. By transmitting the configuration information and the update history to the program providing apparatus S1, the configuration information and the update history can be backed up in the storage unit S11 of the program providing apparatus S1.
  • the configuration information of the vehicle-mounted ECU 3 includes, for example, the serial number of the vehicle-mounted ECU 3, the ECU part number (part number, model number), the software part number, the current version of the program, The ECU-ID including the old version, the number of operating surfaces, the operating surface, the MAC (Media Access Control) address, the IP address, the last update completion date and time, and the repro status, and the serial numbers that are set so as not to overlap in each in-vehicle ECU 3. Managed in association with.
  • the manufacturing number is a number given when the vehicle-mounted ECU 3 is manufactured, and is made up of a lot number indicating a production site and the like, a serial number at the time of manufacturing, etc., and is a unique number that can uniquely identify the ECU. It is a number.
  • the ECU part number (part number, model number) is a number that identifies the type of the vehicle-mounted ECU, and is, for example, a part number.
  • the Software part number is a number for identifying the type of software of the update program.
  • the number of operating planes is the number of storage areas that store different versions of update programs. That is, when the number of operating surfaces is two, two different versions of the update program can be recorded. In the case of one operating surface, only a single version of the update program can be stored.
  • the operation surface is information that specifies any storage area (first storage area 311 or second storage area 312) in which the program currently executed (applied) by the vehicle-mounted ECU 3 is stored.
  • the current version is the version number of the program currently executed (applied) by the vehicle-mounted ECU 3, and the version number of the program stored in the operation side.
  • the old version is the version number of the program that was previously executed (applied) by the vehicle-mounted ECU 3, and is the version number of the program stored in the non-operating surface (storage area that is not the operating surface).
  • the MAC address is an address corresponding to the data ring layer when the in-vehicle communication unit 23 of the vehicle-mounted ECU 3 is a communication port compatible with Ethernet.
  • the MAC address is a number given when the in-vehicle communication unit 23 is manufactured, and is composed of a vendor code indicating the manufacturer and a serial number at the time of manufacturing, and is a unique number that can uniquely identify the ECU. is there.
  • the IP address is an address corresponding to the network layer when performing communication using TCP / IP when the in-vehicle communication unit 23 is a communication port compatible with Ethernet.
  • the configuration information of the vehicle-mounted ECU 3 includes identification information for identifying the vehicle-mounted ECU 3. Since the IP address is an address that can be arbitrarily determined according to the setting of the in-vehicle communication unit 23, it is desirable to use a serial number or a MAC address as the identification information for identifying the vehicle-mounted ECU 3.
  • the identification information may include the ECU part number (part number, model number) of the vehicle-mounted ECU 3. By including the ECU part number in the identification information, it is possible to determine the identity of the vehicle-mounted ECU 3 as a component. That is, when comparing two pieces of configuration information, when the serial numbers or MAC addresses are different but the ECU part numbers are the same, the vehicle-mounted ECUs 3 having these pieces of configuration information are the same as parts (part numbers, model numbers). Means that.
  • the last update completion date and time is the date and time when the update (sending of the update program) performed last time is completed.
  • the repro status indicates the latest status regarding update. It should be noted that these pieces of information retain the relevance to later-described information about the update history (vehicle configuration information update history table).
  • the storage unit 21 of the vehicle-mounted update device 2 stores, in addition to the configuration information of each vehicle-mounted ECU 3, information regarding the update history of the configuration information.
  • the configuration information of each vehicle-mounted ECU 3 vehicle configuration information master table
  • the update history of the configuration information vehicle configuration information update management table
  • the information regarding the update history of the configuration information includes history content and the date and time when the history content was performed, and these history content and date and time are registered or managed in association with the ECU-ID of each vehicle-mounted ECU.
  • the history contents include, for example, each process (update program reception start, update program reception completion, operation surface switching, and completion notification) from the reception of the update program to the transmission of the update completion notification (completion notification). Further, the history content may include the version of the update program that is the target of each of these processes.
  • the vehicle configuration information master table and the vehicle configuration information update management table are associated with each other, and the repro status in the configuration information is derived according to the history content of the latest date and time in each vehicle-mounted ECU. Good.
  • the information included in the configuration information of the vehicle-mounted ECU 3 is not limited to the information of the items shown in FIG.
  • the configuration information of the vehicle-mounted ECU 3 may include a CAN-ID used (included) when the vehicle-mounted ECU 3 transmits a message.
  • the identification information of the vehicle-mounted ECU 3 includes the serial number or the MAC address included in the configuration information of the vehicle-mounted ECU 3.
  • the control unit 20 of the in-vehicle update device 2 associates the identification information of the in-vehicle ECU 3 with the serial number or the MAC address included in the configuration information with the information regarding the progress status of the transmission of the update program to the in-vehicle ECU 3, and the storage unit 21.
  • FIG. 4 is a flowchart showing the processing of the control unit 20 of the vehicle-mounted update device 2.
  • FIG. 5 is a flowchart showing the processing of the control unit 20 of the vehicle-mounted update device 2.
  • FIG. 6 is a flowchart showing the processing of the control unit 20 of the vehicle-mounted update device 2.
  • the control unit 20 of the vehicle-mounted update device 2 constantly communicates with the program providing device S1 via the vehicle exterior communication device 1 to perform the following processing.
  • the control unit 20 of the in-vehicle update device 2 determines whether there is the in-vehicle ECU 3 that is in the process of being updated (S11).
  • the control unit 20 refers to the information regarding the progress status of the transmission of the previous update program stored in the storage unit 21 and determines whether or not there is the vehicle-mounted ECU 3 that is being updated.
  • the information on the progress status of the transmission of the update program includes the identification information (for example, the serial number or the MAC address) that identifies the vehicle-mounted ECU 3 that is the update target, and the block ID of the transmitted update program.
  • the information regarding the progress status of the transmission of the update program includes information regarding whether or not the transmission of the update program to the vehicle-mounted ECU 3 is completed.
  • the control unit 20 is in the middle of updating. It is determined that there is the vehicle-mounted ECU 3.
  • the control unit 20 is in the process of updating. It is determined that there is no vehicle-mounted ECU 3.
  • the control unit 20 of the vehicle-mounted update device 2 acquires the identification information of the vehicle-mounted ECU 3 that is the update target (S12).
  • the control unit 20 of the in-vehicle update device 2 requests the in-vehicle ECU 3 to be updated to transmit the identification information of its own ECU.
  • the control unit 20 receives and acquires the identification information transmitted from the vehicle-mounted ECU 3.
  • the identification information transmitted from the vehicle-mounted ECU 3 includes, for example, the serial number or MAC address of the vehicle-mounted ECU 3 and the ECU part number.
  • the identification information transmitted from the vehicle-mounted ECU 3 may include information regarding the version of the program of the vehicle-mounted ECU 3.
  • the in-vehicle ECU 3 may transmit all the configuration information of the own ECU stored in the storage unit 31 to the in-vehicle update device 2.
  • the control unit 20 of the vehicle-mounted update device 2 determines whether the identification information acquired from the vehicle-mounted ECU 3 to be updated is different (S13).
  • the control unit 20 compares the identification information acquired from the vehicle-mounted ECU 3 to be updated with the identification information of the vehicle-mounted ECU 3 stored in the storage unit 21 as the update program is being transmitted, and determines whether these pieces of identification information are the same. Determine if they are different. In determining whether they are the same or different, the control unit 20 may compare all the items included in the identification information.
  • the identification information includes a serial number, a MAC address, and an ECU part number as predetermined items, and when all the items of the serial number, the MAC address, and the ECU part number are the same, these identification information match each other. Then, it may be determined.
  • the control unit 20 includes the case where the identification information does not match, the acquired identification information is not the same, that is, different. judge.
  • the control unit 20 of the vehicle-mounted update device 2 determines that the vehicle-mounted ECU 3 to be updated has been replaced while the transmission of the update program is interrupted (S14). . If the identification information acquired from the on-vehicle ECU 3 that is the update target does not match the identification information of the on-vehicle ECU 3 that stores the update program as being transmitted, the control unit 20 determines that the on-vehicle ECU 3 that is the update target does not match. If the identification information cannot be obtained without responding to the transmission request, the vehicle-mounted ECU 3 determines that the vehicle-mounted ECU 3 has been replaced while the transmission of the update program is suspended.
  • the control unit 20 of the in-vehicle update device 2 determines that the in-vehicle ECU 3 to be updated is interrupted while the transmission of the update program is suspended. It may be determined that it has been removed. Further, the control unit 20 may stop the transmission of the update program when the in-vehicle ECU 3 to be updated does not respond to the transmission request and cannot acquire the identification information.
  • the control unit 20 of the vehicle-mounted update device 2 determines whether the ECU part numbers included in the identification information are different (S15).
  • the identification information includes the serial number or the MAC address, which is a unique item for uniquely determining the vehicle-mounted ECU 3, and the ECU part number indicating the identity of the vehicle-mounted ECU 3 as a component.
  • the control unit 20 compares the ECU part numbers included in the identification information before the interruption and the identification information at the time of restarting, and determines whether these ECU part numbers are the same or different.
  • the control unit 20 of the in-vehicle update device 2 stops transmission of the update program (S16).
  • the vehicle-mounted ECU 3 when restarting the transmission is a completely different vehicle-mounted ECU 3 having a different serial number, MAC address and ECU part number from the vehicle-mounted ECU 3 before the transmission is interrupted. Therefore, the control unit 20 determines that the exchange of the vehicle-mounted ECU 3 performed while the transmission is interrupted is an improper exchange, and does not restart the transmission of the update program to the vehicle-mounted ECU 3 that is the update target. Stop sending updates.
  • the control unit 20 of the vehicle-mounted update device 2 transmits the update program from the beginning (S151).
  • the serial number or the MAC address is different between the identification information before being interrupted and the identification information at the time of restarting, the ECU part number may be the same.
  • the on-vehicle ECU 3 is replaced while the transmission is interrupted, but the on-vehicle ECU 3 is a part having the same model number or part number before and after the replacement.
  • the update program to the vehicle-mounted ECU 3 to be updated is transmitted from the beginning, and the transmission is restarted.
  • the control unit 20 transmits the update program in block units as in S114, S115, and S116 described below, and stores the update completion in the storage unit 21 after transmitting all blocks. Good.
  • the control unit 20 of the in-vehicle update device 2 transmits and stores the determination result (S17).
  • the control unit 20 displays the determination result indicating that the on-vehicle ECU 3 to be updated is replaced or removed while the transmission of the update program is interrupted, the program providing device S1 outside the vehicle, the display device 5 provided in the vehicle C, or The information is transmitted to both the program providing device S1 and the display device 5 provided in the vehicle C to notify that the replacement or removal has been performed.
  • the control unit 20 may include, in the determination result, the identification information of the vehicle-mounted ECU 3 stored in the storage unit 21 that the update program is being transmitted, and transmit and notify. Further, the control unit 20 may include a determination regarding the same or different ECU unit number in the determination result.
  • control unit 20 also transmits the identification information of the vehicle-mounted ECU 3 determined to have been exchanged while the transmission of the update program was interrupted (the identification information received from the vehicle-mounted ECU 3 after the exchange) together with the determination result to notify the same. May be Alternatively, the control unit 20 of the in-vehicle update device 2 transmits it to the mobile terminal such as a smart phone held by the operator of the vehicle C via the vehicle exterior communication device 1, and the in-vehicle ECU 3 to be updated has been replaced or removed. May be notified.
  • the control unit 20 associates the fact that the in-vehicle ECU 3 to be updated has been replaced or removed, including the received identification information or the fact that the in-vehicle ECU 3 has not been received, with the configuration information of the in-vehicle ECU 3 that is transmitting the update program, It is stored in the storage unit 21.
  • the control unit 20 of the vehicle-mounted updating device 2 acquires the update information and the update program (S111).
  • the control unit 20 of the in-vehicle update device 2 communicates with the program providing device S1 via the communication device 1 outside the vehicle to check the presence / absence of update information, and if there is update information, obtain the corresponding update program.
  • the control unit 20 identifies the vehicle-mounted ECU 3 to be updated based on the acquired update information.
  • the update information is not limited to being a data file separate from the update program.
  • the update information may be included in the data file of the update program, for example, as header information.
  • the control unit 20 of the in-vehicle update device 2 stores the update start (S112).
  • the control unit 20 stores in the storage unit 21 that the update of the on-vehicle ECU 3 is started (that the on-vehicle ECU 3 is being updated) in association with the identification information of the on-vehicle ECU 3 to be updated.
  • the control unit 20 of the in-vehicle update device 2 transmits the update program to the in-vehicle ECU 3 (S113).
  • the control unit 20 starts transmitting the update program.
  • the control unit 20 may establish a session with the vehicle-mounted ECU 3 that is the transmission destination.
  • the control unit 20 specifies the vehicle-mounted ECU 3 to be updated based on the acquired update information, but the present invention is not limited to this.
  • the control unit 20 transmits, for example, a predetermined packet or message generated based on the update information by multicast to all the vehicle-mounted ECUs 3 mounted on the vehicle C.
  • control unit 20 specifies the on-vehicle ECU 3 that responds by replying to the multicast including the configuration information of the own ECU as the on-vehicle ECU 3 to be updated, and starts updating the on-vehicle ECU 3 (the on-vehicle ECU 3 The fact that it is being updated) may be stored in the storage unit 21.
  • the control unit 20 of the vehicle-mounted update device 2 transmits the update program in block units (S114).
  • the control unit 20 transmits the update program in block units divided into a predetermined data size.
  • the control unit 20 may extract the separator included in the update program and divide the update program into blocks based on the separator. A block ID for identifying each block is given to each block.
  • the control unit 20 stores in the storage unit 21 information regarding the progress status (transmission status) of the update program transmission, including the block ID of the transmitted block and the transmission time point.
  • the control unit 20 of the in-vehicle update device 2 determines whether the block transmitted this time is the last block (S115). For example, when dividing the update program into blocks by dividing the update program into a predetermined data size, the control unit 20 determines the number of blocks to be generated. The number of the confirmed blocks becomes the number at the end of the block ID, and the control unit 20 determines whether or not the block ID of the block to be transmitted this time is the number at the end to complete the transmission of the update program. Or not.
  • the control unit 20 of the vehicle-mounted update device 2 performs a loop process to execute the process of S114 again.
  • the control unit 20 transmits the block ID in the next order of the block ID transmitted last time.
  • the in-vehicle ECU 3 to be updated which has received the block transmitted from the in-vehicle update device 2, stores the block in a storage area (first storage area 311 or second storage area 312) on the non-operating surface, and receives the block of the block.
  • Information about the progress status (reception status) of the update program reception including the ID and the reception time is stored in the storage unit 31.
  • the IG switch is turned off
  • the loop processing is being performed, that is, while the block-based transmission (S114) is being sequentially performed by the loop processing (S115).
  • the transmission of the block unit is interrupted.
  • the storage unit 21 of the vehicle-mounted update device 2 the update program and the block ID information of the last transmitted block remain.
  • the in-vehicle ECU 3 is stored in the storage unit 21 of the in-vehicle updating device 2 as being updated (the repro status is being updated). Therefore, the information stored in the storage unit 21 indicates that the transmission of the update program to the in-vehicle ECU 3 to be updated is in the midway state (the in-vehicle ECU 3 is updating the program / repro status is being updated).
  • the control unit 20 of the vehicle-mounted update device 2 stores the update completion in the storage unit 21 (S116).
  • the control unit 20 of the vehicle-mounted update device 2 terminates the transmission of the update program of the vehicle-mounted ECU 3 by transmitting the last block, and associates the completion of the update of the vehicle-mounted ECU 3 with the identification information of the vehicle-mounted ECU 3. , In the storage unit 21.
  • the vehicle-mounted ECU 3 After receiving the last block transmitted from the vehicle-mounted update device 2, the vehicle-mounted ECU 3 stores in the storage unit 31 that the update of its own ECU is completed.
  • the in-vehicle ECU 3 receives the last block and switches to the update program that has completed reception, that is, after switching the operation surface to the storage area in which the update program is stored, and then in-vehicle update that the switch to the update program is completed. It may be transmitted (notified) to the device 2.
  • the control unit 20 of the vehicle-mounted update device 2 completes the update of the vehicle-mounted ECU 3 including the switching of the operation surface after receiving the notification that the switching to the update program is completed from the vehicle-mounted ECU 3 to be updated. May be stored in the storage unit 21 in association with the identification information of the vehicle-mounted ECU 3.
  • the control unit 20 of the vehicle-mounted update device 2 may delete the update program after storing the completion of the update of the vehicle-mounted ECU 3 in the storage unit 21.
  • the control unit 20 of the in-vehicle update device 2 relates to the update program reception status from the in-vehicle ECU 3 to be updated. Information is acquired (S131).
  • the control unit 20 refers to the information regarding the progress status of the transmission of the previous update program stored in the storage unit 21, and identifies the vehicle-mounted ECU 3 from the identification information of the vehicle-mounted ECU 3 that is being updated.
  • the control unit 20 requests the vehicle-mounted ECU 3 that is in the process of updating to transmit information regarding the reception status of the update program by the vehicle-mounted ECU 3.
  • the storage unit 21 of the vehicle-mounted ECU 3 that is in the process of updating stores information about the progress status (reception status) of receiving the update program such as the received block ID and the time of reception, and the control unit 30 of the vehicle-mounted ECU 3 performs in-vehicle communication.
  • the reception status of the update program is transmitted to the vehicle-mounted update device 2 via the unit 32.
  • the control unit 20 of the in-vehicle update device 2 acquires the update program reception status from the in-vehicle ECU 3.
  • the control unit 30 of the vehicle-mounted ECU 3 may voluntarily transmit the reception status of the update program to the vehicle-mounted update device 2 when the reception of the previously transmitted update program is not completed.
  • the control unit 20 of the in-vehicle update device 2 determines whether the information on the transmission status matches the information on the reception status (S132).
  • the control unit 20 compares, for example, the block ID of the last transmitted block stored in the storage unit 21 with the block ID of the block finally received by the in-vehicle ECU 3 acquired from the in-vehicle ECU 3.
  • the control unit 20 determines whether or not the information regarding the progress status of transmission (transmission status) and the information regarding the progress status of reception (reception status) are consistent, depending on whether or not these block IDs are the same. To do.
  • the control unit 20 determines that the information regarding the transmission status and the information regarding the reception status are consistent.
  • the control unit 20 relates to the transmission status, for example, when the block IDs of the transmitted and received blocks are not the same, or when the in-vehicle ECU 3 that is the update target does not respond to the transmission request and cannot acquire the information regarding the reception status of the update program. It is determined that the information does not match the information regarding the reception status.
  • each of the vehicle-mounted update device 2 and the vehicle-mounted ECU 3 stores the checkpoint determined by the block ID of the transmitted / received block.
  • the control unit 20 of the vehicle-mounted update device 2 collates the checkpoint stored in the device itself with the checkpoint stored in the vehicle-mounted ECU 3, and the information regarding the transmission status matches the information regarding the reception status. You may decide whether or not. In this way, the block ID of each block transmitted / received can identify the interruption point at which the transmission / reception of the previous update program was interrupted.
  • the control unit 20 of the vehicle-mounted update device 2 restarts the transmission of the update program from the interruption point (S133).
  • the control unit 20 transmits the blocks in the order next to the block ID of the block transmitted last, and restarts the transmission of the update program.
  • the control unit 20 may re-establish a programming session with the vehicle-mounted ECU and then transmit the blocks in the next order.
  • the programming session may be based on UDS (Unified diagnostic services) according to ISO 14229-1, for example.
  • the control unit 20 of the vehicle-mounted update device 2 similarly performs the processing of S114, S115, and S116, and the processing of S134, S135, and S136.
  • the control unit 20 of the vehicle-mounted update device 2 transmits the update program from the beginning (S1321).
  • the vehicle-mounted ECU 3 to be updated is the same before and after the transmission / reception of the update program is interrupted, and the vehicle-mounted ECU 3 is not replaced while the transmission is interrupted.
  • the block ID transmitted last by the vehicle-mounted update device 2 and the block ID last received by the vehicle-mounted ECU 3 may be different due to, for example, a communication error caused by interruption of transmission / reception of the update program.
  • the control unit 20 of the in-vehicle update device 2 sets the update program first, that is, the first block. Restart transmission from.
  • the control unit 20 restarts the transmission (data transfer) of the update program from the beginning after the programming session is established between the vehicle-mounted update device 2 and the vehicle-mounted ECU 3.
  • the control unit 20 transmits from the block having the first block ID.
  • the programming session may be based on UDS (Unified diagnostic services) according to ISO14229-1, for example.
  • the control unit 20 of the in-vehicle update device 2 issues an instruction (notification) to the in-vehicle ECU 3 to delete the update program (received block) received in the previously interrupted transmission, and then the update program. May be restarted from the beginning. Therefore, even if the block IDs of the transmitted and received blocks are different and the interruption point is deviated between the vehicle-mounted update device 2 and the vehicle-mounted ECU 3, by restarting the transmission of the update program, the update program can be restarted from the beginning. Can be reliably transmitted to the vehicle-mounted ECU 3.
  • the control unit 20 of the in-vehicle update device 2 similarly performs the processing of S114, S115, and S116, and the processing of S1322, S1323, and S1324.
  • the transmission of the update program is stopped, but the present invention is not limited to this.
  • the control unit 20 of the in-vehicle update device 2 determines that the in-vehicle EUC 3 to be updated has been replaced while the transmission is suspended, and the update program to the in-vehicle ECU to be updated is determined.
  • the transmission of the update program may be stopped without restarting the transmission. That is, the control unit 20 determines whether the identification information is the same or different based on the comparison result of the serial numbers or the MAC addresses included in the identification information without considering the same or different ECU unit numbers.
  • the ECU 3 may determine that the replacement has been performed while the transmission is interrupted, and may stop the transmission of the update program.
  • the in-vehicle ECU 3 to be updated is replaced or removed while the transmission of the update program is interrupted, the transmission of the update program is stopped and the transmission is stopped. Such replacement or removal may be fraudulently performed.
  • the transmission of the update program is not resumed to the illegally mounted in-vehicle ECU 3, the in-vehicle ECU 3 in which the update program has been illegally replaced. Can be prevented from being received.
  • the operator or the like of the vehicle C is notified that the in-vehicle ECU 3 to be updated has been replaced or removed, the operator can take an appropriate response.
  • the replacement of the vehicle-mounted ECU 3 to be updated is performed while the update program is suspended, and the control unit 20 transmits information regarding the transmission time point of each block in the block-by-block transmission of the update program. It is included in the information regarding the transmission status and stored. Therefore, the control unit 20 derives the time period during which the update program is suspended based on the information regarding the transmission time point and the time point at which the update program is restarted, and specifies that the vehicle-mounted ECU 3 has been replaced or the like during the derived time period. can do.
  • the control unit 20 may output (transmit) the derived time zone by including it in the determination result and notify it.
  • the operator or the like of the vehicle C can recognize more detailed information regarding replacement or removal of the vehicle-mounted ECU 3.
  • FIG. 7 is a flowchart showing the processing of the control unit 20 of the vehicle-mounted update device 2.
  • FIG. 8 is a flowchart showing a process of the control unit 20 of the vehicle-mounted update device 2.
  • the control unit 20 of the vehicle-mounted update device 2 constantly communicates with the program providing device S1 via the vehicle exterior communication device 1 to perform the following processing.
  • the control unit 20 of the in-vehicle update device 2 determines whether there is the in-vehicle ECU 3 that is in the process of being updated (S21).
  • the control unit 20 refers to the information regarding the progress status of the transmission of the previous update program stored in the storage unit 21 and determines whether or not there is the vehicle-mounted ECU 3 that is being updated.
  • the information on the progress status of the transmission of the update program includes the identification information (for example, the serial number or the MAC address) that identifies the vehicle-mounted ECU 3 that is the update target, and the block ID of the transmitted update program.
  • the information regarding the progress status of the transmission of the update program includes information regarding whether or not the transmission of the update program to the vehicle-mounted ECU 3 is completed.
  • the control unit 20 is in the middle of updating. It is determined that there is the vehicle-mounted ECU 3.
  • the control unit 20 is in the process of updating. It is determined that there is no vehicle-mounted ECU 3.
  • the control unit 20 of the vehicle-mounted updating device 2 acquires the update information and the update program (S211).
  • the control unit 20 of the in-vehicle update device 2 communicates with the program providing device S1 via the communication device 1 outside the vehicle to check the presence / absence of update information, and if there is update information, obtain the corresponding update program.
  • the control unit 20 identifies the vehicle-mounted ECU 3 to be updated based on the acquired update information.
  • the control unit 20 of the in-vehicle update device 2 stores the update start (S212).
  • the control unit 20 stores in the storage unit 21 that the update of the in-vehicle ECU 3 is started (that the in-vehicle ECU 3 is being updated) in association with the identification information of the in-vehicle ECU 3 that deals with the update.
  • the control unit 20 of the in-vehicle update device 2 transmits the update program to the in-vehicle ECU 3 (S213).
  • the control unit 20 starts transmitting the update program.
  • the control unit 20 may establish a session with the vehicle-mounted ECU 3 that is the transmission destination.
  • the control unit 20 specifies the vehicle-mounted ECU 3 to be updated based on the acquired update information, but the present invention is not limited to this.
  • the control unit 20 transmits, for example, a predetermined packet or message generated based on the update information by multicast to all the vehicle-mounted ECUs 3 mounted on the vehicle C.
  • control unit 20 specifies the on-vehicle ECU 3 that responds by replying to the multicast including the configuration information of the own ECU as the on-vehicle ECU 3 to be updated, and starts updating the on-vehicle ECU 3 (the on-vehicle ECU 3 The fact that it is being updated) may be stored in the storage unit 21.
  • the control unit 20 of the in-vehicle update device 2 transmits the update program in block units (S214).
  • the control unit 20 transmits the update program in block units divided into a predetermined data size.
  • the control unit 20 may extract the separator included in the update program and divide the update program into blocks based on the separator. A block ID for identifying each block is given to each block.
  • the control unit 20 stores in the storage unit 21 information regarding the progress status (transmission status) of the update program transmission, including the block ID of the transmitted block and the transmission time point.
  • the control unit 20 of the in-vehicle update device 2 determines whether the block transmitted this time is the last block (S215). For example, when dividing the update program into blocks by dividing the update program into a predetermined data size, the control unit 20 determines the number of blocks to be generated. The number of the confirmed blocks becomes the number at the end of the block ID, and the control unit 20 determines whether or not the block ID of the block to be transmitted this time is the number at the end to complete the transmission of the update program. Or not.
  • the control unit 20 of the vehicle-mounted update device 2 performs a loop process again to execute the process of S214.
  • the control unit 20 transmits the block ID in the next order of the block ID transmitted last time.
  • the control unit 20 sequentially transmits blocks obtained by dividing the update program into a predetermined data size to the vehicle-mounted ECU 3 to be updated.
  • the in-vehicle ECU 3 to be updated which has received the block transmitted from the in-vehicle update device 2, stores the block in a storage area (first storage area 311 or second storage area 312) on the non-operating surface, and receives the block of the block.
  • Information about the progress status (reception status) of the update program reception including the ID and the reception time is stored in the storage unit 31.
  • the IG switch is turned off
  • the loop processing that is, while the block-based transmission (S214) is sequentially performed by the loop processing (S215).
  • the transmission of the block unit is interrupted.
  • the storage unit 21 of the vehicle-mounted update device 2 the update program and the block ID information of the last transmitted block remain.
  • the in-vehicle ECU 3 is stored in the storage unit 21 of the in-vehicle updating device 2 as being updated (the repro status is being updated). Therefore, the information stored in the storage unit 21 indicates that the transmission of the update program to the in-vehicle ECU 3 to be updated is in the midway state (the in-vehicle ECU 3 is updating the program / repro status is being updated).
  • the control unit 20 of the vehicle-mounted update device 2 stores the update completion in the storage unit 21 (S216).
  • the control unit 20 of the vehicle-mounted update device 2 terminates the transmission of the update program of the vehicle-mounted ECU 3 by transmitting the last block, and associates the completion of the update of the vehicle-mounted ECU 3 with the identification information of the vehicle-mounted ECU 3. , In the storage unit 21.
  • the vehicle-mounted ECU 3 After receiving the last block transmitted from the vehicle-mounted update device 2, the vehicle-mounted ECU 3 stores in the storage unit 31 that the update of its own ECU is completed.
  • the in-vehicle ECU 3 receives the last block and switches to the update program that has completed reception, that is, after switching the operation surface to the storage area in which the update program is stored, and then in-vehicle update that the switch to the update program is completed. It may be transmitted (notified) to the device 2.
  • the control unit 20 of the vehicle-mounted update device 2 completes the update of the vehicle-mounted ECU 3 including the switching of the operation surface after receiving the notification that the switching to the update program is completed from the vehicle-mounted ECU 3 to be updated. May be stored in the storage unit 21 in association with the identification information of the vehicle-mounted ECU 3.
  • the control unit 20 of the vehicle-mounted update device 2 may delete the update program after storing the completion of the update of the vehicle-mounted ECU 3 in the storage unit 21.
  • the control unit 20 of the vehicle-mounted update device 2 acquires information regarding the reception status of the update program from the vehicle-mounted ECU 3 to be updated (S22).
  • the control unit 20 refers to the information regarding the progress status of the transmission of the previous update program stored in the storage unit 21, and identifies the vehicle-mounted ECU 3 from the identification information of the vehicle-mounted ECU 3 that is being updated.
  • the control unit 20 requests the vehicle-mounted ECU 3 that is in the process of updating to transmit information regarding the reception status of the update program by the vehicle-mounted ECU 3.
  • the storage unit 21 of the vehicle-mounted ECU 3 that is in the process of updating stores information about the progress status (reception status) of receiving the update program such as the received block ID and the time of reception, and the control unit 30 of the vehicle-mounted ECU 3 performs in-vehicle communication.
  • the reception status of the update program is transmitted to the vehicle-mounted update device 2 via the unit 32.
  • the control unit 20 of the in-vehicle update device 2 acquires the update program reception status from the in-vehicle ECU 3.
  • the control unit 30 of the vehicle-mounted ECU 3 may voluntarily transmit the reception status of the update program to the vehicle-mounted update device 2 when the reception of the previously transmitted update program is not completed.
  • the control unit 20 of the in-vehicle update device 2 determines whether the information on the transmission status matches the information on the reception status (S23).
  • the control unit 20 compares, for example, the block ID of the last transmitted block stored in the storage unit 21 with the block ID of the block finally received by the in-vehicle ECU 3 acquired from the in-vehicle ECU 3.
  • the control unit 20 determines whether or not the information regarding the progress status of transmission (transmission status) and the information regarding the progress status of reception (reception status) are consistent, depending on whether or not these block IDs are the same. To do.
  • the control unit 20 determines that the information regarding the transmission status and the information regarding the reception status are consistent.
  • the control unit 20 relates to the transmission status, for example, when the block IDs of the transmitted and received blocks are not the same, or when the in-vehicle ECU 3 that is the update target does not respond to the transmission request and cannot acquire the information regarding the reception status of the update program. It is determined that the information does not match the information regarding the reception status.
  • each of the vehicle-mounted update device 2 and the vehicle-mounted ECU 3 stores the checkpoint determined by the block ID of the transmitted / received block.
  • the control unit 20 of the vehicle-mounted update device 2 collates the checkpoint stored in the device itself with the checkpoint stored in the vehicle-mounted ECU 3, and the information regarding the transmission status matches the information regarding the reception status. You may decide whether or not. In this way, the block ID of each block transmitted / received can identify the interruption point at which the transmission / reception of the previous update program was interrupted.
  • the control unit 20 of the vehicle-mounted update device 2 restarts the transmission of the update program from the interruption point (S24).
  • the control unit 20 transmits the blocks in the order next to the block ID of the block transmitted last, and restarts the transmission of the update program.
  • the control unit 20 may re-establish a programming session with the vehicle-mounted ECU and then transmit the blocks in the next order.
  • the programming session may be based on UDS (Unified diagnostic services) according to ISO 14229-1, for example.
  • the control unit 20 of the in-vehicle update device 2 similarly performs the processing of S214, S215, and S216, and the processing of S25, S26, and S27.
  • the control unit 20 of the vehicle-mounted update device 2 acquires the identification information of the vehicle-mounted ECU 3 to be updated (S231).
  • the control unit 20 of the in-vehicle update device 2 requests the in-vehicle ECU 3 to be updated to transmit the identification information of its own ECU.
  • the control unit 20 receives and acquires the identification information transmitted from the vehicle-mounted ECU 3.
  • the identification information transmitted from the vehicle-mounted ECU 3 includes, for example, the serial number or MAC address of the vehicle-mounted ECU 3.
  • the identification information transmitted from the vehicle-mounted ECU 3 may include information regarding the version of the program of the vehicle-mounted ECU 3.
  • the in-vehicle ECU 3 may transmit all the configuration information of the own ECU stored in the storage unit 31 to the in-vehicle update device 2.
  • the control unit 20 of the in-vehicle update device 2 determines whether the identification information acquired from the in-vehicle ECU 3 to be updated is valid (S232).
  • the control unit 20 compares the identification information acquired from the on-vehicle ECU 3 to be updated with the identification information of the on-vehicle ECU 3 stored in the storage unit 21 as the update program is being transmitted, and if they match, the acquired identification information is obtained. The information is judged to be valid. When they do not match, the control unit 20 determines that the acquired identification information is not valid, that is, is invalid.
  • the control unit 20 includes the case where the identification information does not match, the acquired identification information is not valid, that is, it is unreasonable. It is determined that
  • the control unit 20 compares the identification information of the vehicle-mounted ECU 3 stored in the storage unit 21, but the comparison is not limited to this.
  • the configuration information of the vehicle-mounted ECU 3 mounted on the vehicle C is stored in the program providing device S1, and the control unit 20 transmits the update program based on the configuration information of the vehicle-mounted ECU 3 transmitted from the program providing device S1.
  • the identification information of the vehicle-mounted ECU 3 may be derived.
  • the control unit 20 of the in-vehicle update device 2 transmits the update program from the beginning (S233). If it is determined to be valid, the in-vehicle ECU 3 to be updated is the same before and after the transmission and reception of the update program is interrupted. However, the block ID transmitted last by the vehicle-mounted update device 2 and the block ID last received by the vehicle-mounted ECU 3 may be different due to, for example, a communication error caused by interruption of transmission / reception of the update program.
  • the control unit 20 of the in-vehicle update device 2 sets the update program first, that is, the first block. Restart transmission from.
  • the control unit 20 restarts the transmission (data transfer) of the update program from the beginning after the programming session is established between the vehicle-mounted update device 2 and the vehicle-mounted ECU 3.
  • the control unit 20 transmits from the block having the first block ID.
  • the programming session may be based on UDS (Unified diagnostic services) according to ISO14229-1, for example.
  • the control unit 20 of the in-vehicle update device 2 issues an instruction (notification) to the in-vehicle ECU 3 to delete the update program (received block) received in the previously interrupted transmission, and then the update program. May be restarted from the beginning. Therefore, even if the block IDs of the transmitted and received blocks are different and the interruption point is deviated between the vehicle-mounted update device 2 and the vehicle-mounted ECU 3, by restarting the transmission of the update program, the update program can be restarted from the beginning. Can be reliably transmitted to the vehicle-mounted ECU 3.
  • the control unit 20 of the in-vehicle update device 2 performs the processing of S234, S235, and S236 in the same manner as the processing of S214, S215, and S216.
  • the control unit 20 of the vehicle-mounted update device 2 determines that the vehicle-mounted ECU 3 has been replaced (S2321). If the identification information acquired from the on-vehicle ECU 3 that is the update target does not match the identification information of the on-vehicle ECU 3 that stores the update program as being transmitted, the control unit 20 determines that the on-vehicle ECU 3 that is the update target does not match. If the identification information cannot be obtained without responding to the transmission request, the vehicle-mounted ECU 3 determines that the vehicle-mounted ECU 3 has been replaced while the transmission of the update program is suspended.
  • the control unit 20 of the in-vehicle update device 2 determines that the in-vehicle ECU 3 to be updated is interrupted while the transmission of the update program is suspended. It may be determined that it has been removed. The control unit 20 determines that the vehicle-mounted ECU 3 has been replaced or removed, and stops the transmission of the update program without restarting the transmission of the update program.
  • the interruption of the update program transmission occurs, for example, when the vehicle C is powered off (IG switch is off). Therefore, even if the vehicle-mounted ECU 3 to be updated is replaced or removed while the power of the vehicle C is turned off during the transmission of the update program and the transmission of the update program is interrupted, the replacement or It is possible to reliably detect the removed state.
  • the control unit 20 of the vehicle-mounted update device 2 transmits and stores the determination result (S2322).
  • the control unit 20 displays the determination result indicating that the on-vehicle ECU 3 to be updated is replaced or removed while the transmission of the update program is interrupted, the program providing device S1 outside the vehicle, the display device 5 provided in the vehicle C, or It outputs (transmits) to both of the program providing device S1 and the display device 5 provided in the vehicle C to notify that the replacement or removal has been performed.
  • the control unit 20 may output (transmit) and notify the determination result by including the identification information of the vehicle-mounted ECU 3 stored in the storage unit 21 that the update program is being transmitted.
  • the control unit 20 also outputs (transmits) the identification information of the vehicle-mounted ECU 3 that has been determined to have been replaced while the transmission of the update program was interrupted (identification information received from the vehicle-mounted ECU 3 after replacement) together with the determination result. It may be notified.
  • the control unit 20 of the in-vehicle update device 2 transmits it to the mobile terminal such as a smart phone held by the operator of the vehicle C via the vehicle exterior communication device 1, and the in-vehicle ECU 3 to be updated has been replaced or removed. May be notified.
  • the control unit 20 associates the fact that the in-vehicle ECU 3 to be updated has been replaced or removed, including the received identification information or the fact that the in-vehicle ECU 3 has not been received, with the configuration information of the in-vehicle ECU 3 that is transmitting the update program, It is stored in the storage unit 21.
  • the vehicle-mounted update device 2 is the gateway (relay device) that controls the segments of the system of the plurality of vehicle-mounted ECUs 3, but the invention is not limited to this.
  • the vehicle-mounted update device 2 may be a dedicated device connected to a specific segment and separate from the gateway.
  • the control unit 20 of the vehicle-mounted update device 2 performs the aggregation of the configuration information of the vehicle-mounted EUC, the consistency determination of the information regarding the transmission / reception status, and the validity determination of the identification information of the vehicle-mounted ECU 3 to be updated.
  • the respective functional units that collect the configuration information, determine the consistency of information regarding the transmission / reception status, and determine the validity of the identification information of the in-vehicle ECU 3 to be updated are distributed to a plurality of in-vehicle devices such as the gateway and the body ECU. It may be configured to function by communicating with each other to cooperate or cooperate.
  • FIG. 9 is a block diagram illustrating the configuration of the vehicle-mounted ECU 3 according to the third embodiment.
  • the vehicle-mounted ECU 3 according to the third embodiment includes a plurality of microcomputers including the control unit 20 and the storage unit 21, and the control unit 20 of the vehicle-mounted update device 2 corresponds to the vehicle-mounted ECU 3 including such a plurality of microcomputers.
  • the configuration information (vehicle configuration information) and the update history of the configuration information (vehicle configuration information update history) are acquired from the vehicle-mounted ECU 3 and stored in the storage unit 21.
  • the vehicle-mounted ECU 3 includes a control unit 30, a storage unit 31, and an in-vehicle communication unit 32 as in the first embodiment.
  • the individual configurations of the control unit 30, the storage unit 31, and the in-vehicle communication unit 32 are the same as those in the first embodiment.
  • the vehicle-mounted ECU 3 includes a plurality of microcomputers or circuit boards (two in the drawing) each including a control unit 30 and a storage unit 31, and a different program is stored in each storage unit 31 of each microcomputer or the like.
  • Each of the control units 30 of the vehicle-mounted ECU 3 is configured to execute separate processes by different programs in parallel by executing the programs stored in the storage unit 21 arranged in the same microcomputer or the like as its own unit. ing.
  • the vehicle configuration information of the vehicle-mounted ECU 3 including a plurality of microcomputers includes the same manufacturing number (serial number) and ECU part number (part number, model number), and a plurality of Software part numbers and programs corresponding to the number of the microcomputers. Will have current and old versions of.
  • FIG. 10 is an explanatory diagram illustrating an example of the configuration information of the vehicle-mounted ECU 3.
  • the storage unit 21 of the vehicle-mounted update device 2 stores the configuration information of all the vehicle-mounted ECUs 3 mounted on the vehicle C, as in the first embodiment.
  • the configuration information (vehicle configuration information master table) of the vehicle-mounted ECU 3 in this embodiment includes the same management items (fields) as in the first embodiment.
  • the control unit 20 of the vehicle-mounted update device 2 assigns a branch number corresponding to the number of microcomputers included in the vehicle-mounted ECU 3 to the ECU-ID (001-1, 001-2, 001-n), the program stored in the storage unit 21 of each microcomputer included in the single vehicle-mounted ECU 3 may be stored and managed as another record.
  • a branch numbered ECU-ID is set to "-" for the main number (001) and the branch number (1,2, n) of the ECU-ID. The numbers are connected in the same way.
  • the vehicle configuration information of the vehicle-mounted ECU 3 including a plurality of microcomputers includes the same manufacturing number (serial number) and ECU part number (part number, model number), and a plurality of Software part numbers corresponding to the number of the microcomputers. including.
  • the control unit 20 of the vehicle-mounted update device 2 issues a branch-added ECU-ID in which a branch number is added to the same ECU-ID corresponding to the same manufacturing number (serial number) and ECU part number (part number, model number).
  • the software part number of the program executed by each microcomputer is registered in the vehicle configuration information master table. It may be one that does.
  • the manufacturing number (serial number) and the ECU part number (part number, model number) registered in association with each ECU-ID having the same main number are the same.
  • the control unit 20 of the vehicle-mounted update device 2 determines whether the identification information acquired from the vehicle-mounted ECU 3 to be updated is different (S13) or whether the ECU part number included in the identification information is different.
  • the determination processing is performed based on the branch-numbered ECU-ID according to the number of microcomputers included in the vehicle-mounted ECU 3.
  • the ECU-IDs with branch numbers according to the number of microcomputers included in the vehicle-mounted ECU 3 have the same manufacturing number (serial number) and ECU part number (part number, model number), and the Software parts of a plurality of different programs.
  • the in-vehicle ECU 3 in-vehicle ECU 3 including a plurality of microcomputers
  • vehicle configuration information including the number, the current version of the program, and the like can be supported. That is, even when only one of the microcomputers of the vehicle-mounted ECU 3 including the plurality of microcomputers is replaced or removed while the transmission of the update program is interrupted, the replacement is detected, and Similarly, it can respond appropriately.
  • the ECU-ID with the branch number is stored in the field of the ECU-ID, but it is not limited to this.
  • the main number field of the ECU-ID and the branch number field are set as separate fields, and the main number of the ECU-ID (001) is stored in the main number field.
  • the branch number (1, 2, n) may be stored in the branch number field.
  • the vehicle configuration information of the vehicle-mounted ECU 3 including a plurality of microcomputers is stored and managed using the branch-numbered ECU-ID, but this aspect is merely an example, and the present invention is not limited to this.
  • the control unit 20 of the vehicle-mounted update device 2 is executed by each of the microcomputers using the single ECU-ID as a unique key, as in the first embodiment.
  • Each program may be stored by storing it in the field of the same record.
  • control unit 20 of the in-vehicle update device 2 combines the character strings of the software part numbers and the like of the programs included in the vehicle configuration information from the in-vehicle ECU 3 including a plurality of microcomputers, and the combined value is used as the ECU- It may be stored in the field of the Software part number in the ID record. In this way, by combining and managing the Software part numbers and the like by character strings, even if one of the in-vehicle ECUs 3 including a plurality of microcomputers is illegally replaced, the replacement is detected. As in the first embodiment, appropriate measures can be taken.
  • In-vehicle update system S1 Program providing device (external server) S11 storage unit (predetermined storage area) 1 External communication device 11 External communication unit 12 Input / output I / F 13 antenna 2 vehicle-mounted update device 20 control unit 21 storage unit (predetermined storage area) 22 recording medium 23 in-vehicle communication section 24 input / output I / F 3 In-vehicle ECU 30 Control Unit 31 Storage Unit 311 First Storage Area (First Surface) 312 Second storage area (second surface) 32 In-vehicle communication section 4 In-vehicle LAN 5 Display device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

車外の外部サーバから送信される更新プログラムを取得し、車両に搭載される車載ECUのプログラムを更新するための処理を行う車載更新装置であって、前記車載ECUへの前記更新プログラムの送信を制御する制御部を備え、前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する。

Description

車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システム
 本発明は、車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システムに関する。
 車両には、エンジン制御等のパワー・トレーン系、エアコン制御等のボディ系等の車載機器を制御するための車載ECU(Electronic Control Unit)が搭載されている。車載ECUは、MPU等の演算処理部、RAM等の書き換え可能な不揮発性の記憶部、及び他の車載ECUと通信するための通信部を含み、記憶部に記憶した制御プログラムを読み込んで実行することにより、車載機器の制御を行う。更に車両には、無線通信の機能を備えた中継装置が実装されており、中継装置を介して、車外のネットワークに接続されているプログラム提供装置と通信し、当該プログラム提供装置から車載ECUの制御プログラムをダウンロード(受信)し、当該車載ECUの制御プログラムを更新することができる(例えば特許文献1参照)。
特開2017-97851号公報
 本開示の一態様に係る車載更新装置は、車外の外部サーバから送信される更新プログラムを取得し、車両に搭載される車載ECUのプログラムを更新するための処理を行う車載更新装置であって、前記車載ECUへの前記更新プログラムの送信を制御する制御部を備え、前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する。
実施形態1に係る車載更新システムの構成を例示する模式図である。 車載更新装置等の構成を例示するブロック図である。 車載ECUの構成情報の一態様を例示する説明図である。 車載更新装置の制御部の処理を例示するフローチャートである。 車載更新装置の制御部の処理を例示するフローチャートである。 車載更新装置の制御部の処理を例示するフローチャートである。 実施形態2に係る車載更新装置の制御部の処理を例示するフローチャートである。 実施形態2に係る車載更新装置の制御部の処理を例示するフローチャートである。 実施形態3に係る車載ECU3の構成を例示するブロック図である。 車載ECUの構成情報の一態様を例示する説明図である。
[本開示が解決しようとする課題]
 特許文献1の中継装置は、ダウンロードした制御プログラムを車載ECUに送信する処理において、中継装置と車載ECUとの間の送信が中断された間に当該車載ECUが交換された場合の対応に関する考慮がされていないという問題点がある。
 本開示の目的は、車載ECUのプログラムを更新するにあたり、車載更新装置と車載ECUとの間の送信が中断された間に当該車載ECUが交換された場合、適切に対応することができる車載更新装置等を提供する。
[本開示の効果]
 本開示の一態様によれば、車載ECUのプログラムを更新するにあたり、車載更新装置と車載ECUとの間の送信が中断された間に当該車載ECUが交換された場合、適切に対応することができる車載更新装置等を提供することができる。
[本開示の実施形態の説明]
 最初に本開示の実施態様を列挙して説明する。また、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
(1)本開示の一態様に係る車載更新装置は、車外の外部サーバから送信される更新プログラムを取得し、車両に搭載される車載ECUのプログラムを更新するための処理を行う車載更新装置であって、前記車載ECUへの前記更新プログラムの送信を制御する制御部を備え、前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する。
 本態様にあたっては、送信が中断された後に該送信を再開する際、車載ECUの識別情報が、送信が中断される前の識別情報と異なる場合は、送信が中断している間に前記車載ECUは交換されたと判定し所定の処理を実行するため、当該車載ECUが交換された場合、適切に対応することができる。
(2)本開示の一態様に係る車載更新装置は、前記制御部が実行する前記所定の処理は、該判定に関する情報を前記外部サーバ又は、前記車両に設けられている表示装置に送信する処理である。
 本態様にあたっては、送信が中断された後に該送信を再開する際、車載ECUの識別情報が、送信が中断される前の識別情報と異なる場合は、送信が中断している間に前記車載ECUは交換されたと判定し、当該判定結果を外部サーバ又は、前記車両に設けられている表示装置に送信するため、当該判定結果を報知することができる。
(3)本開示の一態様に係る車載更新装置は、前記制御部が実行する前記所定の処理は、該判定に関する情報を記憶する処理である。
 本態様にあたっては、送信が中断された後に該送信を再開する際、車載ECUの識別情報が、送信が中断される前の識別情報と異なる場合は、送信が中断している間に前記車載ECUは交換されたと判定し、当該判定結果を車載更新装置の記憶部に記憶するため、当該判定結果を保存することができる。
(4)本開示の一態様に係る車載更新装置は、前記制御部が実行する前記所定の処理は、前記更新プログラムの送信を中止する処理である。
 本態様にあたっては、送信が中断された後に該送信を再開する際、車載ECUの識別情報が、送信が中断される前の識別情報と異なる場合は、送信が中断している間に前記車載ECUは交換されたと判定し、更新プログラムの送信を中止するため、交換された車載ECUによって、更新プログラムが受信されることを防止することができる。
(5)本開示の一態様に係る車載更新装置は、前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報に含まれる所定項目と、前記送信が中断される前の識別情報に含まれる所定項目とが、同一の場合は、前記更新プログラムの送信を最初から再開し、前記車載ECUの識別情報に含まれる所定項目と、前記送信が中断される前の識別情報に含まれる所定項目とが、同一でない場合は、前記更新プログラムの送信を中止する。
 本態様にあたっては、識別情報に含まれる所定項目の同異に基づき、更新プログラムの送信を最初から再開、又は更新プログラムの送信を中止するため、送信が中断している間に車載ECUが交換された場合に適切に対応することができる。
(6)本開示の一態様に係る車載更新装置は、前記車載ECUの識別情報に含まれる所定項目は、該車載ECUのECU部番に関する情報である。
 本態様にあたっては、車載ECUの識別情報に含まれる所定項目は、該車載ECUのECU部番に関する情報とすることにより、送信が中断している間に車載ECUが交換された場合であっても、交換された車載ECUのECU部番が、送信が中断した際の車載ECUの部番と同一の場合は、更新プログラムの送信を最初から再開する。従って、送信が中断している間に車載ECUが交換された場合に更に適切に対応することができる。なお、車載更新装置は送信を最初から再開するにあたり、車載更新装置と車載ECUとの間でのプログラミングセッションの確立後、更新プログラムの送信(データ転送)を最初から再開するものであってもよい。
(7)本開示の一態様に係る車載更新装置は、前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と同一の場合、前記更新プログラムの送信を再開する。
 本態様にあたっては、送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と同一の場合、前記更新プログラムの送信を再開するため、車載ECUのプログラムの更新を確実に行うことができる。
(8)本開示の一態様に係る車載更新装置は、前記制御部は、前記車載ECUへの前記更新プログラムの送信状況に関する情報を記憶し、前記送信が中断された場合、前記車載ECUから前記更新プログラムの受信状況に関する情報を取得し、前記送信状況に関する情報と、取得した前記受信状況に関する情報とが整合した場合、前記送信状況に関する情報又は前記受信状況に関する情報に基づき決定される中断ポイントから、前記車載ECUへの前記更新プログラムの送信を再開し、前記送信状況に関する情報と、取得した前記受信状況に関する情報とが整合しなかった場合、前記車載ECUへの前記更新プログラムの送信を最初から再開する。
 本態様にあたっては、送信状況に関する情報と取得した受信状況に関する情報とが整合した場合、送信が中断された中断ポイントから前記プログラムの車載ECUへの送信を再開するので、当該送信を効率的に再開することができる。
(9)本開示の一態様に係る更新処理プログラムは、コンピュータに、車外の外部サーバから送信される更新プログラムを取得し、前記更新プログラムを車載ECUへ送信し、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する処理を実行させる。
 本態様にあたっては、コンピュータを車載更新装置として機能させることができる。
(10)本開示の一態様に係るプログラムの更新方法は、車外の外部サーバから送信される更新プログラムを取得し、前記更新プログラムを車載ECUへ送信し、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する。
 本態様にあたっては、車載ECUのプログラムを更新するにあたり、車載更新装置と車載ECUとの間の送信が中断された間に当該車載ECUが交換された場合、適切に対応することができる。
(11)本開示の一態様に係る車載更新システムは、車両に搭載される車載更新システムであって、車外の外部サーバから送信される更新プログラムを受信する車外通信装置と、前記車外通信装置を介して前記外部サーバから送信される更新プログラムを取得する車載更新装置と、前記車載更新装置から送信される更新プログラムによって、プログラムの更新を行う車載ECUとを備え、前記車載更新装置は、前記車載ECUへの前記更新プログラムの送信を制御する制御部を含み、前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する。
 本態様にあたっては、車載ECUのプログラムを更新するにあたり、車載更新装置と車載ECUとの間の送信が中断された間に当該車載ECUが交換された場合、適切に対応することができる。
[本開示の実施形態の詳細]
 本開示をその実施の形態を示す図面に基づいて具体的に説明する。本開示の実施形態に係る車載更新装置2を、以下に図面を参照しつつ説明する。なお、本開示はこれらの例示に限定されるものではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
(実施形態1)
 以下、実施の形態について図面に基づいて説明する。図1は、実施形態1に係る車載更新システムの構成を示す模式図である。図2は、車載更新装置2等の構成を示すブロック図である。車載更新システムSは、車両Cに搭載された車外通信装置1及び車載更新装置2を含み、車外ネットワークNを介して接続されたプログラム提供装置S1から取得したプログラム又はデータを、車両Cに搭載されている車載ECU3(Electronic Control Unit)に送信する。
 プログラム提供装置S1は、例えばインターネット又は公衆回線網等の車外ネットワークNに接続されているサーバ等のコンピュータであり、RAM(Random Access Memory)、ROM(Read Only Memory)又はハードディスク等による記憶部S11を備え、車外の外部サーバに相当する。プログラム提供装置S1には、車載ECU3の製造メーカ等によって作成された当該車載ECU3を制御するためのプログラム又はデータが、記憶部S11(所定の記憶領域)に保存されている。当該プログラム又はデータは、更新プログラムとして、後述のごとく車両Cに送信され、車両Cに搭載されている車載ECU3のプログラム又はデータを更新するために用いられる。このように構成されたプログラム提供装置S1(外部サーバ)は、OTA(Over The Air)サーバとも称される。車両に搭載される車載ECU3は、プログラム提供装置S1から無線通信により送信された更新プログラムを取得し、当該更新プログラムを実行するプログラムとして適用することにより、自ECUが実行するプログラムを更新(リプロ)することができる。
 以降、プログラムは、車載ECU3が処理を行うための制御構文等を含むプログラムコード及び、当該プログラムコードを実行するにあたり参照するデータが記載される外部ファイルを含むものとして説明する。更新プログラムの送信時において、これらプログラムコード及びデータが記載される外部ファイルは、例えば暗号化されたアーカイブファイルとして、プログラム提供装置S1から送信される。
 車両Cには、車外通信装置1、車載更新装置2、表示装置5、及び種々の車載機器を制御するための複数の車載ECU3が搭載されている。車外通信装置1と車載更新装置2とは、例えばシリアルケーブル等のハーネスにより通信可能に接続されている。車載更新装置2及び車載ECU3は、CAN(Control Area Network/登録商標)又はEthernet(登録商標)等の通信プロトコルに対応した車内LAN4によって通信可能に接続されている。
 車外通信装置1は、車外通信部11及び、車載更新装置2と通信するための入出力I/F(インターフェイス)12を含む。車外通信部11は、3G、LTE、4G、WiFi等の移動体通信のプロトコルを用いて無線通信をするための通信装置であり、車外通信部11に接続されたアンテナ13を介してプログラム提供装置S1とデータの送受信を行う。車外通信装置1とプログラム提供装置との通信は、例えば公衆回線網又はインターネット等の外部ネットワークを介して行われる。
 入出力I/F12は、車載更新装置2と、例えばシリアル通信するための通信インターフェイスである。車外通信装置1と車載更新装置2とは、入出力I/F12及び入出力I/F12に接続されたシリアルケーブル等のハーネスを介して相互に通信する。本実施形態では、車外通信装置1は、車載更新装置2と別装置とし、入出力I/F12等によってこれら装置を通信可能に接続しているが、これに限定されない。車外通信装置1は、車載更新装置2の一構成部位として、車載更新装置2に内蔵されるものであってもよい。
 車載更新装置2は、制御部20、記憶部21及び車内通信部23を含む。車載更新装置2は、車外通信装置1が無線通信によってプログラム提供装置S1から受信した更新プログラムを、車外通信装置1から取得し、車内LAN4を介して当該更新プログラムを所定の車載ECU3(更新対象の車載ECU3)に送信するように構成されている。車載更新装置2は、例えば、制御系の車載ECU3、安全系の車載ECU3及び、ボディ系の車載ECU3等の複数の系統のセグメントを統括し、これらセグメント間での車載ECU3同士の通信を中継するゲートウェイ(中継器)である。又は、車載更新装置2は、車両C全体をコントロールするボディECUの一機能部として構成されるものであってもよい。
 制御部20は、CPU(Central Processing Unit)又はMPU(Micro Processing Unit)等により構成してあり、記憶部21に予め記憶された制御プログラム及びデータを読み出して実行することにより、種々の制御処理及び演算処理等を行うようにしてある。制御部20は、プログラム提供装置S1から送信された更新プログラムを、車外通信装置1を介して取得する取得部に相当する。
 記憶部21は、RAM(Random Access Memory)等の揮発性のメモリ素子又は、ROM(Read Only Memory)、EEPROM(Electrically Erasable Programmable ROM)若しくはフラッシュメモリ等の不揮発性のメモリ素子により構成してあり、制御プログラム及び処理時に参照するデータがあらかじめ記憶してある。記憶部21に記憶された制御プログラムは、車載更新装置2が読み取り可能な記録媒体22から読み出された制御プログラムを記憶したものであってもよい。また、図示しない通信網に接続されている図示しない外部コンピュータから制御プログラムをダウンロードし、記憶部21に記憶させたものであってもよい。更に、記憶部21(所定の記憶領域)には、車両Cに搭載される全ての車載ECU3の構成情報が記憶される。記憶部21には、プログラム提供装置S1から取得した更新プログラム、及び車載ECU3に更新プログラムを送信する際の進捗状況に関する情報が、記憶される。
 車内通信部23は、CAN(Control Area Network)又はEthernet(登録商標)等の通信プロトコルを用いた入出力インターフェイスであり、制御部20は、車内通信部23を介して車内LAN4に接続されている車載ECU3又は他の中継装置等の車載機器と相互に通信する。車内通信部23は、複数個(図面上では3つ)設けられており、車内通信部23夫々に、車内LAN4を構成する通信線が接続されている。このように車内通信部23を複数個設けることにより、車内LAN4は複数個のセグメントに分け、各セグメントに車載ECUを、当該車載ECUの機能(制御系機能、安全系機能、ボディ系機能)に応じて接続する。
 車載ECU3は、制御部30、記憶部31及び車内通信部32を含む。記憶部31は、RAM(Random Access Memory)等の揮発性のメモリ素子又は、ROM(Read Only Memory)、EEPROM(Electrically Erasable Programmable ROM)若しくはフラッシュメモリ等の不揮発性のメモリ素子により構成してあり、車載ECU3のプログラム又はデータが記憶されている。このプログラム又はデータが、車載更新装置2から送信される更新プログラムによって更新される対象である。
 記憶部31は、第1記憶領域(第1面)311及び第2記憶領域(第2面)312を含む。記憶部31には、現状において車載ECU3が実行(適用)しているプログラム(現バージョン)及び、現バージョンの以前に適用されていたプログラム(旧バージョン)の2つのプログラムが記憶されている。これら現バージョンのプログラムと、旧バージョンのプログラムとは、第1記憶領域311又は第2記憶領域312のいずれかの記憶領域に分かれて、記憶されている。すなわち、第1記憶領域311に現バージョンのプログラムが記憶されている場合、第2記憶領域312に旧バージョンのプログラムが記憶されている。第1記憶領域311に旧バージョンのプログラムが記憶されている場合、第2記憶領域312に現バージョンのプログラムが記憶されている。このように現バージョン及び旧バージョンの2つのプログラムを、いわいる2面持ちとして記憶することにより、万が一現バージョンのプログラムに問題が生じた場合であっても、制御部30は、以前に適用して正常に動作していた旧バージョンのプログラムを読み込み実行する(切替える)ことで、車載ECU3の信頼性を担保することができる。
 記憶部31には、現バージョン及び旧バージョンの2つのプログラム夫々のバージョンに関する情報、及び現在実行(適用)しているプログラムが記憶されている領域(動作面)に関する情報が記憶されている。すなわち、現状において第1記憶領域(第1面)311に記憶されているプログラムを実行している場合、記憶部31には、動作面は第1記憶領域(第1面)311であると記憶される。現状において第2記憶領域(第2面)312に記憶されているプログラムを実行している場合、記憶部31には、動作面は第2記憶領域(第2面)312であると記憶される。記憶部31には、プログラム(現バージョン及び旧バージョン)のバージョン情報及び動作面に関する情報を含め、自ECUの構成情報、車載更新装置2から更新プログラムを受信する際の進捗状況に関する情報、及び過去に行われた単数又は複数回の更新履歴に関する情報が、記憶される。
 制御部30は、CPU(Central Processing Unit)又はMPU(Micro Processing Unit)等により構成してあり、記憶部31(動作面)に記憶されたプログラム及びデータを読み出し実行して制御処理等を行い、当該車載ECU3を含む車載機器又はアクチュエータ等が制御される。
 車載ECU3の制御部30は、車載更新装置2から送信される更新プログラムを、車内通信部32を介して受信し、当該更新プログラムを取得する。従って、車載ECU3の制御部30は、プログラム提供装置S1から送信された更新プログラムを、車外通信装置1及び車載更新装置2を介して取得する。制御部30は、取得した更新プログラムを、動作面でない記憶領域(第1記憶領域311又は第2記憶領域312)に記憶する。すなわち、制御部30は、車載更新装置2から送信された更新プログラムを取得するにあたり、当該取得の準備処理として、動作面でない記憶領域(非動作面)に記憶されているプログラムを削除する。通常、動作面でない記憶領域に記憶されているプログラムは、現バージョンのプログラムの以前に実行された旧バージョンのプログラムであるため、車載ECU3における車載装置への制御機能を停止させることなく、当該旧バージョンを削除することができる。制御部30は、動作面でない記憶領域(非動作面)に記憶されている旧バージョンのプログラムを削除し、車載更新装置2から送信された更新プログラムを、当該非動作面に記憶する。
 詳細は後述するが、車載更新装置2からの更新プログラムの送信は、当該更新プログラムを、例えば所定のデータサイズで分割したブロック単位で行われる。送信されるブロック夫々には、当該ブロックを個々に識別するためのブロックIDが付与されており、車載ECU3の制御部30は、受信したブロックIDを記憶部31に記憶することにより、更新プログラムの受信に関する進捗状況を記憶することができる。
 車載ECU3の制御部30は、更新プログラムの受信を正常終了、すなわち分割された全てのブロックの受信を正常終了した後、車両CのIGスイッチのオン及びオフ等の所定の動作が実行された場合、動作面の切替えを行い、受信した更新プログラムを現バージョンのプログラムとして適用して実行する。車載ECU3の制御部30は、更新プログラムの受信を正常終了した場合、又は動作面の切替えを正常に行った場合、プログラムの更新が完了(正常終了)したことを記憶部31に記憶し、更に車載更新装置2に送信(通知)するものであってもよい。
 表示装置5は、例えばカーナビゲーションのディスプレイ等のHMI(Human Machine Interface)装置である。表示装置5は、車載更新装置2の入出力I/F24とシリアルケーブル等のハーネスにより通信可能に接続されている。表示装置5には、車載更新装置2の制御部20から入出力I/F24を介して出力されたデータ又は情報が表示される。表示装置5と車載更新装置2との接続形態は、入出力I/F24等による接続形態に限定されず、表示装置5と車載更新装置2とは、車内LAN4を介した接続形態であってもよい。
 図3は、車載ECU3の構成情報の一態様を例示する説明図である。車載更新装置2の制御部20は、IG(イグニッション)スイッチがオンにされた場合、又は所定のタイミングにて、定常的に車両Cに搭載されている全ての車載ECU3に対し、車載ECU3の構成情報(車両構成情報)及び当該構成情報の更新履歴(車両構成情報更新履歴)を送信することを要求し、送信された構成情報及び更新履歴を取得し、記憶部21に記憶する。又は、車載更新装置2の制御部20は、車載ECU3に対し車載ECU3の構成情報及び更新履歴を送信することを要求することなく、車載ECU3夫々が自発的に送信した構成情報及び更新履歴を取得し、記憶部21に記憶するものであってもよい。上述のごとく、車載ECU3夫々の記憶部21には、自ECUの構成情報及び更新履歴が記憶されている。従って、車載更新装置2は、車載ECU3夫々に記憶されている構成情報及び更新履歴の夫々を集約し、車載ECU3夫々の構成情報及び更新履歴を記憶する。車載更新装置2は、集約して記憶した車載ECU3夫々の構成情報及び更新履歴を、プログラム提供装置S1に送信するものであってもよい。構成情報及び更新履歴をプログラム提供装置S1に送信することにより、プログラム提供装置S1の記憶部S11に、当該構成情報及び更新履歴のバックアップを行うことができる。
 図3に示すごとく、車載ECU3の構成情報(車両構成情報マスターテーブル)は、例えば車載ECU3の製造番号(シリアル番号)、ECU部番(部番、型番)、Software部番、プログラムの現バージョン、旧バージョン、動作面数、動作面、MAC(Media Access Control)アドレス、IPアドレス、前回更新完了日時及びリプロステータスを含み、個々の車載ECU3において重複しないように設定された連番等によるECU-IDに関連付けられて管理される。
 製造番号(シリアル番号)は、車載ECU3の製造時に付与される番号であり、生産拠点等を示すロット番号及び製造時の連番等により構成され、当該ECUを一意に特定することができるユニークな番号である。ECU部番(部番、型番)は、車載ECUの種類を特定する番号であり、例えば部品番号である。Software部番は、更新プログラムのソフトウェアの種類を特定するための番号である。
 動作面数とは、異なるバージョンの更新プログラムを記憶する記憶領域の数である。すなわち、動作面数が2つの場合、2つの異なるバージョンの更新プログラムを記録することができる。動作面数1つの場合、単一のバージョンの更新プログラムのみを記憶することができる。動作面は、現状において、車載ECU3が実行(適用)しているプログラムが記憶されているいずれかの記憶領域(第1記憶領域311又は第2記憶領域312)を特定する情報である。
 現バージョンは、現状において、車載ECU3が実行(適用)しているプログラムのバージョン番号であり、動作面に記憶されているプログラムのバージョン番号である。旧バージョンは、以前に車載ECU3が実行(適用)していたプログラムのバージョン番号であり、非動作面(動作面でない記憶領域)に記憶されているプログラムのバージョン番号である。
 MACアドレスは、車載ECU3の車内通信部23がEthernetに対応した通信ポートである場合、データリング層に対応するアドレスである。MACアドレスは、当該車内通信部23の製造時付与される番号であり、製造者を示すベンダーコード及び製造時の連番等により構成され、当該ECUを一意に特定することができるユニークな番号である。
 IPアドレスは、車内通信部23がEthernetに対応した通信ポートである場合、TCP/IPを用いた通信を行う際のネットワーク層に対応するアドレスである。
 車載ECU3の構成情報は、当該車載ECU3を識別するための識別情報を含む。IPアドレスは、車内通信部23の設定に応じて任意に決定できるアドレスであるため、車載ECU3を識別するための識別情報としては、シリアル番号又はMACアドレスを用いることが望ましい。又、識別情報には、当該シリアル番号又はMACアドレスに加え、車載ECU3のECU部番(部番、型番)を含むものであってもよい。識別情報にECU部番を含ませることにより、車載ECU3の部品としての同一性に関する判定を行うことができる。すなわち、2つの構成情報を比較する際、シリアル番号又はMACアドレスは異なるが、ECU部番が同一の場合、これら構成情報を持つ車載ECU3夫々は、部品(部番、型番)としては同一であることを意味する。
 前回更新完了日時は、前回に実施された更新(更新プログラムの送信)が完了した日時である。リプロステータスは、更新に関する最新の状態を示すものである。なお、これら情報は、後述の更新履歴に関する情報(車両構成情報更新履歴テーブル)との関連性を保持している。
 図3の下段に示すとおり、車載更新装置2の記憶部21には、車載ECU3夫々の構成情報に加え、当該構成情報の更新履歴に関する情報が記憶されている。車載ECU3夫々の構成情報(車両構成情報マスターテーブル)と、該構成情報の更新履歴(車両構成情報更新管理テーブル)とは、例えば別テーブルにより登録又は管理されていてもよい。構成情報の更新履歴に関する情報は、履歴内容及び当該履歴内容が行われた日時を含み、これら履歴内容及び日時と、各車載ECUのECU-IDとを関連付けて登録又は管理する。履歴内容は、例えば更新プログラムを受信してから更新完了の通知(完了通知)を発信するまでの各処理(更新プログラム受信開始、更新プログラム受信完了、動作面切替え及び完了通知)を含む。又、履歴内容は、これら各処理の対象となる更新プログラムのバージョンを含めるものであってもよい。車両構成情報マスターテーブルと車両構成情報更新管理テーブルとは、関連性が保持されており、各車載ECUにおける最も新しい日時の履歴内容に応じて、構成情報におけるリプロステータスが導出されるものであってもよい。
 車載ECU3の構成情報に含まれる情報は、図3に示す項目の情報に限定されない。車載ECU3がCANによって接続される場合、車載ECU3の構成情報は、当該車載ECU3がメッセージを送信する際に用いる(含める)CAN-IDを含むものであってよい。
 車載ECU3の識別情報は、車載ECU3の構成情報に含まれるシリアル番号又はMACアドレスを含む。車載更新装置2の制御部20は、構成情報に含まれるシリアル番号又はMACアドレスによる車載ECU3の識別情報と、当該車載ECU3への更新プログラムの送信の進捗状況に関する情報とを関連づけて、記憶部21に記憶する。
 図4は、車載更新装置2の制御部20の処理を示すフローチャートである。図5は、車載更新装置2の制御部20の処理を示すフローチャートである。図6は、車載更新装置2の制御部20の処理を示すフローチャートである。車載更新装置2の制御部20は、車両Cが起動状態(IGスイッチがオン)において、車外通信装置1を介して、定常的にプログラム提供装置S1と通信し、以下の処理を行う。
 車載更新装置2の制御部20は、更新途中の車載ECU3があるかを判定する(S11)。制御部20は、記憶部21に記憶されている前回の更新プログラムの送信の進捗状況に関する情報を参照し、更新途中の車載ECU3があるかを判定する。詳細は後述するが、更新プログラムの送信の進捗状況に関する情報は、更新対象の車載ECU3を特定する識別情報(例えば、シリアル番号又はMACアドレス)と、送信した更新プログラムのブロックIDを含む。更に、更新プログラムの送信の進捗状況に関する情報は、当該車載ECU3への更新プログラムの送信が完了したか否かに関する情報を含む。制御部20は、例えば、前回送信した更新プログラムのブロックIDが、更新プログラムを送信するにあたり最後のブロックのブロックIDでない場合、又は更新プログラムの送信が完了していない車載ECU3がある場合、更新途中の車載ECU3があると判定する。制御部20は、例えば、前回送信した更新プログラムのブロックIDが、更新プログラムを送信するにあたり最後のブロックのブロックIDである場合、又は更新プログラムの送信が途中の車載ECU3がない場合、更新途中の車載ECU3がないと判定する。
 更新途中の車載ECU3がある場合(S11:YES)、車載更新装置2の制御部20は、更新対象の車載ECU3の識別情報を取得する(S12)。車載更新装置2の制御部20は、更新対象の車載ECU3へ自ECUの識別情報を送信することを要求する。制御部20は、当該車載ECU3から送信された識別情報を受信し、取得する。車載ECU3から送信された識別情報は、例えば当該車載ECU3のシリアル番号又はMACアドレス、及びECU部番を含む。更に、車載ECU3から送信された識別情報は、当該車載ECU3のプログラムのバージョンに関する情報を含むものであってもよい。又は、当該車載ECU3は、記憶部31に記憶してある自ECUの構成情報の全てを車載更新装置2に送信するものであってもよい。
 車載更新装置2の制御部20は、更新対象の車載ECU3から取得した識別情報は異なるかを判定する(S13)。制御部20は、更新対象の車載ECU3から取得した識別情報と、更新プログラムを送信中であるとして記憶部21に記憶している車載ECU3の識別情報とを比較し、これら識別情報夫々が同一か異なるかを判定する。同一か異なるかを判定するにあたり、制御部20は、識別情報に含まれる全ての項目を比較するものであってもよい。すなわち、例えば識別情報に所定の項目として、シリアル番号、MACアドレス及びECU部番が含まれる場合、シリアル番号、MACアドレス及びECU部番の全ての項目が同一である場合、これら識別情報夫々が一致すると判定してもよい。更新対象の車載ECU3が送信要求に応答せず識別情報を取得できなかった場合は、識別情報が一致しなかった場合に含め、制御部20は、取得した識別情報は同一ではない、すなわち異なると判定する。
 識別情報は異なると判定した場合(S13:YES)、車載更新装置2の制御部20は、更新対象の車載ECU3は、更新プログラムの送信が中断している間に交換されたと判定する(S14)。制御部20は、更新対象の車載ECU3から取得した識別情報と、更新プログラムを送信中であるとして記憶している車載ECU3の識別情報とが一致しなかった場合、又は当該更新対象の車載ECU3が送信要求に応答せず識別情報を取得できなかった場合、更新プログラムの送信が中断している間に車載ECU3は交換されたと判定する。車載更新装置2の制御部20は、当該更新対象の車載ECU3が送信要求に応答せず識別情報を取得できなかった場合、更新プログラムの送信が中断している間に当該更新対象の車載ECU3は取り外されたと判定してもよい。又、制御部20は、当該更新対象の車載ECU3が送信要求に応答せず識別情報を取得できなかった場合、更新プログラムの送信を中止するものあってもよい。
 車載更新装置2の制御部20は、識別情報に含まれるECU部番は、異なるかを判定する(S15)。上述のごとく、識別情報には、車載ECU3を一意に決定する特有の項目であるシリアル番号又はMACアドレス、及び車載ECU3の部品としての同一性を示すECU部番を含む。制御部20は、中断される前の識別情報及び再開する際の識別情報に含まれるECU部番夫々を比較し、これらECU部番が同一か異なるかを判定する。
 ECU部番が異なる場合(S15:YES)、車載更新装置2の制御部20は、更新プログラムの送信を中止する(S16)。この場合、送信を再開する際の車載ECU3は、送信が中断される前の車載ECU3とは、シリアル番号、MACアドレス及びECU部番が異なる全く別個の車載ECU3である。従って、制御部20は、送信が中断している間に行われた車載ECU3の交換は不当な交換であると判定し、更新対象の車載ECU3への更新プログラムの送信を再開することなく、当該更新プログラムの送信を中止する。
 ECU部番が異ならない場合(S15:NO)、すなわちECU部番が同一の場合、車載更新装置2の制御部20は、更新プログラムを最初から送信する(S151)。中断される前の識別情報と、再開する際の識別情報との間において、シリアル番号又はMACアドレスは異なるが、ECU部番は同一となる場合がある。このような場合、送信が中断している間に車載ECU3は交換されているが、当該交換の前後において、これら車載ECU3は、同一の型番又は部番の部品である。従って、送信が中断している間に行われた車載ECU3の交換は正当な交換であると判定し、更新対象の車載ECU3への更新プログラムを最初から送信して、当該送信を再開する。制御部20は、更新プログラムを最初から送信するにあたり、後述するS114,S115及びS116と同様にブロック単位で送信し、全ブロックを送信した後に更新完了を記憶部に21記憶するものであってもよい。
 車載更新装置2の制御部20は、判定結果を送信及び記憶する(S17)。制御部20は、更新対象の車載ECU3が、更新プログラムの送信が中断された間に交換又は取り外されたとする判定結果を、車外のプログラム提供装置S1、車両Cに設けられた表示装置5又は、プログラム提供装置S1及び車両Cに設けられた表示装置5の両装置に送信し、当該交換又は取り外された旨を報知する。制御部20は、判定結果に、更新プログラムを送信中であるとして記憶部21に記憶している車載ECU3の識別情報を含めて、送信し報知するものであってもよい。又、制御部20は、判定結果にECU部番の同異に関する判定を含めるものであってもよい。又、制御部20は、更新プログラムの送信が中断された間に交換されたと判定した車載ECU3の識別情報(交換後の車載ECU3から受信した識別情報)についても、判定結果と共に送信し報知するものであってもよい。又は、車載更新装置2の制御部20は、車外通信装置1を介して、車両Cの操作者が保持するスマートホン等の携帯端末に送信し、更新対象の車載ECU3が交換又は取り外された旨を報知してもよい。制御部20は、受信した識別情報又は受信できなかった旨を含め、更新対象の車載ECU3が交換又は取り外された旨を、更新プログラムを送信中であるとした車載ECU3の構成情報と関連づけて、記憶部21に記憶する。
 更新途中の車載ECU3がない場合(S11:NO)、車載更新装置2の制御部20は、更新情報及び更新プログラムを取得する(S111)。車載更新装置2の制御部20は、車外通信装置1を介してプログラム提供装置S1と通信し、更新情報の有無を確認し、更新情報があれば対応する更新プログラムを取得する。制御部20は、取得した更新情報に基づき、更新対象の車載ECU3を特定する。更新情報は、更新プログラムとは別個のデータファイルである場合に限定されない。更新情報は、更新プログラムのデータファイルに、例えばヘッダー情報として含まれるものであってもよい。
 車載更新装置2の制御部20は、更新開始を記憶する(S112)。制御部20は、更新対象の車載ECU3の識別情報と関連付けて、当該車載ECU3の更新を開始すること(当該車載ECU3が更新中であること)を記憶部21に記憶する。
 車載更新装置2の制御部20は、車載ECU3に更新プログラムを送信する(S113)。制御部20は、更新プログラムの送信を開始する。制御部20は、更新プログラムの送信を開始するにあたり、送信先となる車載ECU3とセッションを確立するものであってもよい。S11にて制御部20は、取得した更新情報に基づき、更新対象の車載ECU3を特定するとしたが、これに限定されない。制御部20は、例えば、更新情報に基づき生成した所定のパケット又はメッセージをマルチキャストで車両Cに搭載される全ての車載ECU3に送信する。そして、制御部20は、当該マルチキャストに対し自ECUの構成情報を含めて返信して応答した車載ECU3を更新対象の車載ECU3として特定し、当該車載ECU3の更新を開始すること(当該車載ECU3が更新中であること)を記憶部21に記憶してもよい。
 車載更新装置2の制御部20は、更新プログラムをブロック単位で送信する(S114)。制御部20は、更新プログラムを所定のデータサイズで分割したブロック単位で送信する。又は、制御部20は、更新プログラムに含まれるセパレータを抽出し、当該セパレータに基づいて、更新プログラムを分割しブロックとしてもよい。ブロックには、ブロック夫々を識別するためのブロックIDが付与される。制御部20は、送信したブロックのブロックID及び送信時点を含む更新プログラムの送信の進捗状況(送信状況)に関する情報を記憶部21に記憶する。
 車載更新装置2の制御部20は、今回送信したブロックが、最後のブロックか否かを判定する(S115)。制御部20は、例えば、更新プログラムを所定のデータサイズで分割してブロック化するにあたり、生成されるブロックの個数を確定する。当該確定したプロックの個数が、ブロックIDの末尾の番号となり、制御部20は、今回送信するブロックのブロックIDが末尾の番号であるか否かにより、更新プログラムの送信を完了させるにあたり最後のブロックであるか否かを判定する。
 今回送信したブロックが最後のブロックでない場合(S115:NO)、車載更新装置2の制御部20は、再度S114の処理を実行すべくループ処理を行う。ループ処理により再度、ブロック単位の送信の処理(S114)を行うにあたり、制御部20は、前回送信したブロックIDの次の順番となるブロックIDを送信する。このようにループ処理を行うことにより、制御部20は、更新プログラムを所定のデータサイズで分割したブロックを、更新対象の車載ECU3に順次送信する。
 車載更新装置2から送信されたブロックを受信した更新対象の車載ECU3は、当該ブロックを非動作面の記憶領域(第1記憶領域311又は第2記憶領域312)に記憶し、受信したブロックのブロックID及び受信時点を含む更新プログラムの受信の進捗状況(受信状況)に関する情報を記憶部31に記憶する。
 当該ループ処理を行っている間、すなわちブロック単位の送信(S114)をループ処理(S115)にて順次行っている間に、例えば、車両Cの電源がオフ(IGスイッチがオフ)にされた場合、当該ブロック単位の送信は、中断される。そして、車載更新装置2の記憶部21には、更新プログラム及び最後の送信したブロックのブロックIDの情報が残っている。又、車載更新装置2の記憶部21には、当該車載ECU3が更新中(リプロステータスは更新中)であるとして、記憶されている。従って、これら記憶部21に記憶されている情報により、更新対象の車載ECU3への更新プログラムの送信は、途中状態(当該車載ECU3はプログラム更新中/リプロステータスは更新中)であることが示される。
 今回送信したブロックが最後のブロックである場合(S115:YES)、車載更新装置2の制御部20は、更新完了を記憶部21に記憶する(S116)。車載更新装置2の制御部20は、最後のブロックを送信することにより、車載ECU3の更新プログラムの送信を終了し、当該車載ECU3の更新が完了したことを、当該車載ECU3の識別情報と関連付けて、記憶部21に記憶する。
 車載ECU3は、車載更新装置2から送信された最後のブロックを受信した後、自ECUの更新が完了したことを記憶部31に記憶する。車載ECU3は、最後のブロックの受信及び受信を完了した更新プログラムへの切替え、すなわち動作面を更新プログラムが記憶されている記憶領域に切替えた後、更新プログラムへの切替えが完了したことを車載更新装置2に送信(通知)してもよい。車載更新装置2の制御部20は、更新対象の車載ECU3から更新プログラムへの切替えが完了した通知を受信した後、動作面の切替えが行われたことを含め当該車載ECU3の更新が完了したことを、当該車載ECU3の識別情報と関連付けて、記憶部21に記憶してもよい。車載更新装置2の制御部20は、車載ECU3の更新が完了ことを記憶部21に記憶した後、更新プログラムを削除してもよい。
 識別情報は異ならないと判定した場合(S13:NO)、すなわち識別情報は同一であると判定した場合、車載更新装置2の制御部20は、更新対象の車載ECU3から、更新プログラムの受信状況に関する情報を取得する(S131)。制御部20は、記憶部21に記憶されている前回の更新プログラムの送信の進捗状況に関する情報を参照し、更新途中の車載ECU3の識別情報から、当該車載ECU3を特定する。制御部20は、更新途中の車載ECU3に対し、当該車載ECU3による更新プログラムの受信状況に関する情報を送信するように要求する。更新途中の車載ECU3の記憶部21には、受信したブロックID及び受信時点等の更新プログラムの受信の進捗状況(受信状況)に関する情報が記憶されており、車載ECU3の制御部30は、車内通信部32を介して更新プログラムの受信状況を車載更新装置2に送信する。車載更新装置2の制御部20は、車載ECU3から更新プログラムの受信状況を取得する。又は、車載ECU3の制御部30は、前回送信された更新プログラムの受信が完了していない場合、自発的に車載更新装置2に更新プログラムの受信状況を送信してもよい。
 車載更新装置2の制御部20は、送信状況に関する情報と、受信状況に関する情報とが整合しているかを判定する(S132)。制御部20は、例えば、記憶部21に記憶している最後に送信したブロックのブロックIDと、車載ECU3から取得した当該車載ECU3が最後に受信したプロックのブロックIDとを、比較する。制御部20は、これらブロックIDが同一であるか否かによって、送信の進捗状況(送信状況)に関する情報と、受信の進捗状況(受信状況)に関する情報とが、整合しているか否かを判定する。
 制御部20は、例えば、送受信したブロック夫々のブロックIDが同一の場合、送信状況に関する情報と、受信状況に関する情報とが整合していると判定する。制御部20は、例えば、送受信したブロック夫々のブロックIDが同一でない場合、又は更新対象の車載ECU3が送信要求に応答せず、更新プログラムの受信状況に関する情報を取得できなかった場合、送信状況に関する情報と、受信状況に関する情報とが整合していないと判定する。又は、車載更新装置2及び車載ECU3夫々は、送受信したブロックのブロックIDによって決定されるチェックポイントを記憶する。車載更新装置2の制御部20は、自装置に記憶されているチェックポイントと、車載ECU3に記憶されているチェックポイントとを照合して、送信状況に関する情報と、受信状況に関する情報とが整合しているか判定してもよい。このように送受信したブロック夫々のブロックIDによって、前回の更新プログラムの送受信が中断された中断ポイントを特定することができる。
 整合している場合(S132:YES)、車載更新装置2の制御部20は、中断ポイントから更新プログラムの送信を再開する(S133)。制御部20は、前回の更新プログラムの送信において、最後に送信したブロックのブロックIDの次の順番となるブロックの送信を行い、更新プログラムの送信を再開する。制御部20は、更新プログラムの送信を再開するにあたり、車載ECUとの間でのプログラミングセッションを再度確立した後、当該次の順番となるブロックの送信を行うものであってもよい。当該プログラミングセッションは、例えばISO14229-1によるUDS(Unified diagnostic services)に基づくものであってもよい。中断ポイントから更新プログラムの送信を再開することにより、前回の更新プログラムの送信において既に送信しているブロックを送信する処理を不要とし、更新プログラムの再開から完了までに要する所要時間の短縮、及び車内LAN4におけるトラフィックが増加すること抑制することができる。
 車載更新装置2の制御部20は、S114,S115及びS116の処理を同様に、S134,S135及びS136の処理を行う。
 整合していない場合(S132:NO)、車載更新装置2の制御部20は、更新プログラムを最初から送信する(S1321)。この場合、更新プログラムの送受信が中断される前後にて、更新対象の車載ECU3は同一のものであり、送信が中断している間に、当該車載ECU3は交換されていない。しかしながら、例えば、更新プログラムの送受信の中断により発生した通信エラー等により、車載更新装置2が最後に送信したブロックIDと、車載ECU3が最後に受信したブロックIDとが、異なる場合がある。このような場合であっても、更新プログラムの送受信が中断される前後にて更新対象の車載ECU3は同一であるため、車載更新装置2の制御部20は、更新プログラムを最初、すなわち最初のブロックから送信を再開する。制御部20は、更新プログラムを最初から送信するにあたり、車載更新装置2と車載ECU3との間でのプログラミングセッションの確立後、更新プログラムの送信(データ転送)を最初から再開する。制御部20は更新プログラムをブロック単位で送信する場合、最初のブロックIDのブロックからの送信を行う。当該プログラミングセッションは、例えばISO14229-1によるUDS(Unified diagnostic services )に基づくものであってもよい。又、プログラミングセッションの確立後、車載更新装置2の制御部20は、車載ECU3に対し前回中断した送信において受信した更新プログラム(受信したブロック)を削除させる指示(通知)を行った後、更新プログラムの送信を最初から再開するものであってもよい。従って、送受信したブロック夫々のブロックIDが異なり、車載更新装置2及び車載ECU3の間で中断ポイントに乖離があった場合であっても、更新プログラムの送信を最初から再開することにより、当該更新プログラムを確実に車載ECU3に送信することができる。
 車載更新装置2の制御部20は、S114,S115及びS116の処理を同様に、S1322,S1323及びS1324の処理を行う。
 本実施形態において、ECU部番が異なる場合、更新プログラムの送信を中止するとしたが、これに限定されない。車載更新装置2の制御部20は、識別情報は異なると判定した場合、送信が中断されている間に更新対象の車載EUC3は交換されたと判定し、当該更新対象の車載ECUへの更新プログラムの送信を再開することなく、当該更新プログラムの送信を中止するものであってもよい。すなわち、制御部20は、ECU部番の同異を考慮することなく、識別情報夫々に含まれるシリアル番号又はMACアドレスの対比結果に基づき、これら識別情報の同異を判定し、異なる場合、車載ECU3は送信が中断している間に交換されたと判定し、更新プログラムの送信を中止してもよい。
 更新対象の車載ECU3が、更新プログラムの送信が中断された間に交換又は取り外された場合、当該更新プログラムの送信を中止し、当該送信を中止する。このような交換又は取り外しは、不正に行われた場合も懸念されるところ、不正に交換された車載ECU3に対し、更新プログラムの送信は再開されないため、当該更新プログラムが不正に交換された車載ECU3に受信されることを防止することができる。又、更新対象の車載ECU3が交換又は取り外された旨が、車両Cの操作者等に報知されるので、当該操作者は適切な対応を行うことができる。
 更新対象の車載ECU3が交換等は、更新プログラムが中断している間に行われたものであり、制御部20は、更新プログラムのブロック単位での送信において、各ブロックの送信時点に関する情報を、送信状況に関する情報に含めて記憶してある。従って、制御部20は、当該送信時点に関する情報と、更新プログラムを再開する時点とに基づき、更新プログラムが中断している時間帯を導出し、導出した時間帯に車載ECU3が交換等されたと特定することができる。制御部20は、当該導出した時間帯を、判定結果に含めて出力(送信)して、報知するものであってもよい。車両Cの操作者等は、車載ECU3の交換又は取り外しに関するより詳細な情報を認識することができる。
(実施形態2)
 図7は、車載更新装置2の制御部20の処理を示すフローチャートである。図8は、車載更新装置2の制御部20の処理を示すフローチャートである。車載更新装置2の制御部20は、車両Cが起動状態(IGスイッチがオン)において、車外通信装置1を介して、定常的にプログラム提供装置S1と通信し、以下の処理を行う。
 車載更新装置2の制御部20は、更新途中の車載ECU3があるかを判定する(S21)。制御部20は、記憶部21に記憶されている前回の更新プログラムの送信の進捗状況に関する情報を参照し、更新途中の車載ECU3があるかを判定する。詳細は後述するが、更新プログラムの送信の進捗状況に関する情報は、更新対象の車載ECU3を特定する識別情報(例えば、シリアル番号又はMACアドレス)と、送信した更新プログラムのブロックIDを含む。更に、更新プログラムの送信の進捗状況に関する情報は、当該車載ECU3への更新プログラムの送信が完了したか否かに関する情報を含む。制御部20は、例えば、前回送信した更新プログラムのブロックIDが、更新プログラムを送信するにあたり最後のブロックのブロックIDでない場合、又は更新プログラムの送信が完了していない車載ECU3がある場合、更新途中の車載ECU3があると判定する。制御部20は、例えば、前回送信した更新プログラムのブロックIDが、更新プログラムを送信するにあたり最後のブロックのブロックIDである場合、又は更新プログラムの送信が途中の車載ECU3がない場合、更新途中の車載ECU3がないと判定する。
 更新途中の車載ECU3がない場合(S21:NO)、車載更新装置2の制御部20は、更新情報及び更新プログラムを取得する(S211)。車載更新装置2の制御部20は、車外通信装置1を介してプログラム提供装置S1と通信し、更新情報の有無を確認し、更新情報があれば対応する更新プログラムを取得する。制御部20は、取得した更新情報に基づき、更新対象の車載ECU3を特定する。
 車載更新装置2の制御部20は、更新開始を記憶する(S212)。制御部20は、更新対処の車載ECU3の識別情報と関連付けて、当該車載ECU3の更新を開始すること(当該車載ECU3が更新中であること)を記憶部21に記憶する。
 車載更新装置2の制御部20は、車載ECU3に更新プログラムを送信する(S213)。制御部20は、更新プログラムの送信を開始する。制御部20は、更新プログラムの送信を開始するにあたり、送信先となる車載ECU3とセッションを確立するものであってもよい。S21にて制御部20は、取得した更新情報に基づき、更新対象の車載ECU3を特定するとしたが、これに限定されない。制御部20は、例えば、更新情報に基づき生成した所定のパケット又はメッセージをマルチキャストで車両Cに搭載される全ての車載ECU3に送信する。そして、制御部20は、当該マルチキャストに対し自ECUの構成情報を含めて返信して応答した車載ECU3を更新対象の車載ECU3として特定し、当該車載ECU3の更新を開始すること(当該車載ECU3が更新中であること)を記憶部21に記憶してもよい。
 車載更新装置2の制御部20は、更新プログラムをブロック単位で送信する(S214)。制御部20は、更新プログラムを所定のデータサイズで分割したブロック単位で送信する。又は、制御部20は、更新プログラムに含まれるセパレータを抽出し、当該セパレータに基づいて、更新プログラムを分割しブロックとしてもよい。ブロックには、ブロック夫々を識別するためのブロックIDが付与される。制御部20は、送信したブロックのブロックID及び送信時点を含む更新プログラムの送信の進捗状況(送信状況)に関する情報を記憶部21に記憶する。
 車載更新装置2の制御部20は、今回送信したブロックが、最後のブロックか否かを判定する(S215)。制御部20は、例えば、更新プログラムを所定のデータサイズで分割してブロック化するにあたり、生成されるブロックの個数を確定する。当該確定したプロックの個数が、ブロックIDの末尾の番号となり、制御部20は、今回送信するブロックのブロックIDが末尾の番号であるか否かにより、更新プログラムの送信を完了させるにあたり最後のブロックであるか否かを判定する。
 今回送信したブロックが最後のブロックでない場合(S215:NO)、車載更新装置2の制御部20は、再度S214の処理を実行すべくループ処理を行う。ループ処理により再度、ブロック単位の送信の処理(S214)を行うにあたり、制御部20は、前回送信したブロックIDの次の順番となるブロックIDを送信する。このようにループ処理を行うことにより、制御部20は、更新プログラムを所定のデータサイズで分割したブロックを、更新対象の車載ECU3に順次送信する。
 車載更新装置2から送信されたブロックを受信した更新対象の車載ECU3は、当該ブロックを非動作面の記憶領域(第1記憶領域311又は第2記憶領域312)に記憶し、受信したブロックのブロックID及び受信時点を含む更新プログラムの受信の進捗状況(受信状況)に関する情報を記憶部31に記憶する。
 当該ループ処理を行っている間、すなわちブロック単位の送信(S214)をループ処理(S215)にて順次行っている間に、例えば、車両Cの電源がオフ(IGスイッチがオフ)にされた場合、当該ブロック単位の送信は、中断される。そして、車載更新装置2の記憶部21には、更新プログラム及び最後の送信したブロックのブロックIDの情報が残っている。又、車載更新装置2の記憶部21には、当該車載ECU3が更新中(リプロステータスは更新中)であるとして、記憶されている。従って、これら記憶部21に記憶されている情報により、更新対象の車載ECU3への更新プログラムの送信は、途中状態(当該車載ECU3はプログラム更新中/リプロステータスは更新中)であることが示される。
 今回送信したブロックが最後のブロックである場合(S215:YES)、車載更新装置2の制御部20は、更新完了を記憶部21に記憶する(S216)。車載更新装置2の制御部20は、最後のブロックを送信することにより、車載ECU3の更新プログラムの送信を終了し、当該車載ECU3の更新が完了したことを、当該車載ECU3の識別情報と関連付けて、記憶部21に記憶する。
 車載ECU3は、車載更新装置2から送信された最後のブロックを受信した後、自ECUの更新が完了したことを記憶部31に記憶する。車載ECU3は、最後のブロックの受信及び受信を完了した更新プログラムへの切替え、すなわち動作面を更新プログラムが記憶されている記憶領域に切替えた後、更新プログラムへの切替えが完了したことを車載更新装置2に送信(通知)してもよい。車載更新装置2の制御部20は、更新対象の車載ECU3から更新プログラムへの切替えが完了した通知を受信した後、動作面の切替えが行われたことを含め当該車載ECU3の更新が完了したことを、当該車載ECU3の識別情報と関連付けて、記憶部21に記憶してもよい。車載更新装置2の制御部20は、車載ECU3の更新が完了ことを記憶部21に記憶した後、更新プログラムを削除してもよい。
 更新途中の車載ECU3がある場合(S21:YES)、車載更新装置2の制御部20は、更新対象の車載ECU3から、更新プログラムの受信状況に関する情報を取得する(S22)。制御部20は、記憶部21に記憶されている前回の更新プログラムの送信の進捗状況に関する情報を参照し、更新途中の車載ECU3の識別情報から、当該車載ECU3を特定する。制御部20は、更新途中の車載ECU3に対し、当該車載ECU3による更新プログラムの受信状況に関する情報を送信するように要求する。更新途中の車載ECU3の記憶部21には、受信したブロックID及び受信時点等の更新プログラムの受信の進捗状況(受信状況)に関する情報が記憶されており、車載ECU3の制御部30は、車内通信部32を介して更新プログラムの受信状況を車載更新装置2に送信する。車載更新装置2の制御部20は、車載ECU3から更新プログラムの受信状況を取得する。又は、車載ECU3の制御部30は、前回送信された更新プログラムの受信が完了していない場合、自発的に車載更新装置2に更新プログラムの受信状況を送信してもよい。
 車載更新装置2の制御部20は、送信状況に関する情報と、受信状況に関する情報とが整合しているかを判定する(S23)。制御部20は、例えば、記憶部21に記憶している最後に送信したブロックのブロックIDと、車載ECU3から取得した当該車載ECU3が最後に受信したプロックのブロックIDとを、比較する。制御部20は、これらブロックIDが同一であるか否かによって、送信の進捗状況(送信状況)に関する情報と、受信の進捗状況(受信状況)に関する情報とが、整合しているか否かを判定する。
 制御部20は、例えば、送受信したブロック夫々のブロックIDが同一の場合、送信状況に関する情報と、受信状況に関する情報とが整合していると判定する。制御部20は、例えば、送受信したブロック夫々のブロックIDが同一でない場合、又は更新対象の車載ECU3が送信要求に応答せず、更新プログラムの受信状況に関する情報を取得できなかった場合、送信状況に関する情報と、受信状況に関する情報とが整合していないと判定する。又は、車載更新装置2及び車載ECU3夫々は、送受信したブロックのブロックIDによって決定されるチェックポイントを記憶する。車載更新装置2の制御部20は、自装置に記憶されているチェックポイントと、車載ECU3に記憶されているチェックポイントとを照合して、送信状況に関する情報と、受信状況に関する情報とが整合しているか判定してもよい。このように送受信したブロック夫々のブロックIDによって、前回の更新プログラムの送受信が中断された中断ポイントを特定することができる。
 整合している場合(S23:YES)、車載更新装置2の制御部20は、中断ポイントから更新プログラムの送信を再開する(S24)。制御部20は、前回の更新プログラムの送信において、最後に送信したブロックのブロックIDの次の順番となるブロックの送信を行い、更新プログラムの送信を再開する。制御部20は、更新プログラムの送信を再開するにあたり、車載ECUとの間でのプログラミングセッションを再度確立した後、当該次の順番となるブロックの送信を行うものであってもよい。当該プログラミングセッションは、例えばISO14229-1によるUDS(Unified diagnostic services)に基づくものであってもよい。中断ポイントから更新プログラムの送信を再開することにより、前回の更新プログラムの送信において既に送信しているブロックを送信する処理を不要とし、更新プログラムの再開から完了までに要する所要時間の短縮、及び車内LAN4におけるトラフィックが増加することを抑制することができる。
 車載更新装置2の制御部20は、S214,S215及びS216の処理を同様に、S25,S26及びS27の処理を行う。
 整合していない場合(S23:NO)、車載更新装置2の制御部20は、更新対象の車載ECU3の識別情報を取得する(S231)。車載更新装置2の制御部20は、更新対象の車載ECU3へ自ECUの識別情報を送信することを要求する。制御部20は、当該車載ECU3から送信された識別情報を受信し、取得する。車載ECU3から送信された識別情報は、例えば当該車載ECU3のシリアル番号又はMACアドレスを含む。更に、車載ECU3から送信された識別情報は、当該車載ECU3のプログラムのバージョンに関する情報を含むものであってもよい。又は、当該車載ECU3は、記憶部31に記憶してある自ECUの構成情報の全てを車載更新装置2に送信するものであってもよい。
 車載更新装置2の制御部20は、更新対象の車載ECU3から取得した識別情報は正当か否かを判定する(S232)。制御部20は、更新対象の車載ECU3から取得した識別情報と、更新プログラムを送信中であるとして記憶部21に記憶している車載ECU3の識別情報とを比較し、一致した場合、取得した識別情報は正当であると判定する。一致しなかった場合、制御部20は、取得した識別情報は正当でない、すなわち不当であると判定する。なお、更新対象の車載ECU3が送信要求に応答せず識別情報を取得できなかった場合は、識別情報が一致しなかった場合に含め、制御部20は、取得した識別情報は正当でない、すなわち不当であると判定する。
 制御部20は、記憶部21に記憶している車載ECU3の識別情報を比較するとしたが、これに限定されない。車両Cに搭載されている車載ECU3の構成情報をプログラム提供装置S1に記憶させておき、制御部20は、プログラム提供装置S1から送信された車載ECU3の構成情報に基づき、更新プログラムを送信中の車載ECU3の識別情報を導出してもよい。車載ECU3の構成情報をプログラム提供装置S1に記憶させることにより、車載更新装置2の記憶部21の空き容量を確保することができる。又、車載更新装置2が交換された場合であっても当該交換の影響を低減することができる。
 正当であると判定した場合(S232:YES)、車載更新装置2の制御部20は、更新プログラムを最初から送信する(S233)。正当であると判定した場合は、更新プログラムの送受信が中断される前後にて、更新対象の車載ECU3は同一のものである。しかしながら、例えば、更新プログラムの送受信の中断により発生した通信エラー等により、車載更新装置2が最後に送信したブロックIDと、車載ECU3が最後に受信したブロックIDとが、異なる場合がある。このような場合であっても、更新プログラムの送受信が中断される前後にて更新対象の車載ECU3は同一であるため、車載更新装置2の制御部20は、更新プログラムを最初、すなわち最初のブロックから送信を再開する。制御部20は、更新プログラムを最初から送信するにあたり、車載更新装置2と車載ECU3との間でのプログラミングセッションの確立後、更新プログラムの送信(データ転送)を最初から再開する。制御部20は更新プログラムをブロック単位で送信する場合、最初のブロックIDのブロックからの送信を行う。当該プログラミングセッションは、例えばISO14229-1によるUDS(Unified diagnostic services )に基づくものであってもよい。又、プログラミングセッションの確立後、車載更新装置2の制御部20は、車載ECU3に対し前回中断した送信において受信した更新プログラム(受信したブロック)を削除させる指示(通知)を行った後、更新プログラムの送信を最初から再開するものであってもよい。従って、送受信したブロック夫々のブロックIDが異なり、車載更新装置2及び車載ECU3の間で中断ポイントに乖離があった場合であっても、更新プログラムの送信を最初から再開することにより、当該更新プログラムを確実に車載ECU3に送信することができる。
 車載更新装置2の制御部20は、S214,S215及びS216の処理を同様に、S234,S235及びS236の処理を行う。
 正当でない(不当である)と判定した場合(S232:NO)、車載更新装置2の制御部20は、車載ECU3は交換されたと判定する(S2321)。制御部20は、更新対象の車載ECU3から取得した識別情報と、更新プログラムを送信中であるとして記憶している車載ECU3の識別情報とが一致しなかった場合、又は当該更新対象の車載ECU3が送信要求に応答せず識別情報を取得できなかった場合、更新プログラムの送信が中断している間に車載ECU3は交換されたと判定する。車載更新装置2の制御部20は、当該更新対象の車載ECU3が送信要求に応答せず識別情報を取得できなかった場合、更新プログラムの送信が中断している間に当該更新対象の車載ECU3は取り外されたと判定してもよい。制御部20は、車載ECU3は交換又は取り外されたと判定し、更新プログラムの送信を再開することなく、当該送信を中止する。
 更新プログラムの送信の中断は、例えば車両Cの電源がオフ(IGスイッチがオフ)によって発生する。従って、更新プログラムの送信途中にて車両Cの電源がオフにされ、当該更新プログラムの送信が中断された間に、更新対象の車載ECU3が交換又は取り外された場合であっても、当該交換又は取り外された事態を確実に検知することができる。
 車載更新装置2の制御部20は、判定結果を送信及び記憶する(S2322)。制御部20は、更新対象の車載ECU3が、更新プログラムの送信が中断された間に交換又は取り外されたとする判定結果を、車外のプログラム提供装置S1、車両Cに設けられた表示装置5又は、プログラム提供装置S1及び車両Cに設けられた表示装置5の両装置に出力(送信)し、当該交換又は取り外された旨を報知する。制御部20は、判定結果に、更新プログラムを送信中であるとして記憶部21に記憶している車載ECU3の識別情報を含めて、出力(送信)し報知するものであってもよい。又、制御部20は、更新プログラムの送信が中断された間に交換されたと判定した車載ECU3の識別情報(交換後の車載ECU3から受信した識別情報)についても、判定結果と共に出力(送信)し報知するものであってもよい。又は、車載更新装置2の制御部20は、車外通信装置1を介して、車両Cの操作者が保持するスマートホン等の携帯端末に送信し、更新対象の車載ECU3が交換又は取り外された旨を報知してもよい。制御部20は、受信した識別情報又は受信できなかった旨を含め、更新対象の車載ECU3が交換又は取り外された旨を、更新プログラムを送信中であるとした車載ECU3の構成情報と関連づけて、記憶部21に記憶する。
 本実施形態において、車載更新装置2は、複数の車載ECU3の系統のセグメントを統括するゲートウェイ(中継器)であるとしたが、これに限定されない。車載更新装置2は、特定のセグメントに接続され、ゲートウェイとは別個の専用装置であってもよい。
 本実施形態において、車載更新装置2の制御部20が、車載EUCの構成情報の集約、送受信の状況に関する情報の整合性判定、及び更新対象の車載ECU3の識別情報の正当性判定を行うとしたが、これに限定されない。構成情報の集約、送受信の状況に関する情報の整合性判定、及び更新対象の車載ECU3の識別情報の正当性判定を行う夫々の機能部は、ゲートウェイ及びボディECU等の複数の車載機器に分散して構成され、相互に通信して連携又は協働することによって、機能するものであってもよい。
(実施形態3)
 図9は、実施形態3に係る車載ECU3の構成を例示するブロック図である。実施形態3に係る車載ECU3は、制御部20及び記憶部21から成る複数のマイコンを含むものであり、車載更新装置2の制御部20は、このような複数のマイコンを含む車載ECU3に対応した構成情報(車両構成情報)及び当該構成情報の更新履歴(車両構成情報更新履歴)を、当該車載ECU3から取得し、記憶部21に記憶する。
 車載ECU3は、実施形態1と同様に制御部30、記憶部31及び車内通信部32を含む。制御部30、記憶部31及び車内通信部32の個々の構成は、実施形態1と同様である。
 車載ECU3は、制御部30及び記憶部31から成るマイコン又は基板回路を複数(図面上、2つ)含み、各マイコン等における記憶部31夫々には、異なるプログラムが記憶されている。車載ECU3の制御部30夫々は、自部と同じマイコン等に配置されている記憶部21に記憶されているプログラムを実行することにより、異なるプログラムによる別個の処理を並行して行うように構成されている。このように複数マイコンを含む車載ECU3の車両構成情報は、同一の製造番号(シリアル番号)及びECU部番(部番、型番)に対し、当該マイコンの個数に応じた複数のSoftware部番、プログラムの現バージョン、旧バージョンを有するものとなる。
 図10は、車載ECU3の構成情報の一態様を例示する説明図である。車載更新装置2の記憶部21には、実施形態1と同様に車両Cに搭載される全ての車載ECU3の構成情報が記憶される。本実施形態における車載ECU3の構成情報(車両構成情報マスターテーブル)は、実施形態1と同様の管理項目(フィールド)を含む。車載更新装置2の制御部20は、複数のマイコンを含む車載ECU3から車両構成情報を取得した場合、例えば車載ECU3が含むマイコンの個数に応じた枝番をECU-IDに付与(001-1、001-2、001-n)することにより、単一の車載ECU3に含まれる個々のマイコンの記憶部21に記憶されるプログラムを別レコードとして記憶し、管理するものであってもよい。図10に示すごとく、本実施形態では、このような枝番付きECU-IDを、例えば、ECU-IDの本番号(001)と、枝番号(1,2,n)とを「-」にて接続する番号形態としている。上述のとおり、複数マイコンを含む車載ECU3の車両構成情報は、同一の製造番号(シリアル番号)及びECU部番(部番、型番)に対し、当該マイコンの個数に応じた複数のSoftware部番等を含む。車載更新装置2の制御部20は、同一の製造番号(シリアル番号)及びECU部番(部番、型番)に対応した同じECU-IDに枝番を付与した枝番付きECU-IDを発番し、当該枝番付きECU-IDをユニークな番号として、マイコン夫々にて実行されるプログラムのSoftware部番、プログラムの現バージョン、旧バージョン、動作面数、動作面を車両構成情報マスターテーブルに登録するものであってもよい。この場合、本番号が同一の枝番付きECU-ID夫々に関連付けられて登録される製造番号(シリアル番号)及びECU部番(部番、型番)は、同じものとなる。
 車載更新装置2の制御部20は、実施形態1と同様に、更新対象の車載ECU3から取得した識別情報が異なるかを判定する処理(S13)又は、識別情報に含まれるECU部番が異なるかを判定する処理(S15)を行う際、車載ECU3が含むマイコンの個数に応じた枝番付きECU-IDに基づき、これら判定処理を行う。
 このように車載ECU3が含むマイコンの個数に応じた枝番付きECU-IDにより、同一の製造番号(シリアル番号)及びECU部番(部番、型番)であって、複数の異なるプログラムのSoftware部番、プログラムの現バージョン等を含む車両構成情報を有する車載ECU3(複数のマイコンを含む車載ECU3)に対応することができる。すなわち、当該複数のマイコンを含む車載ECU3のいずれかのマイコンのみが、更新プログラムの送信が中断された間に交換又は取り外された場合であっても、当該交換等を検知し、実施形態1と同様に適切に対応することができる。
 本実施形態にて、枝番付きECU-IDを、ECU-IDのフィールドに格納するとしたが、これに限定されない。例えば、車両構成情報マスターテーブルにおいて、ECU-IDの本番号用フィールドと、枝番号用フィールドとを別個のフィールドとして設定し、本番号用フィールドにECU-IDの本番号(001)を格納し、枝番号用フィールドに枝番号(1,2,n)を格納するものであってもよい。
 本実施形態にて、複数マイコンを含む車載ECU3の車両構成情報は、枝番付きECU-IDを用いて記憶及び管理するとしたが、当該態様は一例示であり、これに限定されない。車載更新装置2の制御部20は、複数のマイコンを含む車載ECU3から車両構成情報を取得した場合、実施形態1と同様に単一のECU-IDをユニークキーとして、マイコン夫々にて実行されるプログラム夫々を、同一レコードのフィールドに格納して記憶するものであってもよい。すなわち、車載更新装置2の制御部20は、複数のマイコンを含む車載ECU3から車両構成情報に含まれるプログラム夫々のSoftware部番等の夫々を文字列結合し、文字列結合した値を、ECU-IDのレコードにおけるSoftware部番のフィールドに格納するものであってもよい。このようにSoftware部番等の夫々を文字列結合して管理することにより、複数のマイコンを含む車載ECU3のいずれかのマイコンが不正に交換された場合であっても、当該交換等を検知し、実施形態1と同様に適切に対応することができる。
 今回開示された実施形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
 C 車両
 S 車載更新システム
 S1 プログラム提供装置(外部サーバ)
 S11 記憶部(所定の記憶領域)
 1 車外通信装置
 11 車外通信部
 12 入出力I/F
 13 アンテナ
 2 車載更新装置
 20 制御部
 21 記憶部(所定の記憶領域)
 22 記録媒体
 23 車内通信部
 24 入出力I/F
 3 車載ECU
 30 制御部
 31 記憶部
 311 第1記憶領域(第1面)
 312 第2記憶領域(第2面)
 32 車内通信部
 4 車内LAN
 5 表示装置
 

Claims (11)

  1.  車外の外部サーバから送信される更新プログラムを取得し、車両に搭載される車載ECUのプログラムを更新するための処理を行う車載更新装置であって、
     前記車載ECUへの前記更新プログラムの送信を制御する制御部を備え、
     前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する
     車載更新装置。
  2.  前記制御部が実行する前記所定の処理は、該判定に関する情報を前記外部サーバ又は、前記車両に設けられている表示装置に送信する処理である
     請求項1に記載の車載更新装置。
  3.  前記制御部が実行する前記所定の処理は、該判定に関する情報を記憶する処理である
     請求項1又は請求項2に記載の車載更新装置。
  4.  前記制御部が実行する前記所定の処理は、前記更新プログラムの送信を中止する処理である
     請求項1から請求項3のいずれか一つに記載の車載更新装置。
  5.  前記制御部は、前記送信が中断された後に該送信を再開する際、
     前記車載ECUの識別情報に含まれる所定項目と、前記送信が中断される前の識別情報に含まれる所定項目とが、同一の場合は、前記更新プログラムの送信を最初から再開し、
     前記車載ECUの識別情報に含まれる所定項目と、前記送信が中断される前の識別情報に含まれる所定項目とが、同一でない場合は、前記更新プログラムの送信を中止する
     請求項1から請求項3のいずれか一つに記載の車載更新装置。
  6.  前記車載ECUの識別情報に含まれる所定項目は、該車載ECUのECU部番に関する情報である
     請求項5に記載の車載更新装置。
  7.  前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と同一の場合、前記更新プログラムの送信を再開する
     請求項1から請求項6のいずれか一つに記載の車載更新装置。
  8.  前記制御部は、
     前記車載ECUへの前記更新プログラムの送信状況に関する情報を記憶し、
     前記送信が中断された場合、前記車載ECUから前記更新プログラムの受信状況に関する情報を取得し、
     前記送信状況に関する情報と、取得した前記受信状況に関する情報とが整合した場合、前記送信状況に関する情報又は前記受信状況に関する情報に基づき決定される中断ポイントから、前記車載ECUへの前記更新プログラムの送信を再開し、
     前記送信状況に関する情報と、取得した前記受信状況に関する情報とが整合しなかった場合、前記車載ECUへの前記更新プログラムの送信を最初から再開する
     請求項7に記載の車載更新装置。
  9.  コンピュータに、
     車外の外部サーバから送信される更新プログラムを取得し、
     前記更新プログラムを車載ECUへ送信し、
     前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する
     処理を実行させる更新処理プログラム。
  10.  車外の外部サーバから送信される更新プログラムを取得し、
     前記更新プログラムを車載ECUへ送信し、
     前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する
     プログラムの更新方法。
  11.  車両に搭載される車載更新システムであって、
     車外の外部サーバから送信される更新プログラムを受信する車外通信装置と、
     前記車外通信装置を介して前記外部サーバから送信される更新プログラムを取得する車載更新装置と、
     前記車載更新装置から送信される前記更新プログラムによって、プログラムの更新を行う車載ECUとを備え、
     前記車載更新装置は、前記車載ECUへの前記更新プログラムの送信を制御する制御部を含み、
     前記制御部は、前記送信が中断された後に該送信を再開する際、前記車載ECUの識別情報が、前記送信が中断される前の識別情報と異なる場合は、前記送信が中断している間に前記車載ECUは交換されたと判定し、所定の処理を実行する
     車載更新システム。
     
PCT/JP2019/040360 2018-10-15 2019-10-15 車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システム Ceased WO2020080321A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2020553166A JP7042408B2 (ja) 2018-10-15 2019-10-15 車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システム
CN201980062743.2A CN112770940B (zh) 2018-10-15 2019-10-15 车载更新装置、更新处理程序、程序的更新方法及车载更新系统
US17/279,796 US11507365B2 (en) 2018-10-15 2019-10-15 On-board update device, update processing program, program update method, and on-board update system
JP2022025779A JP2022066260A (ja) 2018-10-15 2022-02-22 車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システム

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018194530 2018-10-15
JP2018-194530 2018-10-15

Publications (1)

Publication Number Publication Date
WO2020080321A1 true WO2020080321A1 (ja) 2020-04-23

Family

ID=70284602

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/040360 Ceased WO2020080321A1 (ja) 2018-10-15 2019-10-15 車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システム

Country Status (4)

Country Link
US (1) US11507365B2 (ja)
JP (2) JP7042408B2 (ja)
CN (1) CN112770940B (ja)
WO (1) WO2020080321A1 (ja)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022099197A (ja) * 2020-12-22 2022-07-04 本田技研工業株式会社 制御システム、移動体、サーバ、制御方法、更新制御方法、及びプログラム
WO2022160816A1 (zh) * 2021-01-30 2022-08-04 华为技术有限公司 一种数据处理方法以及相关设备
JP2022154490A (ja) * 2021-03-30 2022-10-13 本田技研工業株式会社 更新制御装置、移動体、更新制御方法、及びプログラム
CN115580536A (zh) * 2022-09-21 2023-01-06 优跑汽车技术(上海)有限公司 一种基于uds协议的ecu升级方法、装置、设备及存储介质
JP2024007128A (ja) * 2022-07-05 2024-01-18 トヨタ自動車株式会社 制御システム、制御装置、制御プログラム更新方法、プログラム
JP2025015640A (ja) * 2020-06-18 2025-01-30 トヨタ自動車株式会社 マスタ、ネットワークシステム、方法、プログラム、センタ、および車両
JP2025090828A (ja) * 2021-11-09 2025-06-17 株式会社オートネットワーク技術研究所 管理装置、管理システム、管理方法及びコンピュータプログラム

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113557697B (zh) * 2019-03-05 2023-03-24 住友电气工业株式会社 管理装置、车辆通信系统、车辆、车辆通信管理方法及车辆通信管理程序
JP7384198B2 (ja) * 2019-03-05 2023-11-21 住友電気工業株式会社 管理装置、通信システム、車両、車両通信管理方法および車両通信管理プログラム
JP7392544B2 (ja) * 2020-03-26 2023-12-06 住友電装株式会社 車載ecu、プログラム及び情報処理方法
JP7307755B2 (ja) * 2021-01-14 2023-07-12 本田技研工業株式会社 制御システム、移動体、サーバ、制御方法、及びプログラム
CN113031974B (zh) * 2021-03-18 2024-11-29 重庆青山工业有限责任公司 一种变速器控制单元软件刷写方法
CN113407196A (zh) * 2021-05-10 2021-09-17 联合汽车电子有限公司 Ecu数据存储方法及ecu
CN113377403A (zh) * 2021-06-25 2021-09-10 奇瑞汽车股份有限公司 车辆远程软件升级方法及装置
KR20230025109A (ko) * 2021-08-13 2023-02-21 현대자동차주식회사 차량용 ota 업데이트 수행 장치 및 방법
CN115878160B (zh) * 2023-03-08 2023-05-26 江铃汽车股份有限公司 一种基于can通信的ecu升级方法及系统

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018070156A1 (ja) * 2016-10-14 2018-04-19 日立オートモティブシステムズ株式会社 ソフトウェア更新装置、ソフトウェア更新方法、ソフトウェア更新システム
JP2018072920A (ja) * 2016-10-25 2018-05-10 株式会社オートネットワーク技術研究所 車載機器判定システム及び情報収集装置

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010198155A (ja) * 2009-02-24 2010-09-09 Fujitsu Ten Ltd プログラム更新装置、プログラム更新方法、及び情報処理装置
JP2011148398A (ja) * 2010-01-21 2011-08-04 Denso Corp 車両用プログラム更新システム
CN101930629A (zh) * 2010-06-09 2010-12-29 金龙联合汽车工业(苏州)有限公司 车辆信息采集装置的远程更新系统及其更新方法
JP5629927B2 (ja) * 2010-11-12 2014-11-26 クラリオン株式会社 車載機のオンライン更新方法
CN202795499U (zh) * 2012-06-05 2013-03-13 东风汽车公司 车辆信息采集装置
US20140006555A1 (en) * 2012-06-28 2014-01-02 Arynga Inc. Remote transfer of electronic images to a vehicle
WO2014164893A2 (en) * 2013-03-13 2014-10-09 Arynga Inc. Remote transfer of electronic images to a vehicle
JP5997740B2 (ja) * 2014-09-17 2016-09-28 クラリオン株式会社 車載機のオンライン更新方法
US9639344B2 (en) * 2014-12-11 2017-05-02 Ford Global Technologies, Llc Telematics update software compatibility
JP6723829B2 (ja) * 2015-09-14 2020-07-15 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America ゲートウェイ装置、ファームウェア更新方法及び制御プログラム
US10437680B2 (en) 2015-11-13 2019-10-08 Kabushiki Kaisha Toshiba Relay apparatus, relay method, and computer program product
US10001988B2 (en) * 2016-02-18 2018-06-19 Toyota Jidosha Kabushiki Kaisha Compatibility module to support an automotive system upgrade
JP6390644B2 (ja) * 2016-03-02 2018-09-19 住友電気工業株式会社 プログラム更新システム、プログラム更新方法及びコンピュータプログラム
US10055589B2 (en) * 2016-08-31 2018-08-21 Honeywell International Inc. Systems and methods for validating auxiliary power unit or components by secure pin one time password
EP3575954B1 (en) * 2017-01-25 2023-08-02 Hitachi Astemo, Ltd. Vehicle control device and program updating system
US10988091B2 (en) * 2018-01-08 2021-04-27 Ford Global Technologies, Llc Erase-replace OTA smart power strategy

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018070156A1 (ja) * 2016-10-14 2018-04-19 日立オートモティブシステムズ株式会社 ソフトウェア更新装置、ソフトウェア更新方法、ソフトウェア更新システム
JP2018072920A (ja) * 2016-10-25 2018-05-10 株式会社オートネットワーク技術研究所 車載機器判定システム及び情報収集装置

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2025015640A (ja) * 2020-06-18 2025-01-30 トヨタ自動車株式会社 マスタ、ネットワークシステム、方法、プログラム、センタ、および車両
JP7204726B2 (ja) 2020-12-22 2023-01-16 本田技研工業株式会社 制御システム、移動体、サーバ、制御方法、更新制御方法、及びプログラム
JP2022099197A (ja) * 2020-12-22 2022-07-04 本田技研工業株式会社 制御システム、移動体、サーバ、制御方法、更新制御方法、及びプログラム
US11880671B2 (en) 2020-12-22 2024-01-23 Honda Motor Co., Ltd. Control system, moving object, server, and control method for performing a program update of the moving object
WO2022160816A1 (zh) * 2021-01-30 2022-08-04 华为技术有限公司 一种数据处理方法以及相关设备
US12511119B2 (en) 2021-01-30 2025-12-30 Shenzhen Yinwang Intelligent Technologies Co., Ltd. Data processing method and related device
JP2022154490A (ja) * 2021-03-30 2022-10-13 本田技研工業株式会社 更新制御装置、移動体、更新制御方法、及びプログラム
JP7289867B2 (ja) 2021-03-30 2023-06-12 本田技研工業株式会社 更新制御装置、移動体、更新制御方法、及びプログラム
US12067382B2 (en) 2021-03-30 2024-08-20 Honda Motor Co., Ltd. Update control apparatus, moving body, update control method, and computer-readable storage medium
JP2025090828A (ja) * 2021-11-09 2025-06-17 株式会社オートネットワーク技術研究所 管理装置、管理システム、管理方法及びコンピュータプログラム
JP7800749B2 (ja) 2021-11-09 2026-01-16 株式会社オートネットワーク技術研究所 管理装置、管理システム、管理方法及びコンピュータプログラム
JP2024007128A (ja) * 2022-07-05 2024-01-18 トヨタ自動車株式会社 制御システム、制御装置、制御プログラム更新方法、プログラム
JP7679802B2 (ja) 2022-07-05 2025-05-20 トヨタ自動車株式会社 制御システム
CN115580536A (zh) * 2022-09-21 2023-01-06 优跑汽车技术(上海)有限公司 一种基于uds协议的ecu升级方法、装置、设备及存储介质

Also Published As

Publication number Publication date
JPWO2020080321A1 (ja) 2021-05-13
CN112770940A (zh) 2021-05-07
US11507365B2 (en) 2022-11-22
JP7042408B2 (ja) 2022-03-28
CN112770940B (zh) 2024-04-19
JP2022066260A (ja) 2022-04-28
US20210397433A1 (en) 2021-12-23

Similar Documents

Publication Publication Date Title
JP7042408B2 (ja) 車載更新装置、更新処理プログラム、プログラムの更新方法及び車載更新システム
CN113168382B (zh) 监视装置、监视程序及监视方法
US11914987B2 (en) Master update agent and distributed update agent architecture for vehicles
JP6780724B2 (ja) 車載更新装置、更新処理プログラム及び、プログラムの更新方法
US11928900B2 (en) Arithmetic operation device and determination method
US11967188B2 (en) Vehicle mounted update apparatus, update processing program, and program update method
JP2023041817A (ja) 代替装置、代替制御プログラム及び代替方法
WO2020179592A1 (ja) 車載更新装置、更新処理プログラム及び、プログラムの更新方法
CN118394388B (zh) 固件升级方法、装置、存储介质、电子设备及计算机程序产品
JP2020075580A (ja) プログラム更新システム及び更新処理プログラム
JP4487007B2 (ja) 車載プログラムの書き換え制御システム
WO2021106568A1 (ja) 車載更新装置、プログラム及び、プログラムの更新方法
JP7415756B2 (ja) 車載装置、情報処理方法及びコンピュータプログラム
JP2021015618A (ja) 車載更新装置、更新処理プログラム及び、プログラムの更新方法
US11958423B2 (en) On-board communication device, program, and communication method
WO2021193252A1 (ja) 車載情報処理装置、情報処理方法及びクライアントプログラム
JP2023131640A (ja) 車載装置、プログラム、及びプログラムの更新方法
WO2023106072A1 (ja) 車載装置、プログラム、プログラムの更新方法、及び車載更新システム

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: 19872294

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020553166

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19872294

Country of ref document: EP

Kind code of ref document: A1