JP6674312B2 - Gateway device - Google Patents
Gateway device Download PDFInfo
- Publication number
- JP6674312B2 JP6674312B2 JP2016089518A JP2016089518A JP6674312B2 JP 6674312 B2 JP6674312 B2 JP 6674312B2 JP 2016089518 A JP2016089518 A JP 2016089518A JP 2016089518 A JP2016089518 A JP 2016089518A JP 6674312 B2 JP6674312 B2 JP 6674312B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- condition
- control unit
- gateway device
- importance
- 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
Links
Images
Description
本発明は、ゲートウェイ装置に関する。 The present invention relates to a gateway device.
従来の技術として、CAN(Controller Area Network)バスに接続された複数のノードがそれぞれ自分の送信フレーム数を送信すると共に自分以外の送信フレーム数を受信し、これらの送信フレーム数に基づいてノードごとにそれぞれバス負荷を算出する通信バス負荷監視システムが知られている(例えば、特許文献1参照。)。 As a conventional technique, a plurality of nodes connected to a CAN (Controller Area Network) bus transmit their own transmission frame numbers and receive transmission frame numbers other than their own. There is known a communication bus load monitoring system that calculates a bus load respectively (for example, see Patent Document 1).
この通信バス負荷監視システムは、バス負荷が高い場合には、送信頻度を下げるなどのバス負荷を下げる処理を行う。 When the bus load is high, the communication bus load monitoring system performs processing to reduce the bus load such as reducing the transmission frequency.
しかし従来の通信バス負荷監視システムは、バス負荷が高くなったことを算出したときには、既に重要度の高いフレームに遅延が発生している可能性があり、重要度の高いフレームの遅延を抑制することが困難である。 However, when the conventional communication bus load monitoring system calculates that the bus load has become high, there is a possibility that a delay has already occurred in a frame of high importance, and the delay of a frame with high importance is suppressed. It is difficult.
従って、本発明の目的は、重要度の高いフレームの遅延を抑制することができるゲートウェイ装置を提供することにある。 Therefore, an object of the present invention is to provide a gateway device that can suppress a delay of a frame of high importance.
本発明の一態様は、車両に搭載された複数のネットワークのそれぞれに接続された複数のノード同士のフレームの送受信を制御し、受信したフレームが第1の条件を満たす場合、少なくとも1つのネットワークの負荷が高くなると予想し、重要度の低いフレームの送信を第2の条件が満たされるまで停止する制御部を備えたゲートウェイ装置を提供する。 One embodiment of the present invention controls transmission and reception of a frame between a plurality of nodes connected to a plurality of networks mounted on a vehicle, and when the received frame satisfies a first condition, at least one of the networks is controlled. Provided is a gateway device provided with a control unit that predicts that a load will increase and stops transmission of a low-importance frame until a second condition is satisfied.
本発明によれば、重要度の高いフレームの遅延を抑制することができる。 According to the present invention, it is possible to suppress delay of a frame having high importance.
(実施の形態の要約)
実施の形態に係るゲートウェイ装置は、車両に搭載された複数のネットワークのそれぞれに接続された複数のノード同士のフレームの送受信を制御し、受信したフレームが第1の条件を満たす場合、少なくとも1つのネットワークの負荷が高くなると予想し、重要度の低いフレームの送信を第2の条件が満たされるまで停止する制御部を備えて概略構成されている。
(Summary of Embodiment)
The gateway device according to the embodiment controls transmission and reception of a frame between a plurality of nodes connected to a plurality of networks mounted on a vehicle, and when the received frame satisfies a first condition, at least one The configuration is roughly configured to include a control unit that anticipates that the load on the network will increase and stops transmission of frames of low importance until the second condition is satisfied.
このゲートウェイ装置は、第1の条件を満たすフレームが受信されると重要度の低いフレームの送信を停止するので、この構成を採用しない場合と比べて、ネットワークトラフィックを確保してネットワークの負荷を軽くし、重要度の高いフレームの遅延を抑制することができる。 Since the gateway apparatus stops transmitting low-priority frames when a frame satisfying the first condition is received, it secures network traffic and reduces the load on the network as compared with a case where this configuration is not used. However, it is possible to suppress delay of a frame having high importance.
[第1の実施の形態]
(ゲートウェイ装置1の概要)
図1は、第1の実施の形態に係るゲートウェイ装置の一例を示すブロック図である。図2は、第1の実施の形態に係るゲートウェイ装置のテーブルの一例を説明するための概略図である。テーブル100は、例えば、後述するCAN−IDが記載されるが、説明のため該当するフレームを送信する装置や機構などを示している。
[First Embodiment]
(Overview of Gateway Device 1)
FIG. 1 is a block diagram illustrating an example of the gateway device according to the first embodiment. FIG. 2 is a schematic diagram for explaining an example of a table of the gateway device according to the first embodiment. The table 100 describes, for example, a CAN-ID to be described later, and shows a device or a mechanism for transmitting a corresponding frame for description.
車両には、CAN、LIN(Local Interconnect Network)、MOST(Media Oriented System Transport)、FlexRayなどのネットワークが搭載されている。これらのネットワークは、プロトコルが異なり、直接データを交換することができない。ゲートウェイ装置1は、これらのネットワークを中継するものであり、プロトコルを変換して相互にデータを交換できるようにするものである。またゲートウェイ装置1は、フレームの優先度に応じて受信したフレームを該当のネットワークに送信するものである。 The vehicle is equipped with a network such as CAN, LIN (Local Interconnect Network), MOST (Media Oriented System Transport), and FlexRay. These networks have different protocols and cannot directly exchange data. The gateway device 1 relays these networks, and converts protocols so that data can be exchanged with each other. The gateway device 1 transmits a received frame to a corresponding network according to the priority of the frame.
このゲートウェイ装置1は、図1に示すように、車両に搭載された複数のネットワークのそれぞれに接続された複数のノード同士のフレームの送受信を制御し、受信したフレームが第1の条件を満たす場合、少なくとも1つのネットワークの負荷が高くなると予想し、重要度の低いフレームの送信を第2の条件が満たされるまで停止する制御部としてのゲートウェイ制御部10を備えて概略構成されている。
As shown in FIG. 1, the gateway device 1 controls transmission and reception of frames between a plurality of nodes connected to a plurality of networks mounted on a vehicle, respectively, and when the received frames satisfy a first condition. And a
上述の複数のネットワークは、一例として、図1に示すように、第1のネットワーク2及び第2のネットワーク3である。本実施の形態の第1のネットワーク2及び第2のネットワーク3は、例えば、CANプロトコルに従ったCAN通信を行うものである。なおゲートウェイ装置1に接続されるネットワークは、さらに複数であっても良いし、異なるプロトコルを有する複数のネットワークであっても良い。
The plurality of networks described above are, for example, a first network 2 and a
ノードは、ネットワークに接続された電子制御ユニット(ECU:Electric Control Unit)である。このノード(ECU4)は、フレームを1つの単位としてデータの送受信を行う。 The node is an electronic control unit (ECU) connected to the network. This node (ECU 4) transmits and receives data using a frame as one unit.
フレームは、規定されたデジタル信号のまとまりである。このフレームには、CAN−ID(Identier:識別子)が含まれている。ノードであるECU4は、このCAN−IDに基づいて自身が受信すべきフレームなのか否かを判定する。またCAN−IDは、重要度(優先度)の情報を含んでいる。CAN−IDは、数字が小さいほど重要度が高く、数字が大きいほど重要度が低い。
A frame is a defined set of digital signals. This frame includes a CAN-ID (Identifier). The
このフレームは、一例として、大きく分けて、データを要求された側のECU4が送信するデータフレームと、データを要求する側のECU4が送信するリモートフレームと、がある。
The frames are roughly classified into, for example, a data frame transmitted by the
データフレームは、例えば、開始を示すSOF(Start Of Frame)、CAN−ID、RTR(Remote Transmission Request)、コントロールフィールド、データレングスコード(DLC)、データフィールド、CRC(Cyclic Redundancy Check)シーケンス、CRCデリミタ、ACK(Acknowledgement)スロット、ACKデリミタ、そして終わりに送信されるEOF(End Of Frame)から構成されている。 The data frame includes, for example, SOF (Start Of Frame) indicating the start, CAN-ID, RTR (Remote Transmission Request), control field, data length code (DLC), data field, CRC (Cyclic Redundancy Check) sequence, CRC delimiter , ACK (Acknowledgement) slot, ACK delimiter, and EOF (End Of Frame) transmitted at the end.
そしてリモートフレームは、例えば、上述のデータフレームからデータフィールドを除いたものとなっている。またRTRは、データフィールドがドミナント(0)であったのに対し、リモートフレームがレセッシブ(1)になっている。本実施の形態では、特に断らない限り、データフレーム及びリモートフレームをフレームと記載する。 The remote frame is, for example, the above-described data frame except for the data field. In the RTR, the data field is dominant (0), whereas the remote frame is recessive (1). In the present embodiment, a data frame and a remote frame are referred to as a frame unless otherwise specified.
ゲートウェイ装置1は、例えば、図1に示すように、車両通信システム5を構成している。この車両通信システム5は、ゲートウェイ装置1と、第1のネットワーク2と、第2のネットワーク3と、複数のECU4と、を備えて概略構成されている。
The gateway device 1 constitutes, for example, a vehicle communication system 5 as shown in FIG. The vehicle communication system 5 is schematically configured including a gateway device 1, a first network 2, a
またゲートウェイ装置1は、一例として、図1に示すように、トランシーバ11及びトランシーバ12と、コントローラ13及びコントローラ14と、バッファ15及びバッファ16と、を備えて概略構成されている。
Further, as an example, as shown in FIG. 1, the gateway device 1 is schematically configured to include a transceiver 11 and a
(第1のネットワーク2及び第2のネットワーク3の構成)
第1のネットワーク2は、通信バス20を有している。この通信バス20には、複数のECU4が電気的に接続されている。第2のネットワーク3は、通信バス30を有している。この通信バス30には、複数のECU4が電気的に接続されている。
(Configuration of First Network 2 and Second Network 3)
The first network 2 has a communication bus 20. A plurality of
通信バス20に接続されたECU4は、通信バス20を介してゲートウェイ装置1にフレームを送信し、通信バス20を介してゲートウェイ装置1からフレームを受信する。同様に、通信バス30に接続されたECU4は、通信バス30を介してゲートウェイ装置1にフレームを送信し、通信バス30を介してゲートウェイ装置1からフレームを受信する。 The ECU 4 connected to the communication bus 20 transmits a frame to the gateway device 1 via the communication bus 20 and receives a frame from the gateway device 1 via the communication bus 20. Similarly, the ECU 4 connected to the communication bus 30 transmits a frame to the gateway device 1 via the communication bus 30 and receives a frame from the gateway device 1 via the communication bus 30.
(ECU4の構成)
ECU4は、例えば、CPU(Central Processing Unit)、半導体メモリであるRAM(Random Access Memory)及びROM(Read Only Memory)などから構成されるマイクロコンピュータを備えて概略構成されている。ECU4は、例えば、以下に示すように、センサやアクチュエータなどの制御を行う電子制御ユニットである。
(Configuration of ECU 4)
The ECU 4 is schematically configured to include, for example, a microcomputer including a CPU (Central Processing Unit), a semiconductor memory such as a RAM (Random Access Memory) and a ROM (Read Only Memory). The
このECU4は、一例として、ボディ系ノード、駆動系ノード、シャーシ系ノード、運転支援系ノード及びマルチメディア系ノードなどの種類がある。なお以下の分類は、車両の仕様に応じて様々な分け方があり、以下はその一例を示している。
Examples of the
ボディ系ノードは、一例として、ヘッドランプ、ミラー、空調装置、シート、エアバック、シートベルト及びドアなどのボディに関係する装置を制御する電子制御ユニットである。 The body system node is, for example, an electronic control unit that controls devices related to the body such as a headlamp, a mirror, an air conditioner, a seat, an airbag, a seatbelt, and a door.
駆動系ノードは、一例として、プラグ、インジェクタ、吸気及び排気バルブ、変速機、駆動用モータなどの駆動系に関係する装置を制御する電子制御ユニットである。 The drive system node is, for example, an electronic control unit that controls devices related to the drive system such as a plug, an injector, intake and exhaust valves, a transmission, and a drive motor.
シャーシ系ノードは、一例として、ステアリング、ブレーキ、サスペンションなどに関係する装置を制御する電子制御ユニットである。 The chassis node is, for example, an electronic control unit that controls devices related to steering, brake, suspension, and the like.
運転支援系ノードは、一例として、レーンの逸脱、運転者の意識レベル、車間距離などを測定するセンサ、ステアリングを駆動するアクチュエータなどの運転支援に関係する装置を制御する電子制御ユニットである。 The driving support system node is, for example, an electronic control unit that controls devices related to driving support, such as a sensor that measures lane departure, a driver's consciousness level, an inter-vehicle distance, and an actuator that drives a steering.
マルチメディア系ノードは、一例として、音楽再生装置、映像再生装置、ナビゲーション装置などである。 The multimedia node is, for example, a music playback device, a video playback device, a navigation device, or the like.
(トランシーバ11及びトランシーバ12の構成)
トランシーバ11は、第1のネットワーク2の通信バス20とコントローラ13とに電気的に接続されている。またトランシーバ12は、第2のネットワーク3の通信バス30とコントローラ14とに電気的に接続されている。
(Configuration of Transceiver 11 and Transceiver 12)
The transceiver 11 is electrically connected to the communication bus 20 of the first network 2 and the
このトランシーバ11及びトランシーバ12は、通信バス20及び通信バス30に送信する電気信号の生成、調整、動作電流の確保などを行うように構成されている。
The
CAN通信の場合、通信バス20及び通信バス30は、信号線が二本であり、CAN−H、CAN−Lと呼ばれる電気信号が伝播する。CAN通信では、この電気信号の差分に基づいて電位差がある場合をドミナント(1)、電位差がない場合をレセッシブ(0)としている。 In the case of the CAN communication, the communication bus 20 and the communication bus 30 have two signal lines, and electric signals called CAN-H and CAN-L propagate. In CAN communication, a case where there is a potential difference based on the difference between the electric signals is referred to as dominant (1), and a case where there is no potential difference is referred to as recessive (0).
トランシーバ11は、この電気信号を検知し、コントローラ13に送信すると共に、コントローラ13から送信された電子信号を通信バス20に送信する。同様に、トランシーバ12は、この電気信号を検知し、コントローラ14に送信すると共に、コントローラ14から送信された電子信号を通信バス30に送信する。
The transceiver 11 detects the electric signal, transmits the electric signal to the
(コントローラ13及びコントローラ14の構成)
コントローラ13は、トランシーバ11とバッファ15とに電気的に接続されている。またコントローラ14は、トランシーバ12とバッファ16と電気的に接続されている。
(Configuration of
The
コントローラ13及びコントローラ14は、CANプロトコルの機能(ビットスタッフィング、通信調停、エラー調整など)を行う。
The
コントローラ13は、第1のネットワーク2から受信したCANプロトコルに従ったフレームをゲートウェイ制御部10が扱える形式の受信メッセージに変換してバッファ15に書き込む。またコントローラ14は、第2のネットワーク3から受信したCANプロトコルに従ったフレームをゲートウェイ制御部10が扱える形式の受信メッセージに変換してバッファ16に書き込む。
The
コントローラ13は、ゲートウェイ制御部10がバッファ15に書き込んだ送信メッセージをCANプロトコルに基づくフレームに変換してトランシーバ11を介して第1のネットワーク2に送信する。またコントローラ14は、ゲートウェイ制御部10がバッファ16に書き込んだ送信メッセージをCANプロトコルに基づくフレームに変換してトランシーバ12を介して第2のネットワーク3に送信する。
The
ゲートウェイ装置1は、異なるプロトコルを有するネットワークが接続される場合、各プロトコルに対応したコントローラを備える。 When networks having different protocols are connected, the gateway device 1 includes a controller corresponding to each protocol.
(バッファ15及びバッファ16の構成)
バッファ15は、コントローラ13及びゲートウェイ制御部10に電気的に接続されている。またバッファ16は、コントローラ14及びゲートウェイ制御部10に電気的に接続されている。このバッファ15及びバッファ16は、例えば、半導体メモリである。
(Configuration of
The
このバッファ15及びバッファ16は、例えば、送信メッセージを格納する送信バッファと、受信メッセージを格納する受信バッファと、を備えている。
The
バッファ15及びバッファ16には、複数の受信メッセージ及び送信メッセージが格納され、決められた順にネットワークに送信される。
A plurality of received messages and transmitted messages are stored in the
(ゲートウェイ制御部10の構成)
ゲートウェイ制御部10は、例えば、記憶されたプログラムに従って、取得したデータに演算、加工などを行うCPU、RAM及びROMなどから構成されるマイクロコンピュータである。このROMには、例えば、ゲートウェイ制御部10が動作するためのプログラムと、テーブル100と、第1の条件情報101と、第2の条件情報102と、が格納されている。RAMは、例えば、一時的に演算結果などを格納する記憶領域として用いられる。またゲートウェイ制御部10は、時間を計測するように構成されている。
(Configuration of Gateway Control Unit 10)
The
テーブル100は、例えば、フレームの重要度などを規定したものであり、少なくともCAN−IDを含んで構成されている。ゲートウェイ制御部10は、例えば、通常の運転では送信されることがない異常を示すフレームを受信すると、今後通信バスのバス負荷が増大することが予想されるので、通信バスのバス負荷を下げてネットワークトラフィックを確保して重要度が高いフレームに遅延が生じないように準備する。
The table 100 defines, for example, the importance of a frame and includes at least the CAN-ID. For example, when the
重要度が低いフレームは、一例として、図2に示すように、空調装置、ナビゲーション装置、シート、ステアリング位置、ステアリングスイッチ、電子キーの認証及びアンサーバックなどに関するフレームである。 As an example, as shown in FIG. 2, the frames with low importance are frames related to air conditioners, navigation devices, seats, steering positions, steering switches, authentication of electronic keys, answer back, and the like.
重要度の高いフレームは、一例として、図2に示すように、トラクションコントロール、アンチロックブレーキ、横滑り防止、エンジン制御、ドア、レーンキープ、追突防止などに関するフレームである。 For example, as shown in FIG. 2, the frames having high importance are frames related to traction control, anti-lock brake, side skid prevention, engine control, door, lane keeping, rear-end collision prevention, and the like.
ゲートウェイ制御部10は、重要度の高いフレームからさらに異常を示すフレームとして、エアバック、急ブレーキ、急ハンドル、タイヤロック、衝撃感知などに関するフレームを定めている。この異常を示すフレームは、例えば、追突、危険回避及び事故の発生を予想されるフレームである。
The
このテーブル100には、一例として、CAN−IDの数字の範囲で重要度を指定するように構成される。 The table 100 is configured, for example, to designate the importance in the range of the numbers of the CAN-ID.
ゲートウェイ制御部10は、異常を示すフレームが発生した後、バス負荷が増加することが予想されるので、重要度の高いフレームの遅延が生じないようにバス負荷を下げてネットワークトラフィックを確保して備えるように構成されている。
Since the bus load is expected to increase after the occurrence of a frame indicating an abnormality, the
ゲートウェイ制御部10は、第1の条件情報101に基づく第1の条件に応じてバス負荷を下げるように構成されている。具体的には、ゲートウェイ制御部10は、予め定められた重要度の高いフレームの受信を第1の条件としている。この予め定められた重要度の高いフレームは、テーブル100の異常を示すフレームである。
The
ゲートウェイ制御部10は、テーブル100に基づいてバッファ15又はバッファ16に書き込まれた受信メッセージが異常を示すフレームのものであった場合、テーブル100に基づいてバッファ15及びバッファ16に書き込まれた受信メッセージのうち、重要度が低いフレームに対応する受信メッセージに対する処理を停止させて重要度が低いフレームの送信を停止させる。
If the received message written in the
またゲートウェイ制御部10は、第2の条件情報102に基づく第2の条件に応じて重要度が低いフレームの送信停止を解除するように構成されている。具体的には、ゲートウェイ制御部10は、予め定められた期間の経過を第2の条件としている。この予め定められた期間とは、一例として、3〜10秒である。
In addition, the
以下に本実施の形態のゲートウェイ装置1の動作の一例について図3のフローチャートに従って説明する。 Hereinafter, an example of the operation of the gateway device 1 according to the present embodiment will be described with reference to the flowchart in FIG.
(動作)
ゲートウェイ装置1は、車両通信システム5が起動すると、第1のネットワーク2及び第2のネットワーク3を介してECU4からフレームを受信する。
(motion)
When the vehicle communication system 5 is activated, the gateway device 1 receives a frame from the
ゲートウェイ制御部10は、テーブル100と、第1の条件情報101と、バッファ15及びバッファ16に書き込まれた受信メッセージに応じたフレーム(CAN−ID)と、に基づいて第1の条件が成立するか否かを確認する。ゲートウェイ制御部10は、第1の条件が成立すると(Step1:Yes)、バス負荷を下げるため、テーブル100に基づいて重要度の低いフレームに応じた受信メッセージに対する処理を停止させ、重要度の低いフレームの送信を停止する(Step2)。
The
ゲートウェイ制御部10は、第1の条件が成立してからの時間を計測する。ゲートウェイ制御部10は、計測している時間が予め定められた期間に達する、つまり計測している時間と第2の条件情報102に基づいて第2の条件が成立したと判断すると(Step3:Yes)、処理の停止を解除、つまり重要度の低いフレームの送信を再開して通常の処理に戻る(Step4)。
The
ここでステップ1においてゲートウェイ制御部10は、第1の条件が成立していない場合(Step1:No)、通常の処理を継続して行う(Step5)。
Here, in Step 1, when the first condition is not satisfied (Step 1: No), the
(第1の実施の形態の効果)
本実施の形態に係るゲートウェイ装置1は、重要度の高いフレームの遅延を抑制することができる。具体的には、ゲートウェイ装置1は、第1の条件を満たすフレームが受信されると、今後重要度の高いフレームがECU4から送信されると判断し、重要度の低いフレームの送信を停止してネットワークトラフィックを確保する。従ってゲートウェイ装置1は、この構成を採用しない場合と比べて、ネットワークの負荷を軽くし、重要度の高いフレームの遅延を抑制することができる。
(Effects of the First Embodiment)
The gateway device 1 according to the present embodiment can suppress delay of a frame with high importance. Specifically, when a frame that satisfies the first condition is received, the gateway device 1 determines that a frame of higher importance will be transmitted from the
[第2の実施の形態]
第2の実施の形態は、第1の条件と第2の条件が第1の実施の形態と異なっている。以下に記載する第2の実施の形態において、第1の実施の形態と同じ機能及び構成を有する部分は、第1の実施の形態と同じ符号を付し、その説明は省略するものとする。
[Second embodiment]
The second embodiment differs from the first embodiment in the first condition and the second condition. In the second embodiment described below, portions having the same functions and configurations as the first embodiment are denoted by the same reference numerals as in the first embodiment, and description thereof will be omitted.
本実施の形態のゲートウェイ制御部10は、予め定められた重要度の高いフレームの受信、又は予め定められた組み合わせのフレームの受信を第1の条件としている。また本実施の形態のゲートウェイ制御部10は、予め定められた期間の経過、又は重要度が高いフレームの受信の頻度が予め定められた頻度しきい値以下となることを第2の条件としている。
The first condition is that
この第1の条件の予め定められた組み合わせのフレームの受信は、一例として、テーブル100に基づく重要度の高いフレームの組み合わせの受信である。この第1の条件に係る複数のフレームは、設定された期間内に受信されたフレームである。 The reception of the frame of the predetermined combination of the first condition is, for example, the reception of the combination of the frames of high importance based on the table 100. The plurality of frames according to the first condition are frames received within a set period.
なお変形例として第1の条件は、重要度の高いフレームの組み合わせのみであっても良い。 As a modified example, the first condition may be only a combination of frames having high importance.
また第2の条件における頻度しきい値は、第2の条件情報102に含まれている。なお変形例としてゲートウェイ制御部10は、重要度が高いフレームの受信の頻度が予め定められた頻度しきい値以下となることのみを第2の条件としても良い。
Further, the frequency threshold value under the second condition is included in the second condition information 102. Note that as a modification, the second condition may be that the
以下に本実施の形態のゲートウェイ装置1の動作の一例について第1の実施の形態の図3のフローチャートを参照しながら説明する。 Hereinafter, an example of the operation of the gateway device 1 of the present embodiment will be described with reference to the flowchart of FIG. 3 of the first embodiment.
(動作)
ゲートウェイ装置1は、車両通信システム5が起動すると、第1のネットワーク2及び第2のネットワーク3を介してECU4からフレームを受信する。
(motion)
When the vehicle communication system 5 is activated, the gateway device 1 receives a frame from the
ゲートウェイ制御部10は、テーブル100と、第1の条件情報101と、バッファ15及びバッファ16に書き込まれた受信メッセージに応じたフレーム(CAN−ID)と、に基づいて、本実施の形態の第1の条件が成立するか否かを確認する。ゲートウェイ制御部10は、第1の条件が成立すると(Step1:Yes)、バス負荷を下げるため、テーブル100に基づいて重要度の低いフレームに応じた受信メッセージに対する処理を停止させ、重要度の低いフレームの送信を停止する(Step2)。
The
ゲートウェイ制御部10は、第1の条件が成立してからの時間を計測すると共に、重要度の高いフレームの受信の頻度を算出する。ゲートウェイ制御部10は、計測している時間が予め定められた期間に達する、又は頻度が頻度しきい値以下となって第2の条件が成立すると(Step3:Yes)、処理の停止を解除、つまり重要度の低いフレームの送信を再開して通常の処理に戻る(Step4)。
The
ここでステップ1においてゲートウェイ制御部10は、第1の条件が成立していない場合(Step1:No)、通常の処理を継続して行う(Step5)。
Here, in Step 1, when the first condition is not satisfied (Step 1: No), the
(第2の実施の形態の効果)
本実施の形態のゲートウェイ装置1は、重要度の高いフレームの組み合わせによってもバス負荷を下げることができるので、この構成を採用しない場合と比べて、単独では異常とされないが組み合わせると異常である場合であっても、重要度の高いフレームの遅延を抑制することができる。
(Effect of Second Embodiment)
The gateway device 1 of the present embodiment can reduce the bus load even by a combination of frames of high importance. However, it is possible to suppress a delay of a frame having high importance.
ゲートウェイ装置1は、重要度が高いフレームの受信の頻度が予め定められた頻度しきい値以下となることによっても通常の処理に戻るので、この構成を採用しない場合と比べて、衝突などが早期に回避された場合などにおいて予め定められた期間より前に通常の処理に戻ることができる。 The gateway device 1 returns to the normal processing even when the frequency of reception of the frame with high importance becomes equal to or less than the predetermined frequency threshold value. For example, in the case of avoidance, it is possible to return to the normal processing before the predetermined period.
上述の実施の形態及び変形例に係るゲートウェイ装置1は、例えば、用途に応じて、その一部が、コンピュータが実行するプログラム、ASIC(Application Specific Integrated Circuit)及びFPGA(Field Programmable Gate Array)などによって実現されても良い。 A part of the gateway device 1 according to the above-described embodiment and the modified example is, for example, a program executed by a computer, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or the like depending on the application. It may be realized.
以上、本発明のいくつかの実施の形態及び変形例を説明したが、これらの実施の形態及び変形例は、一例に過ぎず、特許請求の範囲に係る発明を限定するものではない。これら新規な実施の形態及び変形例は、その他の様々な形態で実施されることが可能であり、本発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更などを行うことができる。また、これら実施の形態及び変形例の中で説明した特徴の組合せの全てが発明の課題を解決するための手段に必須であるとは限らない。さらに、これら実施の形態及び変形例は、発明の範囲及び要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 While some embodiments and modifications of the present invention have been described above, these embodiments and modifications are merely examples, and do not limit the invention according to the claims. These new embodiments and modified examples can be implemented in other various forms, and various omissions, replacements, changes, and the like can be made without departing from the spirit of the present invention. In addition, not all combinations of the features described in the embodiments and the modified examples are necessarily indispensable as means for solving the problems of the invention. Furthermore, these embodiments and modifications are included in the scope and spirit of the invention, and are also included in the invention described in the claims and the equivalents thereof.
1…ゲートウェイ装置、2…第1のネットワーク、3…第2のネットワーク、4…ECU、5…車両通信システム、10…ゲートウェイ制御部、11,12…トランシーバ、13,14…コントローラ、15,16…バッファ、20,30…通信バス、100…テーブル、101…第1の条件情報、102…第2の条件情報 DESCRIPTION OF SYMBOLS 1 ... Gateway apparatus, 2 ... 1st network, 3 ... 2nd network, 4 ... ECU, 5 ... Vehicle communication system, 10 ... Gateway control part, 11, 12 ... Transceiver, 13, 14 ... Controller, 15, 16 ... buffer, 20, 30 ... communication bus, 100 ... table, 101 ... first condition information, 102 ... second condition information
Claims (4)
重要度が高いフレームの受信の頻度が予め定められた頻度しきい値以下となることを前記第2の条件とする、
ゲートウェイ装置。 It controls transmission and reception of frames between a plurality of nodes connected to each of a plurality of networks mounted on the vehicle, and when the received frame satisfies the first condition, predicts that the load on at least one network increases, A control unit for stopping transmission of low-importance frames until the second condition is satisfied,
The second condition is that the frequency of reception of a frame with high importance is equal to or less than a predetermined frequency threshold,
Gateway device.
請求項1に記載のゲートウェイ装置。 The control unit is configured to receive a predetermined high-priority frame as the first condition.
The gateway device according to claim 1.
請求項1に記載のゲートウェイ装置。 The control unit is configured to receive a frame having a predetermined high degree of importance or a frame of a predetermined combination as the first condition,
The gateway device according to claim 1 .
請求項1乃至3のいずれか1項に記載のゲートウェイ装置。 Frequency and the control unit is further a part of the second condition the course of a predetermined period, the frequency of reception of the lapse of a predetermined period, or the high importance frame is predetermined The second condition is to be equal to or less than a threshold value,
The gateway device according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016089518A JP6674312B2 (en) | 2016-04-27 | 2016-04-27 | Gateway device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016089518A JP6674312B2 (en) | 2016-04-27 | 2016-04-27 | Gateway device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017200050A JP2017200050A (en) | 2017-11-02 |
JP6674312B2 true JP6674312B2 (en) | 2020-04-01 |
Family
ID=60238228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016089518A Active JP6674312B2 (en) | 2016-04-27 | 2016-04-27 | Gateway device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6674312B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102450311B1 (en) * | 2017-12-29 | 2022-10-04 | 주식회사 유라코퍼레이션 | System and method for controlling load factor of internal communication bus of car, and a recording medium having computer readable program for executing the method |
JP6969410B2 (en) * | 2018-01-26 | 2021-11-24 | トヨタ自動車株式会社 | In-vehicle relay device, relay method, information processing system, and vehicle |
JPWO2021070829A1 (en) | 2019-10-11 | 2021-04-15 | ||
WO2022138656A1 (en) | 2020-12-25 | 2022-06-30 | 株式会社大阪ソーダ | Method for producing nicotinamide mononucleotide |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4466188B2 (en) * | 2003-07-16 | 2010-05-26 | 株式会社デンソー | Vehicle control device |
JP2006191337A (en) * | 2005-01-06 | 2006-07-20 | Fujitsu Ten Ltd | Gateway device for transferring message between buses and network system using the device |
JP2010028355A (en) * | 2008-07-17 | 2010-02-04 | Mitsubishi Fuso Truck & Bus Corp | Communication management device of on-vehicle network |
JP5007315B2 (en) * | 2009-04-03 | 2012-08-22 | 本田技研工業株式会社 | In-vehicle gateway device |
JP5594255B2 (en) * | 2011-08-10 | 2014-09-24 | トヨタ自動車株式会社 | Vehicle network communication management device |
-
2016
- 2016-04-27 JP JP2016089518A patent/JP6674312B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017200050A (en) | 2017-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10979245B2 (en) | Gateway device determining whether or not received frame is appropriate | |
US10693905B2 (en) | Invalidity detection electronic control unit, in-vehicle network system, and communication method | |
JP6500875B2 (en) | In-vehicle network system and communication control method in in-vehicle network system | |
JP6674312B2 (en) | Gateway device | |
US8909834B2 (en) | Central bus guardian (CBG) and method for operating CBG | |
CN107528684B (en) | First communication node in Ethernet-based vehicular network and operation method thereof | |
JP6762347B2 (en) | Systems and methods to thwart computer attacks on transportation | |
JP2007038904A (en) | Car-mounted gateway device and message forwarding method used in gateway device | |
US20160352533A1 (en) | Hybrid intra-vehicle communication network | |
US10462161B2 (en) | Vehicle network operating protocol and method | |
JPWO2019216306A1 (en) | Anomaly detection electronic control unit, in-vehicle network system and anomaly detection method | |
WO2018110046A1 (en) | Control apparatus, control system, control method, control program, and storage medium | |
US20200021611A1 (en) | Fraud detection method, fraud detection device, and recording medium | |
JP7030742B2 (en) | Communication system and communication control method | |
WO2020085330A1 (en) | Electronic control device, electronic control method, and program | |
JP2007300331A (en) | Onboard database system | |
WO2018173603A1 (en) | Update processing method, vehicle-mounted network system, and electronic control unit | |
KR20110047301A (en) | A vehicle integrated control system | |
JP2010028355A (en) | Communication management device of on-vehicle network | |
JP6920667B2 (en) | Information processing equipment, information processing systems, information processing methods, and programs | |
CN112968821A (en) | Electronic control unit, communication method, and in-vehicle network system | |
JP2017017615A (en) | Communication apparatus and communication system | |
WO2017037982A1 (en) | Gateway device, car onboard network system, and transfer method | |
JP2010028356A (en) | Communication management device of on-vehicle network | |
JP2021078023A (en) | Gateway device, node device, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181120 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190903 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191029 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20191029 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191217 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200128 |
|
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: 20200303 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200306 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6674312 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |