JP2009071773A - Relay and connection unit - Google Patents
Relay and connection unit Download PDFInfo
- Publication number
- JP2009071773A JP2009071773A JP2007240905A JP2007240905A JP2009071773A JP 2009071773 A JP2009071773 A JP 2009071773A JP 2007240905 A JP2007240905 A JP 2007240905A JP 2007240905 A JP2007240905 A JP 2007240905A JP 2009071773 A JP2009071773 A JP 2009071773A
- Authority
- JP
- Japan
- Prior art keywords
- message
- unit
- relay
- buffer
- data message
- 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
本発明は、車載用の中継接続ユニットに関し、詳しくは、中継接続ユニットが受信したメッセージの処理に遅延が発生することを防ぐものである。 The present invention relates to an in-vehicle relay connection unit, and more particularly, to prevent a delay from occurring in processing of a message received by the relay connection unit.
従来、車両に搭載される機器を制御する電子制御ユニット(Electronic Control Unit:ECU)が接続された多重通信用のバス同士を、中継接続ユニット(ゲートウェイ)を介して接続してネットワークを構築し、異なるバスに属するECU間で送受信されるデータメッセージを該中継接続ユニットで中継する車載用通信システムが採用されている。 Conventionally, a network is constructed by connecting buses for multiplex communication connected with an electronic control unit (ECU) for controlling devices mounted on a vehicle via a relay connection unit (gateway), An in-vehicle communication system that relays data messages transmitted and received between ECUs belonging to different buses by the relay connection unit is employed.
前記車載用通信システムの通信の安全性と信頼性を確保するために、ネットワークマネジメントシステムが提案されている。ネットワークマネジメンシステムとは、非特許文献1に示すように、多重通信用バスに接続されたECUや中継接続ユニット等のノードが互いにネットワークマネジメントメッセージ(NMメッセージ)を送受信することで、ネットワーク協調制御やノードのエラー判定等を行うものである。ネットワーク協調制御により、NMメッセージから他のノードの動作状態が高電力消費状態であるノーマル状態(通常動作状態)や省電力消費状態であるスリープ状態等であることを検知し、該検知結果に基づいて自ノードをどの動作状態に移行させるかを判断して移行処理を行っている。
In order to ensure the safety and reliability of communication of the in-vehicle communication system, a network management system has been proposed. As shown in Non-Patent
前記車載用通信システムにおいて、ネットワークマネジメントシステムが実行された場合、中継接続ユニットは、異なるバスに属するECU間で送受信されるデータメッセージに加え、NMメッセージを受信する。
前記NMメッセージは、データメッセージとフォーマットが同一である可能性がある。このようなシステムの場合、中継接続ユニットはデータメッセージ、NMメッセージの区別なくこれらのメッセージを受信している。図7は従来の中継接続ユニット1の構成図であり、中継接続ユニット1はバス2A,2Bと接続している。CANコントローラ3がバス2からメッセージを受信すると、バッファ4に受信した全てのメッセージを格納する。バッファ4と接続された管理部5は、各メッセージに固有の識別子(ID)から、バッファ4に格納されたメッセージの種類を判定している。さらに、管理部5は、バッファ4のメッセージがNMメッセージである場合にはバッファ4からネットワークマネジメント処理部6にNMメッセージを送信し、データメッセージである場合にはバッファから中継処理部7にデータメッセージを送信し、各処理部はバッファ4から受信した各メッセージを用いて所定の処理を行っている。
In the in-vehicle communication system, when the network management system is executed, the relay connection unit receives an NM message in addition to a data message transmitted and received between ECUs belonging to different buses.
The NM message may have the same format as the data message. In such a system, the relay connection unit receives these messages without distinguishing between data messages and NM messages. FIG. 7 is a configuration diagram of a conventional
複数のECUが多くのデータメッセージをバスに送信した場合、中継接続ユニットは多量のデータメッセージを受信するため、上記のような管理部の処理に時間がかかり、バッファに処理待ちの多量のデータメッセージが格納された状態となる。管理部は、バッファに格納されたメッセージが複数ある場合には先に格納されたメッセージから順にメッセージの処理を行うため、この状態で中継接続ユニットがNMメッセージを受信すると、該NMメッセージの処理は処理待ちのデータメッセージの後に行われることになる。
一方で、ネットワークマネジメントシステムは、車載用通信システムに接続されたECUや中継接続ユニット間でNMメッセージを送受信することでエラー判定や動作状態の検知を行っており、NMメッセージを受信した中継接続ユニットは、所定時間内に応答用のNMメッセージをバスに送信する必要がある。
しかし、中継接続ユニットが、上記のようにバッファに処理待ちの多量のデータメッセージが格納された状態でNMメッセージを受信すると、管理部及びネットワークマネジメント処理部でのNMメッセージの処理に遅延が生じ、中継接続ユニットが所定時間内に応答用のNMメッセージをバスに送信することができないという問題がある。
When a plurality of ECUs send a large number of data messages to the bus, the relay connection unit receives a large amount of data messages. Therefore, it takes a long time to process the management unit as described above, and a large amount of data messages waiting to be processed in the buffer. Is stored. When there are a plurality of messages stored in the buffer, the management unit processes the messages in order from the message stored first. When the relay connection unit receives the NM message in this state, the processing of the NM message is performed. It will be done after the data message awaiting processing.
On the other hand, the network management system performs error determination and operation state detection by transmitting and receiving NM messages between ECUs and relay connection units connected to the in-vehicle communication system, and the relay connection unit that has received the NM messages. Needs to send a response NM message to the bus within a predetermined time.
However, when the relay connection unit receives an NM message in a state where a large amount of data messages waiting for processing are stored in the buffer as described above, a delay occurs in processing of the NM message in the management unit and the network management processing unit, There is a problem that the relay connection unit cannot transmit a response NM message to the bus within a predetermined time.
本発明は、前記問題に鑑みてなされたもので、中継接続ユニットが中継すべき多量のデータメッセージをバッファに格納している状態でさらにNMメッセージを受信した場合においても、NMメッセージの処理の遅延の発生を防ぎ、ネットワークマネジメント機能を確実に実行することを課題としている。 The present invention has been made in view of the above-described problem. Even when an NM message is further received in a state where a large amount of data messages to be relayed by the relay connection unit are stored in a buffer, the processing delay of the NM message is achieved. The issue is to prevent the occurrence of network problems and to reliably execute the network management function.
前記課題を解決するため、本発明は、電子制御ユニットが夫々接続している複数のバスの間に介在させ、異なるバスに属する前記電子制御ユニットとメッセージを中継する車載用の中継接続ユニットであって、
前記他の電子制御ユニットからのメッセージを受信する受信部と、
前記他の電子制御ユニットにメッセージを送信する送信部と、
前記受信部で受信したメッセージを前記送信部から送信する中継処理部と、
ネットワークマネジメントメッセージ(NMメッセージ)を前記他の電子制御ユニットと送受信して各電子制御ユニットのネットワークマネジメント機能を実行するネットワークマネジメント処理部と、
前記ネットワークマネジメント処理部と接続されると共にバッファを介して前記中継処理部と接続され、前記バスから前記他の電子制御ユニットからのメッセージを受信して、該メッセージがデータメッセージか前記NMメッセージかを判別し、前記NMメッセージは前記バッファを介さずに前記ネットワークマネジメント処理部に送信し、前記データメッセージはバッファに送信する判別部と、
を備えていることを特徴とする中継接続ユニットを提供している。
In order to solve the above problems, the present invention is an in-vehicle relay connection unit that is interposed between a plurality of buses to which electronic control units are connected, and relays messages with the electronic control units belonging to different buses. And
A receiver for receiving a message from the other electronic control unit;
A transmitter for transmitting a message to the other electronic control unit;
A relay processing unit for transmitting a message received by the receiving unit from the transmitting unit;
A network management processing unit that transmits and receives a network management message (NM message) to and from the other electronic control unit to execute a network management function of each electronic control unit;
Connected to the network management processing unit and connected to the relay processing unit via a buffer, receives a message from the other electronic control unit from the bus, and determines whether the message is a data message or the NM message. A determination unit that transmits the NM message to the network management processing unit without passing through the buffer, and transmits the data message to the buffer;
A relay connection unit is provided.
本発明の中継接続ユニットの判別部は、メッセージを受信すると、データメッセージ、NMメッセージのいずれであるかメッセージ種類の判別を行い、受信したメッセージがNMメッセージであると判別した場合には、バッファに格納せずに直接ネットワークマネジメント処理部にNMメッセージを送信している。
中継接続ユニットが中継すべき多量のデータメッセージをバッファに格納している状態でNMメッセージを受信した場合に、従来技術ではNMメッセージもバッファに格納されていたためにデータメッセージの処理の後でNMメッセージが処理されるケースが想定され、NMメッセージの処理に遅延が発生する可能性がある。しかし、本発明では判別部において即座にメッセージの種類を判定して各処理部に送信するため、NMメッセージの処理の遅延が発生することがなく、ネットワーク協調制御などのネットワークマネジメント機能を確実に実行することができる。
When receiving the message, the determination unit of the relay connection unit of the present invention determines the message type, which is either a data message or an NM message, and if it determines that the received message is an NM message, The NM message is transmitted directly to the network management processing unit without storing.
When the relay connection unit receives an NM message in a state where a large amount of data message to be relayed is stored in the buffer, the NM message is also stored in the buffer in the prior art. May be processed, and there is a possibility that a delay occurs in the processing of the NM message. However, in the present invention, since the discriminating unit immediately determines the type of message and transmits it to each processing unit, there is no delay in processing the NM message, and the network management function such as network cooperative control is reliably executed. can do.
具体的には、
少なくとも前記NMメッセージのIDを記憶する識別子記憶部と、前記判別部と、前記受信部と、前記送信部と、を有するコントローラを備え、
前記判別部は、受信するメッセージのIDと前記識別子記憶部に記憶されたIDとを比較して前記メッセージがデータメッセージか前記NMメッセージかを判別している。
In particular,
A controller having at least an identifier storage unit that stores an ID of the NM message, the determination unit, the reception unit, and the transmission unit;
The determination unit determines whether the message is a data message or the NM message by comparing the ID of the received message with the ID stored in the identifier storage unit.
データメッセージ、NMメッセージのフォーマットは同一であり、各メッセージ毎に固有の識別子(ID)を備えている。判別部は該IDによりデータメッセージとNMメッセージを判別しており、識別子記憶部に記憶されたIDと、受信したメッセージのIDとを比較し、受信したメッセージのIDが識別子記憶部に記憶されたIDであれば、該メッセージをNMメッセージとしている。 The format of the data message and the NM message is the same, and each message has a unique identifier (ID). The discriminating unit discriminates the data message and the NM message based on the ID, compares the ID stored in the identifier storage unit with the ID of the received message, and stores the ID of the received message in the identifier storage unit. If it is an ID, the message is an NM message.
故障検知用のダイアグメッセージを受信するダイアグ処理部を備え、
前記識別子記憶部はダイアグメッセージのIDを記憶しており、
前記判別部は、前記ダイアグメッセージであることを判別すると、前記ダイアグメッセージを前記バッファを介さずに前記ダイアグ処理部に送信してもよい。
受信部において、NMメッセージだけでなくダイアグメッセージもIDから判別し、ダイアグメッセージを直接ダイアグ処理部に送信することで、ダイアグメッセージの処理の遅延が発生することを防ぐことができる。
A diagnostic processing unit is provided for receiving diagnostic diagnostic messages.
The identifier storage unit stores an ID of a diagnostic message,
When determining that the message is the diagnosis message, the determination unit may transmit the diagnosis message to the diagnosis processing unit without passing through the buffer.
In the receiving unit, not only the NM message but also the diagnostic message is discriminated from the ID, and the diagnostic message is transmitted directly to the diagnostic processing unit, thereby preventing a delay of the diagnostic message processing.
前記判別部と前記バッファの間に中継判別部を介在させ、
前記判別部は、前記受信するメッセージのIDが前記識別子記憶部に記載されていない場合には、該メッセージを前記データメッセージであると判断して前記中継判別部に送信し、
前記中継判別部は、前記データメッセージのIDから前記データメッセージの中継または廃棄を判別し、中継の場合には前記データメッセージを前記バッファに送信し、廃棄の場合には前記データメッセージを廃棄することが好ましい。
Interposing a relay discriminator between the discriminator and the buffer;
If the ID of the received message is not described in the identifier storage unit, the determination unit determines that the message is the data message and transmits the message to the relay determination unit.
The relay determining unit determines whether the data message is relayed or discarded based on the ID of the data message, transmits the data message to the buffer in the case of relay, and discards the data message in the case of discard. Is preferred.
判別部においてNMメッセージまたはダイアグメッセージと判別されなかったメッセージは、データメッセージとして中継判別部に送信される。中継判別部では該データメッセージが、他のECUに中継されるメッセージかどのECUにも中継されず廃棄されるメッセージかを判別し、他のECUに中継されるデータメッセージをバッファに送信している。このため、バッファにはNMメッセージやダイアグメッセージ、また廃棄されるデータメッセージが格納されることがなく、中継が必要なデータメッセージのみが格納され、中継処理部は該バッファのデータメッセージの中継処理を順次行う。 A message that is not determined to be an NM message or a diagnostic message by the determination unit is transmitted as a data message to the relay determination unit. The relay determination unit determines whether the data message is a message relayed to another ECU or a message discarded without being relayed to any ECU, and transmits the data message relayed to another ECU to the buffer. . Therefore, NM messages, diagnostic messages, and data messages to be discarded are not stored in the buffer, only data messages that need to be relayed are stored, and the relay processing unit performs relay processing of the data messages in the buffer. Do it sequentially.
前記識別子記憶部に、中継が必要なデータメッセージのID及び廃棄するデータメッセージのIDを記憶しており、
前記判別部は、受信するメッセージが前記中継が必要なデータメッセージであると判別した場合は該データメッセージを前記バッファに送信し、廃棄するデータメッセージであると判別した場合には、該データメッセージを廃棄してもよい。
The identifier storage unit stores an ID of a data message that needs to be relayed and an ID of a data message to be discarded,
The determination unit transmits the data message to the buffer when determining that the received message is a data message that needs to be relayed, and determines that the data message is determined to be a data message to be discarded. It may be discarded.
前述したように、本発明の中継接続ユニットによれば、受信部の判別部がメッセージを受信すると、データメッセージ、NMメッセージのいずれであるかの判別を行い、受信したメッセージがNMメッセージであると判別した場合には、バッファに格納せずに直接ネットワークマネジメント処理部にNMメッセージを送信している。このため、中継接続ユニットが中継すべき多量のデータメッセージをバッファに格納している状態でNMメッセージを受信した場合であっても、NMメッセージの処理の遅延が発生することがなく、ネットワーク協調制御などのネットワークマネジメント機能を確実に実行することができる。 As described above, according to the relay connection unit of the present invention, when the determination unit of the reception unit receives a message, it determines whether it is a data message or an NM message, and the received message is an NM message. If it is determined, the NM message is transmitted directly to the network management processing unit without being stored in the buffer. For this reason, even when a NM message is received in a state where a large amount of data messages to be relayed by the relay connection unit are stored in the buffer, there is no delay in processing the NM message, and network cooperative control is performed. Network management functions such as can be executed reliably.
本発明の実施形態を図面を参照して説明する。
図1乃至図4に本発明の第1実施形態を示す。
本発明の車載用の中継接続ユニット10は、電子制御ユニット(ECU)30を夫々接続しているバス31間に介在させてネットワークを形成し、異なるバス31に属する前記ECU3030間で送受信するデータメッセージを中継するものである。
本実施形態では、中継接続ユニット10を2本のバス31A、31Bの間に介在させてネットワークを形成すると共に、2本のバス31A、31Bに夫々2つのECU30A,30Bを接続している。通信プロトコルはCAN(Controller Area Network)である。
Embodiments of the present invention will be described with reference to the drawings.
1 to 4 show a first embodiment of the present invention.
The in-vehicle
In this embodiment, the
図1に示すように、中継接続ユニット10は、CANコントローラ20A,20Bと、ダイアグ処理部11と、中継処理部12と、バッファ13と、ネットワークマネジメント処理部14と、中継判別部15を備えている。
As shown in FIG. 1, the
CANコントローラ20A,20Bはバス31A,31Bと夫々接続しており、他のECU30が送信したメッセージをバス31を介して受信している。
CANコントローラ20によって送受信されるメッセージは、データメッセージ、ダイアグメッセージ、NMメッセージの3つである。データメッセージは、異なるバス31に接続されたECU30間で送受信されるものであり、中継接続ユニット10が中継し、ECU30に接続された車載機器の制御等に用いるメッセージである。ダイアグメッセージはダイアグ処理部11で使用されるメッセージであり、NMメッセージはネットワークマネジメント処理部14で使用されるメッセージである。
The
There are three messages transmitted / received by the CAN controller 20: a data message, a diagnostic message, and an NM message. The data message is transmitted / received between the ECUs 30 connected to
CANコントローラ20Aは図2に示すように、受信部及び送信部を構成する送受信バッファ21と、判別部を構成するID判別部22と識別子記憶部23を備えている。CANコントローラ20Bも同様の構成である。
送受信バッファ21はバス31と接続しており、バス31から受信したメッセージを一時的に記憶している。データメッセージ、ダイアグメッセージ、NMメッセージのメッセージフレームは同じ構成をしており、送受信バッファ21はこれらのメッセージを区別せず送受信している。
As shown in FIG. 2, the
The transmission /
識別子記憶部23は、受信したメッセージの種類を判別するためのテーブルを備えている。データメッセージ、ダイアグメッセージ、NMメッセージは各メッセージに固有の値である識別子(ID)により区別されている。図3はテーブルの例であり、中継接続ユニット10が受信するメッセージのID毎に、メッセージがダイアグメッセージ、NMメッセージのいずれであるかを記載している。テーブルには、ダイアグメッセージ、NMメッセージのIDのみを記載しており、テーブルにIDが記載されていないメッセージはデータメッセージである。
なお、テーブルにデータメッセージのIDを記載していてもよい。この場合、後述するID判別部22はテーブルを用いて、受信したメッセージのIDがデータメッセージであることを判別する。
The
Note that the ID of the data message may be described in the table. In this case, the
ID判別部22は送受信バッファ21と接続していると共に、識別子記憶部23と接続している。送受信バッファ21からメッセージを受け取ると、識別子記憶部23からテーブルを読み出し、該テーブルを参照して、受信したメッセージの種類を判別している。ID判別部22は、例えば、受信したメッセージのIDが1の時には、図3のテーブルを参照して該メッセージはダイアグメッセージであると判別している。
The
またID判別部22はネットワークマネジメント処理部14及びダイアグ処理部11及び中継判別部15と接続している。受信したメッセージをNMメッセージと判別した場合には、ID判別部22は該NMメッセージをネットワークマネジメント処理部14に送信している。また、受信したメッセージをダイアグメッセージと判別した場合には、ID判別部22は該ダイアグメッセージをダイアグ処理部11に送信している。受信したメッセージのIDがテーブルにない場合は、データメッセージとして中継判別部15に送信している。
The
なお、メッセージのフレームのうちIDが格納されたアービトレーションフィールドまで送受信バッファ21に記憶されると、ID判別部22は送受信バッファ21からメッセージを受信してIDを読み出し、メッセージの種類の判別を行っている。なお、送受信バッファ21にメッセージが最後まで記憶された後に、ID判別部22がメッセージの種類の判別を行ってもよい。
When the arbitration field in which the ID is stored in the message frame is stored in the transmission /
ダイアグ処理部11は、車載用通信システムに中継接続ユニット10の故障診断を行うダイアグノーシス(図示せず)が接続された場合に、ダイアグノーシスとダイアグメッセージの送受信を行っている。
ネットワークマネジメント処理部14は、バス31に接続された他のECU30とNMメッセージを送受信することで、ネットワーク協調制御やエラー判定を行い、車載用通信システムの通信の安全性と信頼性を確保している。
The
The network
中継判別部15はCANコントローラ20からデータメッセージを受信すると、中継接続ユニット10が該データメッセージを他のECU30に中継する必要があるか否かを判別する。中継判別部15には、中継が必要なデータメッセージのIDを記載した中継テーブル(図示せず)を備えている。中継判別部15は受信したデータメッセージのIDが中継テーブルにあるか否かを判断し、中継テーブルにある場合にはデータメッセージをバッファ13に記憶させる。中継テーブルにない場合にはデータメッセージを破棄する。
When receiving the data message from the
バッファ13は中継判別部15と接続しており、データメッセージを受信した順に記憶している。また、バス31に送信するデータメッセージを一時的に記憶している。
中継処理部12はバッファ13と接続しており、バッファ13に記憶されたデータメッセージの中継処理を行っている。中継処理部12には、データメッセージのID毎に中継先を示したルーティングテーブル(図示せず)を備えている。中継処理部12はバッファ13に格納されたデータメッセージのうち先に格納されたものから順に読み出し、データメッセージのIDからルーティングテーブルを参照して中継先を判断し、バッファ13に送信する。
The
The
中継接続ユニット10のCANコントローラ20A,20Bと、ダイアグ処理部11と、中継処理部12と、バッファ13と、ネットワークマネジメント処理部14と、中継判別部15は、集積回路(IC)で構成してもよい。
The
次に、本発明の中継接続ユニット10がメッセージを受信して中継処理部12、ダイアグ処理部11、ネットワークマネジメント処理部14に送信される場合の動作を図4のフローチャートを用いて説明する。
ステップS1では、CANコントローラ20Aがメッセージを受信し、送受信バッファ21にメッセージが記憶される。
ステップS2では、ID判別部22は送受信バッファ21からメッセージを読み出すと共に識別子記憶部23からテーブルを読み出し、テーブルを参照してメッセージのIDからメッセージの種類を判別している。メッセージがNMメッセージである場合はステップS3に、ダイアグメッセージである場合はステップS5に進む。またテーブルにメッセージIDが記載されていない場合は、データメッセージであると判断してステップS7に進む。
Next, the operation when the
In step S <b> 1, the
In step S2, the
ステップS3では、ID判別部22はNMメッセージをネットワークマネジメント処理部14に送信している。
ステップS4では、ネットワークマネジメント処理部14では、該NMメッセージを用いてECU30の状態遷移などの処理を行っている。
ステップS5では、ID判別部22はダイアグメッセージをダイアグ処理部11に送信している。
ステップS6では、ダイアグ処理部11は、ダイアグメッセージを用いて故障診断等の処理を行っている。
In step S <b> 3, the
In step S4, the network
In step S <b> 5, the
In step S6, the
ステップS7では、ID判別部22はデータメッセージを中継判別部15に送信している。
ステップS8では、中継判別部15は、データメッセージのIDから中継テーブルを参照して、データメッセージについて他のECU30に中継が必要であるか否かを判断している。中継が必要である場合にはステップS9に進む。中継が必要でない場合には、ステップS11に進む。
ステップS9では、データメッセージをバッファ13に記憶している。
ステップS10では、中継処理部12はバッファ13からデータメッセージを読み出し、ルーティングテーブルを参照して、該データメッセージの中継先を判断している。
ステップS11では、中継判別部15は、該データメッセージをバス31に中継不要と判断したので、データメッセージを廃棄している。
In step S <b> 7, the
In step S8, the
In step S9, the data message is stored in the
In step S10, the
In step S11, the
本発明によれば、CANコントローラ20のD判別部は、メッセージを受信すると、データメッセージ、NMメッセージのいずれであるかメッセージ種類の判別を行い、受信したメッセージがNMメッセージであると判別した場合には、バッファ13に格納せずに直接ネットワークマネジメント処理部14にNMメッセージを送信しているため、中継接続ユニット10が中継すべき多量のデータメッセージをバッファ13に格納している状態でNMメッセージを受信した場合であっても、NMメッセージの処理の遅延が発生することがなく、ネットワーク協調制御などのネットワークマネジメント機能を確実に実行することができる。
According to the present invention, when the D determination unit of the
図5及び図6に本発明の第2実施形態を示す。
第2実施形態では中継判別部15を設けておらず、CANコントローラ20はバッファ13と接続している。CANコントローラ20のID判別部22においてデータメッセージの中継を行うか否かを判断している。
CANコントローラ20の識別子記憶部23には、例えば図6に示すテーブルを備えている。該テーブルは、中継接続ユニット10が受信するメッセージのID毎に、メッセージがダイアグメッセージ、NMメッセージ及びデータメッセージのいずれであるかを記載している。また、データメッセージであるが中継処理部12が中継を行わないメッセージである場合には、廃棄することが記載されている。
5 and 6 show a second embodiment of the present invention.
In the second embodiment, the
The
ID判別部22は送受信バッファ21に記憶されたメッセージを読み出すと、メッセージのIDとテーブルを比較する。例えば、メッセージのIDが100の場合、ID判別部22は該メッセージはデータメッセージであると判断してバッファ13に送信する。また、メッセージのIDが110の場合、ID判別部22は該メッセージは廃棄するものと判断し、廃棄の処理を行う。
When the
このように、中継判別部15の機能をCANコントローラ20のID判別部22で行うことで、部品点数を削減することができ、中継接続ユニット10の構成が簡単になる。
なお、他の構成および作用効果は第1実施形態と同様のため、同一の符号を付して説明を省略する。
Thus, by performing the function of the
In addition, since another structure and an effect are the same as that of 1st Embodiment, the same code | symbol is attached | subjected and description is abbreviate | omitted.
10 中継接続ユニット
11 ダイアグ処理部
12 中継処理部
13 バッファ
14 ネットワークマネジメント処理部
15 中継判別部
20(20A,20B) CANコントローラ
21 送受信バッファ
22 ID判別部
23 識別子記憶部
30 電子制御ユニット(ECU)
31(31A、31B) バス
DESCRIPTION OF
31 (31A, 31B) Bus
Claims (5)
前記他の電子制御ユニットからのメッセージを受信する受信部と、
前記他の電子制御ユニットにメッセージを送信する送信部と、
前記受信部で受信したメッセージを前記送信部から送信する中継処理部と、
ネットワークマネジメントメッセージ(NMメッセージ)を前記他の電子制御ユニットと送受信して各電子制御ユニットのネットワークマネジメント機能を実行するネットワークマネジメント処理部と、
前記ネットワークマネジメント処理部と接続されると共にバッファを介して前記中継処理部と接続され、前記バスから前記他の電子制御ユニットからのメッセージを受信して、該メッセージがデータメッセージか前記NMメッセージかを判別し、前記NMメッセージは前記バッファを介さずに前記ネットワークマネジメント処理部に送信し、前記データメッセージはバッファに送信する判別部と、
を備えていることを特徴とする中継接続ユニット。 An in-vehicle relay connection unit that is interposed between a plurality of buses to which electronic control units are connected, and relays messages with the electronic control units belonging to different buses,
A receiver for receiving a message from the other electronic control unit;
A transmitter for transmitting a message to the other electronic control unit;
A relay processing unit for transmitting a message received by the receiving unit from the transmitting unit;
A network management processing unit that transmits and receives a network management message (NM message) to and from the other electronic control unit to execute a network management function of each electronic control unit;
Connected to the network management processing unit and connected to the relay processing unit via a buffer, receives a message from the other electronic control unit from the bus, and determines whether the message is a data message or the NM message. A determination unit that transmits the NM message to the network management processing unit without passing through the buffer, and transmits the data message to the buffer;
A relay connection unit characterized by comprising:
前記判別部は、受信するメッセージのIDと前記識別子記憶部に記憶されたIDとを比較して前記メッセージがデータメッセージか前記NMメッセージかを判別する請求項1に記載の中継接続ユニット。 A controller having at least an identifier storage unit that stores an ID of the NM message, the determination unit, the reception unit, and the transmission unit;
The relay connection unit according to claim 1, wherein the determination unit determines whether the message is a data message or the NM message by comparing an ID of a received message with an ID stored in the identifier storage unit.
前記識別子記憶部はダイアグメッセージのIDを記憶しており、
前記判別部は、前記ダイアグメッセージであることを判別すると、前記ダイアグメッセージを前記バッファを介さずに前記ダイアグ処理部に送信する請求項1または請求項2に記載の中継接続ユニット。 A diagnostic processing unit is provided for receiving diagnostic diagnostic messages.
The identifier storage unit stores an ID of a diagnostic message,
3. The relay connection unit according to claim 1, wherein when the determination unit determines that the message is the diagnosis message, the determination unit transmits the diagnosis message to the diagnosis processing unit without passing through the buffer.
前記判別部は、前記受信するメッセージのIDが前記識別子記憶部に記載されていない場合には、該メッセージを前記データメッセージであると判断して前記中継判別部に送信し、
前記中継判別部は、前記データメッセージのIDから前記データメッセージの中継または廃棄を判別し、中継の場合には前記データメッセージを前記バッファに送信し、廃棄の場合には前記データメッセージを廃棄する請求項2または請求項3に記載の中継接続ユニット。 Interposing a relay discriminator between the discriminator and the buffer;
If the ID of the received message is not described in the identifier storage unit, the determination unit determines that the message is the data message and transmits the message to the relay determination unit.
The relay determination unit determines whether the data message is relayed or discarded based on the ID of the data message, transmits the data message to the buffer in the case of relay, and discards the data message in the case of discard. The relay connection unit according to claim 2 or claim 3.
前記判別部は、受信するメッセージが前記中継が必要なデータメッセージであると判別した場合は該データメッセージを前記バッファに送信し、廃棄するデータメッセージであると判別した場合には、該データメッセージを廃棄している請求項2または請求項3に記載の中継接続ユニット。 The identifier storage unit stores an ID of a data message that needs to be relayed and an ID of a data message to be discarded,
The determination unit transmits the data message to the buffer when determining that the received message is a data message that needs to be relayed, and determines that the data message is determined to be a data message to be discarded. The relay connection unit according to claim 2 or 3, which is discarded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007240905A JP4959484B2 (en) | 2007-09-18 | 2007-09-18 | Relay connection unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007240905A JP4959484B2 (en) | 2007-09-18 | 2007-09-18 | Relay connection unit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009071773A true JP2009071773A (en) | 2009-04-02 |
JP4959484B2 JP4959484B2 (en) | 2012-06-20 |
Family
ID=40607540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007240905A Expired - Fee Related JP4959484B2 (en) | 2007-09-18 | 2007-09-18 | Relay connection unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4959484B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012153945A2 (en) * | 2011-05-11 | 2012-11-15 | 성균관대학교 산학협력단 | Method for managing an osek network path |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001045329A1 (en) * | 1999-12-15 | 2001-06-21 | Hitachi, Ltd. | Gateway and distributed system using the gateway |
JP2003283527A (en) * | 2002-03-22 | 2003-10-03 | Sumitomo Electric Ind Ltd | On-vehicle network system and vehicle information management device |
JP2006222649A (en) * | 2005-02-09 | 2006-08-24 | Fujitsu Ten Ltd | Gateway device with network monitoring function |
JP2007161092A (en) * | 2005-12-14 | 2007-06-28 | Auto Network Gijutsu Kenkyusho:Kk | Load synchronous control system |
-
2007
- 2007-09-18 JP JP2007240905A patent/JP4959484B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001045329A1 (en) * | 1999-12-15 | 2001-06-21 | Hitachi, Ltd. | Gateway and distributed system using the gateway |
JP2003283527A (en) * | 2002-03-22 | 2003-10-03 | Sumitomo Electric Ind Ltd | On-vehicle network system and vehicle information management device |
JP2006222649A (en) * | 2005-02-09 | 2006-08-24 | Fujitsu Ten Ltd | Gateway device with network monitoring function |
JP2007161092A (en) * | 2005-12-14 | 2007-06-28 | Auto Network Gijutsu Kenkyusho:Kk | Load synchronous control system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012153945A2 (en) * | 2011-05-11 | 2012-11-15 | 성균관대학교 산학협력단 | Method for managing an osek network path |
WO2012153945A3 (en) * | 2011-05-11 | 2013-03-21 | 성균관대학교 산학협력단 | Method for managing an osek network path |
US9323629B2 (en) | 2011-05-11 | 2016-04-26 | Research & Business Foundation Sungkyunkwan University | Method for managing path failures of OSEK networks |
Also Published As
Publication number | Publication date |
---|---|
JP4959484B2 (en) | 2012-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10693905B2 (en) | Invalidity detection electronic control unit, in-vehicle network system, and communication method | |
JP4407752B2 (en) | FAILURE LOCATION DETECTION DEVICE, COMMUNICATION DEVICE, AND FAILURE LOCATION DETECTION METHOD | |
JP2007038904A (en) | Car-mounted gateway device and message forwarding method used in gateway device | |
JP5050653B2 (en) | Electronic control device | |
JP2008219555A (en) | On-board relay connection unit | |
JP2006222649A (en) | Gateway device with network monitoring function | |
JP6760199B2 (en) | In-vehicle communication system, in-vehicle relay device and message relay method | |
US11909748B2 (en) | Anti-fraud control system, monitoring device, and anti-fraud control method | |
US20160283432A1 (en) | Protocol-tolerant communications in controller area networks | |
JP6176199B2 (en) | Transmission line abnormality detection device | |
JP2019146145A (en) | Communication device, communication method, and program | |
JP5696685B2 (en) | In-vehicle communication system, communication abnormality monitoring method for in-vehicle communication system, and communication abnormality monitoring program for in-vehicle communication system | |
JP4959484B2 (en) | Relay connection unit | |
JP2004349961A (en) | Repeating device and program | |
JP4361540B2 (en) | Gateway device, data transfer method, and program | |
JP2009267853A (en) | Communication system and communication method | |
JP5212339B2 (en) | Data relay apparatus and data relay method | |
JP6593230B2 (en) | Communications system | |
JP6137033B2 (en) | In-vehicle network system and in-vehicle relay device | |
JP2008042562A (en) | Gateway device | |
JP2020150442A (en) | Gateway unit | |
JP6183281B2 (en) | Communication system and electronic control device | |
WO2023037711A1 (en) | In-vehicle relay device, in-vehicle relay method, and in-vehicle relay program | |
JP7205439B2 (en) | electronic controller | |
JP2014187544A (en) | Communication system, communication node, and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100804 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111213 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120207 |
|
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: 20120313 |
|
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: 20120321 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150330 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
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 |