JP2019009639A - On-vehicle communication system, on-vehicle relay device, and relay program - Google Patents
On-vehicle communication system, on-vehicle relay device, and relay program Download PDFInfo
- Publication number
- JP2019009639A JP2019009639A JP2017124148A JP2017124148A JP2019009639A JP 2019009639 A JP2019009639 A JP 2019009639A JP 2017124148 A JP2017124148 A JP 2017124148A JP 2017124148 A JP2017124148 A JP 2017124148A JP 2019009639 A JP2019009639 A JP 2019009639A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- vehicle
- update
- data
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は、複数の車載制御装置間の通信を車載中継装置が中継する車載通信システム、並びに、このシステムに用いられる車載中継装置及び中継プログラムに関する。 The present invention relates to an in-vehicle communication system in which an in-vehicle relay device relays communication between a plurality of in-vehicle control devices, and an in-vehicle relay device and a relay program used in this system.
車両にはECU(Electronic Control Unit)などの車載制御装置が多数搭載されており、これらの装置が通信線を介して接続され、メッセージを送受信して情報交換を行うことで協調動作している。車両に搭載される制御装置の数が増大すると、1つの通信線に接続可能な装置数には上限があるため、車両に複数の通信線を配設し、複数の通信線をゲートウェイ(Gateway)などの車載中継装置に接続して、この車載中継装置が通信線間のメッセージを中継する構成とされることが多い。 The vehicle is equipped with a large number of on-board control devices such as an electronic control unit (ECU), and these devices are connected via a communication line, and operate cooperatively by exchanging information by transmitting and receiving messages. When the number of control devices mounted on a vehicle increases, there is an upper limit on the number of devices that can be connected to one communication line. Therefore, a plurality of communication lines are provided in a vehicle and a plurality of communication lines are connected to a gateway. In many cases, the in-vehicle relay device is configured to relay a message between communication lines.
また、車載制御装置はCPU(Central Processing Unit)又はMPU(Micro-Processing Unit)等の処理部がプログラムを実行することにより、種々の処理を行っている。例えばプログラムのバージョンアップ又は不具合修正等により、プログラムを更新する必要が生じる場合がある。プログラムの更新は、例えば更新用のプログラムを記憶している更新装置を車両に設けられたコネクタに接続し、更新装置から車載中継装置へ更新用のプログラムを送信し、車載中継装置が更新対象の車載制御装置へ更新用のプログラムを送信し、これを受信した車載制御装置が自身のメモリなどに記憶されたプログラムを書き換えることで行われる。 In addition, the in-vehicle control device performs various processes by a processing unit such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit) executing a program. For example, it may be necessary to update the program due to version upgrade or defect correction. For example, the update of the program is performed by connecting an update device storing an update program to a connector provided in the vehicle, transmitting the update program from the update device to the in-vehicle relay device, and the in-vehicle relay device being updated. An update program is transmitted to the in-vehicle control device, and the in-vehicle control device that receives the update program rewrites the program stored in its own memory or the like.
特許文献1においては、書換装置と複数の書換対象ECUとが同一バスで接続されたネットワーク構成において、書換装置が予め定められた特定のIDを使用して書換対象ECU全てに対して同時にデータを送信することで、並行でプログラムの書き換えを行い、書換時間を短縮するプログラム書換方法が提案されている。
In
近年では車両に搭載される車載制御装置の数が更に増加しており、車載中継装置によるメッセージ中継の処理負荷が増大するという問題がある。また車載制御装置のプログラムの書き換えを行う際には、車載中継装置の処理負荷が更に増大し、プログラムの書換処理に長い時間を要する虞がある。 In recent years, the number of in-vehicle control devices mounted on a vehicle has further increased, and there is a problem that the processing load of message relay by the in-vehicle relay device increases. Further, when rewriting the program of the in-vehicle control device, the processing load of the in-vehicle relay device further increases, and there is a possibility that a long time is required for the program rewrite processing.
本発明は、斯かる事情に鑑みてなされたものであって、その目的とするところは、車載中継装置の処理負荷を低減し得る車載通信システム、車載中継装置及び中継プログラムを提供することにある。 The present invention has been made in view of such circumstances, and an object thereof is to provide an in-vehicle communication system, an in-vehicle relay device, and a relay program that can reduce the processing load of the in-vehicle relay device. .
本発明に係る車載通信システムは、一又は複数の車載制御装置がそれぞれに接続された複数の通信支線が接続され、前記複数の通信支線間の通信を中継する複数の車載中継装置を備え、前記複数の車載中継装置は、一又は複数の通信幹線を介して接続され、前記複数の車載中継装置の各々は、メッセージ送信処理部を有し、前記メッセージ送信処理部は、自身の通信支線にて車載制御装置から受信したメッセージが、自身の通信支線以外の通信支線に接続された車載制御装置へ送信すべきメッセージである場合に、当該メッセージを受信すべき車載制御装置が接続された他の車載中継装置へ、前記通信幹線を介して前記メッセージを送信することを特徴とする。 An in-vehicle communication system according to the present invention includes a plurality of in-vehicle relay devices connected to a plurality of communication branch lines to which one or a plurality of in-vehicle control devices are connected, and relaying communication between the plurality of communication branch lines, The plurality of in-vehicle relay devices are connected via one or a plurality of communication trunk lines, each of the plurality of in-vehicle relay devices has a message transmission processing unit, and the message transmission processing unit is connected to its own communication branch line. When the message received from the in-vehicle control device is a message to be transmitted to the in-vehicle control device connected to a communication branch line other than its own communication branch line, the other in-vehicle device to which the in-vehicle control device to receive the message is connected The message is transmitted to the relay apparatus via the communication trunk line.
また、本発明に係る車載通信システムは、車両に設けられ、車両外の装置との間でデータの授受を行うデータ授受部と、前記データ授受部を介して、前記車載制御装置が記憶しているプログラム又はデータに対する更新用のプログラム又はデータを前記車載中継装置へ送信する更新装置とを備え、前記車載中継装置は、前記更新装置から受信した更新用のプログラム又はデータを更新対象の車載制御装置へ送信する更新用プログラム送信処理部を有することを特徴とする。 In addition, an in-vehicle communication system according to the present invention is provided in a vehicle and is stored in the in-vehicle control device via a data exchanging unit that exchanges data with an apparatus outside the vehicle, and the data exchanging unit. An update device that transmits a program or data for updating the program or data to the in-vehicle relay device, and the in-vehicle relay device updates the program or data for update received from the update device. And an update program transmission processing unit for transmitting to.
また、本発明に係る車載通信システムは、前記データ授受部が、前記更新装置が着脱可能に有線接続されるコネクタであることを特徴とする。 In the in-vehicle communication system according to the present invention, the data transfer unit is a connector to which the update device is detachably connected by wire.
また、本発明に係る車載通信システムは、前記データ授受部が、前記更新装置との間で無線通信を行う無線通信装置であることを特徴とする。 In the in-vehicle communication system according to the present invention, the data exchange unit is a wireless communication device that performs wireless communication with the update device.
また、本発明に係る車載通信システムは、前記データ授受部と前記複数の車載中継装置とを接続する通信線を備え、前記更新装置は、前記データ授受部及び前記通信線を介して前記複数の車載中継装置へ更新用のプログラム又はデータを送信することを特徴とする。 In addition, an in-vehicle communication system according to the present invention includes a communication line that connects the data transmission / reception unit and the plurality of in-vehicle relay devices, and the update device includes the plurality of the communication units via the data transmission / reception unit and the communication line. An update program or data is transmitted to the in-vehicle relay device.
また、本発明に係る車載通信システムは、各車載中継装置の前記更新用プログラム送信処理部は、自身の通信支線に接続された車載制御装置を更新対象とする更新用のプログラム又はデータを前記更新装置から前記データ授受部及び前記通信線を介して受信した場合に、受信した更新用のプログラム又はデータを更新対象の車載制御装置へ送信し、自身の通信支線に接続された車載制御装置以外を更新対象とする更新用のプログラム又はデータを受信した場合に、受信した更新用のプログラム又はデータを破棄することを特徴とする。 Further, in the in-vehicle communication system according to the present invention, the update program transmission processing unit of each in-vehicle relay device updates the update program or data for updating the in-vehicle control device connected to its own communication branch line. When received from the device via the data transfer unit and the communication line, the received update program or data is transmitted to the in-vehicle control device to be updated, and other than the in-vehicle control device connected to its own communication branch line When an update program or data to be updated is received, the received update program or data is discarded.
また、本発明に係る車載中継装置は、複数の通信線の間の通信を中継する車載中継装置において、車載制御装置が記憶しているプログラム又はデータに対する更新用のプログラム又はデータを更新装置から受信する受信部と、前記受信部が受信した更新用のプログラム又はデータを、前記通信線を介して更新対象の車載制御装置へ送信する更新用プログラム送信処理部とを備え、前記更新用プログラム送信処理部は、前記通信線に接続された車載制御装置を更新対象とする更新用のプログラム又はデータを前記受信部が受信した場合に、受信した更新用のプログラム又はデータを更新対象の車載制御装置へ送信し、前記通信線に接続された車載制御装置以外を更新対象とする更新用のプログラム又はデータを受信した場合に、受信した更新用のプログラム又はデータを破棄することを特徴とする。 The in-vehicle relay device according to the present invention receives a program or data for updating the program or data stored in the in-vehicle control device from the update device in the in-vehicle relay device that relays communication between a plurality of communication lines. And an update program transmission processing unit that transmits the update program or data received by the reception unit to the in-vehicle control device to be updated via the communication line, and the update program transmission process When the receiving unit receives an update program or data for updating the in-vehicle control device connected to the communication line, the unit transmits the received update program or data to the in-vehicle control device to be updated. When the update program or data for update other than the in-vehicle control device connected to the communication line is received, the received update Characterized by discarding programs or data.
また、本発明に係る中継プログラムは、複数の通信線の間の通信を中継する車載中継装置に、車載制御装置が記憶しているプログラム又はデータに対する更新用のプログラム又はデータを更新装置から受信し、前記通信線に接続された車載制御装置を更新対象とする更新用のプログラム又はデータを受信した場合に、受信した更新用のプログラム又はデータを更新対象の車載制御装置へ送信し、前記通信線に接続された車載制御装置以外を更新対象とする更新用のプログラム又はデータを受信した場合に、受信した更新用のプログラム又はデータを破棄する処理を実行させることを特徴とする。 The relay program according to the present invention receives from the update device a program or data for updating the program or data stored in the in-vehicle control device to the in-vehicle relay device that relays communication between a plurality of communication lines. When the update program or data for updating the vehicle-mounted control device connected to the communication line is received, the received update program or data is transmitted to the vehicle-mounted control device for update, and the communication line When an update program or data that is an update target other than the vehicle-mounted control device connected to the PC is received, a process of discarding the received update program or data is executed.
本発明において車載通信システムは、複数の車載中継装置を備える。複数の車載中継装置は、一又は複数の通信幹線を介して接続され、各車載中継装置には複数の通信支線が接続され、各通信支線には一又は複数の車載制御装置が接続される。車載中継装置は、自身に接続された一の通信支線にて車載制御装置からのメッセージを受信し、受信したメッセージが自身に接続された他の通信支線に接続された車載制御装置へ送信すべきものである場合、このメッセージを他の通信支線へ中継する。また車載中継装置は、自身に接続された一の通信支線にて車載制御装置からのメッセージを受信し、受信したメッセージが自身に接続された通信支線以外の通信支線(即ち、他の車載中継装置に接続された通信支線)に接続された車載制御装置へ送信すべきものである場合、通信幹線を介してこのメッセージを他の車載中継装置へ送信する。これにより、メッセージ中継に係る処理負荷を複数の車載中継装置に分散することができ、各車載中継装置の処理負荷を低減することができる。 In the present invention, the in-vehicle communication system includes a plurality of in-vehicle relay devices. A plurality of in-vehicle relay devices are connected via one or a plurality of communication trunk lines, a plurality of communication branch lines are connected to each in-vehicle relay device, and one or a plurality of in-vehicle control devices are connected to each communication branch line. The in-vehicle relay device receives a message from the in-vehicle control device through one communication branch line connected to itself, and the received message should be transmitted to the in-vehicle control device connected to another communication branch line connected to itself. If so, the message is relayed to another communication branch line. The in-vehicle relay device receives a message from the in-vehicle control device through one communication branch line connected to itself, and the received message is a communication branch line other than the communication branch line connected to itself (that is, another in-vehicle relay device). If the message is to be transmitted to the in-vehicle control device connected to the communication branch line connected to), this message is transmitted to the other in-vehicle relay device via the communication trunk line. Thereby, the processing load concerning message relay can be distributed to a plurality of in-vehicle relay devices, and the processing load of each in-vehicle relay device can be reduced.
また本発明においては、車両外の装置との間でデータを授受するためのデータ授受部を車両に設け、車載制御装置の更新用のプログラム又はデータを有する更新装置がデータ授受部を介して車載中継装置へ更新用のプログラム又はデータを送信する。データ授受部は、例えば更新装置を有線接続するコネクタ、又は、更新装置との無線通信を行う無線通信装置等とすることができる。
更新装置から更新用のプログラム又はデータを受信した車載中継装置は、これを更新対象の車載制御装置へ送信することにより更新処理を行う。これにより車載制御装置は、車載中継装置から更新用のプログラム又はデータを受信してメモリの記憶内容を書き換えることで、プログラム又はデータを更新することができる。
In the present invention, the vehicle is provided with a data transmission / reception unit for transmitting / receiving data to / from a device outside the vehicle, and the update device having an update program or data for the in-vehicle control device is mounted on the vehicle via the data transmission / reception unit. An update program or data is transmitted to the relay device. The data transmission / reception unit may be, for example, a connector for connecting the update device by wire, or a wireless communication device for performing wireless communication with the update device.
The in-vehicle relay device that has received the update program or data from the update device performs update processing by transmitting it to the in-vehicle control device to be updated. Thus, the in-vehicle control device can update the program or data by receiving the update program or data from the in-vehicle relay device and rewriting the stored contents of the memory.
データ授受部と複数の車載中継装置のいずれか1つとを通信線で接続する構成とした場合、データ授受部に接続された一の車載中継装置に対して更新対象の車載制御装置が直接的に通信支線を介して接続されていなければ、一の車載中継装置は更新対象の車載制御装置が接続された他の車載中継装置へ更新用のプログラム又はデータを中継する必要がある。更新装置から更新対象の車載制御装置までに介在する車載中継装置の数が増加するほど、更新処理に要する時間が増大する虞がある。
そこで、車載中継装置を複数備える本発明の車載通信システムにおいては、データ授受部と複数の車載中継装置とを接続する通信線を設ける。更新装置から送信された更新用のプログラム又はデータは、データ授受部及び通信線を介して、複数の車載中継装置へ直接的に与えられる。更新対象の車載制御装置がいずれの車載中継装置に接続されていても、この車載中継装置へ更新装置から直接的に更新用のプログラム又はデータが与えられるため、更新装置から更新対象の車載制御装置までに介在する装置の数を低減でき、更新処理の時間が増大することを防止できる。
When the data exchange unit and any one of a plurality of in-vehicle relay devices are connected via a communication line, the in-vehicle control device to be updated is directly connected to one in-vehicle relay device connected to the data exchange unit. If not connected via a communication branch line, one in-vehicle relay device needs to relay an update program or data to another in-vehicle relay device to which the in-vehicle control device to be updated is connected. As the number of in-vehicle relay devices interposed from the update device to the in-vehicle control device to be updated increases, the time required for the update process may increase.
Therefore, in the in-vehicle communication system of the present invention including a plurality of in-vehicle relay devices, a communication line for connecting the data transfer unit and the plurality of in-vehicle relay devices is provided. The update program or data transmitted from the update device is directly given to the plurality of in-vehicle relay devices via the data transfer unit and the communication line. Even if the in-vehicle control device to be updated is connected to any in-vehicle relay device, an update program or data is directly given to the in-vehicle relay device from the update device. It is possible to reduce the number of apparatuses intervening until the update processing time is increased.
また本発明において車載中継装置は、データ授受部及び通信線を介して更新装置からの更新用のプログラム又はデータを受信した場合に、この更新用のプログラム又はデータが自身に接続された通信支線に接続された車載制御装置を更新対象とするものであるか否かを判定する。自身の通信支線に接続された車載制御装置を更新対象とする場合、車載中継装置は、更新装置から受信した更新用のプログラム又はデータを、通信支線を介して更新対象の車載制御装置へ送信する。これに対して自身の通信支線以外の通信支線(即ち、他の車載中継装置に接続された通信支線)に接続された車載制御装置を更新対象とする場合、車載中継装置は、更新用のプログラム又はデータを他の車載中継装置を送信することなく、破棄する。これらにより各車載中継装置は、自身の通信支線に接続された車載制御装置のみを更新処理の対象とすればよいため、更新処理に係る負荷を低減することができる。 In the present invention, when the in-vehicle relay device receives an update program or data from the update device via the data transfer unit and the communication line, the update program or data is connected to the communication branch line connected to itself. It is determined whether or not the connected in-vehicle control device is to be updated. When an in-vehicle control device connected to its own communication branch is an update target, the in-vehicle relay device transmits the update program or data received from the update device to the update-target in-vehicle control device via the communication branch. . On the other hand, when an in-vehicle controller connected to a communication branch other than its own communication branch (that is, a communication branch connected to another in-vehicle relay device) is an update target, the in-vehicle relay device is an update program. Alternatively, the data is discarded without transmitting the other in-vehicle relay device. Accordingly, each in-vehicle relay device only needs to set the in-vehicle control device connected to its own communication branch line as the target of the update process, and thus can reduce the load related to the update process.
本発明による場合は、複数の車載中継装置を備えて、車載制御装置間のメッセージの送受信を複数の車載中継装置を介して行う構成とすることにより、メッセージ中継に係る処理負荷を複数の車載中継装置に分散することができ、各車載中継装置の処理負荷を低減することができる。 According to the present invention, a plurality of in-vehicle relay devices are provided, and a message load between the in-vehicle control devices is configured to be transmitted and received through the plurality of in-vehicle relay devices, so that the processing load related to message relay is increased. It can be distributed to the devices, and the processing load of each in-vehicle relay device can be reduced.
<システム概要>
図1は、本実施の形態に係る車載通信システムの構成を示す模式図である。本実施の形態に係る車載通信システムは、車両1に搭載された複数のECU2が、通信幹線1a、通信支線1b及びゲートウェイ4を介してメッセージの送受信を行う構成である。詳しくは、車両1には2つのゲートウェイ4が搭載されており、この2つのゲートウェイ4は通信幹線1aを介して接続され、相互にメッセージの送受信を行うことができる。各ゲートウェイ4にはそれぞれ3つの通信支線1bが接続されており、各通信支線1bには複数のECU2がそれぞれ接続されている。各ECU2は、共通の通信支線1bに接続された他のECU2との間で、通信支線1bを介してメッセージを直接的に送受信することができる。またECU2は、共通の通信支線1bに接続されておらず且つ他の通信支線1bに接続された他のECU2との間で、ゲートウェイ4を介した間接的なメッセージ送受信を行うことができる。
<System overview>
FIG. 1 is a schematic diagram showing a configuration of an in-vehicle communication system according to the present embodiment. The in-vehicle communication system according to the present embodiment has a configuration in which a plurality of
ゲートウェイ4は、自身に接続された通信支線1bにてECU2からのメッセージを受信した場合、例えば予め記憶した中継テーブルなどに基づいて受信メッセージの中継の要否を判定すると共に、中継が必要なメッセージについては中継先を決定する。メッセージの中継先には、自身に接続された一又は複数の通信支線1bと、他のゲートウェイ4との間に接続された通信幹線1aとがあり得る。ゲートウェイ4は、受信メッセージが自身の通信支線1bに接続されたECU2に送信すべきメッセージである場合、当該通信支線1bへメッセージを送信する。またゲートウェイ4は、他のゲートウェイ4の通信支線1bに接続されたECU2に送信すべきメッセージである場合、通信幹線1aへメッセージを送信する。なおゲートウェイ4によるメッセージの中継先は1つである必要はなく、通信幹線1a及び通信支線1bの両方にメッセージを送信してもよい。
When the
また本実施の形態に係る車両1には、例えば車室の運転席近傍又はエンジンルーム内等の適所に、外部の装置を着脱可能に接続するためのコネクタ6が設けられている。コネクタ6は、接続された外部の装置との間でデータの授受を行うことができる。コネクタ6は、例えばダイアグコネクタなどの名称で呼ばれ得るものである。コネクタ6には、例えば通信ケーブル7aを介して更新装置7を着脱可能に接続することができる。また車両1内においてコネクタ6は、2つのゲートウェイ4にそれぞれ更新用通信線1cを介して接続されている。これによりコネクタに更新装置7が接続された場合、更新装置7が送信したメッセージは、コネクタ6及び更新用通信線1cを介して2つのゲートウェイ4にそれぞれ受信される。
In addition, the
本実施の形態においてECU2は、例えばフラッシュメモリなどに記憶したプログラムをプロセッサが実行することによって、車両1の走行制御などの種々の処理を行うことができる。ECU2が記憶しているプログラム及びこれに伴うデータ等は、例えばバージョンアップ又は不具合修正等を目的として、更新を行う必要が生じる場合がある。更新装置7は、ECU2が記憶しているプログラム又はデータを更新する処理を行うための装置である。更新装置7は、例えば車両1のディーラ又は整備工場等に備えられる装置であり、車両1の整備などを行う作業者が持ち運ぶことが可能な装置である。更新装置7は、例えばサーバ装置(図示は省略する)などからECU2の更新用のプログラム又はデータ(以下、単に更新用プログラムという)をダウンロードして記憶しており、車両1のコネクタ6に通信ケーブル7aを介して接続された後、記憶した更新用プログラムを車両1へ送信する。
In the present embodiment, the
更新装置7から送信された更新用プログラムは、通信ケーブル7a、コネクタ6及び更新用通信線1cを介して2つのゲートウェイ4にて受信される。ゲートウェイ4は、受信した更新用プログラムが自身の通信支線1bに接続されたECU2の更新に用いるものであるか否かを判定する。例えば更新装置7は更新用プログラムと共にこれを用いて更新処理を行うべきECU2の識別情報等を送信する。ゲートウェイ4は、例えば自身の通信支線1bに接続されている全てのECU2の識別情報を記憶しており、記憶した識別情報の中に更新装置7から受信した更新用プログラムに付された識別情報と一致するものが存在するか否かに応じて、受信した更新用プログラムが自身の通信支線1bに接続されたECU2の更新に用いるものであるか否かを判定することができる。
The update program transmitted from the
ゲートウェイ4は、更新装置7から受信した更新用プログラムが自身の通信支線1bに接続されたECU2の更新に用いるものであると判定した場合、このECU2が接続されている通信支線1bに更新用プログラムを送信する。ゲートウェイ4から更新用プログラムを受信したECU2は、自身のメモリに記憶されたプログラムを、受信した更新用プログラムに書き換えることにより、プログラムを更新する。またゲートウェイ4は、更新装置7から受信した更新用プログラムが自身の通信支線1bに接続されたECU2の更新に用いるものでないと判定した場合、この更新用プログラムを破棄する。
When the
なお本実施の形態において、車両1に搭載された複数のECU2は、それぞれ異なる機能を有し、異なる処理を行うものであって、ハードウェア的にもソフトウェア的にも異なる装置である。これに対して車両1に搭載された2つのゲートウェイ4は、ハードウェア的に全く同じ装置であってよく、同じ装置に対して動作に係る情報(例えばメッセージの中継先及び接続されているECU2の識別情報等の情報)を適宜に設定したものとすることができる。ただし2つのゲートウェイ4は、異なるハードウェア構成の装置を採用してもよい。
In the present embodiment, the plurality of
<装置構成>
図2は、ゲートウェイ4の構成を示すブロック図である。本実施の形態に係るゲートウェイ4は、処理部41、ROM(Read Only Memory)42、RAM(Random Access Memory)43、第1通信部44、第2通信部45及び更新用通信部46等を備えて構成されている。処理部(プロセッサ)41は、例えばCPU又はMPU等の演算処理装置を用いて構成されており、ROM42に記憶されたプログラムを読み出して実行することにより、種々の演算処理及び制御処理等を行うことができる。本実施の形態において処理部41は、ROM42に記憶された中継プログラム42aを読み出して実行することにより、メッセージの中継処理及びECU2の更新処理等を行う。
<Device configuration>
FIG. 2 is a block diagram showing the configuration of the
ROM(ストレージ)42は、例えばフラッシュメモリ又はEEPROM(Electrically Erasable Programmable Read Only Memory)等のデータ書換可能な不揮発性のメモリ素子を用いて構成されている。ROM42は、処理部41が実行するプログラム及びこのプログラムの実行に必要なデータ等を記憶する。本実施の形態においてROM42は、処理部41が実行する中継プログラム42aと、処理部41の中継処理に必要な情報が設定された中継テーブル42bと、処理部41の更新処理に必要な情報が設定されたECU情報42cとを記憶している。中継テーブル42bは、例えばECU2間で送受信されるメッセージに付される識別情報と、この識別情報を有するメッセージを中継すべき通信線(通信幹線1a及び/又は通信支線1b)とを対応付けて記憶したものである。ECU情報42cは、このゲートウェイ4に接続された通信支線1bと、通信支線1bに接続されたECU2の識別情報とを対応付けて記憶したものである。ECU情報42cには、例えばECU2のプログラムのバージョン情報などを更に記憶してもよい。
The ROM (storage) 42 is configured by using a non-volatile memory element that can rewrite data, such as a flash memory or an EEPROM (Electrically Erasable Programmable Read Only Memory). The
RAM43は、例えばSRAM(Static Random Access Memory)又はDRAM(Dynamic Random Access Memory)等のデータ書換可能なメモリ素子を用いて構成されている。処理部41は、例えばECU2から受信した中継すべきメッセージをRAM43に一時的に記憶することができる。また処理部41は、更新装置7から受信した更新用プログラムをRAM43に一時的に記憶することができる。
The
第1通信部44は、通信幹線1aが接続され、他のゲートウェイ4との間でメッセージの送受信を行う。第1通信部44は、例えばCAN(Controller Area Network)又はイーサネット(登録商標)等の通信プロトコルに従って、他のゲートウェイ4との間で通信を行う。例えばCANの通信プロトコルが採用されている場合、第1通信部44はCANコントローラなどのトランシーバIC(Integrated Circuit)を用いて構成され得る。第1通信部44は、処理部41からデジタルデータとして与えられる送信用のメッセージを電気信号に変換して通信幹線1aへ出力することによりメッセージを送信する。また第1通信部44は、通信幹線1aの電位をサンプリングして取得することによりメッセージを受信し、受信したメッセージを処理部41へ与える。
The
第2通信部45は、ゲートウェイ4に複数(図示の例では3つ)備えられている。第2通信部45は、それぞれ通信支線1bに接続され、通信支線1bに接続された一又は複数のECU2との間でメッセージの送受信を行う。第2通信部45は、例えばCAN又はイーサネット等の通信プロトコルに従って通信を行う。第2通信部45は、処理部41からデジタルデータとして与えられる送信用のメッセージを電気信号に変換して通信支線1bへ出力することによりメッセージを送信する。また第2通信部45は、通信支線1bの電位をサンプリングして取得することによりメッセージを受信し、受信したメッセージを処理部41へ与える。
A plurality of (three in the illustrated example)
更新用通信部46は、更新用通信線1cが接続され、コネクタ6に接続された更新装置7などの外部装置との間でメッセージの送受信を行う。更新用通信部46は、例えばCAN、イーサネット又はUSB(Universal Serial Bus)等の通信プロトコルに従って、外部装置との間で通信を行う。更新用通信部46は、処理部41からデジタルデータとして与えられる送信用のメッセージを電気信号に変換して更新用通信線1cへ出力することによりメッセージを送信する。また更新用通信部46は、更新用通信線1cの電位をサンプリングして取得することによりメッセージを受信し、受信したメッセージを処理部41へ与える。
The
なお、第1通信部44、第2通信部45及び更新用通信部46は、採用する通信プロトコルが同じであれば、同じ構成であってよく、区別される必要はない。例えば全てCANの通信プロトコルで通信を行うのであれば、第1通信部44、第2通信部45及び更新用通信部46は、いずれもCANコントローラなどを用いて構成され得る。この構成の場合、ゲートウェイ4は5つのCANコントローラが搭載され、これらは区別される必要はなく、通信幹線1aが接続されたものを第1通信部44とみなし、通信支線1bが接続されたものを第2通信部45とみなし、更新用通信線1cが接続されたものを更新用通信部46とみなせばよい。
Note that the
また本実施の形態に係るゲートウェイ4は、ROM42に記憶された中継プログラム42aを処理部41が読み出して実行することにより、中継処理部41a及び更新処理部41b等が処理部41にソフトウェア的な機能ブロックとして実現される。中継処理部41aは、ECU2の間のメッセージ送受信を中継する処理を行う。中継処理部41aは、通信支線1bを介して第2通信部45にてECU2からのメッセージを受信した場合、受信メッセージの中継の要否を判定すると共に、中継が必要であれば中継先を決定する処理を行う。また中継処理部41aは、通信幹線1aを介して第1通信部44にて他のゲートウェイ4からのメッセージを受信した場合、中継先を決定する処理を行う。
In the
このときに中継処理部41aは、受信メッセージに含まれる識別情報に基づいてROM42に記憶された中継テーブル42bを参照する。中継テーブル42bには、メッセージに付される識別情報と、この識別情報を有するメッセージの送信先となる通信幹線1a及び/又は通信支線1bとが対応付けて記憶されている。中継処理部41aは、例えば受信メッセージの識別情報が中継テーブル42bに登録されていない場合に中継が不要と判定し、中継テーブル42bに登録されている場合に中継が必要と判定することができる。受信メッセージの中継が必要である場合、中継処理部41aは、受信メッセージの識別情報に対応付けられた中継先の通信幹線1a及び/又は通信支線1bの情報を中継テーブル42bから取得する。中継処理部41aは、中継先の通信幹線1a及び/又は通信支線1bが接続された第1通信部44及び/又は第2通信部45へ受信メッセージを与えることによりこのメッセージを送信し、メッセージを中継する。
At this time, the
更新処理部41bは、ECU2のプログラムを更新する処理を行う。更新処理部41bは、コネクタ6に通信ケーブル7aを介して更新装置7が接続された場合に、更新用通信部46にて更新装置7との通信を行い、更新装置7が正当な装置であるか否かを判断するための認証処理などを行う。更新装置7が正当な装置であると判断した後、更新処理部41bは、更新装置7が送信する更新用プログラムを更新用通信部46にて受信し、受信した更新用プログラムをRAM43に一時的に記憶する。またこのときに更新装置7は、更新用プログラムと共に、この更新用プログラムを用いてプログラムを更新すべきECU2の識別情報などをゲートウェイ4へ送信する。ECU2の識別情報は、例えばECU2の型番又は製造番号等の情報とすることができ、必ずしもECU2毎に一意的に付される識別情報である必要はなく、同じ装置には同じ値が設定される情報であってよい。ゲートウェイ4のROM42に記憶されるECU情報42cには、ゲートウェイ4に接続された通信支線1bに接続されたECU2について、ECU2の識別情報と、このECU2がいずれの通信支線1bに接続されているかの情報とが対応付けて記憶されている。更新処理部41bは、更新用プログラムと共に与えられた更新対象のECU2の識別情報に基づいてROM42のECU情報42cを参照し、更新用プログラムの送信先を決定する。更新処理部41bは、RAM43から更新用プログラムを読み出して、更新対象のECU2が接続された通信支線1bに接続された第2通信部45へ更新用プログラムを与える。これにより更新用プログラムは第2通信部45にて更新対象のECU2へ送信され、これを受信したECU2は自身のメモリに記憶されたプログラムを、受信した更新用プログラムに置き換えることによって、プログラムを更新する。
The
図3は、ECU2の構成を示すブロック図である。なお本図においては、車両1に搭載された複数のECU2に共通する通信機能及びプログラム更新機能に関する機能ブロックを抜き出して図示しており、各ECU2に個別の制御機能などに関する機能ブロックについては図示を省略してある。本実施の形態に係るECU2は、処理部21、フラッシュメモリ22、RAM23及び通信部24等を備えて構成されている。処理部21は、CPU又はMPU等の演算処理装置を用いて構成されており、フラッシュメモリ22に記憶されたプログラム22aを読み出して実行することにより、種々の演算処理及び制御処理等を行う。
FIG. 3 is a block diagram showing a configuration of the
フラッシュメモリ22は、データ書換可能な不揮発性のメモリ素子であり、処理部21が実行するプログラム22a及びこのプログラム22aの実行に必要なデータ(図示は省略する)等を記憶している。プログラム22aは、ECU2毎に特有の制御処理などを処理部21に行わせるプログラムであり、例えばバージョンアップ又は不具合修正等により更新が必要となる場合がある。RAM23は、SRAM又はDRAM等のデータ書換可能なメモリ素子を用いて構成されており、処理部21の処理過程で発生したデータなどを一時的に記憶する。通信部24は、通信支線1bが接続されており、通信支線1bを介して他のECU2又はゲートウェイ4等との間でメッセージの送受信を行う。
The
また本実施の形態に係るECU2は、処理部21に更新処理部21aが設けられている。更新処理部21aは、ソフトウェア的な機能ブロック又はハードウェア的な機能ブロックのいずれであってもよい。ただし更新処理部21aは、ソフトウェア的な機能ブロックである場合、プログラム22aとは別のプログラムを処理部21が実行することにより実現される。更新処理部21aは、通信部24にて受信した更新用プログラムを用いて、フラッシュメモリ22に記憶されたプログラム22aを書き換える処理を行う。
Further, in the
更新処理部21aは、更新装置7が送信し、ゲートウェイ4が中継することによって、通信支線1bを介して通信部24にて受信された更新用プログラムを、RAM23に一時的に記憶する。更新用プログラムの受信を完了した後、更新処理部21aは、RAM23に記憶した更新用プログラムを、フラッシュメモリ22に記憶されたプログラム22aに対して上書きすることによって、プログラム22aを更新用プログラムに置き換える。フラッシュメモリ22に対する更新用プログラムの書き込みが終了した後、更新処理部21aは、ECU2を再起動するなどの処理を行うことにより、フラッシュメモリ22に書き込んだプログラム22aを処理部21に実行させる。
The
<処理手順>
図4は、ゲートウェイ4が行う中継処理の手順を示すフローチャートである。本実施の形態に係るゲートウェイ4の処理部41の中継処理部41aは、第1通信部44又は第2通信部45にてメッセージを受信したか否かを判定する(ステップS1)。メッセージを受信していない場合(S1:NO)、中継処理部41aは、メッセージを受信するまで待機する。メッセージを受信した場合(S1:YES)、中継処理部41aは、メッセージに含まれる識別情報を取得する(ステップS2)。中継処理部41aは、取得した識別情報に基づいて、ROM42に記憶された中継テーブル42bを参照し(ステップS3)、この受信メッセージの中継の要否及び中継先を調べる。
<Processing procedure>
FIG. 4 is a flowchart illustrating a procedure of relay processing performed by the
ステップS3の処理結果に基づいて中継処理部41aは、受信したメッセージを自範囲、即ち自らに接続された通信支線1bに接続された一又は複数のECU2に対して中継する必要があるか否かを判定する(ステップS4)。受信メッセージを自範囲に中継する必要があると判定した場合(S4:YES)、中継処理部41aは、中継先の通信支線1bが接続された第2通信部45へ受信メッセージを与えることにより、このメッセージを第2通信部45から送信し(ステップS5)、ステップS6へ処理を進める。受信メッセージを自範囲に中継する必要がないと判定した場合(S4:NO)、中継処理部41aは、ステップS6へ処理を進める。
Whether or not the
次いで中継処理部41aは、受信したメッセージを他範囲、即ち他のゲートウェイ4に接続された通信支線1bに接続された一又は複数のECU2に対して中継する必要があるか否かを判定する(ステップS6)。受信メッセージを他範囲に中継する必要があると判定した場合(S6:YES)、中継処理部41aは、第1通信部44へ受信メッセージを与えることにより、このメッセージを第1通信部44から送信し(ステップS7)、処理を終了する。受信メッセージを他範囲に中継する必要がないと判定した場合(S6:NO)、中継処理部41aは、処理を終了する。
Next, the
図5は、ゲートウェイ4が行う更新処理の手順を示すフローチャートである。本実施の形態に係るゲートウェイ4の処理部41の更新処理部41bは、更新用通信部46にてコネクタ6に接続された更新装置7から更新用プログラムを受信したか否かを判定する(ステップS11)。更新用プログラムを受信していない場合(S11:NO)、更新処理部41bは、更新用プログラムを受信するまで待機する。更新用プログラムを受信した場合(S11:YES)、更新処理部41bは、更新用プログラムをRAM43に記憶する(ステップS12)。次いで更新処理部41bは、更新用プログラムと共に更新装置7から受信した更新対象に関する情報、即ちこの更新用プログラムを書き込むべきECU2の識別情報などの情報を取得する(ステップS13)。更新処理部41bは、取得した更新対象の情報に基づいて、ROM42に記憶されたECU情報42cを参照し(ステップS14)、受信した更新用プログラムの送信先を調べる。
FIG. 5 is a flowchart showing the procedure of the update process performed by the
ステップS14の処理結果に基づいて更新処理部41bは、受信した更新用プログラムを自範囲、即ち自らに接続された通信支線1bに接続されたECU2に対して更新用プログラムを送信する必要があるか否かを判定する(ステップS15)。更新用プログラムを自範囲のECU2へ送信する必要があると判定した場合(S15:YES)、更新処理部41bは、送信先の通信支線1bが接続された第2通信部45へ更新用プログラムを与えることにより、この更新用プログラムを第2通信部45から送信し(ステップS16)、処理を終了する。また更新用プログラムを自範囲のECU2へ送信する必要がないと判定した場合(S15:NO)、更新処理部41bは、更新処理を行うことなく、RAM43に記憶した更新用プログラムを破棄し(ステップS17)、処理を終了する。
Whether the
<まとめ>
以上の構成の本実施の形態に係る車載通信システムは、通信支線1b間のメッセージを中継するゲートウェイ4を2つ備える。2つのゲートウェイ4は通信幹線1aを介して接続され、各ゲートウェイ4には複数の通信支線1bが接続され、各通信支線1bには一又は複数のECU2が接続される。ゲートウェイ4は、自身に接続された一の通信支線1bにてECU2からのメッセージを受信し、受信したメッセージが自身に接続された他の通信支線1bに接続されたECU2へ送信すべきものである場合、このメッセージを他の通信支線1bへ中継する。またゲートウェイ4は、受信したメッセージが自身に接続された通信支線1b以外の通信支線1b(即ち、他のゲートウェイ4に接続された通信支線1b)に接続されたECU2へ送信すべきものである場合、通信幹線1aを介してこのメッセージを他のゲートウェイ4へ送信する。これにより、メッセージ中継に係る処理負荷を複数のゲートウェイ4に分散することができ、各ゲートウェイ4の処理負荷を低減することができる。
<Summary>
The in-vehicle communication system according to the present embodiment having the above configuration includes two
また本実施の形態に係る車載通信システムは、ECU2の更新用プログラムを有する更新装置7を車両1のコネクタ6に接続し、更新装置7からコネクタ6を介してゲートウェイ4へ更新用プログラムを送信する。更新装置7から更新用プログラムを受信したゲートウェイ4は、これを更新対象のECU2へ送信することにより更新処理を行う。これによりECU2は、ゲートウェイ4から更新用プログラムを受信してフラッシュメモリ22のプログラム22aを書き換えることで、プログラム22aを更新することができる。
The in-vehicle communication system according to the present embodiment connects the
例えばコネクタ6と2つのゲートウェイ4のいずれか一方とを更新用通信線で接続する構成とした場合、コネクタ6に接続された一方のゲートウェイ4に更新対象のECU2が直接的に通信支線1bを介して接続されていなければ、一方のゲートウェイ4は更新対象のECU2が接続された他方のゲートウェイ4へ更新用プログラムを中継する必要がある。更新装置7から更新対象のECU2までに介在するゲートウェイ4の数が増加するほど、更新処理に要する時間が増大する虞がある。
For example, when the
そこで本実施の形態に係る車載通信システムでは、コネクタ6と2つのゲートウェイ4とを接続する更新用通信線1cを設ける。コネクタ6に接続された更新装置7から送信された更新用プログラムは、コネクタ6及び更新用通信線1cを介して2つのゲートウェイ4へそれぞれ直接的に与えられる。更新対象のECU2がいずれのゲートウェイ4に接続されていても、このゲートウェイ4へ更新装置7から直接的に更新用プログラムが与えられるため、更新装置7から更新対象のECU2までに介在するゲートウェイ4の数を1つとすることができ、更新処理の時間が増大することを防止できる。
Therefore, in the in-vehicle communication system according to the present embodiment, an
またゲートウェイ4は、コネクタ6及び更新用通信線1cを介して更新装置7からの更新用プログラムを受信した場合に、この更新用プログラムが自身に接続された通信支線1bに接続されたECU2を更新対象とするものであるか否かを判定する。自身の通信支線1bに接続されたECU2を更新対象とする場合、ゲートウェイ4は、更新装置7から受信した更新用プログラムを、通信支線1bを介して更新対象のECU2へ送信する。これに対して、自身の通信支線1b以外の通信支線1b(即ち、他のゲートウェイ4に接続された通信支線1b)に接続されたECU2を更新対象とする場合、ゲートウェイ4は、更新用プログラムを他のゲートウェイ4へ送信することなく、破棄する。これらにより各ゲートウェイ4は、自身の通信支線1bに接続されたECU2のみを更新処理の対象とすればよいため、更新処理に係る負荷を低減することができる。
When the
なお本実施の形態においては、図1に示すように、車載通信システムが2つのゲートウェイ4を備え、各ゲートウェイ4に3つの通信支線1bが接続された構成を例に説明を行ったが、これらのシステム構成は一例であって、これに限るものではない。車載通信システムは、2つ以上のゲートウェイ4を備えていればよい。ゲートウェイ4には少なくとも1つの通信支線1bが接続されていればよい。また通信支線1bに接続される車載制御装置をECU2としたが、これに限るものではなく、ECU2以外の装置であってもよい。またゲートウェイ4及びECU2がCANの通信プロトコルに従って通信を行う構成としたが、これに限るものではなく、例えばFlexRay又はイーサネット等のプロトコルに従って通信を行う構成としてよく、バス型ではない通信プロトコルを採用する場合には、本実施の形態に係る車載通信システムの構成を適宜に変更してよい。
In the present embodiment, as shown in FIG. 1, the in-vehicle communication system includes two
またコネクタ6は、ダイアグコネクタとしたが、これに限るものではなく、例えばUSB(Universal Serial Bus)などの他のプロトコルに応じたコネクタであってよい。またコネクタ6及び2つのゲートウェイ4を接続する更新用通信線1cは、バス型の通信線として構成されるのであれば、通信幹線1aと共通化してもよい。即ちコネクタ6を通信幹線1aに接続する構成としてもよい。
The
(変形例1)
図6は、変形例に係る車載通信システムの構成を示す模式図である。変形例に係る車載通信システムは4つのゲートウェイ4を備えている。4つのゲートウェイ4は、3つの通信幹線1aを介して直列的に接続されている。即ち、第1のゲートウェイ4及び第2のゲートウェイ4が1つの通信幹線1aを介して接続され、第2のゲートウェイ4及び第3のゲートウェイ4が1つの通信幹線1aを介して接続され、第3のゲートウェイ4及び第4のゲートウェイ4が1つの通信幹線1aを介して接続されている。ただし4つのゲートウェイ4を1つの通信幹線1aにバス接続する構成としてもよい。各ゲートウェイ4には3つの通信支線1bがそれぞれ接続されており、各通信支線1bには一又は複数のECU2(図6において図示は省略する)が接続される。
(Modification 1)
FIG. 6 is a schematic diagram illustrating a configuration of an in-vehicle communication system according to a modification. The in-vehicle communication system according to the modification includes four
車両1に設けられたコネクタ6と、4つのゲートウェイ4とは、更新用通信線1cを介して接続されている。更新用通信線1cは、バス型の通信線として設けられており、例えば一端がコネクタ6に接続され、他端が4つに分岐してゲートウェイ4にそれぞれ接続されている。これによりコネクタ6に通信ケーブル7aを介して接続された更新装置7から送信された更新用プログラムは、4つのゲートウェイ4にてそれぞれ受信される。ゲートウェイ4は、受信した更新用プログラムが自身の通信支線1bに接続されたECU2のためのものである場合に、この更新用プログラムをいずれかの通信支線1bから更新対象のECU2へ送信する。
The
(変形例2)
図7は、変形例2に係る車載通信システムの構成を示す模式図である。変形例2に係る車載通信システムは、コネクタ6に接続された更新装置7と車両1に搭載されたゲートウェイ4との通信に、CANなどのバス型の通信線を用いる通信プロトコルではなく、例えばイーサネットなどのスター型の通信線を用いる通信プロトコルを採用した構成である。このため変形例2に係る車載通信システムでは、コネクタ6及び2つのゲートウェイ4の間に、HUB1dが介在する。即ち、第1のゲートウェイ4は第1の更新用通信線1cを介してHUB1dに接続され、第2のゲートウェイ4は第2の更新用通信線1cを介してHUB1dに接続され、コネクタ6は第3の更新用通信線1cを介してHUB1dに接続されている。
(Modification 2)
FIG. 7 is a schematic diagram illustrating a configuration of the in-vehicle communication system according to the second modification. The in-vehicle communication system according to the modified example 2 is not a communication protocol that uses a bus-type communication line such as CAN for communication between the
HUB1dは、更新用通信線1c間のメッセージを中継する機能を有しており、一の更新用通信線1cにて受信したメッセージを、他の更新用通信線1cから送信する。これによりコネクタ6に接続された更新装置7から送信された更新用プログラムは、コネクタ6及びHUB1dを経て2つのゲートウェイ4にてそれぞれ受信される。
The HUB 1d has a function of relaying a message between the
(変形例3)
図8は、変形例3に係る車載通信システムの構成を示す模式図である。変形例3に係る車載通信システムは、図1に示す車載通信システムのコネクタ6に代えて、無線通信装置106を車両1に設けた構成である。また変形例3に係る車載通信システムの更新装置107は、通信ケーブル7aを介した有線通信を行うのではなく、無線通信を行うことによって車両1の無線通信装置106との間でデータを授受する。
(Modification 3)
FIG. 8 is a schematic diagram illustrating a configuration of the in-vehicle communication system according to the third modification. The in-vehicle communication system according to Modification 3 has a configuration in which a
無線通信装置106は、例えば携帯電話通信網、無線LAN(Local Area Network)又はBluetooth(登録商標)等の無線ネットワークを介して、車両1の内外に存在する更新装置107などの他の装置との間で無線信号を介した通信を行う装置である。無線通信装置106は、更新用通信線1cを介して2つのゲートウェイ4に接続されている。無線通信装置106は、更新装置107から無線通信により受信した更新用プログラムを、更新用通信線1cを介して2つのゲートウェイ4へ送信する。
The
無線通信装置106を介して更新装置107から更新用プログラムを受信したゲートウェイ4は、この更新用プログラムが自身の通信支線1bに接続されたECU2の更新に用いるものであると判定した場合、このECU2が接続されている通信支線1bに更新用プログラムを送信する。またゲートウェイ4は、更新装置107から受信した更新用プログラムが自身の通信支線1bに接続されたECU2の更新に用いるものでないと判定した場合、この更新用プログラムを破棄する。
When the
1 車両
1a 通信幹線
1b 通信支線
1c 更新用通信線
1d HUB
2 ECU(車載制御装置)
4 ゲートウェイ(車載中継装置)
6 コネクタ(データ授受部)
7 更新装置
7a 通信ケーブル
21 処理部
21a 更新処理部
22 フラッシュメモリ
22a プログラム
23 RAM
24 通信部
41 処理部
41a 中継処理部(メッセージ送信処理部)
41b 更新処理部(更新用プログラム送信処理部)
42 ROM
42a 中継プログラム
42b 中継テーブル
42c ECU情報
43 RAM
44 第1通信部
45 第2通信部
46 更新用通信部(受信部)
106 無線通信装置(データ授受部)
107 更新装置
1
2 ECU (on-vehicle controller)
4 Gateway (on-vehicle relay device)
6 Connector (Data exchange section)
7
24
41b Update processing unit (update program transmission processing unit)
42 ROM
44
106 Wireless communication device (data exchange unit)
107 Update device
Claims (8)
前記複数の車載中継装置は、一又は複数の通信幹線を介して接続され、
前記複数の車載中継装置の各々は、メッセージ送信処理部を有し、
前記メッセージ送信処理部は、自身の通信支線にて車載制御装置から受信したメッセージが、自身の通信支線以外の通信支線に接続された車載制御装置へ送信すべきメッセージである場合に、当該メッセージを受信すべき車載制御装置が接続された他の車載中継装置へ、前記通信幹線を介して前記メッセージを送信すること
を特徴とする車載通信システム。 A plurality of communication branch lines to which one or a plurality of in-vehicle control devices are respectively connected, and a plurality of in-vehicle relay devices that relay communication between the plurality of communication branch lines;
The plurality of in-vehicle relay devices are connected via one or a plurality of communication trunk lines,
Each of the plurality of in-vehicle relay devices has a message transmission processing unit,
The message transmission processing unit, when the message received from the in-vehicle control device in its own communication branch line is a message to be transmitted to the in-vehicle control device connected to a communication branch line other than its own communication branch line, the message An in-vehicle communication system characterized by transmitting the message via the communication trunk line to another in-vehicle relay device to which an in-vehicle control device to be received is connected.
前記データ授受部を介して、前記車載制御装置が記憶しているプログラム又はデータに対する更新用のプログラム又はデータを前記車載中継装置へ送信する更新装置と
を備え、
前記車載中継装置は、前記更新装置から受信した更新用のプログラム又はデータを更新対象の車載制御装置へ送信する更新用プログラム送信処理部を有すること
を特徴とする請求項1に記載の車載通信システム。 A data transmission / reception unit that is provided in the vehicle and exchanges data with a device outside the vehicle;
An update device that transmits an update program or data for the program or data stored in the in-vehicle control device to the in-vehicle relay device via the data transfer unit, and
The in-vehicle communication system according to claim 1, wherein the in-vehicle relay device includes an update program transmission processing unit that transmits an update program or data received from the update device to an in-vehicle control device to be updated. .
を特徴とする請求項2に記載の車載通信システム。 The in-vehicle communication system according to claim 2, wherein the data transfer unit is a connector to which the update device is detachably connected by wire.
を特徴とする請求項2に記載の車載通信システム。 The in-vehicle communication system according to claim 2, wherein the data exchange unit is a wireless communication device that performs wireless communication with the update device.
前記更新装置は、前記データ授受部及び前記通信線を介して前記複数の車載中継装置へ更新用のプログラム又はデータを送信すること
を特徴とする請求項2乃至請求項4のいずれか1つに記載の車載通信システム。 A communication line for connecting the data transfer unit and the plurality of in-vehicle relay devices;
The update device transmits an update program or data to the plurality of in-vehicle relay devices via the data transfer unit and the communication line. The in-vehicle communication system described.
自身の通信支線に接続された車載制御装置を更新対象とする更新用のプログラム又はデータを前記更新装置から前記データ授受部及び前記通信線を介して受信した場合に、受信した更新用のプログラム又はデータを更新対象の車載制御装置へ送信し、
自身の通信支線に接続された車載制御装置以外を更新対象とする更新用のプログラム又はデータを受信した場合に、受信した更新用のプログラム又はデータを破棄すること
を特徴とする請求項5に記載の車載通信システム。 The update program transmission processing unit of each in-vehicle relay device is
When an update program or data for updating an in-vehicle control device connected to its own communication branch line is received from the update device via the data transfer unit and the communication line, the received update program or Send the data to the in-vehicle controller to be updated,
6. The received update program or data is discarded when an update program or data other than an in-vehicle control device connected to its own communication branch line is received. In-vehicle communication system.
車載制御装置が記憶しているプログラム又はデータに対する更新用のプログラム又はデータを更新装置から受信する受信部と、
前記受信部が受信した更新用のプログラム又はデータを、前記通信線を介して更新対象の車載制御装置へ送信する更新用プログラム送信処理部と
を備え、
前記更新用プログラム送信処理部は、
前記通信線に接続された車載制御装置を更新対象とする更新用のプログラム又はデータを前記受信部が受信した場合に、受信した更新用のプログラム又はデータを更新対象の車載制御装置へ送信し、
前記通信線に接続された車載制御装置以外を更新対象とする更新用のプログラム又はデータを受信した場合に、受信した更新用のプログラム又はデータを破棄すること
を特徴とする車載中継装置。 In an in-vehicle relay device that relays communication between multiple communication lines,
A receiving unit for receiving a program or data for updating a program or data stored in the in-vehicle control device from the updating device;
An update program transmission processing unit that transmits the update program or data received by the reception unit to the in-vehicle control device to be updated via the communication line, and
The update program transmission processing unit includes:
When the receiving unit receives an update program or data for updating an in-vehicle control device connected to the communication line, the received update program or data is transmitted to the in-vehicle control device for update,
An in-vehicle relay device that discards the received update program or data when receiving an update program or data other than the in-vehicle control device connected to the communication line.
車載制御装置が記憶しているプログラム又はデータに対する更新用のプログラム又はデータを更新装置から受信し、
前記通信線に接続された車載制御装置を更新対象とする更新用のプログラム又はデータを受信した場合に、受信した更新用のプログラム又はデータを更新対象の車載制御装置へ送信し、
前記通信線に接続された車載制御装置以外を更新対象とする更新用のプログラム又はデータを受信した場合に、受信した更新用のプログラム又はデータを破棄する処理を実行させることを特徴とする中継プログラム。 For in-vehicle relay devices that relay communications between multiple communication lines,
An update program or data for the program or data stored in the in-vehicle control device is received from the update device,
When receiving an update program or data for updating an in-vehicle control device connected to the communication line, the received update program or data is transmitted to the in-vehicle control device for update,
A relay program that, when receiving an update program or data other than an in-vehicle control device connected to the communication line, performs processing to discard the received update program or data .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017124148A JP2019009639A (en) | 2017-06-26 | 2017-06-26 | On-vehicle communication system, on-vehicle relay device, and relay program |
PCT/JP2018/024123 WO2019004173A1 (en) | 2017-06-26 | 2018-06-26 | In-vehicle communication system, in-vehicle relay device, and relay program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017124148A JP2019009639A (en) | 2017-06-26 | 2017-06-26 | On-vehicle communication system, on-vehicle relay device, and relay program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019009639A true JP2019009639A (en) | 2019-01-17 |
Family
ID=64743000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017124148A Pending JP2019009639A (en) | 2017-06-26 | 2017-06-26 | On-vehicle communication system, on-vehicle relay device, and relay program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2019009639A (en) |
WO (1) | WO2019004173A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021068605A (en) * | 2019-10-24 | 2021-04-30 | パナソニックIpマネジメント株式会社 | Induction heating cooker |
CN114902307A (en) * | 2020-01-21 | 2022-08-12 | 株式会社自动网络技术研究所 | In-vehicle wireless communication device, wireless communication system, wireless communication device, and vehicle control method |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7230636B2 (en) | 2019-03-27 | 2023-03-01 | 株式会社オートネットワーク技術研究所 | In-vehicle communication system and in-vehicle repeater |
JP7230760B2 (en) | 2019-09-30 | 2023-03-01 | トヨタ自動車株式会社 | Relay device and external device |
JP2021145162A (en) * | 2020-03-10 | 2021-09-24 | 本田技研工業株式会社 | Communication control system |
CN115051975A (en) * | 2021-02-26 | 2022-09-13 | 威马智慧出行科技(上海)股份有限公司 | ECU remote upgrading method based on vehicle-mounted Ethernet |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4942261B2 (en) * | 2001-07-31 | 2012-05-30 | 株式会社デンソー | Vehicle relay device and in-vehicle communication system |
JP6413260B2 (en) * | 2014-02-28 | 2018-10-31 | 沖電気工業株式会社 | Wireless communication apparatus and wireless communication system |
JP6435925B2 (en) * | 2015-03-04 | 2018-12-12 | 株式会社デンソー | Service providing system, ECU, and external device |
JP6281535B2 (en) * | 2015-07-23 | 2018-02-21 | 株式会社デンソー | Relay device, ECU, and in-vehicle system |
-
2017
- 2017-06-26 JP JP2017124148A patent/JP2019009639A/en active Pending
-
2018
- 2018-06-26 WO PCT/JP2018/024123 patent/WO2019004173A1/en active Application Filing
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021068605A (en) * | 2019-10-24 | 2021-04-30 | パナソニックIpマネジメント株式会社 | Induction heating cooker |
CN114902307A (en) * | 2020-01-21 | 2022-08-12 | 株式会社自动网络技术研究所 | In-vehicle wireless communication device, wireless communication system, wireless communication device, and vehicle control method |
Also Published As
Publication number | Publication date |
---|---|
WO2019004173A1 (en) | 2019-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2019009639A (en) | On-vehicle communication system, on-vehicle relay device, and relay program | |
WO2018079385A1 (en) | Vehicle-mounted device determination system and information collecting device | |
WO2014148003A1 (en) | Program rewrite system for onboard electronic control device and onboard relay device | |
US11354112B2 (en) | On-board update device, update process method, and update process program | |
JP7192415B2 (en) | Program update system and update processing program | |
JP5500153B2 (en) | Vehicle communication device and vehicle data communication system using the vehicle communication device | |
WO2014057643A1 (en) | Relay device | |
JP2010258990A (en) | Control system and control program updating method | |
JP5672275B2 (en) | Network system | |
WO2018088505A1 (en) | In-vehicle update system, in-vehicle update apparatus, and gateway | |
JP6060782B2 (en) | Relay device | |
WO2010004765A1 (en) | Relay apparatuses, communication system, and communication method | |
US11340888B2 (en) | Relay device and external device | |
US10250434B2 (en) | Electronic control apparatus | |
CN115336233B (en) | In-vehicle relay device, information processing method, and program | |
JP7310570B2 (en) | In-vehicle update device, program, and program update method | |
JP2002026924A (en) | Data repeater and multiplex communication system | |
WO2014007067A1 (en) | Communication system, relay apparatus and communication apparatus | |
WO2019221058A1 (en) | Vehicle-mounted relay device, communication system, bus determination method, and computer program | |
JP2019202605A (en) | On-vehicle communication device and communication method | |
JP7211189B2 (en) | Update processing system and update processing method | |
CN114128222A (en) | Relay device system | |
JP7081415B2 (en) | Communication equipment, communication methods, and communication programs | |
JP2014015142A (en) | In-vehicle control system | |
JP6900254B2 (en) | In-vehicle network relay device and relay method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180625 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20180625 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20180625 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180703 |