WO2018117016A1 - 車載更新装置、更新システム及び可搬型通信器 - Google Patents

車載更新装置、更新システム及び可搬型通信器 Download PDF

Info

Publication number
WO2018117016A1
WO2018117016A1 PCT/JP2017/045288 JP2017045288W WO2018117016A1 WO 2018117016 A1 WO2018117016 A1 WO 2018117016A1 JP 2017045288 W JP2017045288 W JP 2017045288W WO 2018117016 A1 WO2018117016 A1 WO 2018117016A1
Authority
WO
WIPO (PCT)
Prior art keywords
update
vehicle
unit
position information
update process
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/JP2017/045288
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 US16/470,638 priority Critical patent/US20190332371A1/en
Priority to CN201780074821.1A priority patent/CN110191822A/zh
Priority to DE112017006422.8T priority patent/DE112017006422T5/de
Publication of WO2018117016A1 publication Critical patent/WO2018117016A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • 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]
    • 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
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0062Adapting control system settings
    • B60W2050/0075Automatic parameter input, automatic initialising or calibrating means
    • B60W2050/0083Setting, resetting, calibration

Definitions

  • the present invention relates to an in-vehicle update device, an update system, and a portable communication device that perform an update process for updating a program or data of an in-vehicle device mounted on a vehicle.
  • in-vehicle devices such as a plurality of ECUs (Electronic Control Units) are mounted on a vehicle, and a plurality of ECUs are connected via a communication line such as a CAN (Controller Area Network) bus to transmit and receive information to and from each other.
  • a communication line such as a CAN (Controller Area Network) bus to transmit and receive information to and from each other.
  • Each ECU reads and executes a program stored in a storage unit such as a flash memory or an EEPROM (ElectricallyrasErasable Programmable Read Only Memory) by a processing device such as a CPU (Central Processing Unit), thereby performing various control such as vehicle control Is being processed.
  • a storage unit such as a flash memory or an EEPROM (ElectricallyrasErasable Programmable Read Only Memory)
  • CPU Central Processing Unit
  • the program or data stored in the storage unit of the ECU needs to be updated to be rewritten with a new program or data, for example, when it becomes necessary to add a function, correct a defect, or upgrade a version.
  • an update program or data is transmitted to the ECU to be updated by a communication line.
  • Patent Document 1 describes a software update device that updates a vehicle program in an idle time when the user does not use the vehicle.
  • This software updating apparatus predicts an available free time zone of the program and notifies the user, and updates the program in the free time zone designated by the user. Further, the software update device notifies the user of the predicted position of the vehicle in the idle time zone when notifying the user of the idle time zone.
  • the in-vehicle device cannot perform a normal operation, so that the vehicle cannot travel.
  • the update process may take several minutes to several tens of minutes, and the user cannot use the vehicle during this period.
  • an inquiry is made as to whether or not the user is permitted to perform the update process, and the update process is performed only when the user's permission is obtained.
  • the user may permit the update process unintentionally due to an erroneous operation or the like. For example, when a user goes out by a vehicle for travel or shopping, and the update process is permitted due to an erroneous operation at the destination, the user may not be able to use the vehicle at the destination until the update process is completed.
  • the present invention has been made in view of such circumstances, and an object of the present invention is to provide an in-vehicle update device and an update system that can prevent an in-vehicle device from being updated at an inappropriate place. And providing a portable communication device.
  • An in-vehicle updating device is an in-vehicle updating device that causes an in-vehicle device to execute an update process for updating a program or data stored in a storage unit of an in-vehicle device mounted on a vehicle, and acquires position information.
  • An update determination unit that determines whether or not the update process can be executed, and an update processing unit that causes the in-vehicle device to execute the update process when the update determination unit determines that the update process can be executed. It is characterized by providing.
  • the vehicle-mounted update apparatus which concerns on this invention is further equipped with the vehicle state information acquisition part which acquires the state information which concerns on the driving
  • the said update determination part is based on the state information which the said vehicle state information acquisition part acquired.
  • the in-vehicle update device includes an inquiry unit that inquires whether or not the update process can be performed when the update determination unit determines that the update process can be executed, and an inquiry between the inquiry unit and the inquiry unit. And an accepting unit for accepting whether or not the update process is possible.
  • the vehicle-mounted update apparatus which concerns on this invention is equipped with the communication part which communicates between the portable communication apparatuses which have a position detection part which detects a positional information
  • the said positional information acquisition part is from the said portable communication apparatus. It is characterized by acquiring position information.
  • An update system is an update system that performs an update process for updating a program or data stored in a storage unit of an in-vehicle device mounted on a vehicle, and includes a position detection unit that detects position information.
  • a portable communication device a position information acquisition unit that acquires position information from the portable communication device, a position information storage unit that stores position information that permits or prohibits execution of the update process, and the position information acquisition unit Based on the position information and the position information stored in the position information storage unit, an update determination unit that determines whether or not the update process can be executed, and the update determination unit determines that the update process can be executed.
  • a vehicle-mounted update device having an update processing unit that causes the vehicle-mounted device to execute the update process.
  • an update system is an update system that performs an update process for updating a program or data stored in a storage unit of an in-vehicle device mounted on a vehicle, the position detection unit detecting position information, Based on the position information storage unit that stores the position information that permits or prohibits execution of the update process, the position information detected by the position detection unit, and the position information stored in the position information storage unit, A portable communication device having an update determination unit that determines whether or not execution is possible, a determination result acquisition unit that acquires a determination result of whether or not execution of the update process is possible from the portable communication device, and the determination result acquisition unit An in-vehicle update device having an update processing unit that causes the in-vehicle device to execute the update process when it is determined that the update process can be executed based on the determination result of whether or not Characterized in that it comprises.
  • the portable communication device permits or prohibits execution of an update process for updating a program or data stored in a position detection unit for detecting position information and a storage unit of an in-vehicle device mounted on the vehicle.
  • a position information storage unit that stores position information to be updated, and an update determination unit that determines whether or not the update process can be executed based on the position information detected by the position detection unit and the position information stored in the position information storage unit
  • a determination result transmission unit that transmits a determination result of the update determination unit to an in-vehicle update device that performs the update process.
  • an in-vehicle update device that causes an in-vehicle device to execute an update process for updating a program or data stored in a storage unit of the in-vehicle device stores position information that permits or prohibits the execution of the update process. .
  • the in-vehicle update device compares the current position information with the stored position information and determines whether or not the update process can be executed. When it is determined that the update process is possible based on the position information, the in-vehicle update device causes the in-vehicle device to execute the update process.
  • the update process of the in-vehicle device is performed at a place where the execution of the update process is permitted, and the update process is not performed at a place where the update process is not permitted.
  • the update process is not performed outside this position, and the vehicle can be prevented from being used by the update process when the user is away from home. it can.
  • the position where the update process is permitted as the position information related to whether or not the update process can be executed, for example, the vehicle user registers the home parking lot as the update process permitted position in advance.
  • the position where processing is performed can be easily limited.
  • the in-vehicle update device acquires vehicle state information, and determines whether or not the update process can be executed when the vehicle changes from the running state to the parked state. Thereby, the update process can be executed in a safe state where the vehicle is not traveling.
  • the in-vehicle update device inquires whether or not the update process is performed, and accepts whether or not the update process can be performed from the user. If it is determined that the update process cannot be executed, the in-vehicle update device does not make an inquiry to the user. As a result, the user is inquired only at a position where update processing is possible, and the user's troublesomeness due to frequent repeated inquiries can be reduced, and inquiries are made at positions where update processing is not possible. It is possible to prevent the update process from being permitted due to an erroneous operation by the user.
  • the in-vehicle update device communicates with a portable communication device such as a mobile phone or a smartphone possessed by the user. It is assumed that the portable communication device has a function of detecting position information, and the in-vehicle update device performs determination by acquiring the position information detected by the portable communication device. Thereby, even if it is a case where the apparatus which detects position information is not mounted in a vehicle, it becomes possible for a vehicle-mounted update apparatus to perform the determination process based on position information.
  • a portable communication device having a position information detection function stores position information that permits or prohibits execution of the update process of the in-vehicle device. For example, in response to a request from the in-vehicle update device, the portable communication device compares the current position information with the stored position information to determine whether or not to execute the update process, and transmits the determination result to the in-vehicle update device. To do.
  • the in-vehicle update device receives the determination result from the portable communication device, and causes the in-vehicle device to execute the update process when the determination result that the update process is possible is obtained.
  • the in-vehicle update device does not need to store position information that permits or prohibits execution of the update process, and it is not necessary to perform a process for determining whether the update process is possible based on the position information.
  • the processing load can be reduced, and the cost of the in-vehicle update device can be reduced.
  • position information that permits or prohibits execution of the update process is stored, and the position information at that time is compared with the stored position information before the update process is executed.
  • FIG. 1 is a block diagram illustrating a configuration of a smartphone according to Embodiment 1.
  • FIG. 10 is a flowchart illustrating a procedure of processing performed by a gateway according to the second embodiment. It is a flowchart which shows the procedure of the process which the smart phone which concerns on Embodiment 2 performs.
  • FIG. 1 is a block diagram showing the configuration of the update system according to the present embodiment.
  • a plurality of ECUs (Electronic Control Units) 2 mounted on a vehicle 1 communicate with each other via communication lines 1 a and 1 b and a gateway 10 arranged in the vehicle 1.
  • the gateway 10 corresponds to an in-vehicle update device
  • the ECU 2 corresponds to an in-vehicle device to be updated.
  • two ECUs 2 and one display device 5 are connected to the communication line 1a in the vehicle
  • three ECUs 2 are connected to the communication line 1b
  • two communication lines 1a and 1b are connected to the gateway 10. Since the gateway 10 relays communication between the communication lines 1a and 1b, data can be transmitted and received between all the ECUs 2.
  • the wireless communication devices 3a and 3b are connected to the gateway 10 via the communication line 1c.
  • the gateway 10 can communicate with the smartphone 7 existing inside and outside the vehicle via the wireless communication device 3a, and communicate with the server device 9 installed outside the vehicle 1 via the wireless communication device 3b. Can do.
  • An IG signal is input to the gateway 10 from the IG switch 4 of the vehicle 1.
  • the ECU 2 includes, for example, an ECU that controls the operation of the engine of the vehicle 1, an ECU that controls the locking / unlocking of the door, an ECU that controls the turning on / off of the light, an ECU that controls the operation of the airbag, and an ABS (Antilock Various ECUs such as an ECU for controlling the operation of the Brake System may be included.
  • Each ECU 2 is connected to a communication line 1a or 1b arranged in the vehicle 1, and can transmit and receive data to and from another ECU 2 and the gateway 10 via the communication lines 1a and 1b.
  • the wireless communication device 3a can transmit and receive information to and from the smartphone 7 by performing wireless communication such as Bluetooth (registered trademark) or NFC (Near Field Communication).
  • the wireless communication device 3a can perform wireless communication with the smartphone 7 existing within the wireless signal reachable range. In the present embodiment, it is assumed that the wireless communication device 3a and the smartphone 7 do not communicate via a repeater that relays a wireless signal.
  • the wireless communication device 3a is connected to the gateway 10 via the communication line 1c, and can transmit / receive information to / from the gateway 10 by wired communication. As a result, the wireless communication device 3a can relay communication between the gateway 10 and the smartphone 7, transmits the data given from the gateway 10 to the smartphone 7, and gives the data received from the smartphone 7 to the gateway 10. .
  • the wireless communication device 3b can transmit and receive information to and from the server device 9 installed outside the vehicle 1 by performing wireless communication such as a mobile phone communication network or a wireless local area network (LAN). it can.
  • the wireless communication device 3 b can relay communication between the gateway 10 and the server device 9, transmits data provided from the gateway 10 to the server device 9, and transmits data received from the server device 9 to the gateway 10. give.
  • the wireless communication device 3a that communicates with the smartphone 7 and the wireless communication device 3b that communicates with the server device 9 are separate devices, but the present invention is not limited to this. 7 and the server apparatus 9 may be configured to be mounted on the vehicle 1.
  • the gateway 10 is connected to a plurality of communication lines 1a to 1c constituting the in-vehicle network of the vehicle 1, and performs a process of relaying data transmission / reception between the communication lines.
  • the gateway 10 has three communication lines 1a to 1c, that is, a first communication line 1a to which two ECUs 2 and one display device 5 are connected, and a second to which three ECUs 2 are connected.
  • Communication line 1b and a third communication line 1c to which the wireless communication devices 3a and 3b are connected are connected.
  • the gateway 10 relays data by transmitting data received from any one of the communication lines 1a to 1c to the other communication lines 1a to 1c.
  • the IG switch 4 is a switch for the user to start the engine of the vehicle 1 and the like, and is switched to two states of on / off.
  • the IG signal indicates the state of the IG switch 4,
  • IG on is a state in which a prime mover such as the engine of the vehicle 1 is operating, and power is generated by an alternator or the like. In this state, no power is generated.
  • the IG-on state is the traveling state of the vehicle 1 regardless of the vehicle speed
  • the IG-off state is the parking state of the vehicle 1.
  • the distinction between the traveling state / parking state of the vehicle 1 may not be based on the IG signal, for example, based on the position of the shift lever of the vehicle 1, the state of the parking brake, the traveling speed of the vehicle 1, or the like. It may be determined.
  • the display device 5 is a liquid crystal display, for example, and displays a message for the user of the vehicle 1 according to a display command given from the ECU 2 or the gateway 10.
  • the display device 5 includes an operation unit 5a such as a touch panel or a hardware key.
  • the display device 5 receives a user operation on the operation unit 5a and notifies the ECU 2 or the gateway 10 of the received operation content.
  • the display device 5 may be shared with a car navigation device, for example.
  • the smartphone 7 is a portable communication device possessed by the user of the vehicle 1, for example.
  • the wireless communication device 3a performs wireless communication with a smartphone 7 registered in advance.
  • the smartphone 7 according to the present embodiment has a function of receiving a signal from a GPS (Global Positioning System) artificial satellite and detecting the position of the own device, for example.
  • the smartphone 7 is installed with an application (application program) for transmitting / receiving information to / from the gateway 10 via the wireless communication device 3a.
  • the smartphone 7 and the gateway 10 may communicate via a communication cable such as USB (Universal Serial Bus) instead of communicating via the wireless communication device 3a.
  • USB Universal Serial Bus
  • wireless communication apparatus 3a was used as the smart phone 7, it is not restricted to this, For example, as a mobile telephone, a tablet-type terminal device, a notebook computer, or a game machine etc. Also good.
  • the server device 9 manages and stores programs and data executed by the ECU 2 mounted on the vehicle 1. In response to an inquiry from the vehicle 1, the server device 9 notifies whether or not the program needs to be updated, and distributes the update program and data to the vehicle 1 when the update is necessary. Process.
  • the gateway 10 when the IG switch 4 of the vehicle 1 is in the ON state, communication between the gateway 10 and the server device 9 is performed, and the program and / or necessary for the update are transmitted from the server device 9 to the gateway 10. Or acquisition (download) of data etc. is performed.
  • the gateway 10 that has completed the acquisition of the program and / or data necessary for the update, communicates with the smartphone 7 in the wireless communication device 3a when the IG switch 4 is subsequently switched to the off state, and the location information To get.
  • the gateway 10 compares the location information acquired from the smartphone 7 with location information that permits or prohibits update processing registered in advance, and determines whether or not update processing is possible.
  • the gateway 10 that has determined that the update process can be performed based on the position information causes the display device 5 to display a message for inquiring whether or not the update process can be performed, and accepts a user response to the message through the operation unit 5a.
  • the gateway 10 causes the ECU 2 to execute the update process by transmitting the update program and / or data acquired from the server device 9 to the ECU 2 to be updated.
  • the ECU 2 that has received the program and / or data necessary for the update from the gateway 10 performs the update process by writing the program and / or data in its own storage unit.
  • FIG. 2 is a block diagram showing a configuration of the ECU 2 according to the present embodiment.
  • the ECU 2 according to the present embodiment includes a processing unit 21, a storage unit 22, a communication unit 23, and the like.
  • the processing unit 21 is configured by using an arithmetic processing device such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit), for example, and by reading and executing the program 22a stored in the storage unit 22, Perform arithmetic processing.
  • the contents of the program 22a stored in the storage unit 22 are different for each ECU 2.
  • the storage unit 22 is configured by using a non-volatile memory element such as a flash memory or an EEPROM (Electrically Erasable Programmable Read Only Memory).
  • the storage unit 22 stores a program 22a executed by the processing unit 21 and data necessary for executing the program 22a.
  • program 22a may include the program 22a and data necessary for executing the program 22a.
  • the communication unit 23 is connected to the communication line 1a or 1b constituting the in-vehicle network, and transmits and receives data according to a communication protocol such as CAN (Controller (Area Network).
  • the communication unit 23 converts the data provided from the processing unit 21 into an electrical signal and outputs the signal to the communication line 1a or 1b to transmit the data, and also obtains the potential of the communication line 1a or 1b by sampling.
  • the data is received by, and the received data is given to the processing unit 21.
  • the processing unit 21 of the ECU 2 is provided with an update information receiving unit 21a and an update processing unit 21b.
  • the update information receiving unit 21 a and the update processing unit 21 b are functional blocks for updating the program 22 a stored in the storage unit 22.
  • the update information receiving unit 21a and the update processing unit 21b are software functional blocks realized by the processing unit 21 executing a program (not shown) that is different from the program 22a to be updated. is there.
  • the update information receiving unit 21a receives an update program transmitted via the communication line 1a or 1b by the communication unit 23, and stores the received update program in a buffer memory (not shown) or the like. Perform the process.
  • the update processing unit 21b performs a process of updating the program 22a by storing the update program stored in the buffer memory or the like in the storage unit 22 (overwriting the program 22a before the update).
  • FIG. 3 is a block diagram showing a configuration of the gateway 10 according to the first embodiment.
  • the gateway 10 according to the first embodiment includes a processing unit 11, a storage unit 12, three in-vehicle communication units 13, and the like.
  • the processing unit 11 is configured using, for example, an arithmetic processing device such as a CPU or MPU, and reads out and executes a program stored in the storage unit 12 or a ROM (Read Only Memory) (not shown), thereby performing various arithmetic processing. I do.
  • the processing unit 11 performs a processing for relaying data transmission / reception between the communication lines 1a to 1c of the in-vehicle network and an arithmetic processing necessary for an update processing of the ECU 2.
  • An IG signal supplied from the IG switch 4 of the vehicle 1 is input to the processing unit 11.
  • the IG signal may be input to the gateway 10 by in-vehicle communication using the communication lines 1a to 1c.
  • the storage unit 12 is configured using a non-volatile memory element such as a flash memory or an EEPROM.
  • the storage unit 12 stores, for example, programs and data used for updating the ECU 2.
  • the storage unit 12 may store a program executed by the processing unit 11 and data necessary for the execution of the program, and may store data generated in the course of processing of the processing unit 11.
  • the storage unit 12 stores information such as the update permission position 12a and the update prohibition position 12b in advance.
  • the update permission position 12a is information regarding a position where the gateway 10 is permitted to execute the update process of the program or data of the ECU 2. For example, when the user purchases the vehicle 1, the user performs an operation of registering the update permission position 12 a as an initial setting.
  • the update prohibition position 12b is information regarding a position where the gateway 10 is prohibited from executing the update process.
  • the update prohibition position 12b is information set in advance by, for example, a manufacturer or a sales company of the vehicle 1.
  • the update prohibition position 12b becomes unusable when the update process is executed, for example, in an insecure area, an extremely hot or cold area, or a suburban area such as a desert or a mountain. A position that is not suitable for is preset.
  • the permission position and the prohibition position of the update process are represented by, for example, a combination of latitude and longitude, and the storage unit 12 may store a plurality of permission positions and prohibition positions.
  • the update permission position 12a is set by the user, and the update prohibition position 12b is set by the manufacturer or sales company of the vehicle 1, but the present invention is not limited to this.
  • the update permission position 12a may be set by the manufacturer or sales company of the vehicle 1.
  • the user may set the update prohibition position 12b.
  • the update permission position 12a and the update prohibition position 12b may be set by anyone and how.
  • the in-vehicle communication unit 13 is connected to the communication lines 1a to 1c constituting the in-vehicle network, and transmits and receives data according to a communication protocol such as CAN.
  • the in-vehicle communication unit 13 transmits information by converting the data supplied from the processing unit 11 into an electrical signal and outputs the signal to the communication lines 1a to 1c, and samples and acquires the potentials of the communication lines 1a to 1c. Thus, the data is received and the received data is given to the processing unit 11.
  • the three in-vehicle communication units 13 included in the gateway 10 may perform communication according to different communication protocols.
  • an update information acquisition unit 11a by executing a program stored in the storage unit 12 or the ROM or the like, an update information acquisition unit 11a, a vehicle state information acquisition unit 11b, a position information acquisition unit 11c, an update determination unit 11d,
  • the inquiry processing unit 11e, the reception processing unit 11f, the update processing unit 11g, and the like are realized as software functional blocks.
  • the update information acquisition unit 11a communicates with the server device 9 via the wireless communication device 3b at a predetermined timing, and inquires whether or not the program 22a of the ECU 2 mounted on the vehicle 1 needs to be updated.
  • the predetermined timing for inquiring whether update is necessary may be a predetermined cycle, for example, every day or every week, or may be, for example, every time the IG switch 4 is switched from the off state to the on state.
  • the update information acquisition unit 11a receives a program and data required for the update from the server device 9 via the wireless communication device 3b (hereinafter simply referred to as update). (Referred to as “program for use”) and stored in the storage unit 12. At this time, the update information acquisition unit 11a acquires the update program for all ECUs 2 that need to be updated.
  • the vehicle state information acquisition unit 11b determines whether the IG signal is in the on state or the off state by sampling and acquiring the value of the IG signal input from the IG switch 4, and sets the state of the IG signal. In response, it is determined whether the vehicle 1 is in a traveling state or a parking state. That is, the vehicle state information acquisition unit 11b performs a process of acquiring the state of the vehicle 1 based on the IG signal.
  • the position information acquisition unit 11c communicates with the smartphone 7 via the wireless communication device 3a when the state of the vehicle 1 acquired by the vehicle state information acquisition unit 11b changes from the running state to the parking state. Processing for acquiring position information detected by the position detection function is performed.
  • the position information acquisition unit 11c determines whether or not the registered smartphone 7 exists within the communication range of the wireless communication device 3a. Request location information from the smartphone 7. In response to this request, the smartphone 7 performs position detection, and the detected position information is transmitted to the wireless communication device 3a.
  • the position information acquisition unit 11 c acquires the position information from the smartphone 7 received by the in-vehicle communication unit 13.
  • the position information acquired by the position information acquisition unit 11c is regarded as position information when the vehicle 1 is parked.
  • the update determination unit 11d compares the position information acquired by the position information acquisition unit 11c with the information of the update permission position 12a and the update permission position 12a stored in the storage unit 12 to thereby determine the current position of the current vehicle 1. Performs a process of determining whether or not the position is permitted to perform the update process.
  • the update permission position 12a is preferentially determined over the update prohibition position 12b. Therefore, the update determination unit 11d compares the current position with the update permission position 12a when the update permission position 12a is stored in the storage unit 12 (that is, when the user sets the update permission position). Can be done. When the current position is the update permission position 12a or included in the update permission position 12a, the update determination unit 11d determines that the update process is possible.
  • the update determination unit 11d compares the current position with the update prohibition position 12b. If the current position is not the update prohibition position 12b or is not included in the update prohibition position 12b, the update determination unit 11d determines that the update process is possible.
  • the inquiry processing unit 11e performs a process of inquiring the user whether or not the update process of the ECU 2 can be executed when the update determination unit 11d determines that the update process is possible.
  • the inquiry processing unit 11e displays a message for inquiring whether or not the update process can be executed on the display device 5 by giving a message display command to the display device 5 in the in-vehicle communication unit 13.
  • the inquiry processing unit 11e displays a message such as “Do you want to execute ECU software update processing?” On the display device 5, for example. The user can respond to this inquiry by operating the operation unit 5a of the display device 5.
  • the reception processing unit 11f performs a process of receiving a user response to the inquiry from the inquiry processing unit 11e.
  • the display device 5 transmits the content of the user operation performed on the operation unit 5 a to the gateway 10.
  • the reception processing unit 11f receives the user's response by acquiring the operation content of the user with respect to the operation unit 5a transmitted from the display device 5 and received by the in-vehicle communication unit 13.
  • the update processing unit 11g causes the ECU 2 to be updated to execute the update process when the reception processing unit 11f receives a response permitting the update process from the user.
  • the update processing unit 11g reads the update program acquired by the update information acquisition unit 11a from the server device 9 and stored in the storage unit 22, and transmits the read update program to the ECU 2 that is the target of the update process. As a result, the updating process of the program 22a stored in the storage unit 22 of the ECU 2 is executed.
  • the ECU 2 that has received the update program from the gateway 10 performs an update process on the program 22a by overwriting the pre-update program 22a stored in the storage unit 22 with the received update program.
  • FIG. 4 is a block diagram illustrating a configuration of the smartphone 7 according to the first embodiment.
  • the smartphone 7 according to Embodiment 1 includes a processing unit 71, a storage unit 72, a GPS receiving unit 73, a wireless communication unit 74, a display unit 75, an operation unit 76, and the like.
  • the processing unit 71 is configured by using an arithmetic processing device such as a CPU or MPU, and performs various arithmetic processes by executing a program stored in the storage unit 72.
  • the storage unit 72 is configured using a nonvolatile memory element such as a flash memory.
  • the storage unit 72 stores a program executed by the processing unit 21 and data necessary for executing the program.
  • an update process application 72 a is stored in the storage unit 72 as a program for performing a process related to the update process of the ECU 2 of the vehicle 1.
  • the update processing application 72 a is downloaded in advance from, for example, a server device that distributes the application and stored in the storage unit 72.
  • the GPS receiving unit 73 receives a radio signal transmitted from a GPS artificial satellite, and gives information included in the received signal to the processing unit 71.
  • the radio signal received by the GPS receiving unit 73 includes time information, and the processing unit 71 can perform position detection based on this information.
  • the wireless communication unit 74 can transmit and receive information to and from the wireless communication device 3a of the vehicle 1 by performing wireless communication such as Bluetooth (registered trademark) or NFC.
  • the wireless communication unit 74 transmits the information given from the processing unit 71 to the wireless communication device 3a of the vehicle 1, and receives the information sent by the wireless communication device 3a and gives it to the processing unit 71.
  • the display unit 75 is configured using, for example, a liquid crystal panel and displays various images provided from the processing unit 71.
  • the operation unit 76 receives a user operation using, for example, a touch panel or a hardware key, and gives the received operation content to the processing unit 71.
  • the update processing application 72a stored in the storage unit 72 is executed, whereby the position information transmission processing unit 71a and the like are realized as software functional blocks.
  • the position information transmission processing unit 71 a performs a process of detecting the position of the smartphone 7 based on information given from the GPS receiving unit 73. Further, the position information transmission processing unit 71a performs a process of transmitting the detected position information of the smartphone 7 in response to a request from the wireless communication device 3a of the vehicle 1.
  • 5 and 6 are flowcharts showing a procedure of processing performed by the gateway 10 according to the first embodiment.
  • the procedure after the vehicle 1 is in a running state and the update information acquisition unit 11a of the processing unit 11 of the gateway 10 completes the acquisition of the update program necessary for the update process of the ECU 2 from the server device 9 is described.
  • the processing unit 11 of the gateway 10 according to the present embodiment acquires the state information of the vehicle 1 based on the IG signal input from the IG switch 4 in the vehicle state information acquisition unit 11b, and the vehicle 1 is parked from the traveling state. It is determined whether or not the state has been changed (step S1). When not changing to the parking state (S1: NO), the processing unit 11 stands by until the vehicle 1 changes to the parking state.
  • step S2 When the vehicle 1 changes to the parking state (S1: YES), is the processing unit 11 possible to communicate with the smartphone 7 by attempting communication with the smartphone 7 registered in advance in the wireless communication device 3a? It is determined whether or not (step S2). When communication with the smartphone 7 is not possible (S2: NO), the processing unit 11 ends the process without performing the update process.
  • the position information acquisition unit 11c of the processing unit 11 requests the smartphone 7 to acquire position information using the wireless communication device 3a (step S3). In response to this request, position information is transmitted from the smartphone 7.
  • the position information acquisition unit 11c determines whether or not the position information transmitted from the smartphone 7 has been received by the wireless communication device 3a (step S4). If position information has not been received (S4: NO), the position information acquisition unit 11c stands by until position information is received.
  • the update determination unit 11d of the processing unit 11 permits the update process based on whether or not the update permission position 12a is stored in the storage unit 12. It is determined whether or not the position has been set (step S5).
  • the update determination unit 11d reads the update permission position 12a from the storage unit 12 (step S6), and advances the process to step S8.
  • the update determination unit 11d reads the update prohibition position 12b from the storage unit 12 (step S7), and advances the process to step S8.
  • the update determination unit 11d compares the position information received from the smartphone 7 with the update permission position 12a read at step S6 or the update prohibition position 12b read at step S7 (step S8). Based on the comparison result of the position information, the update determination unit 11d determines whether or not the update process of the ECU 2 can be executed (step S9). If it is determined that the update process is not possible (S9: NO), the processing unit 11 ends the process without performing the update process.
  • the inquiry processing unit 11e of the processing unit 11 provides the display device 5 with a display command by the in-vehicle communication unit 13 to update the display device 5.
  • An update message for inquiring whether or not is possible is displayed (step S10).
  • the reception processing unit 11 f of the processing unit 11 determines whether or not there is a user operation on the operation unit 5 a of the display device 5 based on whether or not the notification of the user operation content is received from the display device 5 by the in-vehicle communication unit 13. Determination is made (step S11).
  • the processing unit 11 returns the process to step S10 and continues displaying the update message.
  • the reception processing unit 11f determines whether or not the operation content of the user notified from the display device 5 is an operation permitting the update process. (Step S12). When the operation is not an operation for permitting the update process (S12: NO), the processing unit 11 ends the process without executing the update process. When the operation is an operation for permitting the update process (S12: YES), the update processing unit 11g of the processing unit 11 reads the update program stored in the storage unit 12 and transmits it to the ECU 2 that is the update process target. The ECU 2 is caused to execute an update process (step S13), and the process is terminated.
  • FIG. 7 is a flowchart showing a procedure of processing performed by the smartphone 7 according to the first embodiment.
  • the processing unit 71 of the smartphone 7 determines whether or not the wireless communication unit 74 has received a request for position information from the vehicle 1 (step S21). When the request has not been received (S21: NO), the processing unit 71 stands by until the request is received. When the request is received (S21: YES), the position information transmission processing unit 71a of the processing unit 71 detects the position of the smartphone 7 based on the information given from the GPS receiving unit 73 (step S22). Next, the position information transmission processing unit 71a transmits the detected position information to the vehicle 1 by the wireless communication unit 74 (step S23), and the process ends.
  • the gateway 10 performs the update process of the program 22a stored in the storage unit 22 of the ECU 2.
  • the gateway 10 stores the update permission position 12a and the update prohibition position 12b in the storage unit 12 as information related to whether or not the update process can be executed.
  • the gateway 10 compares the position information of the vehicle 1 at that time with the position information stored in the storage unit 12 and determines whether or not the update process can be executed.
  • the gateway 10 transmits the update program to the ECU 2 to be updated and executes the update process.
  • the update process of the ECU 2 is performed at a position where the execution of the update process is permitted, and the update process is not performed at a position where the update process is not permitted.
  • the home position information as the update permission position 12a, it is possible to prevent the update process from being performed outside this position and prevent the user from being able to use the vehicle 1 due to the update process outside the user.
  • the gateway 10 which concerns on this Embodiment acquires the status information of the vehicle 1 based on the IG signal input from the IG switch 4, and when the vehicle 1 changes from a driving
  • the gateway 10 When the gateway 10 according to the present embodiment determines that the update process can be executed, the gateway 10 displays a message on the display device 5 to inquire whether the update process is to be performed.
  • the operation unit 5a accepts whether or not update processing is possible from the user. If the gateway 10 determines that the update process cannot be executed, the gateway 10 does not make an inquiry to the user. As a result, the user is inquired only at a position where the update process can be executed, and the user's troublesomeness due to frequent repetition of the inquiry can be reduced, and the inquiry is made at a position where the update process is not possible. Thus, it is possible to prevent the update process from being permitted due to an erroneous operation by the user.
  • the gateway 10 communicates with the smartphone 7 possessed by the user of the vehicle 1 via the wireless communication device 3a.
  • the smartphone 7 has a function of performing position detection based on a GPS signal received by the GPS receiving unit 73, and the gateway 10 acquires position information detected by the smartphone 7, and determines whether or not update processing is possible based on the position information. Do. Thereby, even if it is a case where the apparatus which detects positional information is not mounted in the vehicle 1, it becomes possible for the gateway 10 to perform the determination process based on positional information.
  • the gateway 10 stores, in the storage unit 12, the position where the update process is permitted as the update permission position 12a as information related to whether or not the update process can be executed.
  • the user of the vehicle 1 can easily limit the position where the update process is performed, for example, the home parking lot is registered in advance as a permission position for the update process.
  • the gateway 10 stores, in the storage unit 12, a position where the update process is prohibited as the update prohibition position 12 b as information related to whether or not the update process can be executed.
  • the vehicle 1 is not suitable for being made unusable with the execution of the update process, such as an insecure area, an extremely hot or cold area, or a suburban area such as a desert or a mountain.
  • Safety measures such as the location being registered in advance by the manufacturer or sales company of the vehicle 1 can be made.
  • the in-vehicle device that is the target of the update process is the ECU 2, but the present invention is not limited to this, and any in-vehicle device other than the ECU 2 may be the target of the update process.
  • the vehicle-mounted update apparatus which performs the update process of ECU2 was set as the gateway 10, it does not restrict to this.
  • any ECU 2 mounted on the vehicle 1 may be configured to perform the update process.
  • devices such as the wireless communication devices 3a and 3b, the display device 5, or the car navigation device mounted on the vehicle 1 perform the update process. It may be the composition which performs.
  • the gateway 10 is configured to communicate with the server device 9 via the wireless communication device 3b, but is not limited thereto, and may be configured to communicate with the server device 9 via the smartphone 7, for example. .
  • the gateway 10 is configured to acquire the update program used for the update process of the ECU 2 from the server device 9, it is not limited to this.
  • the update program may be recorded on a recording medium such as a memory card or an optical disk, and any on-vehicle device mounted on the gateway 10 or the vehicle 1 may acquire the update program from the recording medium.
  • the gateway 10 may be configured to acquire the update program from a portable communication device such as the smartphone 7.
  • the gateway 10 acquires the update program from the server device 9 and stores it in the storage unit 12, and then performs the determination based on the position information and the inquiry to the user. It is not limited to. For example, the gateway 10 performs the determination based on the position information and the inquiry to the user first, and when the execution of the update process is permitted, the gateway 10 acquires the update program from the server device 9 and transmits it to the ECU 2. Also good. For example, when the ECU 2 has a surplus memory (external memory or surplus storage area) for storing the update program, the gateway 10 transmits the update program acquired from the server device 9 to the ECU 2.
  • the gateway 10 may make a determination based on the position information, an inquiry to the user, and the like. In this configuration, when the execution of the update process is permitted, the gateway 10 may notify the ECU 2 to that effect.
  • the gateway 10 is configured to use the two pieces of position information of the update permission position 12a and the update prohibition position 12b as the information related to whether or not the update process can be performed.
  • the present invention is not limited to this.
  • a configuration using only one of the forbidden positions 12b may be used.
  • a plurality of positions may be set as the update permission position 12a and the update prohibition position 12b.
  • the gateway 10 is configured to display a message for inquiring whether or not update processing is possible on the display device 5, but is not limited thereto, and may be displayed on the display unit 75 of the smartphone 7, for example, or displayed on another device May be.
  • the gateway 10 is configured to accept a user's operation for an inquiry using the operation unit 5a of the display device 5.
  • the present invention is not limited to this.
  • the gateway 10 may accept the operation using the operation unit 76 of the smartphone 7. It may be accepted by other devices.
  • the gateway 10 may include a GPS receiving unit that receives GPS radio signals. In the case of this configuration, the gateway 10 does not acquire the position information via the smartphone 7 but may detect the position based on information included in the signal received by the GPS receiver included in the gateway 10. In addition, the gateway 10 may not be provided with a GPS receiving unit, but another in-vehicle device such as a car navigation device mounted on the vehicle 1 may be provided with the GPS receiving unit.
  • the gateway 10 may acquire position information from another in-vehicle device including a GPS receiving unit by performing communication via the in-vehicle communication unit 13.
  • the smart phone 7 is not necessarily required.
  • the update system according to the first embodiment described above is configured such that the gateway 10 performs a determination process based on position information, but is not limited thereto.
  • the update system according to Embodiment 2 has a configuration in which a smartphone performs a determination process based on position information, and the gateway acquires a determination result from the smartphone.
  • FIG. 8 is a block diagram showing a configuration of the gateway 210 according to the second embodiment.
  • the functional block of the position information acquisition unit 11c and the update determination unit 11d is not provided in the processing unit 211, but a determination result acquisition unit 211c is provided instead.
  • the storage unit 12 of the gateway 210 does not store the update permission position 12a and the update prohibition position 12b.
  • FIG. 9 is a block diagram illustrating a configuration of the smartphone 207 according to the second embodiment.
  • the smartphone 207 according to the second embodiment functional blocks of an update determination unit 271a and a determination result transmission processing unit 271b are provided in the processing unit 271 instead of the functional blocks of the position information transmission processing unit 71a.
  • the storage unit 72 of the smartphone 207 stores an update permission position 272b and an update prohibition position 272c along with the update processing application 72a.
  • the gateway 210 does not determine whether or not to execute the update process based on the position information, but the smartphone 207 performs the determination.
  • the gateway 210 performs update processing based on the position information with respect to the smartphone 207 by communication via the wireless communication device 3a.
  • the determination result acquisition unit 211c of the processing unit 211 requests that the determination result be transmitted and the determination result transmitted.
  • the update determination unit 271a of the processing unit 271 of the smartphone 207 that has received this request performs position detection based on the signal received by the GPS receiving unit 73, and the update permission position 272b stored in the storage unit 72 and the update position.
  • the prohibition position 272c is compared to determine whether or not the update process can be executed.
  • the determination result transmission processing unit 271 b of the processing unit 271 transmits the determination result of the update determination unit 271 a to the vehicle 1 by the wireless communication unit 74.
  • the inquiry processing unit 11e inquires the user whether or not the update process can be performed.
  • the gateway 210 does not perform the update process and waits for the next opportunity (the next timing when the vehicle 1 changes from the traveling state to the parking state).
  • FIG. 10 is a flowchart showing a procedure of processing performed by the gateway 210 according to the second embodiment.
  • the procedure after the vehicle 1 is in the running state and the update information acquisition unit 11a of the processing unit 211 of the gateway 210 completes the acquisition of the update program necessary for the update process of the ECU 2 from the server device 9 is described.
  • the processing unit 211 of the gateway 210 according to the second embodiment acquires the state information of the vehicle 1 based on the IG signal input from the IG switch 4 in the vehicle state information acquisition unit 11b, and the vehicle 1 is parked from the traveling state. It is determined whether or not the state has been changed (step S31). When it has not changed to the parking state (S31: NO), the processing unit 211 stands by until the vehicle 1 changes to the parking state.
  • step S32 When the vehicle 1 changes to the parking state (S31: YES), is the processing unit 211 possible to communicate with the smartphone 207 by attempting communication with the smartphone 207 registered in advance in the wireless communication device 3a? It is determined whether or not (step S32). When communication with the smart phone 207 is not possible (S32: NO), the process part 211 complete
  • the determination result acquisition unit 211c determines whether or not the determination result transmitted from the smartphone 207 has been received by the wireless communication device 3a (step S34). When the determination result has not been received (S34: NO), the determination result acquisition unit 211c waits until the determination result is received. When the determination result is received (S34: YES), the processing unit 211 determines whether or not the update process of the ECU 2 can be executed based on the received determination result (step S9 in FIG. 6 is performed). reference). The subsequent processing by the gateway 210 is the same as the flowchart shown in FIG.
  • FIG. 11 is a flowchart illustrating a procedure of processing performed by the smartphone 207 according to the second embodiment.
  • the processing unit 271 of the smartphone 207 determines whether or not the wireless communication unit 74 has received a request for the determination result of whether or not the update process can be performed from the vehicle 1 (step S41).
  • the processing unit 271 waits until the request is received.
  • the update determination unit 271a of the processing unit 271 detects the position of the smartphone 207 based on the information given from the GPS receiving unit 73 (step S42).
  • the update determination unit 271a determines whether or not a position where update processing is permitted has been set (step S43). When the permitted position has been set (S43: YES), the update determination unit 271a reads the update permitted position 272b from the storage unit 72 (step S44), and proceeds to step S46. If the permission position has not been set (S43: NO), the update determination unit 271a reads the update prohibition position 272c from the storage unit 72 (step S45), and proceeds to step S46.
  • the update determination unit 271a compares the position information detected in step S42 with the update permission position 272b read in step S44 or the update prohibition position 272c read in step S45 (step S46). Based on the comparison result of the position information, the update determination unit 271a determines whether or not the update process of the ECU 2 can be executed (step S47). If it is determined that the update process is possible (S47: YES), the determination result transmission processing unit 271b of the processing unit 271 transmits a determination result indicating that the update process is possible to the vehicle 1 by the wireless communication unit 74. (Step S48), and the process ends. When it is determined that the update process is not possible (S47: NO), the determination result transmission processing unit 271b transmits a determination result indicating that the update process is not possible (step S49), and ends the process.
  • the smartphone 207 having a position detection function stores the update permission position 272b and the update prohibition position 272c in the storage unit 72 as position information related to execution of the update process of the ECU 2.
  • it is configured to determine whether or not to execute the update process based on the position information in response to a request from the gateway 210 of the vehicle 1, and to transmit the determination result to the gateway 210.
  • the gateway 210 receives the determination result from the smartphone 207, and executes the update process of the ECU 2 when the determination result that the update process is possible is obtained.
  • the gateway 210 does not need to store information such as the update-permitted position and the update-permitted position in the storage unit 12 and does not need to perform a process for determining whether or not an update process can be performed based on the position information.
  • the processing load of the gateway 210 can be reduced, and the cost of the gateway 210 can be reduced.
  • the gateway 210 uses the display device 5 to inquire the user about whether update is possible and accept user operations for the inquiry.
  • the configuration is not limited to this.
  • the smartphone 207 may be configured to make inquiries to the user and accept operations.
  • the smartphone 207 after determining that the update process is possible based on the position information, the smartphone 207 makes an inquiry about whether or not the update process is possible to the user and accepts the user's operation. That is, whether or not update processing is permitted is transmitted to the gateway 210.
  • the smartphone 207 transmits a determination result indicating that the update process is not possible to the gateway 210 without performing an inquiry to the user and accepting an operation. Good.
  • the gateway 210 executes the update process of the ECU 2 when notified from the smartphone 207 that a user operation permitting the update has been accepted.
  • the gateway 210 does not execute the update process of the ECU 2.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Traffic Control Systems (AREA)

Abstract

不適切な場所で車載機器の更新処理が行われることを防止することができる車載更新装置、更新システム及び可搬型通信器を提供する。 本実施の形態に係る更新システムは、車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理を行う更新システムであって、位置情報を検出する位置検出部を有する可搬型通信器と、前記可搬型通信器から位置情報を取得する位置情報取得部、前記更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部、前記位置情報取得部が取得した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部、並びに、前記更新判定部が実行を許可すると判定した場合に、前記更新処理を行う更新処理部を有する車載更新装置とを備える。

Description

車載更新装置、更新システム及び可搬型通信器
 本発明は、車両に搭載された車載機器のプログラム又はデータを更新する更新処理を行う車載更新装置、更新システム及び可搬型通信器に関する。
 従来、車両には複数のECU(Electronic Control Unit)などの車載機器が搭載され、複数のECUがCAN(Controller Area Network)バスなどの通信線を介して接続されて相互に情報の送受信を行うことが可能とされている。各ECUは、フラッシュメモリ又はEEPROM(Electrically Erasable Programmable Read Only Memory)等の記憶部に記憶されたプログラムをCPU(Central Processing Unit)などの処理装置が読み出して実行することにより、車両の制御などの種々の処理を行っている。ECUの記憶部に記憶されたプログラム又はデータは、例えば機能追加、不具合の修正又はバージョンアップ等の必要が生じた際には、新たなプログラム又はデータに書き換える更新処理を行う必要がある。この場合、更新処理の対象となるECUに対して、通信線を介して更新用のプログラム又はデータを送信することが行われている。
 特許文献1には、ユーザが車両を使用しない空き時間帯に車両のプログラムを更新するソフトウェア更新装置が記載されている。このソフトウェア更新装置は、プログラムの更新可能な空き時間帯を予測してユーザに報知し、ユーザにより指定された空き時間帯でプログラムの更新を行う。またソフトウェア更新装置は、ユーザへ空き時間帯の報知を行う際に、空き時間帯における車両の予測位置を報知する。
特開2011-53954号公報
 車載機器の更新処理を行っている間は、この車載機器は通常の動作を行うことができないため、車両が走行不可能な状態となる。更新処理には数分~数十分程度の時間を要する場合があり、ユーザはこの期間に車両を使用することができなくなる。このため、更新処理を行う前にはユーザに対して更新処理を行うことを許可するか否かの問い合わせが行われ、ユーザの許可が得られた場合にのみ更新処理が行われる。しかしながらユーザは、誤操作などによって意図せずに更新処理を許可してしまう可能性がある。例えばユーザが旅行又は買い物等により車両で外出し、外出先で誤操作により更新処理を許可した場合、この更新処理が終了するまでユーザは外出先で車両を使用することができなくなる虞がある。
 本発明は、斯かる事情に鑑みてなされたものであって、その目的とするところは、不適切な場所で車載機器の更新処理が行われることを防止することができる車載更新装置、更新システム及び可搬型通信器を提供することにある。
 本発明に係る車載更新装置は、車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理を前記車載機器に実行させる車載更新装置であって、位置情報を取得する位置情報取得部と、前記更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部と、前記位置情報取得部が取得した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部と、前記更新処理の実行が可能であると前記更新判定部判定した場合に、前記更新処理を前記車載機器に実行させる更新処理部とを備えることを特徴とする。
 また、本発明に係る車載更新装置は、前記車両の走行に係る状態情報を取得する車両状態情報取得部を更に備え、前記更新判定部は、前記車両状態情報取得部が取得した状態情報に基づいて、前記車両が走行状態から駐車状態へ変化した場合に、前記更新処理の実行の可否を判定することを特徴とする。
 また、本発明に係る車載更新装置は、前記更新判定部が前記更新処理の実行が可能であると判定した場合に、前記更新処理の可否を問い合せる問合部と、前記問合部の問合わせに対する前記更新処理の可否を受け付ける受付部とを更に備えることを特徴とする。
 また、本発明に係る車載更新装置は、位置情報を検出する位置検出部を有する可搬型通信器との間で通信を行う通信部を備え、前記位置情報取得部は、前記可搬型通信器から位置情報を取得することを特徴とする。
 また、本発明に係る更新システムは、車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理を行う更新システムであって、位置情報を検出する位置検出部を有する可搬型通信器と、前記可搬型通信器から位置情報を取得する位置情報取得部、前記更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部、前記位置情報取得部が取得した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部、並びに、前記更新処理の実行が可能であると前記更新判定部判定した場合に、前記更新処理を前記車載機器に実行させる更新処理部を有する車載更新装置とを備えることを特徴とする。
 また、本発明に係る更新システムは、車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理を行う更新システムであって、位置情報を検出する位置検出部、前記更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部、並びに、前記位置検出部が検出した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部を有する可搬型通信器と、前記可搬型通信器から前記更新処理の実行の可否の判定結果を取得する判定結果取得部、並びに、前記判定結果取得部が取得した可否の判定結果に基づき、前記更新処理の実行が可能であると判定された場合に前記更新処理を前記車載機器に実行させる更新処理部を有する車載更新装置とを備えることを特徴とする。
 また、本発明に係る可搬型通信器は、位置情報を検出する位置検出部と、車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部と、前記位置検出部が検出した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部と、前記更新判定部の判定結果を前記更新処理を行う車載更新装置へ送信する判定結果送信部とを備えることを特徴とする。
 本発明においては、車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理をこの車載機器に実行させる車載更新装置が、更新処理の実行を許可又は禁止する位置情報を記憶しておく。車載更新装置は、更新処理を実行させる前に、その時点の位置情報と記憶した位置情報とを比較して、更新処理の実行の可否を判定する。位置情報に基づいて更新処理が可能であると判定した場合に、車載更新装置は車載機器に更新処理を実行させる。
 これにより、更新処理の実行が許可された場所で車載機器の更新処理が行われ、許可されていない場所では更新処理は行われないこととなる。例えば自宅の位置情報を更新処理の実行を許可する位置として設定しておくことにより、この位置以外での更新処理が行われなくなり、ユーザが外出先で更新処理により車両が使用できなくなることを防止できる。
 なお更新処理の実行の可否に係る位置情報として、更新処理を許可する位置を記憶しておことにより、例えば車両のユーザが自宅駐車場を更新処理の許可位置として予め登録しておくなど、更新処理を行う位置を容易に限定することができる。また更新処理の実行の可否に係る位置情報として、更新処理を禁止する位置を記憶しておくことにより、例えば治安の悪い地域、極度に暑い若しくは寒い地域、又は、砂漠若しくは山中等の郊外の地域等のように、更新処理の実行に伴って車両が使用不可能となるのに適さない位置を、車両の製造会社又は販売会社等が予め登録しておくなどの安全対策が可能となる。
 また本発明において車載更新装置は、車両の状態情報を取得し、車両が走行状態から駐車状態へ変化した場合に、更新処理の実行の可否を判定する。これにより、車両が走行していない安全な状態で更新処理を実行することができる。
 また本発明において車載更新装置は、更新処理の実行が可能であると判定した場合に、更新処理を行うか否かの問合わせを行い、ユーザから更新処理の可否を受け付ける。更新処理の実行が可能でないと判定した場合には、車載更新装置はユーザへの問合わせを行わない。これにより、更新処理が可能な位置でのみユーザに対する問合わせが行われることとなり、問い合わせが頻繁に繰り返されることによるユーザの煩わしさを低減できると共に、更新処理が可能でない位置で問い合わせが行われてユーザの誤操作により更新処理が許可されることを防止できる。
 また本発明において車載更新装置は、例えばユーザが所持する携帯電話機又はスマートフォン等の可搬型通信器との通信を行う。可搬型通信器は位置情報を検出する機能を有するものとし、車載更新装置は可搬型通信器が検出した位置情報を取得して判定を行う。これにより、車両に位置情報を検出する装置が搭載されていない場合であっても、車載更新装置が位置情報に基づく判定処理を行うことが可能となる。
 また本発明においては、位置情報の検出機能を有する可搬型通信器が、車載機器の更新処理の実行を許可又は禁止する位置情報を記憶しておく。可搬型通信器は、例えば車載更新装置からの要求に応じて、その時点の位置情報と記憶した位置情報とを比較して更新処理の実行の可否を判定し、判定結果を車載更新装置へ送信する。車載更新装置は、可搬型通信器からの判定結果を受信し、更新処理が可能であるとの判定結果が得られた場合に更新処理を車載機器に実行させる。これにより、車載更新装置は更新処理の実行を許可又は禁止する位置情報を記憶しておく必要がなく、また位置情報に基づく更新処理の可否の判定処理を行う必要がなくなるため、車載更新装置の処理負荷を低減でき、車載更新装置の低コスト化を実現できる。
 本発明による場合は、更新処理の実行を許可又は禁止する位置情報を記憶しておき、更新処理を実行する前にその時点の位置情報と記憶した位置情報とを比較して更新処理の実行の可否を判定する構成とすることにより、不適切な場所で車載機器の更新処理が行われることを防止することができる。
本実施の形態に係る更新システムの構成を示すブロック図である。 本実施の形態に係るECUの構成を示すブロック図である。 実施の形態1に係るゲートウェイの構成を示すブロック図である。 実施の形態1に係るスマートフォンの構成を示すブロック図である。 実施の形態1に係るゲートウェイが行う処理の手順を示すフローチャートである。 実施の形態1に係るゲートウェイが行う処理の手順を示すフローチャートである。 実施の形態1に係るスマートフォンが行う処理の手順を示すフローチャートである。 実施の形態2に係るゲートウェイの構成を示すブロック図である。 実施の形態2に係るスマートフォンの構成を示すブロック図である。 実施の形態2に係るゲートウェイが行う処理の手順を示すフローチャートである。 実施の形態2に係るスマートフォンが行う処理の手順を示すフローチャートである。
(実施の形態1)
 図1は、本実施の形態に係る更新システムの構成を示すブロック図である。本実施の形態に係る更新システムは、車両1に搭載された複数のECU(Electronic Control Unit)2が、車両1内に配された通信線1a,1b及びゲートウェイ10を介して相互に通信を行うシステムである。本実施の形態に係る更新システムは、ゲートウェイ10が車載更新装置に相当し、ECU2が更新の対象となる車載機器に相当する。また図示の例では、車内の通信線1aに2つのECU2及び1つの表示装置5が接続され、通信線1bに3つのECU2が接続され、2本の通信線1a,1bがゲートウェイ10に接続されたシステム構成であり、ゲートウェイ10が通信線1a,1b間の通信を中継することによって、全てのECU2間でデータの送受信を行うことができる。
 また本実施の形態に係る更新システムでは、ゲートウェイ10に通信線1cを介して無線通信装置3a及び3bが接続されている。ゲートウェイ10は、無線通信装置3aを介して車両内外に存在するスマートフォン7との通信を行うことができ、無線通信装置3bを介して車両1外に設置されたサーバ装置9との通信を行うことができる。またゲートウェイ10には、車両1のIGスイッチ4からIG信号が入力されている。
 ECU2は、例えば車両1のエンジンの動作を制御するECU、ドアのロック/アンロックを制御するECU、ライトの点灯/消灯を制御するECU、エアバッグの動作を制御するECU、及び、ABS(Antilock Brake System)の動作を制御するECU等の種々のECUが含まれ得る。各ECU2は、車両1に配された通信線1a又は1bに接続され、通信線1a,1bを介して他のECU2及びゲートウェイ10との間でデータの送受信を行うことができる。
 無線通信装置3aは、例えばBluetooth(登録商標)又はNFC(Near Field Communication)等の無線通信を行うことによって、スマートフォン7との間で情報の送受信を行うことができる。無線通信装置3aは、無線信号の到達範囲内に存在するスマートフォン7との間で無線通信を行うことができる。本実施の形態においては、無線通信装置3a及びスマートフォン7が無線信号を中継する中継器などを介して通信することはないものとする。また無線通信装置3aは、通信線1cを介してゲートウェイ10に接続されており、ゲートウェイ10との間で有線通信による情報の送受信を行うことができる。これにより無線通信装置3aは、ゲートウェイ10及びスマートフォン7の間の通信を中継することができ、ゲートウェイ10から与えられたデータをスマートフォン7へ送信すると共に、スマートフォン7から受信したデータをゲートウェイ10へ与える。
 無線通信装置3bは、例えば携帯電話通信網又は無線LAN(Local Area Network)等の無線通信を行うことによって、車両1の外部の設置されたサーバ装置9との間で情報の送受信を行うことができる。無線通信装置3bは、ゲートウェイ10及びサーバ装置9の間の通信を中継することができ、ゲートウェイ10から与えられたデータをサーバ装置9へ送信すると共に、サーバ装置9から受信したデータをゲートウェイ10へ与える。なお本実施の形態においては、スマートフォン7との通信を行う無線通信装置3aと、サーバ装置9との通信を行う無線通信装置3bとを別の装置としたが、これに限るものではなく、スマートフォン7及びサーバ装置9との通信を行う1つの無線通信装置を車両1に搭載する構成としてもよい。
 ゲートウェイ10は、車両1の車内ネットワークを構成する複数の通信線1a~1cが接続され、通信線間のデータの送受信を中継する処理を行う。図1に示す例においては、ゲートウェイ10には3つの通信線1a~1c、即ち2つのECU2及び1つの表示装置5が接続された第1の通信線1a、3つのECU2が接続された第2の通信線1b、並びに、無線通信装置3a及び3bが接続された第3の通信線1cが接続されている。ゲートウェイ10は、いずれかの通信線1a~1cから受信したデータを他の通信線1a~1cへ送信することによって、データの中継を行う。
 IGスイッチ4は、車両1のエンジン始動などをユーザが行うためのスイッチであり、オン/オフの2状態に切り替わる。IG信号はIGスイッチ4の状態を示し、IGオンは車両1のエンジンなどの原動機が動作しており、オルタネータなどによる発電が行われている状態であり、IGオフは車両1の原動機が停止して発電が行われていない状態である。本実施の形態においては、IGオンの状態を車速には関係なく車両1の走行状態とし、IGオフの状態を車両1の駐車状態とする。ただし、車両1の走行状態/駐車状態の区別は、IG信号に基づくものでなくてもよく、例えば車両1のシフトレバーの位置、パーキングブレーキの状態、又は、車両1の走行速度等に基づいて決定されるものであってよい。
 表示装置5は、例えば液晶ディスプレイなどであり、ECU2又はゲートウェイ10から与えられる表示命令などに応じて、車両1のユーザに対するメッセージ表示などを行う。また表示装置5は、例えばタッチパネル又はハードウェアキー等の操作部5aを有しており、操作部5aに対するユーザの操作を受け付けて、ECU2又はゲートウェイ10へ受け付けた操作内容を通知する。なお表示装置5は、例えばカーナビゲーション装置と共用のものであってよい。
 スマートフォン7は、例えば車両1のユーザが所持する可搬型通信器である。無線通信装置3aは、予め登録されたスマートフォン7との間で無線通信を行う。本実施の形態に係るスマートフォン7は、例えばGPS(Global Positioning System)の人工衛星からの信号を受信して自装置の位置を検出する機能を有している。またスマートフォン7には、無線通信装置3aを介してゲートウェイ10との間で情報を送受信するためのアプリ(アプリケーションプログラム)がインストールされている。なおスマートフォン7及びゲートウェイ10が無線通信装置3aを介して通信するのではなく、例えばUSB(Universal Serial Bus)などの通信ケーブルを介して通信を行う構成であってもよい。また本実施の形態においては、無線通信装置3aと通信を行う可搬型通信器をスマートフォン7としたが、これに限るものではなく、例えば携帯電話機、タブレット型端末装置、ノートパソコン又はゲーム機等としてもよい。
 サーバ装置9は、車両1に搭載されるECU2にて実行されるプログラム及びデータを管理及び記憶している。サーバ装置9は、車両1からの問合わせに応じてプログラムなどの更新が必要であるか否かを通知すると共に、更新が必要である場合には更新用のプログラム及びデータを車両1へ配信する処理を行う。
 本実施の形態に係る更新システムでは、車両1のIGスイッチ4がオン状態である場合にゲートウェイ10及びサーバ装置9の通信が行われ、サーバ装置9からゲートウェイ10へ、更新に必要なプログラム及び/又はデータ等の取得(ダウンロード)が行われる。更新に必要なプログラム及び/又はデータ等の取得を完了したゲートウェイ10は、その後にIGスイッチ4がオフ状態へ切り替えられた場合に、無線通信装置3aにてスマートフォン7との通信を行って位置情報を取得する。ゲートウェイ10は、スマートフォン7から取得した位置情報と、予め登録された更新処理を許可又は禁止する位置情報とを比較して、更新処理の可否を判定する。位置情報に基づいて更新処理が可能であると判定したゲートウェイ10は、表示装置5に更新処理の実行の可否を問い合せるメッセージを表示させると共に、このメッセージに対するユーザの応答を操作部5aにて受け付ける。ユーザから更新処理の実行許可が与えられた場合、ゲートウェイ10は、サーバ装置9から取得した更新用のプログラム及び/又はデータを更新対象のECU2へ送信することにより、このECU2に更新処理を実行させる。ゲートウェイ10から更新に必要なプログラム及び/又はデータ等を受信したECU2は、自身の記憶部にこのプログラム及び/又はデータ等を書き込むことによって、更新処理を行う。
 図2は、本実施の形態に係るECU2の構成を示すブロック図である。なお本図においては、複数のECU2に共通の機能ブロックを抜き出して示しており、ECU2毎に異なる機能ブロックについては図示を省略している。本実施の形態に係るECU2は、処理部21、記憶部22及び通信部23等を備えて構成されている。処理部21は、例えばCPU(Central Processing Unit)又はMPU(Micro-Processing Unit)等の演算処理装置を用いて構成され、記憶部22に記憶されたプログラム22aを読み出して実行することにより、種々の演算処理を行う。なお記憶部22に記憶されるプログラム22aは、ECU2毎にその内容が異なっている。
 記憶部22は、フラッシュメモリ又はEEPROM(Electrically Erasable Programmable Read Only Memory)等の不揮発性のメモリ素子を用いて構成されている。記憶部22は、処理部21が実行するプログラム22aと、このプログラム22aの実行に必要なデータとを記憶する。なお以下において”プログラム22a”との記載には、プログラム22aと、このプログラム22aの実行に必要なデータとを含み得る。
 通信部23は、車内ネットワークを構成する通信線1a又は1bに接続され、例えばCAN(Controller Area Network)などの通信プロトコルに従ってデータの送受信を行う。通信部23は、処理部21から与えられたデータを電気信号に変換して通信線1a又は1bへ出力することによってデータを送信すると共に、通信線1a又は1bの電位をサンプリングして取得することによりデータを受信し、受信したデータを処理部21へ与える。
 また本実施の形態に係るECU2の処理部21には、更新用情報受信部21a及び更新処理部21bが設けられている。更新用情報受信部21a及び更新処理部21bは、記憶部22に記憶されたプログラム22aの更新(アップデート)を行うための機能ブロックである。更新用情報受信部21a及び更新処理部21bは、更新処理の対象となるプログラム22aとは別のプログラム(図示は省略する)を処理部21が実行することにより実現されるソフトウェア的な機能ブロックである。更新用情報受信部21aは、通信線1a又は1bを介して送信される更新用のプログラムを通信部23にて受信し、受信した更新用のプログラムをバッファメモリ(図示は省略する)などに蓄積する処理を行う。更新処理部21bは、バッファメモリなどに蓄積された更新用のプログラムを、記憶部22に記憶(更新前のプログラム22aに対して上書き)することによって、プログラム22aを更新する処理を行う。
 図3は、実施の形態1に係るゲートウェイ10の構成を示すブロック図である。実施の形態1に係るゲートウェイ10は、処理部11、記憶部12、及び、3つの車内通信部13等を備えて構成されている。処理部11は、例えばCPU又はMPU等の演算処理装置を用いて構成され、記憶部12又は図示しないROM(Read Only Memory)等に記憶されたプログラムを読み出して実行することにより、種々の演算処理を行う。本実施の形態において処理部11は、車内ネットワークの通信線1a~1c間のデータ送受信を中継する処理、及び、ECU2の更新処理等に必要な演算処理を行う。また車両1のIGスイッチ4から供給されるIG信号は、処理部11に入力されている。ただしIG信号は、通信線1a~1cを利用した車内通信によりゲートウェイ10へ入力されてもよい。
 記憶部12は、フラッシュメモリ又はEEPROM等の不揮発性のメモリ素子を用いて構成されている。記憶部12は、例えばECU2の更新に用いられるプログラム及びデータ等が記憶される。記憶部12は、処理部11が実行するプログラム及びこのプログラムの実行に必要なデータなどを記憶してもよく、処理部11の処理の過程で生成されたデータなどを記憶してもよい。また本実施の形態において記憶部12には、更新許可位置12a及び更新禁止位置12b等の情報が予め記憶されている。更新許可位置12aは、ゲートウェイ10がECU2のプログラム又はデータの更新処理を実行することが許可された位置に関する情報である。例えばユーザが車両1を購入した場合などに、初期設定としてユーザが更新許可位置12aを登録する操作を行う。更新禁止位置12bは、ゲートウェイ10が更新処理を実行することが禁止された位置に関する情報である。更新禁止位置12bは、例えば車両1の製造会社又は販売会社等により予め設定される情報である。更新禁止位置12bは、例えば治安の悪い地域、極度に暑い若しくは寒い地域、又は、砂漠若しくは山中等の郊外の地域等のように、更新処理の実行に伴って車両1が使用不可能となるのに適さない位置が予め設定される。更新処理の許可位置及び禁止位置は、例えば緯度及び経度の組み合わせで表され、記憶部12には複数の許可位置及び禁止位置が記憶されていてもよい。
 なお本実施の形態においては、更新許可位置12aをユーザが設定し、更新禁止位置12bを車両1の製造会社又は販売会社等が設定する構成としているが、これに限るものではない。例えば、更新許可位置12aを車両1の製造会社又は販売会社等が設定する構成としてもよい。また例えば、更新禁止位置12bをユーザが設定する構成としてもよい。更新許可位置12a及び更新禁止位置12bは、誰がいつどのように設定してもよい。
 車内通信部13は、車内ネットワークを構成する通信線1a~1cに接続され、例えばCANなどの通信プロトコルに従ってデータの送受信を行う。車内通信部13は、処理部11から与えられたデータを電気信号に変換して通信線1a~1cへ出力することによって情報を送信すると共に、通信線1a~1cの電位をサンプリングして取得することによりデータを受信し、受信したデータを処理部11へ与える。なおゲートウェイ10が備える3つの車内通信部13は、それぞれ異なる通信プロトコルに従って通信を行うものであってもよい。
 また処理部11には、記憶部12又はROM等に記憶されたプログラムが実行されることによって、更新用情報取得部11a、車両状態情報取得部11b、位置情報取得部11c、更新判定部11d、問合処理部11e、受付処理部11f及び更新処理部11g等がソフトウェア的な機能ブロックとして実現される。更新用情報取得部11aは、所定のタイミングで無線通信装置3bを介したサーバ装置9との通信を行い、車両1に搭載されたECU2のプログラム22aの更新が必要であるか否かを問い合わせる。更新要否の問合わせを行う所定のタイミングは、例えば1日毎又は1週間毎等のように所定周期としてよく、また例えばIGスイッチ4がオフ状態からオン状態へ切り替えられる都度などとしてもよい。更新が必要であるとの通知をサーバ装置9から与えられた場合、更新用情報取得部11aは、無線通信装置3bを介してサーバ装置9から更新に必要なプログラム及びデータ等(以下、単に更新用プログラムという)を取得して記憶部12に記憶する。このときに更新用情報取得部11aは、更新が必要な全てのECU2について、更新用プログラムの取得を行う。
 車両状態情報取得部11bは、IGスイッチ4から入力されるIG信号の値をサンプリングして取得することによって、IG信号がオン状態又はオフ状態のいずれであるかを判断し、IG信号の状態に応じて車両1が走行状態又は駐車状態のいずれであるかを判断する。即ち車両状態情報取得部11bは、IG信号に基づいて車両1の状態を取得する処理を行う。
 位置情報取得部11cは、車両状態情報取得部11bが取得する車両1の状態が走行状態から駐車状態へ変化した場合に、無線通信装置3aを介してスマートフォン7との通信を行い、スマートフォン7の位置検出機能により検出された位置情報を取得する処理を行う。車両1が走行状態から駐車状態へ変化した場合、位置情報取得部11cは、無線通信装置3aの通信範囲内に登録されたスマートフォン7が存在するか否かを判断し、存在する場合にはこのスマートフォン7へ位置情報を要求する。この要求に応じてスマートフォン7では位置検出が行われ、検出した位置情報が無線通信装置3aへ送信される。位置情報取得部11cは、車内通信部13にて受信したスマートフォン7からの位置情報を取得する。この位置情報取得部11cが取得した位置情報が、車両1が駐車状態となった際の位置情報とみなされる。
 更新判定部11dは、位置情報取得部11cが取得した位置情報と、記憶部12に記憶された更新許可位置12a及び更新許可位置12aの情報とを比較することによって、現在の車両1の現在位置が更新処理を行うことが許可された位置であるか否かを判定する処理を行う。なお本実施の形態においては、更新禁止位置12bよりも更新許可位置12aが優先的に判定される。このため更新判定部11dは、記憶部12に更新許可位置12aが記憶されている場合(即ち、ユーザが更新許可位置を設定している場合)には、現在位置と更新許可位置12aとの比較を行えばよい。現在位置が更新許可位置12aである又は更新許可位置12aに含まれる場合、更新判定部11dは、更新処理が可能であると判定する。更新許可位置12aが記憶されていない場合(即ち、ユーザが更新許可位置を設定していない場合)に、更新判定部11dは、現在位置と更新禁止位置12bとの比較を行う。現在位置が更新禁止位置12bでない又は更新禁止位置12bに含まれていない場合、更新判定部11dは、更新処理が可能であると判定する。
 問合処理部11eは、更新判定部11dにより更新処理が可能であると判定された場合に、ECU2の更新処理の実行の可否をユーザに問い合わせる処理を行う。問合処理部11eは、車内通信部13にて表示装置5へメッセージ表示命令を与えることによって、表示装置5に更新処理の実行の可否を問い合せるメッセージ表示を行う。問合処理部11eは、例えば「ECUのソフトウェア更新処理を実行しますか?」のようなメッセージを表示装置5に表示する。ユーザは、表示装置5の操作部5aに対する操作を行うことによって、この問合わせに対する応答を行うことができる。
 受付処理部11fは、問合処理部11eによる問い合わせに対するユーザの応答を受け付ける処理を行う。表示装置5は操作部5aに対してなされたユーザの操作の内容をゲートウェイ10へ送信する。受付処理部11fは、表示装置5から送信されて車内通信部13にて受信された操作部5aに対するユーザの操作内容を取得することによって、ユーザの応答を受け付ける。
 更新処理部11gは、受付処理部11fがユーザから更新処理を許可する応答を受け付けた場合に、更新対象のECU2に更新処理を実行させる。更新処理部11gは、更新用情報取得部11aがサーバ装置9から取得して記憶部22に記憶した更新用のプログラムを読み出し、読み出した更新用のプログラムを更新処理の対象となるECU2へ送信することによって、このECU2の記憶部22に記憶されたプログラム22aの更新処理を実行させる。ゲートウェイ10から更新用プログラムを受信したECU2は、記憶部22に記憶されている更新前のプログラム22aを、受信した更新用プログラムで上書きすることによって、プログラム22aの更新処理を行う。
 図4は、実施の形態1に係るスマートフォン7の構成を示すブロック図である。なお本図においては、スマートフォン7が備える機能ブロックのうち、車両1に搭載されたECU2の更新処理に関連する機能ブロックを抜き出して示しており、更新処理に関連しない機能ブロックについては図示を省略している。実施の形態1に係るスマートフォン7は、処理部71、記憶部72、GPS受信部73、無線通信部74、表示部75及び操作部76等を備えて構成されている。処理部71は、CPU又はMPU等の演算処理装置を用いて構成され、記憶部72に記憶されたプログラムを実行することにより、種々の演算処理を行う。
 記憶部72は、フラッシュメモリなどの不揮発性のメモリ素子を用いて構成されている。記憶部72は、処理部21が実行するプログラムと、このプログラムの実行に必要なデータとを記憶する。本実施の形態においては、車両1のECU2の更新処理に係る処理を行うプログラムとして、更新処理用アプリ72aが記憶部72に記憶されている。更新処理用アプリ72aは、例えばアプリを配信するサーバ装置などから予めダウンロードされて記憶部72に記憶される。
 GPS受信部73は、GPSの人工衛星から送信される無線信号を受信し、受信信号に含まれる情報を処理部71へ与える。GPS受信部73が受信する無線信号には時刻情報が含まれており、この情報に基づいて処理部71は位置検出を行うことができる。無線通信部74は、例えばBluetooth(登録商標)又はNFC等の無線通信を行うことによって、車両1の無線通信装置3aとの間で情報の送受信を行うことができる。無線通信部74は、処理部71から与えられた情報を車両1の無線通信装置3aへ送信すると共に、無線通信装置3aが送信した情報を受信して処理部71へ与える。表示部75は、例えば液晶パネルなどを用いて構成されており、処理部71から与えられる種々の画像を表示する。操作部76は、例えばタッチパネル又はハードウェアキー等によりユーザの操作を受け付けて、受け付けた操作内容を処理部71へ与える。
 また処理部71には、記憶部72に記憶された更新処理用アプリ72aが実行されることによって、位置情報送信処理部71aなどがソフトウェア的な機能ブロックとして実現される。位置情報送信処理部71aは、GPS受信部73から与えられる情報に基づいてスマートフォン7の位置を検出する処理を行う。また位置情報送信処理部71aは、車両1の無線通信装置3aからの要求に応じて、検出したスマートフォン7の位置情報を送信する処理を行う。
 図5及び図6は、実施の形態1に係るゲートウェイ10が行う処理の手順を示すフローチャートである。なお本フローチャートにおいては、車両1が走行状態となり、ゲートウェイ10の処理部11の更新用情報取得部11aがサーバ装置9からECU2の更新処理に必要な更新用プログラムの取得を完了した後の手順を示している。本実施の形態に係るゲートウェイ10の処理部11は、IGスイッチ4から入力されるIG信号に基づく車両1の状態情報の取得を車両状態情報取得部11bにて行い、車両1が走行状態から駐車状態へ変化したか否かを判定する(ステップS1)。駐車状態へ変化していない場合(S1:NO)、処理部11は、車両1が駐車状態へ変化するまで待機する。
 車両1が駐車状態へ変化した場合(S1:YES)、処理部11は、無線通信装置3aにて予め登録されたスマートフォン7との通信を試みることにより、スマートフォン7との通信が可能であるか否かを判定する(ステップS2)。スマートフォン7との通信が可能でない場合(S2:NO)、処理部11は、更新処理を行わずに処理を終了する。スマートフォン7との通信が可能である場合(S2:YES)、処理部11の位置情報取得部11cは、無線通信装置3aにてスマートフォン7に位置情報の取得を要求する(ステップS3)。この要求に応じてスマートフォン7から位置情報が送信される。位置情報取得部11cは、スマートフォン7から送信される位置情報を無線通信装置3aにて受信したか否かを判定する(ステップS4)。位置情報を受信していない場合(S4:NO)、位置情報取得部11cは、位置情報を受信するまで待機する。
 スマートフォン7からの位置情報を受信した場合(S4:YES)、処理部11の更新判定部11dは、記憶部12に更新許可位置12aが記憶されているか否かに基づいて、更新処理を許可する位置が設定済みであるか否かを判定する(ステップS5)。許可位置が設定済みである場合(S5:YES)、更新判定部11dは、記憶部12から更新許可位置12aを読み出して(ステップS6)、ステップS8へ処理を進める。許可位置が設定済みでない場合(S5:NO)、更新判定部11dは、記憶部12から更新禁止位置12bを読み出して(ステップS7)、ステップS8へ処理を進める。
 更新判定部11dは、スマートフォン7から受信した位置情報と、ステップS6にて読み出した更新許可位置12a又はステップS7にて読み出した更新禁止位置12bとの比較を行う(ステップS8)。位置情報の比較結果に基づいて更新判定部11dは、ECU2の更新処理を実行することが可能であるか否かを判定する(ステップS9)。更新処理が可能でないと判定した場合(S9:NO)、処理部11は、更新処理を行わずに処理を終了する。
 更新処理が可能であると判定した場合(S9:YES)、処理部11の問合処理部11eは、車内通信部13にて表示装置5へ表示命令を与えることにより、表示装置5に更新処理の可否を問い合せる更新メッセージを表示する(ステップS10)。次いで処理部11の受付処理部11fは、表示装置5からユーザの操作内容の通知を車内通信部13にて受信したか否かに基づき、表示装置5の操作部5aに対するユーザの操作の有無を判定する(ステップS11)。ユーザの操作がなされていない場合(S11:NO)、処理部11は、ステップS10へ処理を戻し、更新メッセージの表示を継続する。
 操作部5aに対するユーザの操作がなされた場合(S11:YES)、受付処理部11fは、表示装置5から通知されるユーザの操作内容が、更新処理を許可する操作であるか否かを判定する(ステップS12)。更新処理を許可する操作ではない場合(S12:NO)、処理部11は、更新処理を実行せずに処理を終了する。更新処理を許可する操作である場合(S12:YES)、処理部11の更新処理部11gは、記憶部12に記憶された更新用プログラムを読み出して更新処理対象のECU2へ送信することにより、このECU2に更新処理を実行させて(ステップS13)、処理を終了する。
 図7は、実施の形態1に係るスマートフォン7が行う処理の手順を示すフローチャートである。スマートフォン7の処理部71は、無線通信部74にて車両1から位置情報の要求を受信したか否かを判定する(ステップS21)。要求を受信していない場合(S21:NO)、処理部71は、要求を受信するまで待機する。要求を受信した場合(S21:YES)、処理部71の位置情報送信処理部71aは、GPS受信部73から与えられる情報に基づいてスマートフォン7の位置検出を行う(ステップS22)。次いで位置情報送信処理部71aは、検出した位置情報を無線通信部74にて車両1へ送信し(ステップS23)、処理を終了する。
 以上の構成の本実施の形態に係る更新システムは、ECU2の記憶部22に記憶されたプログラム22aの更新処理をゲートウェイ10が行う。ゲートウェイ10は、更新処理の実行の可否に係る情報として、更新許可位置12a及び更新禁止位置12bを記憶部12に記憶しておく。ゲートウェイ10は、ECU2の更新処理を実行する前に、その時点の車両1の位置情報と記憶部12に記憶した位置情報とを比較して、更新処理の実行の可否を判定する。位置情報に基づいて更新処理が可能であると判定した場合、ゲートウェイ10は、更新用プログラムを更新対象のECU2へ送信して更新処理を実行する。これにより、更新処理の実行が許可された位置でECU2の更新処理が行われ、許可されていない位置では更新処理は行われないこととなる。例えば自宅の位置情報を更新許可位置12aとして設定しておくことにより、この位置以外で更新処理が行われなくなり、ユーザが外出先で更新処理により車両1が使用できなくなることを防止できる。
 また本実施の形態に係るゲートウェイ10は、IGスイッチ4から入力されるIG信号に基づいて車両1の状態情報を取得し、車両1が走行状態から駐車状態へ変化した場合に、更新処理の実行の可否を判定する。これにより、車両1が走行していない安全な状態で更新処理を実行することができる。
 また本実施の形態に係るゲートウェイ10は、更新処理の実行が可能であると判定した場合に、表示装置5にメッセージを表示して更新処理を行うか否かの問合わせを行い、表示装置5の操作部5aにてユーザから更新処理の可否を受け付ける。なおゲートウェイ10は、更新処理の実行が可能でないと判定した場合には、ユーザに対する問合わせを行わない。これにより、更新処理の実行が可能な位置でのみユーザに対する問い合わせが行われることとなり、問い合わせが頻繁に繰り返されることによるユーザの煩わしさを低減できると共に、更新処理が可能でない位置で問い合わせが行われてユーザの誤操作により更新処理が許可されることを防止できる。
 また本実施の形態に係るゲートウェイ10は、無線通信装置3aを介して、車両1のユーザが所持するスマートフォン7との通信を行う。スマートフォン7はGPS受信部73が受信したGPSの信号に基づく位置検出を行う機能を有し、ゲートウェイ10は、スマートフォン7が検出した位置情報を取得して、位置情報に基づく更新処理の可否判定を行う。これにより、車両1に位置情報を検出する装置が搭載されていない場合であっても、ゲートウェイ10が位置情報に基づく判定処理を行うことが可能となる。
 また本実施の形態に係るゲートウェイ10は、更新処理の実行の可否に係る情報として、更新処理を許可する位置を更新許可位置12aとして記憶部12に記憶しておく。これにより、例えば車両1のユーザが自宅駐車場を更新処理の許可位置として予め登録しておくなど、更新処理を行う位置を容易に限定することができる。
 また本実施の形態に係るゲートウェイ10は、更新処理の実行の可否に係る情報として、更新処理を禁止する位置を更新禁止位置12bとして記憶部12に記憶しておく。これにより、例えば治安の悪い地域、極度に暑い若しくは寒い地域、又は、砂漠若しくは山中等の郊外の地域等のように、更新処理の実行に伴って車両1が使用不可能となるのに適さない位置を、車両1の製造会社又は販売会社等が予め登録しておくなどの安全対策が可能となる。
 なお本実施の形態においては、更新処理の対象となる車載機器をECU2としたが、これに限るものではなく、ECU2以外のどのような車載機器を更新処理の対象としてもよい。またECU2の更新処理を行う車載更新装置をゲートウェイ10としたが、これに限るものではない。例えば車両1に搭載されたいずれかのECU2が更新処理を行う構成であってよく、また例えば車両1に搭載された無線通信装置3a,3b、表示装置5又はカーナビゲーション装置等の装置が更新処理を行う構成であってよい。またゲートウェイ10は、無線通信装置3bを介してサーバ装置9との通信を行う構成としたが、これに限るものではなく、例えばスマートフォン7を介してサーバ装置9との通信を行う構成としてもよい。
 またゲートウェイ10は、サーバ装置9からECU2の更新処理に用いる更新用プログラムを取得する構成としたが、これに限るものではない。例えばメモリカード又は光ディスク等の記録媒体に更新用プログラムを記録し、ゲートウェイ10又は車両1に搭載されたいずれかの車載機器が記録媒体から更新用プログラムを取得する構成としてもよい。また例えば、ゲートウェイ10がスマートフォン7などの可搬型通信器から更新用プログラムを取得する構成としてもよい。
 また本実施の形態においては、ゲートウェイ10が更新用プログラムをサーバ装置9から取得して記憶部12に記憶し、その後に位置情報に基づく判定及びユーザへの問合せ等を行う構成としたが、これに限るものではない。例えば、ゲートウェイ10は、位置情報に基づく判定及びユーザへの問合わせ等を先に行い、更新処理の実行が許可された場合にサーバ装置9から更新用プログラムを取得してECU2へ送信する構成としてもよい。また例えば、ECU2が更新用プログラムを記憶しておくための余剰メモリ(外部メモリ又は余剰の記憶領域等)を有している場合、ゲートウェイ10がサーバ装置9から取得した更新用プログラムをECU2へ送信し、この更新用プログラムがECU2の余剰メモリに記憶された後で、ゲートウェイ10が位置情報に基づく判定及びユーザへの問合せ等を行う構成としてもよい。この構成では、更新処理の実行が許可された場合に、ゲートウェイ10がECU2に対してその旨を通知すればよい。
 またゲートウェイ10は、更新処理の実行の可否に係る情報として、更新許可位置12a及び更新禁止位置12bの2つの位置情報を用いる構成としたが、これに限るものではなく、更新許可位置12a又は更新禁止位置12bのいずれか1つのみを用いる構成であってもよい。また更新許可位置12a及び更新禁止位置12bとして複数の位置が設定されてもよい。またゲートウェイ10は、更新処理の可否を問い合せるメッセージを表示装置5に表示する構成としたが、これに限るものではなく、例えばスマートフォン7の表示部75に表示してもよく、他の装置に表示してもよい。同様に、ゲートウェイ10は、問合に対するユーザの操作の受け付けを表示装置5の操作部5aにて行う構成としたが、これに限るものではなく、例えばスマートフォン7の操作部76にて受け付けてもよく、他の装置にて受け付けてもよい。
 (変形例)
 また本実施の形態に係る更新システムにおいては、位置検出をスマートフォン7にて行う構成としたが、これに限るものではない。例えば、ゲートウェイ10がGPSの無線信号を受信するGPS受信部を備える構成としてもよい。この構成の場合にゲートウェイ10は、スマートフォン7を介して位置情報を取得するのではなく、自身が備えるGPS受信部が受信した信号に含まれる情報に基づいて位置を検出すればよい。また、ゲートウェイ10がGPS受信部を備えるのではなく、車両1に搭載されたカーナビゲーション装置などの他の車載機器がGPS受信部を備える構成であってもよい。この構成の場合にゲートウェイ10は、車内通信部13を介した通信を行うことによって、GPS受信部を備える他の車載機器から位置情報を取得すればよい。なお、車両1にGPS受信部を備える構成とした場合には、スマートフォン7は必ずしも必要ではない。
(実施の形態2)
 上述の実施の形態1に係る更新システムは、ゲートウェイ10が位置情報に基づく判定処理を行う構成であるが、これに限るものではない。実施の形態2に係る更新システムは、位置情報に基づく判定処理をスマートフォンが行い、ゲートウェイはスマートフォンから判定結果を取得する構成である。
 図8は、実施の形態2に係るゲートウェイ210の構成を示すブロック図である。実施の形態2に係るゲートウェイ210は、処理部211に位置情報取得部11c及び更新判定部11dの機能ブロックが設けられず、これらに代えて判定結果取得部211cが設けられている。またゲートウェイ210の記憶部12には、更新許可位置12a及び更新禁止位置12bが記憶されていない。
 図9は、実施の形態2に係るスマートフォン207の構成を示すブロック図である。実施の形態2に係るスマートフォン207は、位置情報送信処理部71aの機能ブロックに代えて、更新判定部271a及び判定結果送信処理部271bの機能ブロックが処理部271に設けられている。またスマートフォン207の記憶部72には、更新処理用アプリ72aと共に、更新許可位置272b及び更新禁止位置272cが記憶されている。
 実施の形態2に係る更新システムでは、位置情報に基づく更新処理の実行の可否判定を、ゲートウェイ210が行うのではなく、スマートフォン207が行う。ゲートウェイ210は、車両状態情報取得部11bが取得する車両1の状態が走行状態から駐車状態へ変化した場合、無線通信装置3aを介した通信によりスマートフォン207に対して、位置情報に基づく更新処理の実行の可否判定を行って判定結果を送信することを処理部211の判定結果取得部211cが要求する。
 この要求を受信したスマートフォン207の処理部271の更新判定部271aは、GPS受信部73にて受信した信号に基づく位置検出を行い、検出位置と記憶部72に記憶された更新許可位置272b及び更新禁止位置272cとの比較を行って、更新処理の実行の可否を判定する。処理部271の判定結果送信処理部271bは、更新判定部271aの判定結果を、無線通信部74にて車両1へ送信する。
 スマートフォン207から更新処理の実行の可否の判定結果を受信したゲートウェイ210は、更新処理を実行可能との判定結果である場合、問合処理部11eによるユーザへの更新可否の問い合わせを行う。更新処理が実行可能ではないとの判定結果を受信した場合、ゲートウェイ210は、更新処理を行わず、次の機会(次に車両1が走行状態から駐車状態へ変化するタイミング)を待つ。
 図10は、実施の形態2に係るゲートウェイ210が行う処理の手順を示すフローチャートである。なお本フローチャートにおいては、車両1が走行状態となり、ゲートウェイ210の処理部211の更新用情報取得部11aがサーバ装置9からECU2の更新処理に必要な更新用プログラムの取得を完了した後の手順を示している。実施の形態2に係るゲートウェイ210の処理部211は、IGスイッチ4から入力されるIG信号に基づく車両1の状態情報の取得を車両状態情報取得部11bにて行い、車両1が走行状態から駐車状態へ変化したか否かを判定する(ステップS31)。駐車状態へ変化していない場合(S31:NO)、処理部211は、車両1が駐車状態へ変化するまで待機する。
 車両1が駐車状態へ変化した場合(S31:YES)、処理部211は、無線通信装置3aにて予め登録されたスマートフォン207との通信を試みることにより、スマートフォン207との通信が可能であるか否かを判定する(ステップS32)。スマートフォン207との通信が可能でない場合(S32:NO)、処理部211は、更新処理を行わずに処理を終了する。スマートフォン207との通信が可能である場合(S32:YES)、処理部211の判定結果取得部211cは、無線通信装置3aにてスマートフォン207に、位置情報に基づく更新処理の可否の判定結果の取得を要求する(ステップS33)。この要求に応じてスマートフォン207から判定結果が送信される。判定結果取得部211cは、スマートフォン207から送信される判定結果を無線通信装置3aにて受信したか否かを判定する(ステップS34)。判定結果を受信していない場合(S34:NO)、判定結果取得部211cは、判定結果を受信するまで待機する。判定結果を受信した場合(S34:YES)、処理部211は、受信した判定結果に基づいて、ECU2の更新処理を実行することが可能であるか否かを判定する(図6のステップS9を参照)。ゲートウェイ210による以降の処理は、図6に示したフローチャートと同じであるため、説明を省略する。
 図11は、実施の形態2に係るスマートフォン207が行う処理の手順を示すフローチャートである。スマートフォン207の処理部271は、無線通信部74にて車両1から更新処理の実行可否の判定結果の要求を受信したか否かを判定する(ステップS41)。要求を受信していない場合(S41:NO)、処理部271は、要求を受信するまで待機する。要求を受信した場合(S41:YES)、処理部271の更新判定部271aは、GPS受信部73から与えられる情報に基づいてスマートフォン207の位置検出を行う(ステップS42)。
 次いで更新判定部271aは、記憶部72に更新許可位置272bが記憶されているか否かに基づいて、更新処理を許可する位置が設定済みであるか否かを判定する(ステップS43)。許可位置が設定済みである場合(S43:YES)、更新判定部271aは、記憶部72から更新許可位置272bを読み出して(ステップS44)、ステップS46へ処理を進める。許可位置が設定済みでない場合(S43:NO)、更新判定部271aは、記憶部72から更新禁止位置272cを読み出して(ステップS45)、ステップS46へ処理を進める。
 更新判定部271aは、ステップS42にて検出した位置情報と、ステップS44にて読み出した更新許可位置272b又はステップS45にて読み出した更新禁止位置272cとの比較を行う(ステップS46)。位置情報の比較結果に基づいて更新判定部271aは、ECU2の更新処理を実行することが可能であるか否かを判定する(ステップS47)。更新処理が可能であると判定した場合(S47:YES)、処理部271の判定結果送信処理部271bは、無線通信部74にて車両1へ、更新処理が可能である旨の判定結果を送信し(ステップS48)、処理を終了する。更新処理が可能でないと判定した場合(S47:NO)、判定結果送信処理部271bは、更新処理が不可能である旨の判定結果を送信し(ステップS49)、処理を終了する。
 以上の構成の実施の形態2に係る更新システムは、位置検出機能を有するスマートフォン207が、ECU2の更新処理の実行に係る位置情報として更新許可位置272b及び更新禁止位置272cを記憶部72に記憶しておき、車両1のゲートウェイ210からの要求に応じて位置情報に基づく更新処理の実行の可否を判定し、判定結果をゲートウェイ210へ送信する構成である。ゲートウェイ210は、スマートフォン207からの判定結果を受信し、更新処理が可能であるとの判定結果が得られた場合にECU2の更新処理を実行する。これにより、ゲートウェイ210は更新許可位置及び更新許可位置等の情報を記憶部12に記憶しておく必要がなく、また位置情報に基づく更新処理の可否の判定処理を行う必要がないため、ゲートウェイ210の処理負荷を低減でき、ゲートウェイ210の低コスト化を実現できる。
 なお本実施の形態に係る更新システムは、更新処理が可能であるとスマートフォン207が判定した場合に、更新可否のユーザへの問合わせ及びこれに対するユーザ操作の受け付けをゲートウェイ210が表示装置5を利用して行う構成であるが、これに限るものではない。例えば、ユーザへの問合わせお及び操作受付をスマートフォン207が行う構成としてもよい。この構成の場合、スマートフォン207は、位置情報に基づいて更新処理が可能であると判定した後、ユーザへの更新処理の可否の問い合わせ及びこれに対するユーザの操作の受け付けを行い、受け付けた操作内容(即ち、更新処理を許可するか否か)をゲートウェイ210へ送信する。位置情報に基づいて更新処理が可能でないと判定した場合には、スマートフォン207は、ユーザへの問合わせ及び操作受付を行わずに、更新処理が可能でない旨の判定結果をゲートウェイ210へ送信すればよい。ゲートウェイ210は、更新を許可するユーザ操作を受け付けた旨をスマートフォン207から通知された場合に、ECU2の更新処理を実行する。位置情報に基づいて更新処理が可能でないと判定した旨、又は、更新を許可しないユーザ操作を受け付けた旨をスマートフォン207から通知された場合には、ゲートウェイ210はECU2の更新処理を実行しない。
 また、実施の形態2に係る更新システムのその他の構成は、実施の形態1に係る更新システムと同様であるため、同様の箇所には同じ符号を付し、詳細な説明を省略する。
 1 車両
 1a,1b,1c 通信線
 2 ECU(車載機器)
 3a、3b 無線通信装置
 4 IGスイッチ
 5 表示装置
 5a 操作部
 7 スマートフォン(可搬型通信器)
 9 サーバ装置
 10 ゲートウェイ(車載更新装置)
 11 処理部
 11a 更新用情報取得部
 11b 車両状態情報取得部
 11c 位置情報取得部
 11d 更新判定部
 11e 問合処理部(問合部)
 11f 受付処理部(受付部)
 11g 更新処理部
 12 記憶部(位置情報記憶部)
 12a 更新許可位置
 12b 更新禁止位置
 13 車内通信部(通信部)
 21 処理部
 21a 更新用情報受信部
 21b 更新処理部
 22 記憶部
 22a プログラム
 23 通信部
 71 処理部
 71a 位置情報送信処理部
 72 記憶部(位置情報記憶部)
 72a 更新処理用アプリ
 73 GPS受信部
 74 無線通信部
 75 表示部
 76 操作部
 207 スマートフォン(可搬型通信器)
 210 ゲートウェイ(車載更新装置)
 211 処理部
 211c 判定結果取得部
 271 処理部
 271a 更新判定部
 271b 判定結果送信処理部(判定結果送信部)
 272b 更新許可位置
 272c 更新禁止位置

Claims (7)

  1.  車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理を前記車載機器に実行させる車載更新装置であって、
     位置情報を取得する位置情報取得部と、
     前記更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部と、
     前記位置情報取得部が取得した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部と、
     前記更新処理の実行が可能であると前記更新判定部が判定した場合に、前記更新処理を前記車載機器に実行させる更新処理部と
     を備えることを特徴とする車載更新装置。
  2.  前記車両の走行に係る状態情報を取得する車両状態情報取得部を更に備え、
     前記更新判定部は、前記車両状態情報取得部が取得した状態情報に基づいて、前記車両が走行状態から駐車状態へ変化した場合に、前記更新処理の実行の可否を判定すること
     を特徴とする請求項1に記載の車載更新装置。
  3.  前記更新判定部が前記更新処理の実行が可能であると判定した場合に、前記更新処理の可否を問い合せる問合部と、
     前記問合部の問合わせに対する前記更新処理の可否を受け付ける受付部と
     を更に備えることを特徴とする請求項1又は請求項2に記載の車載更新装置。
  4.  位置情報を検出する位置検出部を有する可搬型通信器との間で通信を行う通信部を備え、
     前記位置情報取得部は、前記可搬型通信器から位置情報を取得すること
     を特徴とする請求項1乃至請求項3のいずれか1つに記載の車載更新装置。
  5.  車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理を行う更新システムであって、
     位置情報を検出する位置検出部を有する可搬型通信器と、
     前記可搬型通信器から位置情報を取得する位置情報取得部、前記更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部、前記位置情報取得部が取得した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部、並びに、前記更新処理の実行が可能であると前記更新判定部が判定した場合に、前記更新処理を前記車載機器に実行させる更新処理部を有する車載更新装置と
     を備えることを特徴とする更新システム。
  6.  車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理を行う更新システムであって、
     位置情報を検出する位置検出部、前記更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部、並びに、前記位置検出部が検出した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部を有する可搬型通信器と、
     前記可搬型通信器から前記更新処理の実行の可否の判定結果を取得する判定結果取得部、並びに、前記判定結果取得部が取得した可否の判定結果に基づき、前記更新処理の実行が可能であると判定された場合に前記更新処理を前記車載機器に実行させる更新処理部を有する車載更新装置と
     を備えることを特徴とする更新システム。
  7.  位置情報を検出する位置検出部と、
     車両に搭載された車載機器の記憶部に記憶されたプログラム又はデータを更新する更新処理の実行を許可又は禁止する位置情報を記憶する位置情報記憶部と、
     前記位置検出部が検出した位置情報及び前記位置情報記憶部に記憶された位置情報に基づいて、前記更新処理の実行の可否を判定する更新判定部と、
     前記更新判定部の判定結果を前記更新処理を行う車載更新装置へ送信する判定結果送信部と
     を備えることを特徴とする可搬型通信器。
PCT/JP2017/045288 2016-12-20 2017-12-18 車載更新装置、更新システム及び可搬型通信器 Ceased WO2018117016A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US16/470,638 US20190332371A1 (en) 2016-12-20 2017-12-18 On-board update apparatus, update system, and portable communication device
CN201780074821.1A CN110191822A (zh) 2016-12-20 2017-12-18 车载更新装置、更新系统及移动式通信设备
DE112017006422.8T DE112017006422T5 (de) 2016-12-20 2017-12-18 Bordeigene Aktualisierungsvorrichtung, Aktualisierungssystem und tragbare Kommunikationseinrichtung

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016247162A JP6696417B2 (ja) 2016-12-20 2016-12-20 車載更新装置、更新システム及び可搬型通信器
JP2016-247162 2016-12-20

Publications (1)

Publication Number Publication Date
WO2018117016A1 true WO2018117016A1 (ja) 2018-06-28

Family

ID=62626396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/045288 Ceased WO2018117016A1 (ja) 2016-12-20 2017-12-18 車載更新装置、更新システム及び可搬型通信器

Country Status (5)

Country Link
US (1) US20190332371A1 (ja)
JP (1) JP6696417B2 (ja)
CN (1) CN110191822A (ja)
DE (1) DE112017006422T5 (ja)
WO (1) WO2018117016A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248371A (zh) * 2019-05-31 2019-09-17 中国联合网络通信集团有限公司 一种数据处理方法及装置

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7311245B2 (ja) * 2018-03-07 2023-07-19 トヨタ自動車株式会社 マスタ装置、マスタ、制御方法、プログラム及び車両
JP6552674B1 (ja) * 2018-04-27 2019-07-31 三菱電機株式会社 検査システム
JP6973450B2 (ja) 2018-08-10 2021-12-01 株式会社デンソー 車両用マスタ装置、インストールの指示判定方法及びインストールの指示判定プログラム
JP6973449B2 (ja) * 2018-08-10 2021-12-01 株式会社デンソー 車両用電子制御システム、配信パッケージのダウンロード判定方法及び配信パッケージのダウンロード判定プログラム
JP7354658B2 (ja) 2018-08-10 2023-10-03 株式会社デンソー 車両用電子制御システム、進捗表示の画面表示制御方法及び進捗表示の画面表示制御プログラム
WO2020032043A1 (ja) * 2018-08-10 2020-02-13 株式会社デンソー 車両用電子制御システム、配信パッケージのダウンロード判定方法及び配信パッケージのダウンロード判定プログラム
JP7484096B2 (ja) * 2018-08-10 2024-05-16 株式会社デンソー 電子制御装置、書換えの実行制御方法及び書換えの実行制御プログラム
JP7003976B2 (ja) 2018-08-10 2022-01-21 株式会社デンソー 車両用マスタ装置、更新データの検証方法及び更新データの検証プログラム
WO2020032121A1 (ja) * 2018-08-10 2020-02-13 株式会社デンソー 車両用マスタ装置、更新データの検証方法及び更新データの検証プログラム
US10827356B2 (en) * 2018-08-29 2020-11-03 Continental Teves Ag & Co. Ohg Electronic device, vehicle system and method for safeguarding wireless data communication
KR102111359B1 (ko) * 2018-12-20 2020-05-15 주식회사 만도 Ota 애드온 장치
KR102778265B1 (ko) * 2019-10-10 2025-03-11 현대자동차주식회사 간접방식 tpms의 기준압력 설정 방법
JP7502014B2 (ja) 2019-10-31 2024-06-18 トヨタ自動車株式会社 車両用制御装置、プログラム更新方法、及びプログラム更新システム
CN110798533A (zh) * 2019-11-08 2020-02-14 深圳市元征科技股份有限公司 一种文件的下载方法、装置及设备
JP7334637B2 (ja) * 2020-02-05 2023-08-29 トヨタ自動車株式会社 車載通信装置、通信方法及び通信プログラム
JP7392824B2 (ja) 2020-03-06 2023-12-06 株式会社デンソー 電子制御装置のデータ更新システム
CN115279627B (zh) * 2020-03-18 2025-10-14 日产自动车株式会社 软件更新装置、软件更新方法以及软件更新处理程序
DE102020204820A1 (de) 2020-04-16 2021-10-21 Robert Bosch Gesellschaft mit beschränkter Haftung Verfahren und Vorrichtung zum Betreiben einer mobilen Vorrichtung
JP7327304B2 (ja) * 2020-07-08 2023-08-16 トヨタ自動車株式会社 ソフトウェア更新装置、方法、プログラムおよび車両
JP7500749B2 (ja) 2020-09-29 2024-06-17 日産自動車株式会社 車両用電子制御システム及びこれに用いるプログラムの更新方法
JP2022135545A (ja) 2021-03-05 2022-09-15 トヨタ自動車株式会社 車載装置、情報処理装置、ダウンロード実行可否判定方法、プログラム、記録媒体
JP7363850B2 (ja) * 2021-04-15 2023-10-18 株式会社デンソー 車両用システム
CN113259249B (zh) * 2021-04-22 2023-04-07 东风柳州汽车有限公司 一种网关程序初始化方法、装置及存储介质
JP7779112B2 (ja) * 2021-12-01 2025-12-03 株式会社アイシン 車両用プログラム書換システムおよびシフト装置
JP7779227B2 (ja) 2022-10-17 2025-12-03 トヨタ自動車株式会社 車両、および、ソフトウェア更新システム
JP7826977B2 (ja) * 2023-02-23 2026-03-10 株式会社デンソー 電子制御装置
CN120255935A (zh) * 2025-06-04 2025-07-04 湖南中联重科智能技术有限公司 农机辅助驾驶系统的升级方法、系统及农机辅助驾驶系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007011734A (ja) * 2005-06-30 2007-01-18 Denso Corp 車載制御装置
JP2008006842A (ja) * 2006-06-27 2008-01-17 Sony Corp 情報提供装置及び情報提供方法
JP2012091755A (ja) * 2010-10-29 2012-05-17 Honda Motor Co Ltd 車両用プログラム書換えシステム
JP2013168007A (ja) * 2012-02-15 2013-08-29 Denso Corp 中継システム、外部装置、中継装置
WO2016190377A1 (ja) * 2015-05-26 2016-12-01 京セラ株式会社 ソフトウェア更新装置、ソフトウェア更新システムおよびソフトウェア更新方法

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10158988A1 (de) * 2001-11-30 2003-06-12 Bosch Gmbh Robert Schnittstellenbaustein in einem Fahrzeug
US7366589B2 (en) * 2004-05-13 2008-04-29 General Motors Corporation Method and system for remote reflash
US20060259207A1 (en) * 2005-04-20 2006-11-16 Denso Corporation Electronic control system for automobile
US8631397B2 (en) * 2008-03-31 2014-01-14 Microsoft Corporation Virtualized application image patching
JP5267390B2 (ja) 2009-09-02 2013-08-21 トヨタ自動車株式会社 ソフトウェア更新装置
CN102736925A (zh) * 2011-04-14 2012-10-17 比亚迪股份有限公司 一种车辆的软件更新方法和系统
DE102011079399A1 (de) * 2011-07-19 2013-01-24 Bayerische Motoren Werke Aktiengesellschaft Steuervorrichtung für ein Kraftfahrzeug, Programmiervorrichtung und Programmiersystem
KR101360705B1 (ko) * 2011-09-22 2014-02-07 기아자동차주식회사 차량 업그레이드 시스템 및 그 방법
US8949823B2 (en) * 2011-11-16 2015-02-03 Flextronics Ap, Llc On board vehicle installation supervisor
US20160086391A1 (en) * 2012-03-14 2016-03-24 Autoconnect Holdings Llc Fleetwide vehicle telematics systems and methods
US8819662B2 (en) * 2012-06-11 2014-08-26 Sony Corporation Device and method for time notification for updating software
KR20140038160A (ko) * 2012-09-20 2014-03-28 한국전자통신연구원 Autosar 기반 시스템의 ecu 업데이트 방법 및 ecu 업데이트 장치
US8813061B2 (en) * 2012-10-17 2014-08-19 Movimento Group Module updating device
JP6056424B2 (ja) * 2012-11-29 2017-01-11 株式会社デンソー 車載プログラム更新装置
JP6335063B2 (ja) * 2013-08-05 2018-05-30 ハーマン インターナショナル インダストリーズ インコーポレイテッド 車載コンピューティングシステムのためのシステムおよび方法
JP5947279B2 (ja) * 2013-12-20 2016-07-06 株式会社デンソー 進路推定装置,及びプログラム
KR101575447B1 (ko) * 2014-02-06 2015-12-07 현대자동차주식회사 차량의 소프트웨어 업데이트 방법
KR20150112537A (ko) * 2014-03-28 2015-10-07 현대자동차주식회사 차량제어용 소프트웨어 코딩 시스템 및 방법
US10310838B2 (en) * 2014-06-18 2019-06-04 Hitachi Automotive Systems, Ltd. Vehicle-mounted program writing device
US9747096B2 (en) * 2014-07-07 2017-08-29 Harman Connected Services, Inc. Remote embedded device update platform apparatuses, methods and systems
JP6618480B2 (ja) * 2014-11-12 2019-12-11 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America 更新管理方法、更新管理システム及び制御プログラム
JP6216730B2 (ja) * 2015-03-16 2017-10-18 日立オートモティブシステムズ株式会社 ソフト更新装置、ソフト更新方法
US10162625B2 (en) * 2015-04-14 2018-12-25 Ford Global Technologies, Llc Vehicle control storage methods and systems
US9836300B2 (en) * 2015-06-16 2017-12-05 Lear Corporation Method for updating vehicle ECUs using differential update packages
US9720680B2 (en) * 2015-07-23 2017-08-01 Honda Motor Co., Ltd. Methods and apparatus for wirelessly updating vehicle systems
US10365912B2 (en) * 2015-08-12 2019-07-30 Blackberry Limited Delivery mechanisms for deployment of releases of packages to endpoints
US10042629B2 (en) * 2016-07-28 2018-08-07 GM Global Technology Operations LLC Remote vehicle update installation scheduling
CN106383730A (zh) * 2016-09-12 2017-02-08 北京小米移动软件有限公司 处理系统升级的方法及装置
US20180107473A1 (en) * 2016-10-13 2018-04-19 GM Global Technology Operations LLC Determining whether to install a vehicle system update in a vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007011734A (ja) * 2005-06-30 2007-01-18 Denso Corp 車載制御装置
JP2008006842A (ja) * 2006-06-27 2008-01-17 Sony Corp 情報提供装置及び情報提供方法
JP2012091755A (ja) * 2010-10-29 2012-05-17 Honda Motor Co Ltd 車両用プログラム書換えシステム
JP2013168007A (ja) * 2012-02-15 2013-08-29 Denso Corp 中継システム、外部装置、中継装置
WO2016190377A1 (ja) * 2015-05-26 2016-12-01 京セラ株式会社 ソフトウェア更新装置、ソフトウェア更新システムおよびソフトウェア更新方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248371A (zh) * 2019-05-31 2019-09-17 中国联合网络通信集团有限公司 一种数据处理方法及装置

Also Published As

Publication number Publication date
US20190332371A1 (en) 2019-10-31
CN110191822A (zh) 2019-08-30
DE112017006422T5 (de) 2019-09-05
JP2018100002A (ja) 2018-06-28
JP6696417B2 (ja) 2020-05-20

Similar Documents

Publication Publication Date Title
WO2018117016A1 (ja) 車載更新装置、更新システム及び可搬型通信器
JP6696468B2 (ja) 車載更新装置及び車載更新システム
JP5900390B2 (ja) アクセス制限装置、車載通信システム及び通信制限方法
JP5708940B2 (ja) 情報管理装置、情報通信システム
JP6658409B2 (ja) 車載更新システム、車載更新装置及び通信装置の更新方法
JP6428652B2 (ja) 車載更新装置、更新システム及び更新処理プログラム
JP6067315B2 (ja) 車両制御装置、及び、車両制御方法
WO2018025685A1 (ja) 車載更新装置、車載更新システム及び通信装置の更新方法
US11340891B2 (en) Control device, control method, and computer program
US20210237668A1 (en) On-board communication device, on-board communication system, and specific processing prohibition method for a vehicle
WO2019181496A1 (ja) プログラム更新システム、プログラム更新方法及びコンピュータプログラム
WO2017051731A1 (ja) 車載通信装置及び車両通信システム
WO2018043107A1 (ja) 車載更新装置及び車載更新システム
US12208752B2 (en) In-vehicle information processing apparatus, program execution restriction method, and computer program
JP7008915B2 (ja) 出庫判定装置、携帯端末、サーバ装置、出庫判定システム、出庫判定方法及び出庫判定プログラム
CN111770127A (zh) 车辆控制系统
JP2011163951A (ja) ナビゲーション装置、ナビゲーションシステム
US20230194270A1 (en) Multi-modal navigation system
US10897510B2 (en) Service providing device and service providing system
JP2022135545A (ja) 車載装置、情報処理装置、ダウンロード実行可否判定方法、プログラム、記録媒体
JP6915516B2 (ja) 車載システム
JP5454212B2 (ja) 情報制御システム及び情報制御方法
JP2019200132A (ja) 車載システムおよびデータの更新方法
US20240303069A1 (en) Information processing apparatus, information processing method, and computer-readable medium
JP2012136210A (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: 17885107

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17885107

Country of ref document: EP

Kind code of ref document: A1