JP2008099014A - In-vehicle communication method, in-vehicle communication system, relay device and on-vehicle communication equipment - Google Patents
In-vehicle communication method, in-vehicle communication system, relay device and on-vehicle communication equipment Download PDFInfo
- Publication number
- JP2008099014A JP2008099014A JP2006278956A JP2006278956A JP2008099014A JP 2008099014 A JP2008099014 A JP 2008099014A JP 2006278956 A JP2006278956 A JP 2006278956A JP 2006278956 A JP2006278956 A JP 2006278956A JP 2008099014 A JP2008099014 A JP 2008099014A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- identification information
- port
- frame
- vehicle
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、車両内に配設されるゲートウェイ等の中継装置と、該中継装置と通信用バスを介して接続するECU等の車載型通信装置とを用いて構成される車載ネットワークにおける車内通信方法、該車内通信方法を適用した車内通信システム、並びに該車内通信システムにて用いられる中継装置及び車載型通信装置に関し、特に中継装置の車種毎の設計変更を要しない車内通信方法、車内通信システム、中継装置及び車載型通信装置に関する。 The present invention relates to an in-vehicle communication method in an in-vehicle network configured using a relay device such as a gateway disposed in a vehicle and an in-vehicle communication device such as an ECU connected to the relay device via a communication bus. An in-vehicle communication system to which the in-vehicle communication method is applied, and a relay device and an in-vehicle communication device used in the in-vehicle communication system, in particular, an in-vehicle communication method, an in-vehicle communication system that does not require a design change for each vehicle type, The present invention relates to a relay device and an in-vehicle communication device.
近年、自動車における車内通信システムの分野において、ワイヤハーネスの削減及び大容量のデータ通信のために通信を多重化する試みが行われている(例えば特許文献1参照。)。自動車向けの多重通信のプロトコルとしては、Robert Bosch社が開発したCAN(Controller Area Network) が標準となりつつある。 In recent years, in the field of in-vehicle communication systems in automobiles, attempts have been made to multiplex communications in order to reduce wire harnesses and perform large-capacity data communication (see, for example, Patent Document 1). As a multiplex communication protocol for automobiles, CAN (Controller Area Network) developed by Robert Bosch is becoming a standard.
図10は、従来の車内通信システムを概念的に示すブロック図である。図10中100は、車両内に配設されるゲートウェイであり、ゲートウェイ100は、複数の通信ポート101,101,…を備え、通信ポート101,101,…には、夫々ワイヤハーネスを用いた通信用バス200,200,…が接続されている。そして通信用バス200,200,…には、ノードとして複数の電子制御ユニット(ECU:Electronic Control Unit )300,300,…が接続されている。
FIG. 10 is a block diagram conceptually showing a conventional in-vehicle communication system. In FIG. 10,
一の通信用バス200に接続する一の電子制御ユニット300から他の通信用バス200に接続する他の電子制御ユニット300へメッセージを送信する場合、メッセージは予め設定されているフレームの形式で送信される。フレームには、メッセージの種別を示すメッセージIDが示されている。ゲートウェイ100は、メッセージIDと、通信ポート101,101,…を識別するポートIDとを対応付けて記録するルーティングテーブル102をROM等の記録手段に記録している。ゲートウェイ100は、フレームを受信した場合、ルーティングテーブル102を参照し、受信したフレームに示されているメッセージIDに対応する通信ポート101を選択し、選択した通信ポート101が接続している通信用バス200上へ受信したフレームを送信する。そして通信用バス200に接続している電子制御ユニット300は、通信用バス100上を転送されるフレームのメッセージIDを読み取り、受信すべきフレームであると判定した場合、当該フレームを取り込む。
ところで例えば設計コスト、開発コスト、生産コスト等のコストの低減を目的として、車種、形式、階級等の種類が異なる車両にゲートウェイを転用する場合がある。しかしながらゲートウェイが同じであってもネットワーク構成が異なる場合、ルーティングテーブルの書き換えが必要となる。 By the way, for example, for the purpose of reducing costs such as design cost, development cost, and production cost, a gateway may be diverted to a vehicle having a different type such as vehicle type, type, class, or the like. However, if the network configuration is different even if the gateway is the same, the routing table needs to be rewritten.
図11は、車内通信システムのネットワーク構成の変更を概念的に示すブロック図である。図11では、4の通信ポートを備えるゲートウェイを用いた車内通信システムを示しており、各通信ポートには、夫々通信用バスが接続され、通信用バスには、フレームを送信する送信電子制御ユニット(送信ECU)及びフレームを受信する受信電子制御ユニット(受信ECU)が接続されている。図11(a)は、送信電子制御ユニットを異なる通信用バスに接続することでネットワーク構成を変更する形態を示している。図11(b)は、受信電子制御ユニットを異なる通信用バスに接続することでネットワーク構成を変更する形態を示している。図11(c)は、電子制御ユニットを追加、除去、又は変更することでネットワーク構成を変更する形態を示している。 FIG. 11 is a block diagram conceptually showing a change in the network configuration of the in-vehicle communication system. FIG. 11 shows an in-vehicle communication system using a gateway having four communication ports. Each communication port is connected to a communication bus, and the communication bus transmits a frame to the transmission electronic control unit. A (transmission ECU) and a reception electronic control unit (reception ECU) for receiving a frame are connected. FIG. 11A shows a mode in which the network configuration is changed by connecting the transmission electronic control unit to different communication buses. FIG. 11B shows a form in which the network configuration is changed by connecting the reception electronic control unit to a different communication bus. FIG. 11C shows a mode in which the network configuration is changed by adding, removing, or changing the electronic control unit.
図11に例示した様にネットワーク構成が変化すると、メッセージIDとポートIDとの対応関係も変化するため、ルーティングテーブルを書き換える必要が生じ、ゲートウェイを転用したにも関わらず、十分なコストダウンを実現することができないという問題に繋がる。 When the network configuration changes as illustrated in FIG. 11, the correspondence between the message ID and the port ID also changes. Therefore, it is necessary to rewrite the routing table, and a sufficient cost reduction is realized despite the diversion of the gateway. Leads to the problem of not being able to.
本発明は斯かる事情に鑑みてなされたものであり、ゲートウェイを用いた中継装置から電子制御ユニットを用いた車載型通信装置へ、診断要求フレームを送信し、返信される診断応答フレームに含まれるノード識別情報を、受信した通信ポートに係るポート識別情報に対応付けて記録することにより、ルーティングテーブルに用いられるテーブルを自動的に構成し、大きなコストダウンを図ることが可能な車内通信方法、該車内通信方法を適用した車内通信システム、並びに該車内通信システムにて用いられる中継装置及び車載型通信装置の提供を目的とする。 The present invention has been made in view of such circumstances, and is included in a diagnostic response frame that transmits a diagnostic request frame from a relay device that uses a gateway to an in-vehicle communication device that uses an electronic control unit, and is returned. By recording the node identification information in association with the port identification information related to the received communication port, the table used for the routing table is automatically configured, and the in-vehicle communication method capable of greatly reducing the cost, An object is to provide an in-vehicle communication system to which an in-vehicle communication method is applied, and a relay device and an in-vehicle communication device used in the in-vehicle communication system.
第1発明に係る車内通信方法は、複数の通信ポートを備え、該通信ポートを介してフレームを送受信する中継装置から、通信用バスを介して通信ポートに接続された車載型通信装置へ、接続状況の認識に要する要求フレームを送信し、要求フレームを受信した車載型通信装置から中継装置へ、送信元を識別するノード識別情報を含む応答フレームを送信する車内通信方法において、前記中継装置は、受信した応答フレームに含まれるノード識別情報、及び応答フレームを受信した通信ポートを識別するポート識別情報を対応付けて記録することを特徴とする。 The in-vehicle communication method according to the first invention includes a plurality of communication ports, and connects from a relay device that transmits and receives a frame via the communication port to an in-vehicle communication device that is connected to the communication port via a communication bus. In the in-vehicle communication method of transmitting a request frame required for situation recognition and transmitting a response frame including node identification information for identifying a transmission source from the in-vehicle communication device that has received the request frame to the relay device, the relay device includes: The node identification information included in the received response frame and the port identification information for identifying the communication port that has received the response frame are recorded in association with each other.
本発明では、応答フレームに含まれるノードID等のノード識別情報及び受信した通信ポートを識別するポートID等のポート識別情報に基づいて、自動的にルーティングテーブルに用いられる情報を形成することができるので、中継装置を異なる車両に転用する場合でもルーティングテーブルの書き換えが不要となり、大幅なコストダウンを図ることが可能である。 In the present invention, information used for the routing table can be automatically formed based on the node identification information such as the node ID included in the response frame and the port identification information such as the port ID identifying the received communication port. Therefore, even when the relay device is diverted to a different vehicle, the routing table need not be rewritten, and the cost can be greatly reduced.
第2発明に係る車内通信システムは、複数の通信ポートを備え、該通信ポートを介してフレームを送受信する中継装置と、該中継装置が備える通信ポートに通信用バスを介して接続された車載型通信装置とを備え、前記中継装置は、接続状況の認識に要する要求フレームを前記車載型通信装置へ送信し、該車載型通信装置は、送信元を識別するノード識別情報を含む応答フレームを前記中継装置へ送信する車内通信システムにおいて、前記中継装置は、受信した応答フレームに含まれるノード識別情報を、応答フレームを受信した通信ポートを識別するポート識別情報に対応付けて記録するポートテーブルを備えることを特徴とする。 The in-vehicle communication system according to the second invention includes a plurality of communication ports, a relay device that transmits and receives frames via the communication ports, and a vehicle-mounted type that is connected to the communication port included in the relay device via a communication bus The relay apparatus transmits a request frame required for recognizing a connection status to the in-vehicle communication apparatus, and the in-vehicle communication apparatus transmits a response frame including node identification information for identifying a transmission source. In an in-vehicle communication system that transmits to a relay device, the relay device includes a port table that records node identification information included in a received response frame in association with port identification information that identifies a communication port that has received the response frame. It is characterized by that.
本発明では、診断応答フレームに含まれるノードID等のノード識別情報及び受信した通信ポートを識別するポートID等のポート識別情報に基づいて、自動的にルーティングテーブルに用いられるポートテーブルを形成することができるので、中継装置を異なる車両に転用する場合でもルーティングテーブルの書き換えが不要となり、大幅なコストダウンを図ることが可能である。 In the present invention, a port table used for a routing table is automatically formed based on node identification information such as a node ID included in a diagnostic response frame and port identification information such as a port ID for identifying a received communication port. Therefore, even when the relay device is diverted to a different vehicle, it is not necessary to rewrite the routing table, which can greatly reduce the cost.
第3発明に係る車内通信システムは、第2発明において、前記中継装置は、更に、通信フレームに係る種別を識別する種別識別情報を、通信フレームを受信すべき前記車載型通信装置に係るノード識別情報に対応付けて記録する種別テーブルと、通信ポートを介して受信した通信フレームに含まれる種別識別情報を検出する手段と、検出した種別識別情報に対応するポート識別情報を、ポートテーブル及び種別テーブルに基づいて選択する手段と、選択したポート識別情報にて識別される通信ポートから通信用バス上へ、受信した通信フレームを送信する手段とを備えることを特徴とする。 The in-vehicle communication system according to a third aspect of the present invention is the in-vehicle communication system according to the second aspect, wherein the relay device further includes type identification information for identifying a type related to a communication frame, A type table to be recorded in association with information; a means for detecting type identification information included in a communication frame received via a communication port; and a port identification information corresponding to the detected type identification information. And means for transmitting the received communication frame from the communication port identified by the selected port identification information onto the communication bus.
本発明では、メッセージID等の種別識別情報をノード識別情報に対応付けて予め記録している種別テーブルを、形成したルーティングテーブルと対応付けることにより、自動的にルーティングテーブルを形成することができるので、中継装置を異なる車両に転用する場合でもルーティングテーブルの書き換えが不要となり、大幅なコストダウンを図ることが可能である。 In the present invention, a routing table can be automatically formed by associating a type table in which type identification information such as a message ID is recorded in advance in association with node identification information with the formed routing table. Even when the relay device is diverted to a different vehicle, it is not necessary to rewrite the routing table, which can greatly reduce the cost.
第4発明に係る車内通信システムは、第3発明において、前記車載型通信装置は、更に、自らを識別するノード識別情報、及び受信すべき通信フレームの種別を識別する種別識別情報を含む応答フレームを送信する手段を備え、前記中継装置は、更に、受信した応答フレームに含まれるノード識別情報及び種別識別情報を対応付けて前記種別テーブルに記録する手段を備えることを特徴とする。 In the in-vehicle communication system according to a fourth aspect of the present invention, in the third aspect, the in-vehicle communication device further includes node identification information for identifying itself and a response frame including type identification information for identifying a type of communication frame to be received. The relay apparatus further includes means for associating node identification information and type identification information included in the received response frame with each other and recording them in the type table.
本発明では、車載型通信装置が、ノード識別情報及び種別識別情報を含む応答フレームを中継装置へ送信することにより、中継装置は、種別テーブルをも自動的に形成することが可能となるので、種別テーブルにデータを記録する工程の簡略化又は省略、並びに当該工程に係るコストの削減を図ることが可能である。 In the present invention, since the in-vehicle communication device transmits a response frame including node identification information and type identification information to the relay device, the relay device can automatically form a type table, It is possible to simplify or omit the process of recording data in the type table and to reduce the cost associated with the process.
第5発明に係る中継装置は、車両内に配設された通信用バスに接続する複数の通信ポートと、通信用バスを介して接続される他の装置へ接続状況の認識に要する要求フレームを通信ポートから送信する手段と、送信した要求フレームに対して送信される送信元を識別するノード識別情報を含む応答フレームを通信ポートにて受信する手段とを備える車載型の中継装置において、受信した応答フレームに含まれるノード識別情報を、応答フレームを受信した通信ポートを識別するポート識別情報に対応付けて記録するテーブルを備えることを特徴とする。 According to a fifth aspect of the present invention, a relay device includes a plurality of communication ports connected to a communication bus disposed in a vehicle and a request frame required for recognizing a connection status to another device connected via the communication bus. In a vehicle-mounted relay device comprising means for transmitting from a communication port and means for receiving a response frame including node identification information for identifying a transmission source transmitted for a transmitted request frame at the communication port A node is provided that records the node identification information included in the response frame in association with the port identification information that identifies the communication port that has received the response frame.
本発明では、応答フレームに含まれるノードID等のノード識別情報及び受信した通信ポートを識別するポートID等のポート識別情報に基づいて、自動的にルーティングテーブルに用いられるポートテーブルを形成することができるので、中継装置を異なる車両に転用する場合でもルーティングテーブルの書き換えが不要となり、大幅なコストダウンを図ることが可能である。 In the present invention, the port table used for the routing table can be automatically formed based on the node identification information such as the node ID included in the response frame and the port identification information such as the port ID identifying the received communication port. Therefore, even when the relay device is diverted to a different vehicle, it is not necessary to rewrite the routing table, and a significant cost reduction can be achieved.
第6発明に係る車載型通信装置は、車両内に配設された通信用バスに接続し、該通信用バスから接続状況の認識に要する要求フレームを受信した場合に、自らを識別するノード識別情報を含む応答フレームを返信する車載型通信装置において、ノード識別情報、及び受信すべきフレームの種別を識別する種別識別情報を含む応答フレームを送信する手段を備えることを特徴とする。 A vehicle-mounted communication device according to a sixth aspect of the present invention is a node identification for identifying itself when connected to a communication bus disposed in a vehicle and receiving a request frame required for recognizing a connection status from the communication bus. An in-vehicle communication apparatus that returns a response frame including information includes a means for transmitting a response frame including node identification information and type identification information for identifying a type of a frame to be received.
本発明では、ノードID等のノード識別情報及びメッセージID等の種別識別情報を含む応答フレームを送信することにより、例えば応答フレームの送信先となるゲートウェイ等の中継装置において、ノード識別情報、種別識別情報、通信ポートを識別するポートID等のポート識別情報を対応付けてルーティングテーブルを自動的に形成することができるので、中継装置を異なる車両に転用する場合でもルーティングテーブルの書き換えが不要となり、大幅なコストダウンを図ることが可能である。 In the present invention, by transmitting a response frame including node identification information such as a node ID and type identification information such as a message ID, for example, in a relay device such as a gateway as a transmission destination of the response frame, the node identification information and the type identification Since the routing table can be automatically formed by associating information and port identification information such as a port ID for identifying the communication port, it is not necessary to rewrite the routing table even when the relay device is diverted to a different vehicle. It is possible to reduce the cost.
本発明に係る車内通信方法、車内通信システム、中継装置及び車載型通信装置は、複数の通信ポートを備えるゲートウェイ等の中継装置と、該中継装置が備える通信ポートに通信用バスを介して接続されるECU等の車載型通信装置とを備え、中継装置から車載型通信装置へ、接続状況の認識に要する要求フレームを送信し、車載型通信装置は中継装置へ、自らを識別するノードID等のノード識別情報を含む応答フレームを返信する。中継装置は、受信した応答フレームに含まれるノード識別情報を、応答フレームを受信した通信ポートを識別するポート識別情報に対応付けてポートテーブルに記録する。そして中継装置が通信フレームを受信した場合に、予め準備しているメッセージID等の種別識別情報をノード識別情報に対応付けて記録する種別テーブルと、形成したポートテーブルとを関連付けて参照し、受信した通信フレームに含まれる種別識別情報に対応するポート識別情報にて識別される通信ポートを選択し、選択した通信ポートから通信フレームを送信する。 An in-vehicle communication method, an in-vehicle communication system, a relay device, and an in-vehicle communication device according to the present invention are connected via a communication bus to a relay device such as a gateway including a plurality of communication ports and a communication port included in the relay device. A request frame required for recognizing the connection status is transmitted from the relay device to the vehicle-mounted communication device, and the vehicle-mounted communication device transmits a node ID for identifying itself to the relay device. A response frame including node identification information is returned. The relay device records the node identification information included in the received response frame in the port table in association with the port identification information identifying the communication port that has received the response frame. Then, when the relay device receives the communication frame, the type table which records the type identification information such as the message ID prepared in advance in association with the node identification information is referred to in association with the formed port table and received. The communication port identified by the port identification information corresponding to the type identification information included in the communication frame is selected, and the communication frame is transmitted from the selected communication port.
この構成により、本発明では、自動的にルーティングテーブルを形成することができるので、一の車両用に開発した中継装置をネットワーク構成が異なる他の車両に転用する場合でもルーティングテーブルの書き換えが不要となり、中継装置の転用に係る開発コスト、生産コスト等のコストを大幅に低減することが可能である等、優れた効果を奏する。 With this configuration, in the present invention, the routing table can be automatically formed, so that it is not necessary to rewrite the routing table even when the relay device developed for one vehicle is diverted to another vehicle having a different network configuration. In addition, it is possible to significantly reduce costs such as development cost and production cost related to the diversion of the relay device, and the like.
さらに本発明は、車載型通信装置は、自らを識別するノード識別情報、及び受信すべき通信フレームの種別を識別する種別識別情報を含む応答フレームを送信し、中継装置は、受信した応答フレームに含まれるノード識別情報及び種別識別情報を対応付けて種別テーブルに記録することにより、本発明では、中継装置が、種別テーブルをも自動的に形成することが可能となるので、種別テーブルにデータを記録する工程の簡略化又は省略、並びに該工程に係るコストの削減を図ることが可能である等、優れた効果を奏する。 Further, according to the present invention, the in-vehicle communication device transmits a response frame including node identification information for identifying itself and type identification information for identifying a type of communication frame to be received, and the relay device transmits the response frame to the received response frame. By associating and recording the included node identification information and type identification information in the type table, the relay device can automatically form the type table in the present invention. There are excellent effects such as simplification or omission of the recording process and reduction of the cost related to the process.
以下、本発明をその実施の形態を示す図面に基づいて詳述する。図1は、本発明の車内通信システムの構成を示すブロック図である。図1中1は、本発明の中継装置であり、中継装置1は、CAN(Control Area Network)等の車載LAN規格に基づくゲートウェイとして用いられる。中継装置1には、ワイヤハーネスを用いた複数の通信用バス2,2,…が接続されており、各通信用バス2,2,…には、通信ノードとして電気負荷、センサ等の様々な電子制御ユニット(ECU:Electronic Control Unit )を用いた車載型通信装置3,3,…が接続されている。そして中継装置1は、一の通信用バス2に接続された一の車載型通信装置3からフレームを受信し、受信したフレームを他の通信用バス2に接続された他の車載型通信装置3へ送信する中継処理を行う。
Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof. FIG. 1 is a block diagram showing the configuration of the in-vehicle communication system of the present invention. In FIG. 1, 1 is a relay apparatus of the present invention, and the
図2は、本発明の車内通信システムにて用いられる中継装置1の構成を示すブロック図である。中継装置1は、装置全体を制御するCPU、ASIC等の制御手段10と、プログラム及びデータ等の各種情報を記録するROM等の第1記録手段11と、更新を要する各種情報を記録するRAM等の第2記録手段12と、通信用バス2,2,…に接続する複数の通信ポート13,13,…とを備えている。なお第2記録手段12は、揮発性メモリ、不揮発性メモリ、及びそれら両方のメモリのいずれを用いても良い。通信ポート13は、通信用バス2に接続し、フレームを受信する処理及びフレームを送信する処理を実行し、受信したフレーム及び送信するフレームを夫々一時的に記憶する図示しないフレームバッファを備えている。なお第2記録手段12の記録領域の一部をフレームバッファとして用いる様にしても良い。また各通信ポート13,13,…には、夫々通信ポート13を識別するポートID等のポート識別情報が付与されている。
FIG. 2 is a block diagram showing the configuration of the
第1記録手段11の記録領域の一部は、フレームの中継処理に用いる種別テーブル11aとして用いられている。図3は、本発明の中継装置1が備える種別テーブル11aの記録内容を概念的に示す説明図である。種別テーブル11aには、フレームに係る種別を識別するメッセージID等の種別識別情報と、フレームを受信すべき車載型通信装置3を識別するノードID等のノード識別情報とが対応付けて記録されている。種別テーブル11aには、中継装置1を車両に搭載する段階で既に各種情報が記録されているが、後述する様に車両に搭載後更新する形態に展開することも可能である。ただしその場合、不揮発性のメモリを用いた第2記録手段12に種別テーブルが記録される。
A part of the recording area of the first recording means 11 is used as a type table 11a used for frame relay processing. FIG. 3 is an explanatory diagram conceptually showing the recorded contents of the type table 11a provided in the
第2記録手段12の記録領域の一部は、フレームの中継処理に用いるポートテーブル12aとして用いられている。図4は、本発明の中継装置1が備えるポートテーブル12aの記録内容を概念的に示す説明図である。ポートテーブル12aには、ノードID等のノード識別情報と、通信ポート13を識別するポートID等のポート識別情報とが対応付けて記録されている。ポートテーブル12aは、揮発性のメモリを用いた第2記録手段12の記録領域に形成する場合、車両に搭載された段階では情報が記録されておらず、イグニッションキーのアクセサリ位置への遷移等の動作により車内通信システムが作動する都度、第2記録手段12上に形成される。また不揮発性のメモリを用いた第2記録手段12の記録領域に形成する場合、車両に搭載された後、車内通信システムが最初に作動するときに、第2記録手段12上に形成される。
A part of the recording area of the second recording means 12 is used as a port table 12a used for frame relay processing. FIG. 4 is an explanatory diagram conceptually showing the recorded contents of the port table 12a provided in the
さらに第2記録手段12の記録領域の一部は、フレームの中継処理に用いるルーティングテーブル12bとして用いられている。図5は、本発明の中継装置1が備えるルーティングテーブル12bの記録内容を概念的に示す説明図である。ルーティングテーブル12bには、メッセージID等の種別識別情報と、ポートID等のポート識別情報とが対応付けて記録されている。ルーティングテーブル12bは、種別テーブル11a及びポートテーブル12aの記録内容を、ノード識別情報をキーとして関連付けることにより形成される。但し、ルーティングテーブル12bを形成せずに中継処理を行うことも可能である。
Further, a part of the recording area of the second recording means 12 is used as a routing table 12b used for frame relay processing. FIG. 5 is an explanatory diagram conceptually showing the recorded contents of the routing table 12b provided in the
図6は、本発明の車内通信システムにて用いられる車載型通信装置3の構成を示すブロック図である。車載型通信装置3は、制御手段30と、通信用バス2に接続する通信ポート31と、ECUとして機能させるための各種処理モジュール等の処理手段32とを備えている。
FIG. 6 is a block diagram showing the configuration of the in-
次に本発明の車内通信システムが備える各種装置の処理について説明する。図7は、本発明の車内通信システムが備える中継装置1及び車載型通信装置3の初期処理を示すフローチャートである。初期処理は、中継装置1がネットワーク構成を認識するための調停処理であり、車内通信システムが作動する都度又は車内通信システムを最初に作動した場合に実行される処理である。中継装置1は、制御手段10の制御により、接続状況を診断する診断要求フレームを各通信ポート13,13,…から夫々に接続する通信用バス2,2,…上へ同報的に送信する(S101)。ステップS101により、中継装置1から各通信用バス2,2,…に接続する全ての車載型通信装置3,3,…へ診断要求フレームが送信される。
Next, processing of various devices included in the in-vehicle communication system of the present invention will be described. FIG. 7 is a flowchart showing an initial process of the
車載型通信装置3は、制御手段30の制御により、通信用バス2から通信ポート31にて診断要求フレームを受信し(S102)、受信した診断要求フレームに対する返信として、診断応答フレームを通信ポート31から通信用バス2を介して中継装置1へ送信する(S103)。ステップS103にて車載型通信装置3から中継装置1へ送信される診断応答フレームには、自らを識別するノード識別情報が含まれている。なお診断応答フレームには、メッセージの種別を識別する種別識別情報が含まれている。
The in-
中継装置1は、制御手段10の制御により、通信用バス2から通信ポート13にて診断応答フレームを受信し(S104)、受信した診断応答フレームに含まれる種別識別情報に基づいて、中継すべきフレームではなく自機にて処理すべきフレームであることを認識し、受信した診断応答フレームに含まれるノード識別情報を、当該フレームを受信した通信ポート13に付与されているポート識別情報に対応付けてポートテーブル12aに記録する(S105)。
The
さらに中継装置1は、種別テーブル11a及びポートテーブル12aの記録内容に基づいて、ルーティングテーブル12bを形成する(S106)。なお種別テーブル11a及びポートテーブル12aを関連付けることによりルーティングテーブル12bと見なすことができるので、必ずしもこの段階でルーティングテーブル12bを形成する必要はない。
Further, the
この様にしてポートテーブル12aにフレームの中継に関する情報を記録することにより、初期処理が実行される。 In this way, the initial processing is executed by recording information relating to frame relay in the port table 12a.
図8は、本発明の車内通信システムが備える中継装置1及び車載型通信装置3のフレーム中継処理を示すフローチャートである。なおここではフレームの送信元となる車載型通信装置3を第1車載型通信装置3aとし、フレームの送信先となる車載型通信装置3を第2車載型通信装置3bとして説明する。第1車載型通信装置3aは、自らが接続する通信用バス2と異なる通信用バス2に接続する第2車載型通信装置3bに伝達すべき情報を含む通信フレームを、通信ポート31から通信用バス2を介して中継装置1へ送信する(S201)。ステップS201にて送信される通信フレームには、フレームに含まれるメッセージに種別を識別する種別識別情報が含まれている。
FIG. 8 is a flowchart showing frame relay processing of the
中継装置1は、制御手段10の制御により、通信用バス2から通信ポート13にて通信フレームを受信し(S202)、受信した通信フレームに含まれる種別識別情報を検出し(S203)、検出した種別識別情報に対応するポート識別情報を、種別テーブル11a及びポートテーブル12aを関連付けて形成されたルーティングテーブル12bに基づいて選択し(S204)、選択したポート識別情報にて識別される通信ポート13から、当該通信ポート13に接続している通信用バス2,2,…上へ、受信した通信フレームを送信する(S205)。なおステップS204において、ルーティングテーブル12bが形成されていない場合、種別テーブル11a及びポートテーブル12aの記録内容を、ノード識別情報をキーとして関連付け、関連付けた種別テーブル11a及びポートテーブル12aに基づいてポート識別情報が選択される。
The
第2車載型通信装置は、通信用バス2から通信ポート31にて通信フレームを受信し(S206)、受信した通信フレームに含まれる内容に基づいて処理手段32を作動させる。
The second in-vehicle communication device receives the communication frame from the
この様にして通信フレームの中継処理が実行される。 In this way, communication frame relay processing is executed.
前記実施の形態では、種別テーブル11aが予め必要な情報を記録している形態を示したが、本発明はこれに限らず、初期処理において種別テーブルに情報を記録する様にしても良い。ここでは初期処理において、種別テーブルに情報を記録する処理を説明する。図9は、本発明の車内通信システムが備える中継装置1及び車載型通信装置3の初期処理を示すフローチャートである。なお初期処理として種別テーブルに情報を記録する形態では、種別テーブルは、第2記録手段12に確保されるので、ここでは種別テーブルの符号を12cとして説明する。但し、記録内容は、第1記録手段11aに記録される種別テーブル11aと同様である。
In the above-described embodiment, the type table 11a has previously recorded necessary information. However, the present invention is not limited to this, and information may be recorded in the type table in the initial process. Here, the process of recording information in the type table in the initial process will be described. FIG. 9 is a flowchart showing an initial process of the
中継装置1は、制御手段10の制御により、接続状況を診断する診断要求フレームを各通信ポート13,13,…から夫々に接続する通信用バス2,2,…上へ同報的に送信する(S301)。ステップS301により、中継装置1から各通信用バス2,2,…に接続する全ての車載型通信装置3,3,…へ診断要求フレームが送信される。
The
車載型通信装置3は、制御手段30の制御により、通信用バス2から通信ポート31にて診断要求フレームを受信し(S302)、受信した診断要求フレームに対する返信として、診断応答フレームを通信ポート31から通信用バス2を介して中継装置1へ送信する(S303)。ステップS303にて車載型通信装置3から中継装置1へ送信される診断応答フレームは、自らを識別するノード識別情報と共に、受信すべきフレームの種別を識別する種別識別情報を含んでいる。但し、診断応答フレームは、受信すべきフレームの種別を識別する種別識別情報だけでなく、診断応答フレームであることを示す種別識別情報をも含んでいる。これらの種別識別情報は、フレーム上の異なるフィールドに示されているため、中継装置1が混同することはない。
The in-
中継装置1は、制御手段10の制御により、通信用バス2から通信ポート13にて診断応答フレームを受信し(S304)、受信した診断応答フレームに含まれる種別識別情報に基づいて、中継すべきフレームではなく自機にて処理すべきフレームであることを認識し、受信した診断応答フレームに含まれるノード識別情報及び受信すべきフレームの種別を示す種別識別情報を対応付けて種別テーブル12cに記録し(S305)、更に受信した診断応答フレームに含まれるノード識別情報を、当該フレームを受信した通信ポート13に付与されているポート識別情報に対応付けてポートテーブル12aに記録する(S306)。
The
さらに中継装置1は、種別テーブル12c及びポートテーブル12aの記録内容に基づいて、ルーティングテーブル12bを形成する(S307)。なお種別テーブル12c及びポートテーブル12aを関連付けることによりルーティングテーブル12bと見なすことができるので、必ずしもこの段階でルーティングテーブル12bを形成する必要はない。
Further, the
この様にして種別テーブル12c及びポートテーブル12aにフレームの中継に関する情報を記録することにより、初期処理が実行される。 In this way, the initial processing is executed by recording information relating to frame relay in the type table 12c and the port table 12a.
前記実施の形態では、CANに則した車内通信システムに適用する形態を示したが、本発明はこれに限らず、様々な規格の車内通信システムに適用することが可能である。また通信網及び各種装置の構成は、実装状況に応じて様々な形態に展開することが可能である。例えば診断応答フレームに記録されている情報のみに基づいてポートテーブルに情報を記録するのではなく、特定の通信ポートに接続する車載型通信装置が固定されている場合には、一部の記録内容を予め第1記録手段に作り込んでいても良い。 In the above-described embodiment, the form applied to the in-vehicle communication system conforming to the CAN is shown. However, the present invention is not limited to this, and can be applied to in-vehicle communication systems of various standards. Further, the configuration of the communication network and various devices can be developed in various forms depending on the mounting situation. For example, instead of recording information in the port table based only on the information recorded in the diagnostic response frame, if the in-vehicle communication device connected to a specific communication port is fixed, some recorded contents May be built in the first recording means in advance.
1 中継装置
11 第1記録手段
11a 種別テーブル
12 第2記録手段
12a ポートテーブル
13 通信ポート
2 通信用バス
3 車載型通信装置
DESCRIPTION OF
Claims (6)
前記中継装置は、受信した応答フレームに含まれるノード識別情報、及び応答フレームを受信した通信ポートを識別するポート識別情報を対応付けて記録することを特徴とする車内通信方法。 A request frame required for recognizing the connection status is transmitted from a relay device having a plurality of communication ports and transmitting / receiving frames via the communication port to an in-vehicle communication device connected to the communication port via a communication bus. In the in-vehicle communication method of transmitting a response frame including node identification information for identifying the transmission source from the in-vehicle communication device that has received the request frame to the relay device,
The relay apparatus records the node identification information included in the received response frame and the port identification information identifying the communication port that has received the response frame in association with each other.
前記中継装置は、受信した応答フレームに含まれるノード識別情報を、応答フレームを受信した通信ポートを識別するポート識別情報に対応付けて記録するポートテーブルを備えることを特徴とする車内通信システム。 A relay device that includes a plurality of communication ports and transmits / receives a frame via the communication port; and an in-vehicle communication device that is connected to a communication port included in the relay device via a communication bus. In the in-vehicle communication system for transmitting a request frame required for connection status recognition to the in-vehicle communication device, the in-vehicle communication device transmits a response frame including node identification information for identifying a transmission source to the relay device.
The relay apparatus includes a port table that records node identification information included in a received response frame in association with port identification information that identifies a communication port that has received the response frame.
通信フレームに係る種別を識別する種別識別情報を、通信フレームを受信すべき前記車載型通信装置に係るノード識別情報に対応付けて記録する種別テーブルと、
通信ポートを介して受信した通信フレームに含まれる種別識別情報を検出する手段と、
検出した種別識別情報に対応するポート識別情報を、ポートテーブル及び種別テーブルに基づいて選択する手段と、
選択したポート識別情報にて識別される通信ポートから通信用バス上へ、受信した通信フレームを送信する手段と
を備えることを特徴とする請求項2に記載の車内通信システム。 The relay device further includes:
A type table for recording type identification information for identifying a type related to a communication frame in association with node identification information related to the in-vehicle communication device that should receive the communication frame;
Means for detecting type identification information included in a communication frame received via a communication port;
Means for selecting port identification information corresponding to the detected type identification information based on the port table and the type table;
The in-vehicle communication system according to claim 2, further comprising means for transmitting the received communication frame from the communication port identified by the selected port identification information onto the communication bus.
自らを識別するノード識別情報、及び受信すべき通信フレームの種別を識別する種別識別情報を含む応答フレームを送信する手段を備え、
前記中継装置は、更に、
受信した応答フレームに含まれるノード識別情報及び種別識別情報を対応付けて前記種別テーブルに記録する手段を備える
ことを特徴とする請求項3に記載の車内通信システム。 The in-vehicle communication device further includes:
Means for transmitting a response frame including node identification information for identifying itself and type identification information for identifying a type of communication frame to be received;
The relay device further includes:
The in-vehicle communication system according to claim 3, further comprising means for associating node identification information and type identification information included in the received response frame with each other and recording them in the type table.
受信した応答フレームに含まれるノード識別情報を、応答フレームを受信した通信ポートを識別するポート識別情報に対応付けて記録するテーブルを備えることを特徴とする中継装置。 A plurality of communication ports connected to a communication bus disposed in the vehicle, a means for transmitting a request frame required for recognizing the connection status to another device connected via the communication bus, and a transmission In a vehicle-mounted relay device comprising means for receiving at a communication port a response frame including node identification information for identifying a transmission source transmitted with respect to the requested frame,
A relay apparatus comprising: a table that records node identification information included in a received response frame in association with port identification information that identifies a communication port that has received the response frame.
ノード識別情報、及び受信すべきフレームの種別を識別する種別識別情報を含む応答フレームを送信する手段を備えることを特徴とする車載型通信装置。 In-vehicle communication that connects to a communication bus arranged in a vehicle and returns a response frame including node identification information for identifying itself when a request frame required for recognition of connection status is received from the communication bus In the device
A vehicle-mounted communication device comprising means for transmitting a response frame including node identification information and type identification information for identifying a type of a frame to be received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006278956A JP4808127B2 (en) | 2006-10-12 | 2006-10-12 | In-vehicle communication method, in-vehicle communication system, relay device, and in-vehicle communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006278956A JP4808127B2 (en) | 2006-10-12 | 2006-10-12 | In-vehicle communication method, in-vehicle communication system, relay device, and in-vehicle communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008099014A true JP2008099014A (en) | 2008-04-24 |
JP4808127B2 JP4808127B2 (en) | 2011-11-02 |
Family
ID=39381388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006278956A Expired - Fee Related JP4808127B2 (en) | 2006-10-12 | 2006-10-12 | In-vehicle communication method, in-vehicle communication system, relay device, and in-vehicle communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4808127B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013099645A1 (en) * | 2011-12-27 | 2013-07-04 | 株式会社オートネットワーク技術研究所 | Relay device, communications harness, and communications system |
JP2014045421A (en) * | 2012-08-28 | 2014-03-13 | Denso Corp | Network system |
JP2014146997A (en) * | 2013-01-30 | 2014-08-14 | Denso Corp | Vehicle gateway unit |
US9838335B2 (en) | 2015-04-08 | 2017-12-05 | Denso Corporation | Switching hub and communication network |
JP2022002420A (en) * | 2016-05-27 | 2022-01-06 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Network hub, transfer method, and on-vehicle network system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11948453B2 (en) | 2021-09-17 | 2024-04-02 | Toyota Motor Engineering & Manufacturing North America, Inc. | Vehicle communication sender identification via hyper-graph matching |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11298501A (en) * | 1998-02-12 | 1999-10-29 | Hitachi Ltd | Transmitter for resolving atm address |
JP2002152244A (en) * | 2000-11-16 | 2002-05-24 | Sumitomo Electric Ind Ltd | In-vehicle gateway and on-vehicle device |
JP2002204249A (en) * | 2000-12-28 | 2002-07-19 | Denso Corp | Device and method for communication data management |
JP2003264571A (en) * | 2002-03-08 | 2003-09-19 | Denso Corp | Gateway and relay method for communication data |
JP2006352235A (en) * | 2005-06-13 | 2006-12-28 | Toyota Motor Corp | Gateway, and processing method in gateway |
-
2006
- 2006-10-12 JP JP2006278956A patent/JP4808127B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11298501A (en) * | 1998-02-12 | 1999-10-29 | Hitachi Ltd | Transmitter for resolving atm address |
JP2002152244A (en) * | 2000-11-16 | 2002-05-24 | Sumitomo Electric Ind Ltd | In-vehicle gateway and on-vehicle device |
JP2002204249A (en) * | 2000-12-28 | 2002-07-19 | Denso Corp | Device and method for communication data management |
JP2003264571A (en) * | 2002-03-08 | 2003-09-19 | Denso Corp | Gateway and relay method for communication data |
JP2006352235A (en) * | 2005-06-13 | 2006-12-28 | Toyota Motor Corp | Gateway, and processing method in gateway |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013099645A1 (en) * | 2011-12-27 | 2013-07-04 | 株式会社オートネットワーク技術研究所 | Relay device, communications harness, and communications system |
JP2013135430A (en) * | 2011-12-27 | 2013-07-08 | Auto Network Gijutsu Kenkyusho:Kk | Repeating device, communication harness, and communication system |
JP2014045421A (en) * | 2012-08-28 | 2014-03-13 | Denso Corp | Network system |
US9800456B2 (en) | 2012-08-28 | 2017-10-24 | Denso Corporation | On-board network system |
JP2014146997A (en) * | 2013-01-30 | 2014-08-14 | Denso Corp | Vehicle gateway unit |
US9838335B2 (en) | 2015-04-08 | 2017-12-05 | Denso Corporation | Switching hub and communication network |
JP2022002420A (en) * | 2016-05-27 | 2022-01-06 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Network hub, transfer method, and on-vehicle network system |
JP7192074B2 (en) | 2016-05-27 | 2022-12-19 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Network hub, transfer method and in-vehicle network system |
Also Published As
Publication number | Publication date |
---|---|
JP4808127B2 (en) | 2011-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100902531B1 (en) | Fault diagnosis data recording system and method | |
JP4808127B2 (en) | In-vehicle communication method, in-vehicle communication system, relay device, and in-vehicle communication device | |
JP4910182B2 (en) | In-vehicle communication system | |
WO2019021403A1 (en) | Control network system, vehicle remote control system, and vehicle-mounted relay device | |
EP1734693A1 (en) | Vehicular communication system and method for detecting the presence of network units | |
CN103580911A (en) | Communication system and communication method | |
JP4987760B2 (en) | Relay device, communication system, and communication method | |
JP4880035B2 (en) | In-vehicle relay connection unit | |
JP2006256457A (en) | On-vehicle data management device, and vehicular information supplying system | |
JP2006347258A (en) | Car-mounted adapter for communication and wire harness for automobile | |
JP2007336267A (en) | In-vehicle communication system | |
US20190286433A1 (en) | Program update management device | |
US8909418B2 (en) | Networking of control devices of a motor vehicle | |
JP4724095B2 (en) | Relay connection unit and in-vehicle communication system | |
JP5019983B2 (en) | In-vehicle communication system, relay device, and communication method | |
JP4839140B2 (en) | Relay connection unit | |
JP5900198B2 (en) | COMMUNICATION SYSTEM, RELAY DEVICE, AND COMMUNICATION DEVICE | |
JP2006023850A (en) | Diagnostic system for vehicle and integral controller using the same | |
JP2003535533A (en) | Methods for exchanging data between multiple participants | |
JP4259468B2 (en) | Diagnostic system for vehicles | |
JP4954832B2 (en) | In-vehicle communication system | |
CN114128222B (en) | Relay device system | |
JP7140011B2 (en) | Gateway device | |
JP2005145262A (en) | Car-mounted lan system | |
JP2008290538A (en) | On-vehicle electronic control unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090317 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110808 |
|
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: 20110816 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110816 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140826 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4808127 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |