JP6540550B2 - Relay apparatus and communication system - Google Patents

Relay apparatus and communication system Download PDF

Info

Publication number
JP6540550B2
JP6540550B2 JP2016039006A JP2016039006A JP6540550B2 JP 6540550 B2 JP6540550 B2 JP 6540550B2 JP 2016039006 A JP2016039006 A JP 2016039006A JP 2016039006 A JP2016039006 A JP 2016039006A JP 6540550 B2 JP6540550 B2 JP 6540550B2
Authority
JP
Japan
Prior art keywords
communication
communication line
relay
ethernet
data
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.)
Active
Application number
JP2016039006A
Other languages
Japanese (ja)
Other versions
JP2016195384A (en
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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Publication of JP2016195384A publication Critical patent/JP2016195384A/en
Application granted granted Critical
Publication of JP6540550B2 publication Critical patent/JP6540550B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、データを中継する技術に関する。   The present invention relates to a technique for relaying data.

従来、車両において、制御対象の制御を行う電子制御装置等の車載機器同士を通信線で相互に接続して、車載機器間でデータ通信を行う技術が知られている。該技術において、例えば、CAN(登録商標、Controller Area Network)が代表的な通信方式として知られている。   2. Description of the Related Art Conventionally, in vehicles, there has been known a technique for mutually connecting in-vehicle devices such as an electronic control device for controlling a control target with a communication line to perform data communication between the in-vehicle devices. In the technology, for example, CAN (registered trademark, Controller Area Network) is known as a representative communication method.

電子制御装置(以下、適宜ECU(Electronic Control Unit)と略す。)は、その制御
機能に応じて、パワートレイン系、シャーシ系、ボディ系というような、大まかな制御区分にグループ化される。それぞれの制御機能を実現するためには、同一の制御区分に属する電子制御装置間で互いにデータ通信が行われることが望ましい。特許文献1では、同一の制御区分に属する電子制御装置同士を共通の通信線で接続して互いにデータ通信を行わせる技術が提案されている。
An electronic control unit (hereinafter, appropriately abbreviated as an ECU (Electronic Control Unit)) is grouped into rough control sections such as a power train system, a chassis system, and a body system according to its control function. In order to realize each control function, it is desirable that data communication is performed between electronic control units belonging to the same control section. Patent Document 1 proposes a technology in which electronic control devices belonging to the same control section are connected by a common communication line to perform data communication with each other.

特開2010−215008号公報JP, 2010-215008, A

しかしながら、車両内において、同一の制御区分に属するECUが互いに近くに配置されるとは限らない。例えば、ボディ系に属するECUの場合であれば、エンジンルームの開閉を制御するECUはエンジンルームに配置され、車両ドアの開閉を制御するECUは車室に配置され、トランクルームの開閉を制御するECUはトランクルームに配置される、という具合である。すなわち、同一の制御区分に属していても、それぞれのECUは車両内の互いに離れた場所に配置され得る。このため、引用文献1に記載の技術では、制御区分ごとに長い通信線を、すなわち複数の長い通信線を必要とするという問題があった。   However, in the vehicle, ECUs belonging to the same control section are not necessarily arranged close to each other. For example, in the case of an ECU belonging to the body system, the ECU controlling the opening and closing of the engine room is disposed in the engine room, the ECU controlling the opening and closing of the vehicle door is disposed in the compartment, and the ECU controlling the opening and closing of the trunk Are placed in the boot room, and so on. That is, even if they belong to the same control segment, the respective ECUs can be arranged at different places in the vehicle. For this reason, the technique described in Patent Document 1 has a problem that a long communication line, that is, a plurality of long communication lines, is required for each control section.

本発明は、複数の長い通信線を用いること無く、同一の制御区分に属する電子制御装置同士を相互に通信可能に接続する新たな技術を提供することを目的としている。   An object of the present invention is to provide a new technique for communicably connecting electronic control devices belonging to the same control section without using a plurality of long communication lines.

本発明の一側面は、中継装置であって、該中継装置は、他の中継装置が接続される第1通信線と、データの送信元または送信先となる電子制御装置が接続される1または複数の第2通信線とが接続され、第1通信線および第2通信線との間でデータの中継を行う。第2通信線には予め通信線毎に、該通信線に接続される前記電子制御装置が有する機能の区分を表す制御区分情報が付されている。中継装置は、第1中継手段と、第2中継手段と、を備える。第1中継手段は、第2通信線からデータを受けると、データを受けた通信線に対応する制御区分情報を付して第1通信線にデータを中継する。第2中継手段は、第1通信線から制御区分情報が付されたデータを受信すると、第2通信線のうちの制御区分情報が対応する通信線にデータを中継する。   One aspect of the present invention is a relay device, wherein the relay device is connected to a first communication line to which another relay device is connected, and to an electronic control device which is a transmission source or a transmission destination of data. A plurality of second communication lines are connected, and relay of data is performed between the first communication line and the second communication line. Control division information representing the division of the function of the electronic control unit connected to the communication line is attached to the second communication line in advance for each communication line. The relay device includes a first relay unit and a second relay unit. When receiving the data from the second communication line, the first relay means relays the data to the first communication line, with control classification information corresponding to the communication line that received the data. The second relay means relays the data to the communication line corresponding to the control classification information of the second communication lines when the data to which the control classification information is added is received from the first communication line.

このような構成によれば、本発明の中継装置は、当該中継装置の第2通信線に接続された電子制御装置と、他の中継装置に接続された第2通信線であって制御区分情報が対応する第2通信線に接続された電子制御装置との間で、データの中継を行うことができる。換言すれば、本発明の中継装置は、接続される第2通信線の制御区分情報に基づいて、他の
中継装置に接続された電子制御装置であっても同一の制御区分に属する電子制御装置であれば、これらの電子制御装置を相互に通信可能に接続することができる。そして、本発明の中継装置によれば、他の中継装置とは1つの第1通信線によって接続されるため、複数の長い通信線を用いること無く、同一の制御区分に属する電子制御装置同士を相互に通信可能に接続することができる。
According to such a configuration, the relay device of the present invention is the electronic control device connected to the second communication line of the relay device and the second communication line connected to another relay device, and the control section information Can relay data with the electronic control unit connected to the corresponding second communication line. In other words, the relay device of the present invention is an electronic control device belonging to the same control segment even if the electronic control device is connected to another relay device based on the control segment information of the connected second communication line. These electronic control units can be communicably connected to each other. Then, according to the relay device of the present invention, since the other relay devices are connected by one first communication line, the electronic control devices belonging to the same control section can be connected without using a plurality of long communication lines. They can be communicably connected to each other.

なお、特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本発明の技術的範囲を限定するものではない。   In addition, the code | symbol in the parentheses described in the claim shows correspondence with the specific means as described in embodiment mentioned later as one aspect, Comprising: The technical scope of this invention is limited. is not.

通信システムの構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of a communication system. GW装置の構成の一例を示すブロック図。FIG. 2 is a block diagram showing an example of the configuration of a GW apparatus. (a)はGW装置11についての変換テーブルの一例を示す図であり、(b)はGW装置12についての変換テーブルの一例を示す図であり、(c)はGW装置13についての変換テーブルの一例を示す図。(A) is a diagram showing an example of a conversion table for the GW apparatus 11, (b) is a diagram showing an example of a conversion table for the GW apparatus 12, (c) is a diagram showing a conversion table for the GW apparatus 13. The figure which shows an example. ECUの構成の一例を示すブロック図。FIG. 2 is a block diagram showing an example of the configuration of an ECU. イーサネット通信フレームのフレーム構成を示す図。The figure which shows the frame configuration of the Ethernet communication frame. スイッチングハブにおけるVLANテーブルの一例を示す図。The figure which shows an example of the VLAN table in a switching hub. GW装置が実行する中継処理の一例を示す図。The figure which shows an example of the relay process which GW apparatus performs. CAN通信フレームとイーサネット通信フレームとの変換を説明する図。The figure explaining conversion with CAN communication frame and Ethernet communication frame. (a)は本実施形態を適用した場合の通信システムにおける配線の一例を示す図であり、(b)は本実施形態を適用しない場合の通信システムにおける配線の一例を示す図。(A) is a figure which shows an example of wiring in the communication system at the time of applying this embodiment, (b) is a figure which shows an example of wiring in the communication system at the time of not applying this embodiment.

以下、本発明が適用された実施形態について、図面を用いて説明する。
[1.構成]
[1―1.全体構成]
はじめに、図1に示す通信システム1の全体構成について説明する。通信システム1は、車両に搭載されたシステムであって、ゲートウェイ装置(以下、GW装置)11、12、13と、電子制御装置(以下ECU)21a〜21d、22a〜22d、23a〜23d、24a〜24dと、25a〜25dと、スイッチングハブ31と、を備える。なお以下では、特に個々を区別する必要がない場合は、ECU21a〜21dをECU21というように、添え字を省略して記載する。
Hereinafter, embodiments to which the present invention is applied will be described using the drawings.
[1. Constitution]
[1-1. overall structure]
First, the entire configuration of the communication system 1 shown in FIG. 1 will be described. The communication system 1 is a system mounted on a vehicle, and includes gateway devices (hereinafter, GW devices) 11, 12, 13 and electronic control devices (hereinafter, ECUs) 21a through 21d, 22a through 22d, 23a through 23d, 24a. To 24d, 25a to 25d, and a switching hub 31. In the following, when it is not necessary to distinguish the individual ones, the suffixes of the ECUs 21a to 21d will be omitted, such as the ECU 21.

各ECU21a〜25dは、それぞれ、図示していないアクチュエータを制御対象として、該アクチュエータの制御を行うことによって、割り当てられた制御機能を実現する。各ECU21a〜25dは、その制御機能に応じて、パワートレイン系、シャーシ系、ボディ系、エンターテイメント系というような、車両における制御機能を大まかに分類した制御区分にグループ化される。以下では、各ECU21a〜25dが、制御区分A及び制御区分Bの2つの制御区分のいずれかにグループ化される場合について説明する。なお、各ECUのグループ化はこれに限るものではなく、3以上の複数の制御区分にグループ化されてもよい。   Each of the ECUs 21 a to 25 d implements an assigned control function by controlling an actuator (not shown) as a control target. Each of the ECUs 21a to 25d is grouped into control sections roughly classified into control functions in the vehicle, such as a power train system, a chassis system, a body system, and an entertainment system, according to the control functions. Below, the case where each of the ECUs 21a to 25d is grouped into one of the two control categories of control category A and control category B will be described. The grouping of the ECUs is not limited to this, and may be grouped into three or more control categories.

車両内は、一般に、エンジンルーム、乗員室(キャビン)、トランクルームというように、複数の区画に区分けされており、GW装置11〜13は、それぞれ異なる区画に配置される。例えば、GW装置11がエンジンルームに配置され、GW装置12がキャビンに配置され、GW装置13がトランクルームに配置される、という具合である。なお、以下では、車両内において区分けされた区画のことをコンパートメントという。GW装置11
〜13は、それぞれ、第1通信線と、1または複数の第2通信線と接続され、他の中継装置に接続される第1通信線およびECUに接続される第2通信線との間でデータの中継を行う。
The inside of the vehicle is generally divided into a plurality of sections, such as an engine room, a passenger compartment (cabin), and a trunk room, and the GW apparatuses 11 to 13 are disposed in different sections. For example, the GW apparatus 11 is disposed in the engine room, the GW apparatus 12 is disposed in the cabin, and the GW apparatus 13 is disposed in the trunk room. In the following, compartments divided in the vehicle are referred to as compartments. GW device 11
To 13 are respectively connected between the first communication line and one or more second communication lines, and between the first communication line connected to the other relay device and the second communication line connected to the ECU Relay data.

具体的には、GW装置11は、第1通信線41と、第2通信線51〜52と接続され、第1通信線41と第2通信線51又は52との間でデータの中継を行う。GW装置12は、第1通信線43と、第2通信線53と接続され、第1通信線43と第2通信線53との間でデータの中継を行う。GW装置13は、第1通信線43と、第2通信線54〜55と接続され、第1通信線44と第2通信線54又は55との間でデータの中継を行う。   Specifically, the GW apparatus 11 is connected to the first communication line 41 and the second communication lines 51 to 52, and relays data between the first communication line 41 and the second communication line 51 or 52. . The GW device 12 is connected to the first communication line 43 and the second communication line 53, and relays data between the first communication line 43 and the second communication line 53. The GW device 13 is connected to the first communication line 43 and the second communication lines 54 to 55, and relays data between the first communication line 44 and the second communication line 54 or 55.

またGW装置11、12、13は、第2通信線51〜52、53、54〜55によって、同一の制御区分に属する1または複数のECUと接続される。
具体的には、GW装置11は、第2通信線51によって制御区分Aに属するECU21a〜21dと接続され、第2通信線52によって制御区分Bに属するECU22a〜22dと接続される。GW装置12は、第2通信線53によって制御区分Bに属するECU23a〜23dと接続される。GW装置13は、第2通信線54によって制御区分Aに属するECU24a〜24dと接続され、第2通信線55によって制御区分Bに属するECU25a〜25dと接続される。
Also, the GW devices 11, 12, 13 are connected to one or more ECUs belonging to the same control section by the second communication lines 51 to 52, 53, 54 to 55.
Specifically, the GW apparatus 11 is connected to the ECUs 21a to 21d belonging to the control section A by the second communication line 51, and connected to the ECUs 22a to 22d belonging to the control section B by the second communication line 52. The GW device 12 is connected to the ECUs 23 a to 23 d belonging to the control section B by the second communication line 53. The GW device 13 is connected to the ECUs 24a to 24d belonging to the control section A by the second communication line 54, and is connected to the ECUs 25a to 25d belonging to the control section B by the second communication line 55.

またGW装置11、12、13は、それぞれ第1通信線41、42、43によってスイッチングハブ31に接続される。GW装置11、12、13は、スイッチングハブ31を介在させて、第1通信線41、42、43によってそれぞれ他のGW装置と接続される。   The GW devices 11, 12, 13 are connected to the switching hub 31 by first communication lines 41, 42, 43, respectively. The GW devices 11, 12, 13 are connected to other GW devices via the first communication lines 41, 42, 43 with the switching hub 31 interposed therebetween.

ここでは、第2通信線51〜55は、CANを通信方式とする通信を行うためのものである。一方、第1通信線41〜43及びスイッチングハブ31は、イーサネット(登録商標、Ethernet)を通信方式とする通信を行うためのものである。   Here, the second communication lines 51 to 55 are for performing communication using CAN as the communication method. On the other hand, the first communication lines 41 to 43 and the switching hub 31 are for performing communication using Ethernet (registered trademark, Ethernet) as a communication method.

[1―2.ゲートウェイ装置]
GW装置11〜13は、1つの第2通信線に接続されるか、複数の第2通信線に接続されるか、換言すれば、1つの制御区分に属するECUが接続されるか、複数の制御区分に属するECUが接続されるか、という点が異なる以外は同様の構成である。このため、以下では、主にGW装置11の構成について説明し、GW装置12及びGW装置13については相違点についてのみ説明する。
[1-2. Gateway device]
The GW apparatuses 11 to 13 are connected to one second communication line or to a plurality of second communication lines, in other words, to which ECUs belonging to one control section are connected or a plurality of GW apparatuses are connected. The configuration is the same except that the ECU belonging to the control section is connected or not. Therefore, hereinafter, the configuration of the GW apparatus 11 will be mainly described, and only differences between the GW apparatus 12 and the GW apparatus 13 will be described.

GW装置11は、前述のように複数の制御区分に属するECUが接続されるGW装置であり、図2に示すように、CAN通信部111、112と、イーサネット通信部113と、情報記録部114と、GW制御部115とを備える。   The GW apparatus 11 is a GW apparatus to which ECUs belonging to a plurality of control sections are connected as described above, and as shown in FIG. 2, the CAN communication units 111 and 112, the Ethernet communication unit 113, and the information recording unit 114. And the GW control unit 115.

CAN通信部111、112は、GW装置11に接続される第2通信線51、52ごとに設けられている。CAN通信部111は第2通信線51に接続され、CAN通信部112は第2通信線52に接続される。CAN通信部111、112は、CANプロトコルに従った通信フレームの送受信を実行する周知のものであり、同様の構成である。CAN通信部111について説明すると、CAN通信部111は、GW制御部115から出力されたCAN通信フレームをCANで規定された電気信号に変換し、該電気信号を第2通信線51へ出力する。また、第2通信線51を介して受信したCAN通信フレームをGW制御部115へ出力する。   The CAN communication units 111 and 112 are provided for each of the second communication lines 51 and 52 connected to the GW apparatus 11. The CAN communication unit 111 is connected to the second communication line 51, and the CAN communication unit 112 is connected to the second communication line 52. The CAN communication units 111 and 112 are known components that execute transmission and reception of communication frames according to the CAN protocol, and have the same configuration. The CAN communication unit 111 converts the CAN communication frame output from the GW control unit 115 into an electrical signal defined by CAN, and outputs the electrical signal to the second communication line 51. Also, the CAN communication frame received via the second communication line 51 is output to the GW control unit 115.

なお、GW装置12は第2通信線53に接続されたCAN通信部を備え、GW装置13は第2通信線54に接続されたCAN通信部と第2通信線55に接続されたCAN通信部とを備える。   The GW apparatus 12 includes a CAN communication unit connected to the second communication line 53, and the GW apparatus 13 includes a CAN communication unit connected to the second communication line 54 and a CAN communication unit connected to the second communication line 55. And

イーサネット通信部113は、イーサネットプロトコルに従った通信フレームの送受信を実行する周知のものである。イーサネット通信部113は、GW制御部115から出力されたイーサネット通信フレームをイーサネットで規定された電気信号に変換し、該電気信号を第1通信線41へ出力する。また、第1通信線41を介して受信したイーサネット通信フレームをGW制御部115へ出力する。   The Ethernet communication unit 113 is a known device that executes transmission and reception of communication frames according to the Ethernet protocol. The Ethernet communication unit 113 converts the Ethernet communication frame output from the GW control unit 115 into an electrical signal defined by Ethernet, and outputs the electrical signal to the first communication line 41. Also, the Ethernet communication frame received via the first communication line 41 is output to the GW control unit 115.

情報記録部114は、EEPROMやフラッシュROM等の書き換え可能な記録装置である。情報記録部114には、GW制御部115においてCAN通信部111、112に接続される端子、換言すれば、GW11において第2通信線51及び第1通信線52が接続される端子と、該端子に接続された第2通信線51、52が属する制御区分との対応関係が記録されている。   The information recording unit 114 is a rewritable recording device such as an EEPROM or a flash ROM. The information recording unit 114 is a terminal connected to the CAN communication units 111 and 112 in the GW control unit 115, in other words, a terminal to which the second communication line 51 and the first communication line 52 are connected in the GW 11, and the terminal The correspondence relationship with the control section to which the second communication lines 51 and 52 connected to are connected is recorded.

制御区分とは、第2通信線のそれぞれに接続される電子制御装置が有する機能の区分を表す。
具体的には、一例として、制御区分Aに対しては「30」、制御区分Bに対しては「40」というように、制御区分ごとに制御区分情報が付されるものとする。
The control section represents a section of the function of the electronic control unit connected to each of the second communication lines.
Specifically, as an example, control classification information is attached to each control classification such as "30" for control classification A and "40" for control classification B.

制御区分情報とは、制御区分を識別するための情報であり、本実施形態では、前述の「30」、「40」というような番号(以下、識別番号)で表されている。ただし、これに限定されるものではなく、制御区分情報は、予め定められた記号や名称等で表されてもよい。以下では、識別番号で表された制御区分情報を制御区分IDという。   The control classification information is information for identifying the control classification, and is represented by numbers (hereinafter, identification numbers) such as “30” and “40” in the present embodiment. However, the present invention is not limited to this, and the control classification information may be represented by a predetermined symbol or name. Below, control classification information represented by an identification number is called control classification ID.

そして、GW装置11にて第2通信線51、52が接続される端子を、それぞれ第1チャネル端子P1、第2チャネル端子P2というものとする。GW装置11におけるチャネルと制御区分IDとの対応関係は、図3(a)に示すような変換テーブルとして、情報記録部114に記録されている。   The terminals to which the second communication lines 51 and 52 are connected in the GW apparatus 11 are referred to as a first channel terminal P1 and a second channel terminal P2, respectively. The correspondence relationship between the channel in the GW apparatus 11 and the control section ID is recorded in the information recording unit 114 as a conversion table as shown in FIG. 3A.

なお、同様に、GW装置12にて第2通信線53が接続される端子を第3チャネル端子P3といい、GW装置13にて第2通信線54、55が接続される端子を、それぞれ第4チャネル端子P4、第5チャネル端子P5というものとする(図1参照)。GW装置12、13における各チャネル端子と制御区分IDとの対応関係を表す変換テーブルの一例を、図3(b)、図3(c)に示す。   Similarly, a terminal to which the second communication line 53 is connected in the GW apparatus 12 is referred to as a third channel terminal P3, and terminals to which the second communication lines 54 and 55 are connected in the GW apparatus 13 are Suppose that it is called 4 channel terminal P4 and 5th channel terminal P5 (refer FIG. 1). An example of the conversion table showing the correspondence between each channel terminal and the control section ID in the GW apparatuses 12 and 13 is shown in FIG. 3 (b) and FIG. 3 (c).

すなわち、それぞれの第2通信線51〜55には、図3(a)〜図3(c)に示すように、予め、通信線毎に、制御区分情報としての制御区分IDが付されている。
図2に戻り説明を続ける。GW制御部115は、CPU501、ROM502、RAM503等を有する周知のマイクロコンピュータであり、予めROM502に記録されたプログラムに従って、少なくとも、CAN通信処理と、イーサネット通信処理と、中継処理とを実行する。CAN通信処理は、第2通信線51、及び第2通信線52を介したCANプロトコルに従ったCAN通信を実現する処理であり、イーサネット通信処理は、第1通信線41を介したイーサネットプロトコルに従ったイーサネット通信を実現する処理である。CAN通信処理及びイーサネット通信処理は周知であるため、ここでは説明を省略する。中継処理は、第1通信線41を介して受信したデータの第2通信線51、52への中継と、第2通信線51、52を介して受信したデータの第1通信線41への中継と、を実現する処理である。中継処理については後述する。
That is, as shown in FIGS. 3 (a) to 3 (c), a control segment ID as control segment information is attached to each of the second communication lines 51 to 55 in advance as shown in FIGS. .
Returning to FIG. 2, the explanation will be continued. The GW control unit 115 is a well-known microcomputer having a CPU 501, a ROM 502, a RAM 503, and the like, and executes at least CAN communication processing, Ethernet communication processing, and relay processing according to a program stored in advance in the ROM 502. The CAN communication process is a process for realizing CAN communication according to the CAN protocol via the second communication line 51 and the second communication line 52, and the Ethernet communication process is performed using the Ethernet protocol via the first communication line 41. It is processing to realize Ethernet communication according to. Since CAN communication processing and Ethernet communication processing are well known, the description is omitted here. The relay processing includes relaying data received via the first communication line 41 to the second communication lines 51 and 52, and relaying data received via the second communication lines 51 and 52 to the first communication line 41. And processing. The relay process will be described later.

[1―3.ECU]
図1に戻り説明を続ける。ECU21a〜25dは同様の構成であるため、ここではECU21aの構成について説明する。ECU21aは、図4に示すように、CAN通信部211とECU制御部212とを備える。CAN通信部211は、第2通信線51に接続され、第2通信線51を介して、第2通信線51に接続された他のECU21b〜21d及びGW装置11との間で、CAN通信を行う。ECU制御部212は、CPU201、ROM202、RAM203を有する周知のマイクロコンピュータであり、図示しないアクチュエータの制御を行うことによって、割り当てられた制御機能を実現する。
[1-3. ECU]
Returning to FIG. 1, the explanation will be continued. Since the ECUs 21a to 25d have the same configuration, the configuration of the ECU 21a will be described here. The ECU 21a includes a CAN communication unit 211 and an ECU control unit 212, as shown in FIG. The CAN communication unit 211 is connected to the second communication line 51, and performs CAN communication with the other ECUs 21b to 21d and the GW apparatus 11 connected to the second communication line 51 via the second communication line 51. Do. The ECU control unit 212 is a known microcomputer having a CPU 201, a ROM 202, and a RAM 203, and realizes an assigned control function by controlling an actuator (not shown).

[1−4.スイッチングハブ]
図1に戻り説明を続ける。スイッチングハブ31は、第1通信線41〜43における通信、すなわちイーサネット通信におけるデータの中継を行う装置である。スイッチングハブ31は接続端子L1〜L3を備え、それぞれの接続端子は第1通信線を介して各GW装置に接続される。具体的には、スイッチングハブ31は、接続端子L1において第1通信線41を介してGW装置11に接続され、接続端子L2において第1通信線42を介して
GW装置12に接続され、接続端子L3において第1通信線43を介してGW装置13に接続される。
[1-4. Switching hub]
Returning to FIG. 1, the explanation will be continued. The switching hub 31 is a device that relays data in communication in the first communication lines 41 to 43, that is, Ethernet communication. The switching hub 31 includes connection terminals L1 to L3. Each connection terminal is connected to each GW apparatus via the first communication line. Specifically, the switching hub 31 is connected to the GW apparatus 11 via the first communication line 41 at the connection terminal L1, and connected to the GW apparatus 12 via the first communication line 42 at the connection terminal L2, and the connection terminal It is connected to the GW apparatus 13 via the first communication line 43 at L3.

本実施形態では、スイッチングハブ31は、IEEE802.1Qで規定されたVLAN(Virtual LAN)という手法におけるタグベースVLANに対応のスイッチングハブで
ある。該スイッチングハブ31は、図5に示すようなイーサネット通信フレームを受信すると、該イーサネット通信フレームのタグ・フレーム領域に含まれるVLAN_IDに基づいて、受信したイーサネット通信フレームの送り先を特定する。そして、特定した送り先へ、受信したイーサネット通信フレームを送信する。
In the present embodiment, the switching hub 31 is a switching hub compatible with a tag-based VLAN in a method called VLAN (Virtual LAN) defined by IEEE 802.1Q. When the switching hub 31 receives an Ethernet communication frame as shown in FIG. 5, the switching hub 31 specifies the destination of the received Ethernet communication frame based on the VLAN_ID included in the tag frame area of the Ethernet communication frame. Then, the received Ethernet communication frame is transmitted to the specified destination.

具体的には、スイッチングハブ31は、受信したイーサネット通信フレームの送り先を特定するために、一例として図6に示すような、VLAN_IDと接続端子L1〜L3との対応を表すVLANテーブルを、スイッチングハブ31が備える記録部に記録している。本実施形態では、前述の制御区分情報、すなわち、制御区分ごとの識別番号である制御区分IDをVLAN_IDとして用いる。   Specifically, in order to specify the destination of the received Ethernet communication frame, the switching hub 31 as an example shows a VLAN table representing the correspondence between the VLAN_ID and the connection terminals L1 to L3 as shown in FIG. 31 is recorded in the recording unit. In the present embodiment, the above-mentioned control segment information, that is, a control segment ID which is an identification number for each control segment is used as VLAN_ID.

一例として、スイッチングハブ31が、接続端子L1からイーサネット通信フレームを受信し、受信したイーサネット通信フレームのタグ・フレーム領域に含まれるVLAN_IDが「30」であった場合について説明する。この場合、スイッチングハブ31は、VLANテーブルに基づいて、接続端子L3の接続先(第1通信線43)を、受信したイーサネット通信フレームの送り先として特定する。これにより、イーサネット通信フレームは、GW装置11からGW装置13へ中継される。   As an example, the case where the switching hub 31 receives an Ethernet communication frame from the connection terminal L1 and the VLAN_ID included in the tag frame area of the received Ethernet communication frame is "30" will be described. In this case, the switching hub 31 identifies the connection destination (first communication line 43) of the connection terminal L3 as the destination of the received Ethernet communication frame based on the VLAN table. Thus, the Ethernet communication frame is relayed from the GW device 11 to the GW device 13.

また、一例として、スイッチングハブ31が、接続端子L3からイーサネット通信フレームを受信し、受信したイーサネット通信フレームのタグ・フレーム領域に含まれるVLAN_IDが「40」であった場合について説明する。この場合、スイッチングハブ31は、VLANテーブルに基づいて、接続端子L1の接続先(第1通信線41)と接続端子L2の接続先(第1通信線42)を、受信したイーサネット通信フレームの送り先として特定する。これにより、イーサネット通信フレームは、GW装置13からGW装置11及びGW装置12へ中継される。   Also, as an example, the case where the switching hub 31 receives an Ethernet communication frame from the connection terminal L3 and the VLAN_ID included in the tag frame area of the received Ethernet communication frame is “40” will be described. In this case, the switching hub 31 sends the connection destination of the connection terminal L1 (first communication line 41) and the connection destination of the connection terminal L2 (first communication line 42), based on the VLAN table, to the destination of the Ethernet communication frame received. Identify as Thus, the Ethernet communication frame is relayed from the GW device 13 to the GW device 11 and the GW device 12.

つまり、スイッチングハブ31は、受信したイーサネット通信フレームに含まれるVLAN_IDに基づいて、該イーサネット通信フレームを中継可能な送り先と中継可能でない送り先とを分離する機能を備える。イーサネット通信フレームを中継可能な送り先とは、該イーサネット通信フレームの送信元のECUと同じ制御区分に属するECUの接続された中継装置のことである。   That is, the switching hub 31 has a function of separating the relayable destination and the non-relayable destination of the Ethernet communication frame based on the VLAN_ID included in the received Ethernet communication frame. The destination capable of relaying an Ethernet communication frame is a relay device connected to an ECU belonging to the same control section as the ECU of the transmission source of the Ethernet communication frame.

[2.処理]
次に、GW制御部115が実行する中継処理について、図7に示すフローチャートを用いて説明する。中継処理は、ACCオンの間繰り返し実行される処理である。なお以下の説明では、主語が省略されている文については、GW制御部115を主語とする。
[2. processing]
Next, relay processing executed by the GW control unit 115 will be described using the flowchart shown in FIG. The relay process is a process that is repeatedly executed while the ACC is on. In the following description, the GW control unit 115 is the subject of a sentence in which the subject is omitted.

はじめに、S(ステップ)110では、CAN通信フレームを受信したか否かを判断する。CAN通信フレームを受信した場合は処理をS120へ移行させ、受信していない場合は処理をS140へ移行させる。   First, in S (step) 110, it is determined whether a CAN communication frame has been received. If the CAN communication frame is received, the process proceeds to S120. If the CAN communication frame is not received, the process proceeds to S140.

S110にてCAN通信フレームを受信した場合に移行するS120では、情報記録部114に記録された変換テーブル(図3参照)に基づいて、CAN通信フレームを受信したCAN通信部が接続された、GW制御部115の端子に応じた制御区分IDを特定する。つまり、CAN通信部111から第1チャネル端子P1を介してCAN通信フレームを
受信した場合は、「30」を制御区分IDとして特定し、CAN通信部112から第2チャネル端子P2を介してCAN通信フレームを受信した場合は、「40」を制御区分IDとして特定する。
In S120, which is shifted when the CAN communication frame is received in S110, the GW to which the CAN communication unit that has received the CAN communication frame is connected based on the conversion table (see FIG. 3) recorded in the information recording unit 114. The control section ID corresponding to the terminal of the control unit 115 is specified. That is, when a CAN communication frame is received from the CAN communication unit 111 via the first channel terminal P1, “30” is specified as the control segment ID, and CAN communication from the CAN communication unit 112 via the second channel terminal P2 When a frame is received, “40” is specified as the control section ID.

続くS130では、S120にて取得した制御区分IDを用いて、S110にて受信したCAN通信フレームを、イーサネット通信フレームに変換する。具体的には、図8に示すように、イーサネット通信フレームにおけるデータ部に、CAN通信フレームの全てをそのまま含むように、イーサネット通信フレームを生成する。更に、S120にて取得した制御区分ID(図8では「30」)をタグ・フレーム領域のVLAN_IDとして含むように、イーサネット通信フレームを生成する。また、スイッチングハブ31のMACアドレスを宛先MACとして含むように、イーサネット通信フレームを生成する。そして、このように生成したイーサネット通信フレームを、イーサネット通信部113を介してスイッチングハブ31へ出力し、本中継処理を終了する。   In the following S130, the CAN communication frame received in S110 is converted into an Ethernet communication frame using the control segment ID acquired in S120. Specifically, as shown in FIG. 8, the Ethernet communication frame is generated so that the entire CAN communication frame is included as it is in the data portion of the Ethernet communication frame. Furthermore, the Ethernet communication frame is generated so as to include the control segment ID (“30” in FIG. 8) acquired in S120 as the VLAN_ID of the tag frame area. Also, the Ethernet communication frame is generated so that the MAC address of the switching hub 31 is included as the destination MAC. Then, the Ethernet communication frame generated in this manner is output to the switching hub 31 via the Ethernet communication unit 113, and the relay processing is completed.

S110にてCAN通信フレームを受信しなかった場合に移行するS140では、イーサネット通信フレームを受信したか否かを判断する。イーサネット通信フレームを受信した場合は処理をS150へ移行させ、受信していない場合は本中継処理を終了する。   In S140, which is performed when the CAN communication frame is not received in S110, it is determined whether the Ethernet communication frame is received. If the Ethernet communication frame is received, the process proceeds to S150. If not received, the relay process ends.

S140にてイーサネット通信フレームを受信した場合に移行するS150では、イーサネット通信フレームに含まれるデータを中継すべきCAN通信部を特定する。具体的には、イーサネット通信フレームのタグ・フレーム領域に含まれるVLAN_IDの値を取得し、取得したVLAN_IDの値を制御区分IDとして用いて、該制御区分IDに応じた端子を変換テーブル(図3(a))に基づいて特定する。つまり、取得したVLAN_IDの値が「30」であった場合、第1チャネル端子P1に接続されたCAN通信部111を中継先として特定し、取得したVLAN_IDの値が「40」であった場合、第2チャネル端子P2に接続されたCAN通信部112を中継先として特定する。   In S150, which is shifted when an Ethernet communication frame is received in S140, a CAN communication unit to which data included in the Ethernet communication frame is to be relayed is specified. Specifically, the value of VLAN_ID included in the tag / frame area of the Ethernet communication frame is acquired, and using the acquired value of VLAN_ID as a control division ID, a terminal corresponding to the control division ID is converted into a conversion table (FIG. 3). Identify based on (a). That is, when the acquired VLAN_ID value is “30”, the CAN communication unit 111 connected to the first channel terminal P1 is specified as the relay destination, and the acquired VLAN_ID value is “40”. The CAN communication unit 112 connected to the second channel terminal P2 is specified as the relay destination.

続くS160では、変換テーブルに基づいて、受信したイーサネット通信フレームに含まれたVLAN_IDに対応する端子を特定できた否かを判断する。特定できなかった場合、S140にて受信したイーサネット通信フレームを廃棄し、本中継処理を終了する。特定できた場合、処理をS170へ移行させる。なお、本実施形態の場合、VLAN_IDに対応する端子を特定できなかった場合とは、受信したイーサネット通信フレームに含まれたVLAN_IDが「30」及び「40」とは異なる値であった場合をいう。   In the following S160, it is determined based on the conversion table whether or not the terminal corresponding to the VLAN_ID included in the received Ethernet communication frame has been identified. If it can not be identified, the Ethernet communication frame received in S140 is discarded, and the relay process is ended. If it can be identified, the process proceeds to S170. In the case of this embodiment, the case where the terminal corresponding to the VLAN_ID can not be identified means the case where the VLAN_ID included in the received Ethernet communication frame is a value different from “30” and “40”. .

次にS170では、イーサネット通信フレームから、該イーサネット通信フレームのデータ領域に含まれているCAN通信フレームを取得し、取得したCAN通信フレームを、特定した端子に接続されているCAN通信部を介して第2通信線へ出力する。そして、本中継処理を終了する。   Next, in S170, the CAN communication frame included in the data area of the Ethernet communication frame is acquired from the Ethernet communication frame, and the acquired CAN communication frame is transmitted via the CAN communication unit connected to the specified terminal. Output to the second communication line. Then, the relay process ends.

ここで、一例として、制御区分Aに属するECU21aから第1チャネル端子P1を介して受信したCAN通信フレームをイーサネット通信フレームに変換する場合について説明する。この場合、上記S120では、図3(a)に示す変換テーブルに基づいて、「30」が制御区分IDとして特定される。そして、S130では、図8に示すように、データ領域にCAN通信フレームを全て含むように、且つ、タグフレーム領域に制御区分ID「30」をVLAN_IDとして含むように、イーサネット通信フレームが生成される。   Here, as an example, the case of converting a CAN communication frame received from the ECU 21a belonging to the control section A via the first channel terminal P1 into an Ethernet communication frame will be described. In this case, in the above-described S120, "30" is identified as the control segment ID based on the conversion table shown in FIG. 3A. Then, in S130, as shown in FIG. 8, the Ethernet communication frame is generated so that the data area includes all the CAN communication frames, and the tag frame area includes the control division ID “30” as the VLAN_ID. .

[3.効果]
以上詳述した実施形態によれば、以下の効果が得られる。なお以下では、GW装置11による効果を説明するが、GW装置12〜13についても同様の効果が奏される。
[3. effect]
According to the embodiment described above, the following effects can be obtained. In addition, although the effect by the GW apparatus 11 is demonstrated below, the same effect is show | played also about the GW apparatuses 12-13.

[3A]GW装置11は、第2通信線51、52に接続された電子制御装置21、22と、他のGW装置であるGW装置12、13に接続された第2通信線53、54、55であって制御区分情報が対応する第2通信線に接続された電子制御装置との間での、データの中継を行うことができる。換言すれば、GW装置11は、接続される第2通信線の制御区分に基づいて、他のGW装置12、13に接続されたECUであっても同一の制御区分に属するECUであれば、これらの同一の制御区分に属するECUを相互に通信可能に接続することができる。   [3A] The GW apparatus 11 includes the electronic control apparatuses 21 and 22 connected to the second communication lines 51 and 52, and the second communication lines 53 and 54 connected to the GW apparatuses 12 and 13 as other GW apparatuses, Data can be relayed to and from the electronic control unit 55 connected to the second communication line corresponding to the control classification information. In other words, even if the GW apparatus 11 is an ECU connected to another GW apparatus 12 or 13 based on the control category of the second communication line to be connected, it is an ECU belonging to the same control category, ECUs belonging to these same control sections can be communicably connected to each other.

そして、GW装置11は、GW装置12との間を、またGW装置13との間を、それぞれ従来技術よりも短い1つの第1通信線41、43によって接続することができる。つまり、従来技術のような複数の長い通信線を用いること無く、同一の制御区分に属する電子制御装置同士を相互に通信可能に接続することができる。   Then, the GW apparatus 11 can connect with the GW apparatus 12 and with the GW apparatus 13 by one first communication line 41, 43 shorter than the prior art. That is, the electronic control units belonging to the same control section can be communicably connected to each other without using a plurality of long communication lines as in the prior art.

ところで、前述のように、一般に車両内は、エンジンルーム、キャビン、トランクルーム等のように、複数のコンパートメントに区切られており、これらのコンパートメントを区切る区切壁には、通信線(以下、ハーネスという)を通すための極力小さく形成された貫通穴が設けられる。近年の車両においては、車両制御システムにおける制御対象は多岐にわたり多様な場所に設置されるため、制御対象の制御を行うECUのような車載装置も多様な場所に設置される傾向にある。そして、車載装置同士を接続するためのハーネスは、長くなり且つ本数が増加する傾向にある。これらのハーネスの組付性を向上させるためには、短く配線するとともに、異なるコンパートメント間に設置される装置を接続するハーネスの本数を低減することが望ましい。   By the way, as mentioned above, the inside of a vehicle is generally divided into a plurality of compartments, such as an engine room, a cabin, a trunk room, etc., and a communication line (hereinafter referred to as a harness) A through hole formed as small as possible for the passage of In vehicles in recent years, control targets in a vehicle control system are installed in a wide variety of places, so on-vehicle devices such as ECUs that control the control targets tend to be installed in various places. And the harness for connecting vehicle-mounted apparatuses tends to become long and the number increases. In order to improve the assemblability of these harnesses, it is desirable to make the wiring short and reduce the number of harnesses connecting devices installed between different compartments.

図9(a)は、本実施形態を適用した場合の配線の一例を示した図である。図9(a)に示すように本実施形態を適用した場合は、図9(b)に示す本実施形態を適用しない場合よりも、同じコンパートメントにおける同一制御区分に属するECU同士を短く配線できる。また、本実施形態を適用した場合は、異なるコンパートメント間に配置された中継装置を1本のハーネスで接続するため、図9(b)に示す本実施形態を適用しない場合よりも、貫通穴を通って配線される異なるコンパートメント間のハーネスの本数を低減することができる。   FIG. 9A is a view showing an example of wiring in the case where the present embodiment is applied. When the present embodiment is applied as shown in FIG. 9A, ECUs belonging to the same control section in the same compartment can be wired shorter than in the case where the present embodiment shown in FIG. 9B is not applied. Further, in the case where the present embodiment is applied, since the relay device disposed between different compartments is connected by one harness, the through hole is more than the case where the present embodiment shown in FIG. 9B is not applied. The number of harnesses between the different compartments routed through can be reduced.

[3B]本実施形態では、GW装置11と他のGW装置12、13との間での通信方式は、GW装置11とECU21、GW装置11とECU22との間での通信方式よりも、単位時間あたり伝送量の多い通信方式が採用される。具体的には、他のGW装置12、13との間では、イーサネットを通信方式とするデータ通信を行う。イーサネット通信方式によるデータ通信は、ECU21、22との間での通信方式であるCAN通信方式よりも、単位時間あたりの伝送量が非常に大きい。これによれば、頻繁に通信が行われ得る同一の制御区分に属するECU同士の間で、データを、すなわち上記実施形態ではイーサネット通信フレームのデータ領域に含まれるCAN通信フレームそのものを、高速に第1通信線を介して中継することができる。   [3B] In the present embodiment, the communication method between the GW device 11 and the other GW devices 12 and 13 is more unity than the communication method between the GW device 11 and the ECU 21 and between the GW device 11 and the ECU 22. A communication method with a large amount of transmission per hour is adopted. Specifically, data communication is performed with the other GW apparatuses 12 and 13 using Ethernet as a communication method. Data communication by the Ethernet communication system has a much larger amount of transmission per unit time than the CAN communication system which is a communication system with the ECUs 21 and 22. According to this, data can be exchanged between ECUs belonging to the same control section where frequent communication can be performed, that is, in the above embodiment, the CAN communication frame itself contained in the data area of the Ethernet communication frame can be processed at high speed. It can be relayed via one communication line.

[3C]制御区分IDに基づいて定められた値が、イーサネット通信フレームにおけるVLAN_IDの値として用いられる。これによれば、同一の制御区分に属する第2通信線を、換言すれば同一の制御区分に属するECUを、イーサネット通信におけるタグベースVLANという手法を用いて、容易に相互に通信可能に接続することができる。   [3C] A value determined based on the control segment ID is used as the value of VLAN_ID in the Ethernet communication frame. According to this, the second communication lines belonging to the same control section, in other words, ECUs belonging to the same control section are easily communicably connected to each other using a method called tag-based VLAN in Ethernet communication. be able to.

[3D]CAN通信フレームを受信すると、該CAN通信フレームの送信元の属する制御区分に対応する制御区分IDをVLAN_IDとして含み、受信したCAN通信フレームをデータとして含むように、イーサネット通信フレームを生成する。また、VLAN_IDを含むイーサネット通信フレームを受信すると、該イーサネット通信フレームのデー
タ領域に含まれるCAN通信フレームを取得し、該CAN通信フレームをVLAN_IDによって特定される送信先へ送信する。本実施形態では、このようにして、異なる通信プロトコル間のデータの変換を行うことができる。
[3D] When receiving the CAN communication frame, the Ethernet communication frame is generated so that the control section ID corresponding to the control section to which the transmission source of the CAN communication frame belongs belongs as VLAN_ID and the received CAN communication frame as data . Also, when an Ethernet communication frame including VLAN_ID is received, the CAN communication frame included in the data area of the Ethernet communication frame is acquired, and the CAN communication frame is transmitted to the transmission destination specified by the VLAN_ID. In this embodiment, conversion of data between different communication protocols can be performed in this manner.

[3E]GW装置11は、受信したイーサネット通信フレームに含まれるVLAN_IDに基づいて特定した送信先へ該イーサネット通信フレームを送信するスイッチングハブ31を間に介して、第1通信線41によって他のGW装置12、13と接続される。これによれば、スイッチングハブ31を介在させることによって、VLAN_IDによって特定されなかったGW装置へは該イーサネット通信フレームが中継されないため、不要なデータ通信を低減することができる。   [3E] The GW apparatus 11 transmits the Ethernet communication frame to the transmission destination specified based on the VLAN_ID included in the received Ethernet communication frame via the first communication line 41 via another switching hub 31 via the switching hub 31. Connected to the devices 12, 13. According to this, by interposing the switching hub 31, the Ethernet communication frame is not relayed to the GW apparatus not specified by the VLAN_ID, and unnecessary data communication can be reduced.

なお、上記実施形態では、GW装置11(GW装置12、13)が中継装置の一例に相当し、GW制御部115が第1中継手段及び第2中継手段の一例に相当する。また、S130が第1中継手段としての処理の一例に相当し、S170が第2中継手段としての処理の一例に相当する。また、スイッチングハブ31が中継器の一例に相当する。   In the above embodiment, the GW device 11 (GW devices 12 and 13) corresponds to an example of a relay device, and the GW control unit 115 corresponds to an example of a first relay unit and a second relay unit. Moreover, S130 corresponds to an example of the process as a 1st relay means, and S170 corresponds to an example of the process as a 2nd relay means. Also, the switching hub 31 corresponds to an example of a repeater.

[4.他の実施形態]
以上、本発明の実施形態について説明したが、本発明は、上記実施形態に限定されることなく、種々の形態を採り得ることは言うまでもない。
[4. Other embodiments]
As mentioned above, although embodiment of this invention was described, it can not be overemphasized that this invention can take various forms, without being limited to the said embodiment.

[4A]上記実施形態では、タグベースVLANに適応するスイッチングハブ(所謂、L2(レイヤ2)スイッチングハブ)がスイッチングハブ31として用いられていたが、スイッチングハブ31として用いられるハブはこれに限るものではない。VLANに適応するスイッチングハブであればどのようなものであってもよい。また、VLANに適応しないハブを、例えば受信したイーサネット通信フレームを全ての端子に中継するようなリピータハブ等を、スイッチングハブ31として用いても良い。   [4A] In the above embodiment, the switching hub (so-called L2 (layer 2) switching hub) adapted to the tag base VLAN is used as the switching hub 31, but the hub used as the switching hub 31 is limited to this. is not. The switching hub may be any as long as it is a switching hub adapted to the VLAN. Also, a hub that does not adapt to the VLAN, for example, a repeater hub that relays the received Ethernet communication frame to all the terminals may be used as the switching hub 31.

[4B]上記実施形態では、異なる通信方式の通信フレームの変換、具体的には、イーサネット通信フレームとCAN通信フレームとの変換を行っていたが、適用される通信方式はこれに限るものではない。例えば、CANに代えてLIN、FlexRay(登録商標)、CAN−FDといった通信方式の通信フレームと、イーサネット通信フレームとの変換を行うものであってもよい。   [4B] In the above embodiment, conversion of communication frames of different communication methods, specifically conversion of Ethernet communication frame and CAN communication frame, is performed, but the communication method to be applied is not limited to this. . For example, instead of CAN, conversion between a communication frame of a communication method such as LIN, FlexRay (registered trademark), CAN-FD and an Ethernet communication frame may be performed.

[4C]上記実施形態における1つの構成要素が有する機能を複数の構成要素として分散させたり、複数の構成要素が有する機能を1つの構成要素に統合したりしてもよい。また、上記実施形態の構成の少なくとも一部を、同様の機能を有する公知の構成に置き換えてもよい。また、上記実施形態の構成の一部を、課題を解決できる限りにおいて省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加、置換等してもよい。なお、特許請求の範囲に記載の文言から特定される技術思想に含まれるあらゆる態様が本発明の実施形態である。   [4C] The functions of one component in the above embodiment may be distributed as a plurality of components, or the functions of a plurality of components may be integrated into one component. Further, at least a part of the configuration of the above embodiment may be replaced with a known configuration having the same function. Further, part of the configuration of the above embodiment may be omitted as long as the problem can be solved. In addition, at least a part of the configuration of the above-described embodiment may be added to or replaced with the configuration of the other above-described embodiment. In addition, all the aspects contained in the technical thought specified from the wording as described in a claim are embodiment of this invention.

[4D]本発明は、前述したGW装置11(GW装置12、GW装置13)、通信システム1の他、当該GW装置11(GW装置12、GW装置13)としてコンピュータを機能させるためのプログラム、このプログラムを記録した媒体、中継方法など、種々の形態で実現することができる。   [4D] The present invention is a program for causing a computer to function as the GW apparatus 11 (GW apparatus 12, GW apparatus 13) in addition to the GW apparatus 11 (GW apparatus 12, GW apparatus 13) and the communication system 1 described above The present invention can be realized in various forms such as a medium storing the program, a relay method, and the like.

1…通信システム 11、12、13…GW装置 21〜25…ECU 31…スイッチングハブ 41〜43…第1通信線 51〜55…第2通信線、115…GW制御部。   DESCRIPTION OF SYMBOLS 1 ... Communication system 11, 12, 13, ... GW apparatus 21-25 ... ECU 31 ... Switching hub 41-43 ... 1st communication line 51-55 ... 2nd communication line, 115 ... GW control part.

Claims (7)

他の中継装置が接続される第1通信線と、データの送信元または送信先となる電子制御装置が接続される1または複数の第2通信線とが接続され、前記第1通信線および前記第2通信線との間でデータの中継を行う中継装置(11)であって、
前記第2通信線には予め通信線毎に、該通信線に接続される前記電子制御装置が有する機能の区分を表す制御区分情報が付されており、
前記第2通信線からデータを受けると、前記データを受けた通信線に対応する制御区分情報を付して第1通信線にデータを中継する第1中継手段(115、S130)と、
前記第1通信線から前記制御区分情報が付されたデータを受信すると、前記第2通信線のうちの前記制御区分情報が対応する通信線にデータを中継する第2中継手段(115、S170)と、
を備えることを特徴とする中継装置。
A first communication line to which another relay device is connected, and one or more second communication lines to which an electronic control device which is a transmission source or a transmission destination of data is connected are connected, and the first communication line and the above A relay apparatus (11) for relaying data to and from a second communication line, wherein
The second communication line is provided in advance with control division information representing the division of the function of the electronic control unit connected to the communication line for each communication line,
First relay means (115, S130) for relaying data to the first communication line, with control classification information corresponding to the communication line having received the data, when data is received from the second communication line;
Second relay means (115, S170) for relaying data to the communication line corresponding to the control classification information among the second communication lines when receiving the data to which the control classification information is attached from the first communication line When,
A relay apparatus characterized by comprising:
請求項1に記載の中継装置であって、
前記第1の中継手段は、前記第1の通信線に接続された他の中継装置との間で、第1の通信方式によってデータ通信を行い、
前記第1の通信方式は、前記第2の中継手段が第2の通信線に接続された電子制御装置との間でデータ通信を行う第2の通信方式よりも、単位時間あたりの伝送量の多い通信方式である
ことを特徴とする中継装置。
The relay apparatus according to claim 1, wherein
The first relay unit performs data communication with another relay apparatus connected to the first communication line according to a first communication method,
The first communication method is more effective than the second communication method in which the second relay unit performs data communication with the electronic control unit connected to the second communication line, in the amount of transmission per unit time. A relay device characterized by a large number of communication methods.
請求項2に記載の中継装置であって、
イーサネット(登録商標)を前記第1の通信方式とする
ことを特徴とする中継装置。
The relay apparatus according to claim 2, wherein
A relay apparatus characterized by using Ethernet (registered trademark) as the first communication method.
請求項3に記載の中継装置であって、
前記第1の中継手段は、前記制御区分情報に基づいて定められた値をイーサネット通信フレームに含まれるVLAN_IDの値として用いる
ことを特徴とする中継装置。
The relay apparatus according to claim 3, wherein
A relay apparatus, wherein the first relay means uses a value determined based on the control classification information as a value of VLAN_ID included in an Ethernet communication frame.
請求項4に記載の中継装置であって、
受信したイーサネット通信フレームに含まれるVLAN_IDの値に基づいて特定された送信先へ該イーサネット通信フレームを送信する中継器(31)を間に介して、前記第1通信線によって他の中継装置と接続される
ことを特徴とする中継装置。
The relay apparatus according to claim 4, wherein
Connection with another relay device through the first communication line via the relay (31) which transmits the Ethernet communication frame to the destination specified based on the value of VLAN_ID included in the received Ethernet communication frame A relay apparatus characterized in that
請求項1から請求項5のいずれか一項に記載の中継装置を複数備えた通信システムであって、
それぞれの前記中継装置は、車両において予め区切られたコンパートメントごとに配置され、同じ個室に配置された電子制御装置と前記第2の通信線で接続され、異なる個室に配置された他の中継装置と前記第1の通信線で接続される
ことを特徴とする通信システム。
A communication system comprising a plurality of relay apparatuses according to any one of claims 1 to 5,
Each of the relay devices is disposed in each compartment divided in advance in the vehicle, and is connected to an electronic control device disposed in the same individual room by the second communication line and with other relay devices disposed in different individual rooms. A communication system connected by the first communication line.
請求項6に記載の通信システムであって、
それぞれの前記中継装置は、少なくとも、エンジンルームと、キャビンと、に配置される
ことを特徴とする通信システム。
The communication system according to claim 6, wherein
Each of the relay devices is disposed in at least an engine room and a cabin.
JP2016039006A 2015-03-31 2016-03-01 Relay apparatus and communication system Active JP6540550B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015071104 2015-03-31
JP2015071104 2015-03-31

Publications (2)

Publication Number Publication Date
JP2016195384A JP2016195384A (en) 2016-11-17
JP6540550B2 true JP6540550B2 (en) 2019-07-10

Family

ID=57323957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016039006A Active JP6540550B2 (en) 2015-03-31 2016-03-01 Relay apparatus and communication system

Country Status (1)

Country Link
JP (1) JP6540550B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6729426B2 (en) * 2017-01-30 2020-07-22 株式会社デンソー Relay device
JP6992655B2 (en) * 2018-04-02 2022-01-13 株式会社デンソー Network control system and relay equipment
WO2020085422A1 (en) * 2018-10-24 2020-04-30 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Onboard network relay device and onboard network relay method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003318937A (en) * 2002-04-26 2003-11-07 Hitachi Cable Ltd Switching hub
JP4259581B2 (en) * 2007-02-07 2009-04-30 日立電線株式会社 Switching hub and LAN system
JP2010124333A (en) * 2008-11-20 2010-06-03 Autonetworks Technologies Ltd Relay apparatus, communication system, and relay method
JP5310138B2 (en) * 2009-03-13 2013-10-09 株式会社デンソー Vehicle control system
JP5255579B2 (en) * 2010-02-09 2013-08-07 日立オートモティブシステムズ株式会社 In-car data relay device, vehicle control system
JP2014017733A (en) * 2012-07-10 2014-01-30 Auto Network Gijutsu Kenkyusho:Kk Communication system, communication device, and relay device

Also Published As

Publication number Publication date
JP2016195384A (en) 2016-11-17

Similar Documents

Publication Publication Date Title
US10951436B2 (en) Network hub, transfer method, and onboard network system
US10601607B2 (en) Electronic control unit, frame generating method, and non-transitory computer-readable recording medium storing a program
EP3468106B1 (en) Gateway device, in-vehicle network system, transfer method, and program
JP5454517B2 (en) Gateway device
US20210184886A1 (en) In-vehicle information processing for unauthorized data
US20150127192A1 (en) Wireless vehicle control system
EP3621248B1 (en) Electronic control unit, communication method, and in-vehicle network system
JP6540550B2 (en) Relay apparatus and communication system
JP6729426B2 (en) Relay device
US11027676B2 (en) Vehicle data communications network
US20170250905A1 (en) Communication method in divided vehicle network
WO2017203902A1 (en) Gateway device, in-vehicle network system, transfer method, and program
JP2007336267A (en) In-vehicle communication system
CN109716711A (en) Gateway, Vehicular communication system, communication control method and communication control program
CN109845195A (en) Communication device, communication means and communication system
US10965644B2 (en) Network switch
WO2021205819A1 (en) Vehicle-mounted relay device, information processing method, and program
US11373464B2 (en) Vehicle-mounted communications device, log collection method, and log collection program
JP4839140B2 (en) Relay connection unit
JP2022066959A (en) Communication system and electronic control device
JP2017130756A (en) Relay device
EP3547192A1 (en) System and method of blocking a computer attack on a means of transportation
US11951917B2 (en) Onboard communication system, switching device, and control method
CN110794735A (en) Remote control device and method
JP7040030B2 (en) Communication system and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180530

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190425

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190527

R151 Written notification of patent or utility model registration

Ref document number: 6540550

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250