JP5594255B2 - Vehicle network communication management device - Google Patents

Vehicle network communication management device Download PDF

Info

Publication number
JP5594255B2
JP5594255B2 JP2011175162A JP2011175162A JP5594255B2 JP 5594255 B2 JP5594255 B2 JP 5594255B2 JP 2011175162 A JP2011175162 A JP 2011175162A JP 2011175162 A JP2011175162 A JP 2011175162A JP 5594255 B2 JP5594255 B2 JP 5594255B2
Authority
JP
Japan
Prior art keywords
data
vehicle
transmission
external data
vehicle network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011175162A
Other languages
Japanese (ja)
Other versions
JP2013038711A (en
Inventor
充啓 馬渕
和宏 奥出
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2011175162A priority Critical patent/JP5594255B2/en
Publication of JP2013038711A publication Critical patent/JP2013038711A/en
Application granted granted Critical
Publication of JP5594255B2 publication Critical patent/JP5594255B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、有線通信や無線通信を通じて外部のネットワークや情報端末に接続される車両ネットワークの通信を管理する車両ネットワークの通信管理装置に関する。   The present invention relates to a communication management device for a vehicle network that manages communication of a vehicle network connected to an external network or an information terminal through wired communication or wireless communication.

近年の自動車等の車両には、ナビゲーションシステムを構成する電子制御装置をはじめ、エンジンやブレーキ等の各種車載機器を電子的に制御する電子制御装置、車両の各種状態を表示するメータ等の機器を制御する電子制御装置などの多くの電子制御装置が搭載されている。そして、車両内では、それら各電子制御装置が通信線により電気的に接続されて車両ネットワークが形成されており、この車両ネットワークを介して各電子制御装置間での各種車両データの授受が行われている。   Vehicles such as automobiles in recent years include electronic control devices that constitute navigation systems, electronic control devices that electronically control various in-vehicle devices such as engines and brakes, and devices such as meters that display various vehicle states. Many electronic control devices such as an electronic control device to be controlled are mounted. In the vehicle, these electronic control devices are electrically connected by a communication line to form a vehicle network, and various vehicle data are exchanged between the electronic control devices via the vehicle network. ing.

さらに最近では、車両ネットワークと車両外部のネットワークとを接続し、これらネットワーク間での各種情報の授受を可能とするシステムの開発も進められている。このシステムでは、例えば、車両外部のネットワークを介して、ドライバが所有する情報端末から車両ネットワークへエンジンの起動要求が送信される。そして、車両ネットワークに接続されているエンジン制御装置がこの起動要求を受信することにより、同エンジン制御装置を通じてエンジンが起動される。このように車両ネットワークと車両外部のネットワークとの間での通信を通じて、車両の遠隔操作や車両状態の監視等を行うことが可能となっている。   Furthermore, recently, development of a system that connects a vehicle network and a network outside the vehicle and enables transmission / reception of various information between these networks is also underway. In this system, for example, an engine start request is transmitted from the information terminal owned by the driver to the vehicle network via a network outside the vehicle. Then, when the engine control device connected to the vehicle network receives this start request, the engine is started through the engine control device. As described above, it is possible to remotely control the vehicle, monitor the vehicle state, and the like through communication between the vehicle network and a network outside the vehicle.

一方、このように外部から車両ネットワークにアクセスできる状況下では、正当な利用権限を有さない不正なユーザ等による不正操作(不正アクセス)によって車両ネットワーク内に不正なデータが入力されることも想定される。そこで、例えば特許文献1に記載されているように、車両ネットワークに接続された車載機器とユーザが所有する情報端末との間での無線通信に先立ち、情報端末から送信されるデータの暗号化及び復号化による相互認証を通じて情報端末の正当性を検証することなども提案されている。この特許文献1に記載の装置によれば、正当な権限を有さない情報端末が車載機器にネットワーク接続されることが抑制され、ひいては車載機器を介して車両ネットワークに不正なデータが取り込まれることが抑制されるようになる。   On the other hand, under such circumstances where the vehicle network can be accessed from the outside, it is also assumed that unauthorized data is input into the vehicle network due to an unauthorized operation (unauthorized access) by an unauthorized user or the like who does not have a valid usage right. Is done. Therefore, for example, as described in Patent Document 1, prior to wireless communication between an in-vehicle device connected to a vehicle network and an information terminal owned by a user, encryption of data transmitted from the information terminal and It has also been proposed to verify the validity of an information terminal through mutual authentication using decryption. According to the device described in Patent Document 1, it is possible to prevent an information terminal without a legitimate authority from being network-connected to the in-vehicle device, and thus to obtain illegal data in the vehicle network via the in-vehicle device. Will be suppressed.

特開2003−152717号公報JP 2003-152717 A

ところで、このように車両ネットワークに接続された車載機器に入力されるデータの正当性を同データの暗号化及び復号化による相互認証を通じて検証するためには、複雑な演算を伴う暗号化処理や復号化処理が必要となる。このため、これら暗号化処理や復号化処理を実行するための装置が必要になるばかりか、暗号化処理や復号化処理の実行に伴う演算負荷の増大が避けられない。   By the way, in order to verify the validity of the data input to the in-vehicle device connected to the vehicle network in this way through mutual authentication by encryption and decryption of the data, encryption processing and decryption involving complicated operations are performed. Processing is required. For this reason, not only a device for executing these encryption processing and decryption processing is required, but an increase in calculation load accompanying execution of the encryption processing and decryption processing is inevitable.

また、車両ネットワークとは、前述のように、複数の電子制御装置間で車両データを授受するために車両内に形成された専用のネットワークである。よって、車両ネットワークに取り込まれることのないデータが外部から取り込まれるようなことがあると、通信負荷が増大し、各電子制御装置間での本来の車両データの送受信が阻害されることにもなりかねない。   Further, as described above, the vehicle network is a dedicated network formed in the vehicle in order to exchange vehicle data between a plurality of electronic control devices. Therefore, if data that is not captured by the vehicle network may be captured from the outside, the communication load increases, and transmission / reception of the original vehicle data between the electronic control units may be hindered. It might be.

本発明は、このような実情に鑑みてなされたものであり、その目的は、簡易な構成でありながら、外部データの入力規制を通じて、車両ネットワークとしての通信の信頼性を維持することのできる車両ネットワークの通信管理装置を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a vehicle capable of maintaining the reliability of communication as a vehicle network through the restriction of external data input while having a simple configuration. The object is to provide a network communication management device.

以下、上記課題を解決するための手段及びその作用効果について記載する。   Hereinafter, means for solving the above-described problems and the effects thereof will be described.

請求項に記載の発明は、複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え、前記通信管理部は、前記外部データが前記車載制御装置のデータ書き換え用の書き換えデータであるとき、前記外部データの送信規制を一時的に緩和する処理を実行することを要旨とする。 The invention according to claim 1 is a vehicle network in which vehicle data is transmitted and received between a plurality of vehicle-mounted control devices and external data can be input from outside the vehicle through wired communication or wireless communication. A communication management device for a vehicle network for managing data, which monitors a transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and transmits the monitored status of the data and external data A communication management unit that regulates transmission of external data to the vehicle network in accordance with a load exerted on the vehicle network, and the communication management unit includes rewrite data for rewriting data of the in-vehicle control device. In this case, the gist is to execute a process of temporarily relaxing the transmission restriction of the external data.

車両ネットワークは一般に、各車載制御装置間での車両データの授受に利用されるが、各車載制御装置が有するデータ書き換え用の書き換えデータ、いわゆるリプログラミングデータの送受信にも利用される。そして、この書き換えデータも通常、車両ネットワークの外部から外部データとして車両ネットワークに入力される。   The vehicle network is generally used for exchanging vehicle data between the in-vehicle control devices, but is also used for transmission / reception of rewrite data for data rewriting possessed by each in-vehicle control device, so-called reprogramming data. This rewritten data is also usually input to the vehicle network as external data from outside the vehicle network.

そこで、上記構成によるように、上記車両ネットワークに入力される外部データが車載制御装置の書き換えデータであるときには、この書き換えデータが、車両ネットワークに接続された車載制御装置に送信すべき優先度の高いデータであるとして、外部データの送信規制を緩和する処理を実行する。このため、車載制御装置の機能を維持する上で必要な書き換えデータが不要に送信規制されることが抑制され、車両ネットワークを介した書き換えデータの送受信を的確に実行することが可能となる。   Therefore, as described above, when the external data input to the vehicle network is rewrite data of the in-vehicle control device, the rewrite data has a high priority to be transmitted to the in-vehicle control device connected to the vehicle network. Assuming that the data is data, a process of relaxing transmission restrictions on external data is executed. For this reason, transmission control of unnecessary rewrite data necessary for maintaining the function of the in-vehicle control device is suppressed, and transmission / reception of rewrite data via the vehicle network can be performed accurately.

請求項に記載の発明は、複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え、前記通信管理部は、前記監視する車両ネットワークの車両データの送信状況に応じて前記外部データの送信規制にかかる実行期間を可変設定することを要旨とする。 The invention according to claim 2 is a vehicle network in which vehicle data is transmitted and received between a plurality of in-vehicle control devices and external data can be input from outside the vehicle through wired communication or wireless communication. A communication management device for a vehicle network for managing data, which monitors a transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and transmits the monitored status of the data and external data A communication management unit that regulates transmission of external data to the vehicle network according to a load exerted on the vehicle network, the communication management unit according to a transmission state of vehicle data of the vehicle network to be monitored The gist is to variably set the execution period for external data transmission restriction.

車両ネットワークによる車両データの送信状況、換言すれば、車両ネットワークの負荷とは、車両の走行状態等によって変化するものであり、車両ネットワークが一時的に高負荷状態となる場合や、車両ネットワークの高負荷状態が所定期間継続する場合などが想定される。   The transmission status of vehicle data by the vehicle network, in other words, the load on the vehicle network changes depending on the traveling state of the vehicle, and the vehicle network is temporarily in a high load state, or the vehicle network load is high. A case where the load state continues for a predetermined period is assumed.

そこで、上記構成によるように、通信管理部による外部データの送信規制の実行期間を、車両ネットワークによる外部データの送信状況に応じて可変設定することとすれば、例えば、車両ネットワークが高負荷状態となる期間が一時的である場合には、この期間に応じた一時的な送信規制が実行される。これにより、外部データの送信規制が早期に解除され、車両ネットワークへの外部データの送信を早い段階で許可することが可能となる。   Therefore, as described above, if the execution period of the external data transmission restriction by the communication management unit is variably set according to the external data transmission state by the vehicle network, for example, the vehicle network is in a high load state. If this period is temporary, temporary transmission restriction according to this period is executed. As a result, the transmission restriction of external data is released early, and transmission of external data to the vehicle network can be permitted at an early stage.

また、上記構成によれば、例えば、車両ネットワークが高負荷状態となる期間が長期間継続されるときには、この期間に応じた長期的な送信規制が実行される。このため、車両ネットワークが高負荷状態にあり、かつ、この高負荷状態が所定期間継続すると一旦判断されて以降は、車両データの送信状況に応じた期間だけ送信規制が実行される。そのため、車両ネットワークの負荷が低下するまでは一旦設定された送信規制の実行時間のもとに外部データの送信規制が実行されることとなり、車両ネットワークの負荷が低下するまでの間、外部データが車両ネットワークに送信されることを的確に抑制することが可能となる。   Moreover, according to the said structure, when the period when a vehicle network will be in a high load state is continued for a long period of time, long-term transmission control according to this period is performed, for example. For this reason, once it is determined that the vehicle network is in a high load state and this high load state continues for a predetermined period, transmission restriction is executed only for a period according to the transmission state of the vehicle data. Therefore, until the load of the vehicle network is reduced, the transmission restriction of the external data is executed based on the transmission restriction execution time once set, and the external data is kept until the load of the vehicle network is reduced. It is possible to accurately suppress transmission to the vehicle network.

請求項に記載の発明は、複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え、前記通信管理部は、前記車両データとして車両内でのイベントの発生に伴い送受信が開始されるイベントデータが前記車両ネットワークに送信されたとき、前記イベントが終了するまでの間、前記外部データの送信規制を実行することを要旨とする。 The invention according to claim 3 is a vehicle network in which vehicle data is transmitted and received between a plurality of vehicle-mounted control devices and external data can be input from outside the vehicle through wired communication or wireless communication. A communication management device for a vehicle network for managing data, which monitors a transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and transmits the monitored status of the data and external data And a communication management unit that regulates transmission of external data to the vehicle network in accordance with a load on the vehicle network, and the communication management unit transmits and receives the vehicle data as an event occurs in the vehicle. When event data to be started is transmitted to the vehicle network, until the event ends, the And summarized in that to perform transmission regulation parts data.

車両ネットワークを介して送受信される車両データは、例えば、各車載制御装置間で定期的に送受信されるデータや、所定のイベントが発生してから同イベントが終了するまでの間、一時的に送受信されるイベントデータがある。そして、このイベントデータは通常、送信時間が一時的ではあるものの、同イベントデータが送受信される間は車両ネットワークが高負荷状態になる傾向にある。また、こうしたイベントデータは通常、車両の走行状態の変化に起因して各車載制御装置間での送受信が必要になる緊急性の高いデータであり、このデータを送信対象となる車載制御装置に確実に送信する必要がある。   Vehicle data transmitted / received via the vehicle network is, for example, data that is periodically transmitted / received between the in-vehicle control devices, or temporarily transmitted / received between the occurrence of a predetermined event and the end of the event. There is event data to be played. The event data usually has a temporary transmission time, but the vehicle network tends to be in a high load state while the event data is transmitted and received. In addition, such event data is usually highly urgent data that needs to be transmitted and received between the in-vehicle control devices due to changes in the running state of the vehicle, and this data is surely transmitted to the in-vehicle control device to be transmitted. Need to be sent to.

そこで、上記構成によるように、イベントデータが車両ネットワークに送信されたときには、このイベントデータの送信要因となったイベントが終了するまでの間、外部データの送信規制を実行する。この結果、イベントの発生に伴って車両ネットワークが高負荷状態になったとしても、イベントが終了するまで、すなわち、イベントの終了に伴い車両ネットワークが高負荷状態から低負荷状態に遷移するまでの間、外部データが車両ネットワークに送信されることが抑制される。これにより、上記イベントデータの送受信を確実に実行することが可能となる。   Therefore, as described above, when event data is transmitted to the vehicle network, external data transmission restriction is executed until the event that caused the event data transmission ends. As a result, even if the vehicle network becomes a high load state due to the occurrence of the event, until the event ends, that is, until the vehicle network transitions from the high load state to the low load state at the end of the event. The transmission of external data to the vehicle network is suppressed. As a result, the event data can be reliably transmitted and received.

請求項に記載の発明は、複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え、前記通信管理部は、前記車両ネットワークに定期的に送信される1ないし複数種のデータの識別子及びデータ長及び送信周期が登録された定期送信リストと、前記車両内でのイベントの発生に伴って前記車両ネットワークに送信される1ないし複数種のデータの識別子及びデータ長が登録されたイベント送信リストとを備え、それら定期送信リスト及びイベント送信リストを参照して前記車両ネットワークの送信状況を監視することを要旨とする。 The invention according to claim 4 is a vehicle network in which vehicle data is transmitted and received between a plurality of in-vehicle control devices and external data can be input from outside the vehicle through wired communication or wireless communication. A communication management device for a vehicle network for managing data, which monitors a transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and transmits the monitored status of the data and external data Includes a communication management unit that regulates transmission of external data to the vehicle network according to a load exerted on the vehicle network, and the communication management unit includes one or a plurality of types periodically transmitted to the vehicle network. A periodic transmission list in which identifiers, data lengths, and transmission cycles of data are registered, along with the occurrence of an event in the vehicle An event transmission list in which identifiers and data lengths of one or more types of data transmitted to the vehicle network are registered, and the transmission status of the vehicle network is monitored with reference to the periodic transmission list and the event transmission list This is the gist.

通常、車両データの送信主体となる車載制御装置の規格等は予め特定可能なことから、この車載制御装置間で送受信される車両データの識別子、データ長、及び送信周期を、各車載制御装置の規格等に基づいて特定することが可能である。   Usually, since the standard of the in-vehicle control device that is the main subject of transmission of vehicle data can be specified in advance, the identifier, data length, and transmission cycle of the vehicle data transmitted and received between the in-vehicle control devices are set for each in-vehicle control device. It is possible to specify based on a standard or the like.

そこで、上記構成によるように、送信フレームリスト及びイベント送信リストを通信管理部に設ける。そして、通信管理部による車両データの送信状況の監視を、これら送信フレームリスト及びイベント送信リストの参照を通じて実行させる。このため、通信管理部は、例えば、車両ネットワークを介して送受信される車両ネットワークの識別子の照合を通じて、車両データの種類、データ長、及び送信周期を特定することが可能となる。そのため、この特定した車両データの種類、データ長、及び送信周期に基づいて、車両ネットワークの負荷の増減を予測することや、車両ネットワークによる車両データの送信状況をより詳細に特定することが可能となる。これにより、車両データの監視を通じた外部データの送信規制をより的確に実行することが可能となる。
請求項6に記載の発明は、請求項1〜4のいずれか一項に記載の車両ネットワークの通信管理装置において、前記通信管理部は、前記外部データが前記車両ネットワークに送信されたときに予測される車両ネットワークの使用率が当該車両ネットワークの高負荷状態を示す所定の閾値を超えるとき、前記外部データの送信規制を実行することを要旨とする。
上記構成によれば、外部データの送信規制に際し、通信管理部に入力された外部データが車両ネットワークに送信されたときの同車両ネットワークの使用率が予測される。そして、この予測される使用率が車両ネットワークの高負荷状態を示す所定の閾値を超えるときには、外部データの送信規制が実行され、車両ネットワークには外部データが送信されない。この結果、監視中の車両ネットワークの負荷のみならず、外部データが送信されたときに増大が予測される車両ネットワークの使用率に基づいた送信規制が実行される。これにより、外部データが車両ネットワークに入力されることに起因して、車両ネットワークの使用率が過剰に増大することが的確に抑制されるようになる。また、これにより、例えば、CAN(コントロール・エリア・ネットワーク)においては通常要求される使用率「30%」といったように、ネットワーク負荷を規制すべき使用率の範囲内に維持することが可能となり、適用対象とする車両ネットワークの特性に応じた通信管理が行われるようになる。
請求項7に記載の発明は、請求項1〜6のいずれか一項に記載の車両ネットワークの通信管理装置において、前記通信管理部は、前記車両データの送信間隔もしくは単位時間当たりの送信データ量に基づき車両データの送信状況を監視するとともに、前記外部データが入力される際の外部データの送信間隔もしくは単位時間当たりの送信データ量を監視することを要旨とする。
車両ネットワークの負荷とは、同車両ネットワークに送受信される車両データの送信間隔や単位時間当たりに送信される車両データのデータ量(メッセージ量)に相関する。また、上記外部データが車両ネットワークに及ぼす負荷も、外部データが通信管理部に入力される際の同外部データの送信間隔や送信データ量、換言すれば、この外部データが車両ネットワークに送信される際の送信間隔や送信データ量に相関する。
そこで、上記構成によれば、車両データの送信間隔や送信データ量、並びに外部データの送信間隔や送信データ量に基づき、車両データ及び外部データが車両ネットワークに及ぼす負荷を的確に求めることが可能となり、それらの負荷に基づく送信規制を的確に実行することが可能になる。
請求項8に記載の発明は、請求項1〜7のいずれか一項に記載の車両ネットワークの通信管理装置において、前記通信管理部は、前記外部データの送信規制として、入力された外部データの破棄、入力された外部データの一時的な送信保留、入力される外部データの受信停止、及び前記車両ネットワークに送信する外部データの送信量を当該車両ネットワークの負荷に適応させる通信調整の少なくとも1つを実行することを要旨とする。
上記構成によれば、通信管理部に外部データが入力されたとしても、車両ネットワークが高負荷状態にあるときには、例えば、入力された外部データが破棄されることにより、この外部データが車両ネットワークに送信されることなく同車両ネットワークで通信されている車両データの送受信が優先される。
また、上記構成によれば、車両ネットワークが高負荷状態にあるときには、例えば、入力された外部データが一時的に保留されるとともに、車両ネットワークの負荷が低下したことをもって、一時的に保留され外部データが車両ネットワークに送信される。これにより、外部データの入力に伴う車両ネットワークの負荷の増大を抑制しつつも、通信管理部に入力された外部データを車両ネットワークに送信することが可能となる。
また同様に、上記構成によれば、車両ネットワークが高負荷状態にあるときには、例えば、通信管理部による外部データの受信が停止され、通信管理部に外部データが取り込まれることが抑止される。この結果、車両ネットワークが高負荷状態にあるときには通信管理部そのものに外部データが入力されることが抑制され、この通信管理部を介した車両ネットワークへの外部データの送信が規制される。
さらに、上記構成によれば、車両ネットワークに多少の負荷がかかっていたとしても、車両ネットワークの通信機能を維持可能な範囲で外部データが車両ネットワークに送信される。すなわち、車両ネットワークの負荷に反比例する態様で、また、車両ネットワークによる車両データの通信機能を維持できる範囲内で、車両ネットワークに送信される外部データの送信量が調整される。これにより、車両ネットワークの負荷に応じて外部データの送信量を調整することが可能となり、車両ネットワークの通信機能を最大限に活用する態様で、この車両ネットワークを介した車両データの送受信と外部データの送受信とを実現することが可能となる。
Therefore, as in the above configuration, a transmission frame list and an event transmission list are provided in the communication management unit. And the monitoring of the transmission state of the vehicle data by a communication management part is performed through reference with these transmission frame lists and event transmission lists. For this reason, for example, the communication management unit can identify the type, the data length, and the transmission cycle of the vehicle data through the verification of the identifier of the vehicle network transmitted and received via the vehicle network. Therefore, it is possible to predict the increase / decrease in the load on the vehicle network based on the type, data length, and transmission cycle of the specified vehicle data, and to specify the transmission status of vehicle data by the vehicle network in more detail. Become. This makes it possible to more accurately execute external data transmission regulation through vehicle data monitoring.
According to a sixth aspect of the present invention, in the communication management device for a vehicle network according to any one of the first to fourth aspects, the communication management unit predicts when the external data is transmitted to the vehicle network. When the usage rate of the vehicle network to be used exceeds a predetermined threshold value indicating the high load state of the vehicle network, the gist is to execute the transmission restriction of the external data.
According to the above configuration, when the external data transmission is restricted, the usage rate of the vehicle network when the external data input to the communication management unit is transmitted to the vehicle network is predicted. When the predicted usage rate exceeds a predetermined threshold value indicating a high load state of the vehicle network, external data transmission restriction is executed, and no external data is transmitted to the vehicle network. As a result, not only the load of the vehicle network being monitored but also the transmission restriction based on the usage rate of the vehicle network that is expected to increase when external data is transmitted is executed. As a result, excessive increase in the usage rate of the vehicle network due to the external data being input to the vehicle network is appropriately suppressed. In addition, this makes it possible to maintain the network load within the range of the usage rate that should be regulated, such as the usage rate “30%” that is normally required in CAN (Control Area Network). Communication management according to the characteristics of the vehicle network to be applied is performed.
A seventh aspect of the present invention is the vehicle network communication management device according to any one of the first to sixth aspects, wherein the communication management unit is configured to transmit the vehicle data at a transmission interval or per unit time. The gist is to monitor the transmission state of the vehicle data based on the above and monitor the transmission interval of the external data or the transmission data amount per unit time when the external data is input.
The load on the vehicle network correlates with the transmission interval of vehicle data transmitted / received to / from the vehicle network and the data amount (message amount) of vehicle data transmitted per unit time. In addition, the load that the external data exerts on the vehicle network is also the transmission interval and amount of transmission data when the external data is input to the communication management unit, in other words, the external data is transmitted to the vehicle network. It correlates with the transmission interval and transmission data amount.
Therefore, according to the above configuration, it is possible to accurately determine the load that the vehicle data and the external data exert on the vehicle network based on the transmission interval and the transmission data amount of the vehicle data and the transmission interval and the transmission data amount of the external data. Thus, it is possible to accurately execute transmission regulation based on those loads.
The invention according to claim 8 is the vehicle network communication management device according to any one of claims 1 to 7, wherein the communication management unit is configured to control the input of the external data as the transmission restriction of the external data. At least one of discarding, temporary transmission suspension of input external data, stop of reception of input external data, and communication adjustment for adapting the transmission amount of external data to be transmitted to the vehicle network to the load of the vehicle network The main point is to execute.
According to the above configuration, even when external data is input to the communication management unit, when the vehicle network is in a high load state, for example, the input external data is discarded, so that the external data is input to the vehicle network. Priority is given to transmission / reception of vehicle data communicated in the vehicle network without being transmitted.
Further, according to the above configuration, when the vehicle network is in a high load state, for example, the input external data is temporarily held, and when the load on the vehicle network is reduced, the vehicle network is temporarily held and external Data is transmitted to the vehicle network. Accordingly, it is possible to transmit the external data input to the communication management unit to the vehicle network while suppressing an increase in the load on the vehicle network due to the input of the external data.
Similarly, according to the above configuration, when the vehicle network is in a high load state, for example, reception of external data by the communication management unit is stopped, and external data is prevented from being taken into the communication management unit. As a result, when the vehicle network is in a high load state, input of external data to the communication management unit itself is suppressed, and transmission of external data to the vehicle network via the communication management unit is restricted.
Further, according to the above configuration, even if a slight load is applied to the vehicle network, external data is transmitted to the vehicle network within a range in which the communication function of the vehicle network can be maintained. In other words, the amount of external data transmitted to the vehicle network is adjusted in a manner that is inversely proportional to the load on the vehicle network and within a range in which the vehicle data communication function of the vehicle network can be maintained. This makes it possible to adjust the transmission amount of external data according to the load of the vehicle network, and to transmit and receive vehicle data and external data via this vehicle network in a mode that makes the most of the communication function of the vehicle network. Can be realized.

請求項9に記載の発明は、請求項1〜8のいずれか一項に記載の車両ネットワークの通信管理装置において、前記通信管理部は、車両に搭載される外部用ネットワークと前記車両ネットワークとの間に接続されてなり、該外部用ネットワークを介して送信される外部データの送信状況の監視を通じて前記外部データの送信規制を実行することを要旨とする。   A ninth aspect of the present invention is the vehicle network communication management device according to any one of the first to eighth aspects, wherein the communication management unit includes an external network mounted on a vehicle and the vehicle network. The gist of the invention is that the transmission restriction of the external data is executed through the monitoring of the transmission state of the external data transmitted through the external network.

上記構成によれば、車載制御装置の書き換えデータなどをはじめとする外部データを取り込んで同取り込んだ外部データを車両ネットワークに案内する外部用ネットワークと上記車両ネットワークとの間に、上記通信管理部が設けられる。そして、通信管理部による外部データの監視に際しては、外部用ネットワークを介して送信される外部データの送信状況の監視を通じて、外部データの通信規制が実行される。このため、外部データがネットワークを介して実際に送信される際の送信周期や単位時間当たりの送信データ量等に基づいて、この外部データがネットワークに及ぼす負荷を特定することが可能となる。これにより、この外部データが車両ネットワークに送信されたときの負荷を精度よく推定することが可能となる。   According to the above configuration, the communication management unit is provided between the vehicle network and the external network that captures external data including rewrite data of the in-vehicle control device and guides the captured external data to the vehicle network. Provided. When the external data is monitored by the communication management unit, the external data communication restriction is executed through the monitoring of the transmission status of the external data transmitted via the external network. For this reason, it is possible to specify the load that the external data exerts on the network based on the transmission cycle when the external data is actually transmitted through the network, the amount of transmission data per unit time, and the like. This makes it possible to accurately estimate the load when the external data is transmitted to the vehicle network.

請求項10に記載の発明は、請求項1〜9のいずれか一項に記載の車両ネットワークの通信管理装置において、前記通信管理部は、外部診断機器が接続されるコネクタとして車両内に設けられたデータ・リンク・コネクタと前記車両ネットワークとの間に設けられてなることを要旨とする。   According to a tenth aspect of the present invention, in the communication management device for a vehicle network according to any one of the first to ninth aspects, the communication management unit is provided in the vehicle as a connector to which an external diagnostic device is connected. The present invention is provided between the data link connector and the vehicle network.

車両ネットワークに接続されるデータ・リンク・コネクタ(DLC)は一般に、車室内に露出された状態で設けられている。また、このDLCは通常、例えばディーラーでの診断ツールを用いたダイアグ診断に際し、診断機器等の機器を接続するために用いられる。   Generally, a data link connector (DLC) connected to a vehicle network is provided in an exposed state in the vehicle interior. In addition, this DLC is usually used for connecting a device such as a diagnostic device in a diagnosis using a diagnostic tool at a dealer, for example.

一方、最近では、このDLCに情報端末を接続することで、車両ネットワークを流れる車両データを情報端末から取得したり、逆に情報端末から車両ネットワークへと各種データを出力するといった想定外の用途に用いられる傾向にある。そして、DLCに不正な情報端末が接続された場合や、情報端末に登録されているアプリケーションがウィルス等に感染している場合には、DLCを介して不正なデータが車両ネットワークに取り込まれることが想定される。また、DLCに接続された情報端末が正常な状態にあったとしても、ユーザの操作如何によっては大量のデータがDLCを介して情報端末から車両ネットワークへと送信されることも想定される。   On the other hand, recently, by connecting an information terminal to the DLC, the vehicle data flowing through the vehicle network can be acquired from the information terminal, or conversely, various data can be output from the information terminal to the vehicle network. Tend to be used. When an unauthorized information terminal is connected to the DLC, or when an application registered in the information terminal is infected with a virus or the like, unauthorized data may be taken into the vehicle network via the DLC. is assumed. Further, even if the information terminal connected to the DLC is in a normal state, it is assumed that a large amount of data is transmitted from the information terminal to the vehicle network via the DLC depending on the user's operation.

そこで、上記構成によれば、露出した状態で車室内に設けられ、また、外部データの送信元となる外部の情報端末等に接続される蓋然性の高いDLCを介して入力される外部データに対しても、的確に送信規制を実行することが可能となる。これにより、DLCを介して外部から入力されてくる外部データの送信規制を的確に実行することが可能となる。   Therefore, according to the above configuration, external data input through a DLC that is provided in an exposed state and is connected to an external information terminal or the like serving as a transmission source of external data is highly likely. Even in this case, it is possible to accurately execute the transmission restriction. As a result, it is possible to accurately control the transmission of external data input from the outside via the DLC.

請求項11に記載の発明は、請求項1〜10のいずれか一項に記載の車両ネットワークの通信管理装置において、前記車両ネットワークがコントロール・エリア・ネットワークからなることを要旨とする。   The gist of an eleventh aspect of the present invention is the vehicle network communication management device according to any one of the first to tenth aspects, wherein the vehicular network comprises a control area network.

上記車両ネットワークとしては、コントロール・エリア・ネットワーク(CAN)が採用されることが多く、同コントロール・エリア・ネットワークでは、各種イベントの発生に伴い各種車両データの授受が行われる。また、こうしたコントロール・エリア・ネットワークでは、その特性上、たとえ車両データが送信すべき車載制御装置に送信されなかったとしても、この車両データを送信対象に再送することが難しい。よって、こうしたコントロール・エリア・ネットワークを介して車両データの送受信を行う上では、車両ネットワークの負荷を的確に管理して、この車両ネットワークによる車両データの送受信機能を維持する必要がある。   As the vehicle network, a control area network (CAN) is often adopted, and in the control area network, various types of vehicle data are exchanged when various events occur. Further, in such a control area network, it is difficult to retransmit the vehicle data to the transmission target even if the vehicle data is not transmitted to the in-vehicle control device to be transmitted due to its characteristics. Therefore, when transmitting / receiving vehicle data via such a control area network, it is necessary to accurately manage the load of the vehicle network and maintain the vehicle data transmission / reception function of the vehicle network.

この点、上記構成によれば、汎用性が高く、また、送受信機能を維持する必要性が特に高いコントロール・エリア・ネットワークについても、外部データの送信機能を通じて、コントロール・エリア・ネットワークによる送受信機能を的確に維持することが可能となる。   In this regard, according to the above configuration, even in a control area network that is highly versatile and particularly required to maintain the transmission / reception function, the transmission / reception function by the control area network is provided through the external data transmission function. It becomes possible to maintain accurately.

請求項12に記載の発明は、請求項1〜10のいずれか一項に記載の車両ネットワークの通信管理装置において、前記車両ネットワークがフレックスレイからなることを要旨とする。   The gist of a twelfth aspect of the present invention is the communication management device for a vehicle network according to any one of the first to tenth aspects, wherein the vehicle network is made of FlexRay.

上記フレックスレイは通常、制御系、ボデー系、及び情報系によって構成される車両ネットワークのうち、制御系の車両ネットワークに適用可能である。そして、こうしたフレックスレイによれば、コントロール・エリア・ネットワークなどと比較し、車両データの送受信をより高速に実行することが可能なものの、同フレックスレイの通信負荷が増大したときには車両データを的確に送受信することは難しい。   The above-mentioned FlexRay is usually applicable to a vehicle network of a control system among vehicle networks configured by a control system, a body system, and an information system. According to such FlexRay, it is possible to send and receive vehicle data at a higher speed compared to a control area network, etc., but when the communication load of the FlexRay increases, the vehicle data is accurately transmitted. It is difficult to send and receive.

この点、上記構成によれば、車両ネットワークとしてフレックスレイが採用される場合であれ、外部データの送信規制を通じて、各種車両データの円滑かつ確実な送受信を実現することが可能となる。   In this regard, according to the above configuration, even when FlexRay is adopted as the vehicle network, various vehicle data can be smoothly and reliably transmitted and received through external data transmission regulation.

本発明にかかる車両ネットワークの通信管理装置の第1の実施の形態について、通信管理部と同通信管理部が設置される車両のネットワーク構成との概略構成を示すブロック図。The block diagram which shows schematic structure with the network configuration of the vehicle in which the communication management part and the communication management part are installed about 1st Embodiment of the communication management apparatus of the vehicle network concerning this invention. 外部データの負荷のみに基づいた外部データの転送制御を想定した図であり、(a)は、外部データのCANバスへの転送前におけるCANバス及び外部用ネットワークのデータの送信状況を示す図。(b)は、外部データのCANバスへの転送後におけるCANバス及び外部用ネットワークのデータの送信状況を示す図。It is a figure assuming transfer control of external data based only on the load of external data, (a) is a figure which shows the transmission condition of the data of the CAN bus and external network before the transfer of external data to the CAN bus. FIG. 6B is a diagram illustrating a transmission state of data on the CAN bus and the external network after transfer of external data to the CAN bus. (a)は、外部データ監視部により監視される外部用ネットワークにおける外部データの送信状況の一例を示す図。(b)は、外部データ監視部により監視される外部データの送信間隔の一例を示す図。(c)は、外部データ監視部により監視される外部データの単位時間当たりの送信データ量の一例を示す図。(A) is a figure which shows an example of the transmission condition of the external data in the external network monitored by the external data monitoring part. (B) is a figure which shows an example of the transmission interval of the external data monitored by the external data monitoring part. (C) is a figure which shows an example of the transmission data amount per unit time of the external data monitored by the external data monitoring part. (a)は、車両データ監視部により監視されるCANバスにおける車両データの送信状況の一例を示す図。(b)は、車両データ監視部により監視される車両データの送信間隔の一例を示す図。(c)は、車両データ監視部により監視される車両データの単位時間当たりの送信データ量の一例を示す図。(A) is a figure which shows an example of the transmission condition of the vehicle data in the CAN bus monitored by the vehicle data monitoring part. (B) is a figure which shows an example of the transmission interval of the vehicle data monitored by the vehicle data monitoring part. (C) is a figure which shows an example of the transmission data amount per unit time of the vehicle data monitored by the vehicle data monitoring part. 本実施の形態の通信管理部による外部データの送信規制手順の一例を示すフローチャート。The flowchart which shows an example of the transmission control procedure of the external data by the communication management part of this Embodiment. 本発明にかかる車両ネットワークの通信管理装置の第2の実施の形態について、通信管理部と同通信管理部が設置される車両のネットワーク構成との概略構成を示すブロック図。The block diagram which shows schematic structure with the network configuration of the vehicle in which the communication management part and the communication management part are installed about 2nd Embodiment of the communication management apparatus of the vehicle network concerning this invention. 本発明にかかる車両ネットワークの通信管理装置の第3の実施の形態について、通信管理部と同通信管理部が設置される車両のネットワーク構成との概略構成を示すブロック図。The block diagram which shows schematic structure with the network configuration of the vehicle in which the communication management part and the communication management part are installed about 3rd Embodiment of the communication management apparatus of the vehicle network concerning this invention. 本発明にかかる車両ネットワークの通信管理装置の他の実施の形態について、外部データ監視部により監視される外部データの単位時間当たりの送信データ量の一例を示す図。The figure which shows an example of the transmission data amount per unit time of the external data monitored by the external data monitoring part about other embodiment of the communication management apparatus of the vehicle network concerning this invention.

(第1の実施の形態)
以下、本発明にかかる車両ネットワークの通信管理装置を具体化した第1の実施の形態について図1〜図5を参照して説明する。なお、本実施の形態は、車載制御装置間での信号の授受を、イベントトリガ方式で各種通信データが授受されるCAN(コントロール・エリア・ネットワーク)を介して行うものである。
(First embodiment)
Hereinafter, a first embodiment of a vehicle network communication management device according to the present invention will be described with reference to FIGS. In the present embodiment, transmission / reception of signals between in-vehicle control devices is performed via a CAN (control area network) in which various types of communication data are exchanged by an event trigger method.

図1に示すように、本実施の形態の通信管理装置は、車両Cに搭載された各種車載機器を制御する複数の車載制御装置(ECU)100と各種情報端末等から外部データが入力されるデータ・リンク・コネクタ(DLC)300との間に設けられる通信管理部200によって構成される。   As shown in FIG. 1, the communication management device of the present embodiment receives external data from a plurality of in-vehicle control devices (ECUs) 100 that control various in-vehicle devices mounted on a vehicle C and various information terminals. It is comprised by the communication management part 200 provided between the data link connectors (DLC) 300. FIG.

車載制御装置100は、例えば、車室内の計器盤に設けられる速度計の表示態様を制御する計器制御装置、ドライバによるアクセルペダルの踏込み量に基づきエンジンの運転状態を制御するエンジン制御装置、ドライバによるブレーキペダルの踏込み量に基づきブレーキを制御するブレーキ制御装置などによって構成される。各車載制御装置100は、車両ネットワークであるコントロール・エリア・ネットワーク(CAN)を構成する通信線であるCANバス110に接続されている。CANバス110に接続される各車載制御装置100は、車両Cのドライバによる車両操作や車両Cの走行環境等に応じて各種車載機器を制御すべく、例えば、速度計の表示量、エンジンの制御量、ブレーキの制御量などをはじめとする車両データを、CANバス110を介して各車載制御装置100間で送受信する。なお、車両データは、CANバス110内での転送ファイル形式である1ないし複数のデータフレームに変換されてCANバス110上で送受信される。また、各データフレームは、例えば、データ内容や送信ノードを識別するために使用されるID(識別子)や、最大で8バイトのデータを送信可能なデータフィールドなどを有したデータ構造となっている。   The in-vehicle control device 100 includes, for example, an instrument control device that controls a display mode of a speedometer provided on an instrument panel in a vehicle interior, an engine control device that controls the operating state of the engine based on an accelerator pedal depression amount by the driver, and a driver. The brake control device is configured to control the brake based on the depression amount of the brake pedal. Each in-vehicle control device 100 is connected to a CAN bus 110 which is a communication line constituting a control area network (CAN) which is a vehicle network. For example, each in-vehicle control device 100 connected to the CAN bus 110 controls various in-vehicle devices according to the vehicle operation by the driver of the vehicle C, the traveling environment of the vehicle C, and the like. The vehicle data including the amount and the control amount of the brake is transmitted / received between the in-vehicle control devices 100 via the CAN bus 110. The vehicle data is converted into one or a plurality of data frames which are a transfer file format in the CAN bus 110 and transmitted / received on the CAN bus 110. Each data frame has a data structure including, for example, an ID (identifier) used to identify data contents and a transmission node, a data field capable of transmitting data of up to 8 bytes, and the like. .

一方、車両Cには、同車両Cの診断に際して外部診断機器が接続されるDLC300が設けられている。このDLC300は、例えば、計器盤の下部に設けられており、CANバス110に繋がる外部用ネットワーク310と電気的に接続されている。すなわち、DLC300は、車載制御装置100が接続されるCANバス110に外部用ネットワーク310を介して接続される。そして、車両Cの診断に際しては、DLC300に外部診断機器が接続され、例えば診断用のデータが、CANバス110内での転送ファイル形式であるデータフレームに変換されたのちに、同変換されたデータフレームが外部用ネットワーク310及びCANバス110を介して送信対象とする車載制御装置100に送信される。また、外部用ネットワーク310及びDLC300を介して、CANバス110に送信される車両データが外部診断機器により取得される。なお、外部用ネットワーク310は、例えば、CANバス110と同一の規格の通信線によって構成されており、外部用ネットワーク310により送受信可能なデータ量はCANバス110と共通したものとなっている。   On the other hand, the vehicle C is provided with a DLC 300 to which an external diagnostic device is connected when the vehicle C is diagnosed. The DLC 300 is provided at the lower part of the instrument panel, for example, and is electrically connected to an external network 310 connected to the CAN bus 110. That is, the DLC 300 is connected to the CAN bus 110 to which the in-vehicle control device 100 is connected via the external network 310. When diagnosing the vehicle C, an external diagnostic device is connected to the DLC 300, and for example, the diagnostic data is converted into a data frame that is a transfer file format in the CAN bus 110, and then the converted data is converted. The frame is transmitted to the in-vehicle control device 100 to be transmitted via the external network 310 and the CAN bus 110. In addition, vehicle data transmitted to the CAN bus 110 via the external network 310 and the DLC 300 is acquired by an external diagnostic device. Note that the external network 310 is configured by, for example, a communication line of the same standard as the CAN bus 110, and the amount of data that can be transmitted and received by the external network 310 is the same as that of the CAN bus 110.

また、DLC300は、各車載制御装置100に組み込まれているアプリケーションプログラム等の制御プログラムや制御データに更新や修正の必要が生じた際、それらをリプログラミング(データ書き換え)するための書き換えデータが、車両Cの内部に取り込まれるときにも用いられる。そして、車載制御装置100のデータ書き換えに際しては、DLC300に書き換えデータが車両Cの内部に入力され、この入力された書き換えデータが、外部用ネットワーク310及びCANバス110を介して書き換えの対象となる車載制御装置100に送信される。   In addition, when the DLC 300 needs to be updated or modified in a control program such as an application program or control data incorporated in each in-vehicle control device 100, rewrite data for reprogramming (data rewriting) is provided. It is also used when taken into the vehicle C. When the data is rewritten by the in-vehicle control device 100, the rewritten data is input to the DLC 300 inside the vehicle C, and the input rewritten data is a target of rewriting via the external network 310 and the CAN bus 110. It is transmitted to the control device 100.

さらに、本実施の形態のDLC300には、例えば、車両Cのドライバが所有する情報端末等が接続される。また、情報端末で利用される各種アプリケーション等のサービスの利用に際しては、同サービスを情報端末や車両Cで利用するための各種データがDLC300を介して車両Cの内部に入力される。そして、この車両Cの内部に入力されデータも、外部用ネットワーク310及びCANバス110を介して、送信対象とする車載制御装置100に送信される。   Furthermore, the information terminal etc. which the driver of the vehicle C owns are connected to DLC300 of this Embodiment, for example. Further, when using services such as various applications used in the information terminal, various data for using the service in the information terminal and the vehicle C are input into the vehicle C via the DLC 300. Then, the data input to the inside of the vehicle C is also transmitted to the in-vehicle control device 100 to be transmitted via the external network 310 and the CAN bus 110.

ところで、このようにDLC300を介して取り込まれた各種データ(外部データ)が外部用ネットワーク310を介してCANバス110に送信されると、これに伴って、CANバス110の使用率が増大し、同CANバス110の負荷が増大する。このため、外部データが大量にCANバス110に送信されると、CANバス110を介して本来送受信すべき車両データの送受信が阻害されることとなってしまう。   By the way, when various data (external data) captured via the DLC 300 is transmitted to the CAN bus 110 via the external network 310, the usage rate of the CAN bus 110 increases accordingly. The load on the CAN bus 110 increases. For this reason, when a large amount of external data is transmitted to the CAN bus 110, transmission / reception of vehicle data that should be originally transmitted / received via the CAN bus 110 is hindered.

一方、図2(a)に例示するように、CANバス110への入力を許容する所定の閾値を外部データD1に対して設け、そのデータ量が閾値以下であることを条件にCANバス110への外部データD1の送信を許可することも検討できる。しかし、図2(b)に例示するように、外部データD1のデータ量のみを監視するだけでは、CANバス110での車両データF1の送信状況によってはCANバス110の負荷が増大する虞がある。すなわち、CANバス110では通常、車両データF1がブロードキャストで送信されることから、CANバス110には車両データF1が定常的に送信される傾向にある。また、CANバス110では、同CANバス110に送信される車両データF1の送信周期やデータ量等が車両Cの状態等に起因して動的に変化する。よって、図2(a)及び(b)に示したように、外部から入力される外部データD1のみを監視し、この外部データD1の入力を規制するだけでは、CANバス110が高負荷になることを抑制し、CANバス110による車両データF1の送受信機能を維持することは難しい。   On the other hand, as illustrated in FIG. 2A, a predetermined threshold value that allows input to the CAN bus 110 is provided for the external data D1, and the data amount is equal to or less than the threshold value to the CAN bus 110. Permitting transmission of external data D1 can also be considered. However, as illustrated in FIG. 2B, the load on the CAN bus 110 may increase depending on the transmission state of the vehicle data F1 on the CAN bus 110 only by monitoring the data amount of the external data D1. . That is, since the vehicle data F1 is normally transmitted by broadcast on the CAN bus 110, the vehicle data F1 tends to be transmitted to the CAN bus 110 on a regular basis. Further, in the CAN bus 110, the transmission cycle, the data amount, and the like of the vehicle data F1 transmitted to the CAN bus 110 dynamically change due to the state of the vehicle C and the like. Therefore, as shown in FIGS. 2A and 2B, only by monitoring the external data D1 input from the outside and restricting the input of the external data D1, the CAN bus 110 becomes highly loaded. It is difficult to suppress this and maintain the transmission / reception function of the vehicle data F1 by the CAN bus 110.

そこで、本実施の形態では、図1に示すように、CANバス110とDLC300との間に設けられた通信管理部200によって、DLC300から取り込まれた外部データの送信規制を実行することとする。なお、本実施の形態では、車両データがブロードキャストでCANバス110上を流れることから、CANバス110に接続された通信管理部200には、各車載制御装置100間で送受信される全ての車両データが入力されるようになっている。   Therefore, in the present embodiment, as shown in FIG. 1, the communication management unit 200 provided between the CAN bus 110 and the DLC 300 executes transmission regulation of external data captured from the DLC 300. In the present embodiment, since the vehicle data is broadcast and flows on the CAN bus 110, all the vehicle data transmitted and received between the in-vehicle control devices 100 is transmitted to the communication management unit 200 connected to the CAN bus 110. Is entered.

本実施の形態の通信管理部200は、CANバス110による車両データの送信状況を監視する車両データ監視部210を備えている。また、通信管理部200は、DLC300に接続された外部診断機器や情報端末から出力されて外部用ネットワーク310を介して送信されてくる外部データの送信状況を監視する外部データ監視部220を備えている。   The communication management unit 200 according to the present embodiment includes a vehicle data monitoring unit 210 that monitors the transmission status of vehicle data via the CAN bus 110. In addition, the communication management unit 200 includes an external data monitoring unit 220 that monitors the transmission status of external data output from an external diagnostic device or information terminal connected to the DLC 300 and transmitted via the external network 310. Yes.

車両データ監視部210は、例えば、CANバス110に送信される車両データのID、同車両データの送信間隔、同車両データの単位時間当たりの送信量(メッセージ量)等を監視し、この監視結果を示す信号を、同信号に基づき外部データの送信制御を行う制御判断部230に適宜出力する。また、車両データ監視部210は、CANバス110に送信される車両データの送信間隔や送信量に基づきCANバス110の負荷を示す使用率を求め、この求めた使用率を示す信号を制御判断部230に出力する。なお、車両データ監視部210は、例えば、CANバス110に実際に送信されている車両データの送信データ量をCANバス110により最大限送信可能なデータ量で除算した値をもとに、CANバス110の使用率を求める。   The vehicle data monitoring unit 210 monitors, for example, an ID of vehicle data transmitted to the CAN bus 110, a transmission interval of the vehicle data, a transmission amount (message amount) of the vehicle data per unit time, and the monitoring result. Is appropriately output to a control determination unit 230 that performs transmission control of external data based on the signal. Further, the vehicle data monitoring unit 210 obtains a usage rate indicating the load of the CAN bus 110 based on the transmission interval and transmission amount of the vehicle data transmitted to the CAN bus 110, and a signal indicating the obtained usage rate is a control determination unit. 230. Note that the vehicle data monitoring unit 210, for example, based on a value obtained by dividing the transmission data amount of the vehicle data actually transmitted to the CAN bus 110 by the data amount that can be transmitted to the maximum by the CAN bus 110. The usage rate of 110 is obtained.

外部データ監視部220は、例えば、外部用ネットワーク310に接続されており、DLC300及び外部用ネットワーク310を介して送信される外部データを受信する。そして、この外部データの受信状況に基づき、外部用ネットワーク310による外部データの送信状況を監視するとともに、この監視結果を示す信号を制御判断部230に適宜出力する。   The external data monitoring unit 220 is connected to the external network 310, for example, and receives external data transmitted via the DLC 300 and the external network 310. Based on the external data reception status, the external data transmission status by the external network 310 is monitored, and a signal indicating the monitoring result is appropriately output to the control determination unit 230.

本実施の形態の制御判断部230は、車両データ監視部210及び外部データ監視部220の監視結果に基づく外部データの送信制御を、CANバス110の経路を示すルーティング情報やCANバス110が高負荷であるか否かの判断に際して基準となる閾値などが登録された保存領域240の参照を通じて行う。   The control determination unit 230 according to the present embodiment performs transmission control of external data based on the monitoring results of the vehicle data monitoring unit 210 and the external data monitoring unit 220. Routing information indicating the path of the CAN bus 110 and the CAN bus 110 are heavily loaded. The threshold value used as a reference when determining whether or not the file is stored is referred to by referring to the registered storage area 240.

保存領域240には、例えば、CANバス110が高負荷状態であるか否かの判断に際して判断基準となる負荷基準値が登録されている。本実施の形態では、負荷基準値として、例えばコントロール・エリア・ネットワークの規格上推奨されている使用率約「30%」を示す情報が登録されている。また、保存領域240には、CANバス110の経路を示す情報であるルーティング情報が登録されている。   In the storage area 240, for example, a load reference value serving as a determination criterion when determining whether the CAN bus 110 is in a high load state is registered. In the present embodiment, for example, information indicating a usage rate of about “30%” recommended in the standard of the control area network is registered as the load reference value. In the storage area 240, routing information that is information indicating the path of the CAN bus 110 is registered.

そして、制御判断部230は、こうした保存領域240の参照を通じて、例えば、車両データ監視部210から入力されたCANバス110の使用率が、保存領域240に登録された負荷基準値である約「30%」を超えているか否かを判断する。また、制御判断部230は、外部データ監視部220による監視結果に基づき、DLC300及び外部用ネットワーク310を介して外部データが通信管理部200に送信されているか否かを認識するとともに、この外部データの送信周期及びデータ量を認識する。そして、制御判断部230は、車両データの送受信に伴ってCANバス110の使用率が既に約「30%」を超えており、かつ、外部データが通信管理部200に送信されている旨判断すると、例えば通信管理部200に送信されている外部データを破棄させる旨の制御指令を、外部データの送信規制を実行する送信規制部250に出力する。制御判断部230はまた、外部データの受信を所定時間停止させる旨の制御指令を送信規制部250に出力する。   Then, the control determination unit 230 refers to the storage area 240, for example, the usage rate of the CAN bus 110 input from the vehicle data monitoring unit 210 is approximately “30” which is the load reference value registered in the storage area 240. % ”Is determined. Further, the control determination unit 230 recognizes whether or not external data is transmitted to the communication management unit 200 via the DLC 300 and the external network 310 based on the monitoring result by the external data monitoring unit 220, and the external data Recognize the transmission period and data amount. Then, the control determination unit 230 determines that the usage rate of the CAN bus 110 has already exceeded about “30%” with the transmission / reception of the vehicle data and that the external data is being transmitted to the communication management unit 200. For example, a control command for discarding the external data transmitted to the communication management unit 200 is output to the transmission regulation unit 250 that executes the transmission regulation of the external data. The control determination unit 230 also outputs a control command to the transmission restriction unit 250 to stop the reception of external data for a predetermined time.

一方、制御判断部230は、監視するCANバス110の使用率が約「30%」以内であっても、DLC300及び外部用ネットワーク310を介して外部データが通信管理部200に送信されているときには、この外部データがCANバス110に送信されたとき増大が予測されるCANバス110の使用率を算出する。そして、制御判断部230は、この算出したCANバス110の使用率が負荷基準値である約「30%」を超える旨判断したときには、例えば、通信管理部200に送信されてきた外部データを破棄させる旨の制御指令を送信規制部250に出力する。制御判断部230はまた、外部データの受信を所定時間停止させる旨の制御指令を送信規制部250に出力する。   On the other hand, even if the usage rate of the CAN bus 110 to be monitored is within about “30%”, the control determination unit 230 is still receiving external data to the communication management unit 200 via the DLC 300 and the external network 310. The usage rate of the CAN bus 110 that is expected to increase when the external data is transmitted to the CAN bus 110 is calculated. When the control determination unit 230 determines that the calculated usage rate of the CAN bus 110 exceeds the load reference value of about “30%”, for example, the control determination unit 230 discards the external data transmitted to the communication management unit 200. A control command to the effect is output to the transmission restricting unit 250. The control determination unit 230 also outputs a control command to the transmission restriction unit 250 to stop the reception of external data for a predetermined time.

送信規制部250は、外部データを破棄する旨の制御指令が制御判断部230から入力されると、この制御指令に従って、外部データ監視部220が受信した外部データを当該外部データ監視部220に破棄させる。すなわち、CANバス110の使用率が約「30%」を既に超えているとき、あるいは、外部データの入力に伴ってCANバス110の使用率が約「30%」を超えることが予測されたときには、通信管理部200に送信される外部データが一旦破棄され、この外部データがCANバス110内に送信されないこととなる。このため、CANバス110の負荷が高い状態、あるいは、CANバス110の負荷の増大が予測される状態では、DLC300及び外部用ネットワーク310を介して送信されてきた外部データがCANバス110に送信されることが禁止され、CANバス110の負荷が過度に増大することが抑制される。また、送信規制部250は、外部データの受信を停止する旨の制御指令が制御判断部230から入力されると、この制御指令に従って、外部データ監視部220による外部データの受信を所定時間停止させる。このため、例えば、CANバス110を介して送受信される車両データのデータ量が低減するまで、換言すれば、高負荷状態にあるCANバス110が低負荷状態に遷移するまでの間、外部データが通信管理部200に入力されることが抑制される。そして、例えば、DLC300に接続された情報端末の画像表示部等には、外部データの送信エラーを示す画像や、所定期間経過後の外部データの再送信を促す画像等が表示される。   When a control command for discarding external data is input from the control determination unit 230, the transmission restriction unit 250 discards the external data received by the external data monitoring unit 220 in accordance with the control command. Let That is, when the usage rate of the CAN bus 110 has already exceeded about “30%”, or when the usage rate of the CAN bus 110 has been predicted to exceed about “30%” due to the input of external data. The external data transmitted to the communication management unit 200 is once discarded, and this external data is not transmitted to the CAN bus 110. For this reason, in a state where the load on the CAN bus 110 is high or an increase in the load on the CAN bus 110 is predicted, external data transmitted via the DLC 300 and the external network 310 is transmitted to the CAN bus 110. And prohibiting an excessive increase in the load on the CAN bus 110 is suppressed. In addition, when a control command for stopping the reception of external data is input from the control determination unit 230, the transmission restriction unit 250 stops the reception of external data by the external data monitoring unit 220 for a predetermined time according to the control command. . For this reason, for example, until the amount of vehicle data transmitted / received via the CAN bus 110 decreases, in other words, until the CAN bus 110 in a high load state transitions to a low load state, Input to the communication management unit 200 is suppressed. For example, on the image display unit of the information terminal connected to the DLC 300, an image indicating an external data transmission error, an image prompting retransmission of the external data after a predetermined period of time, and the like are displayed.

一方、送信規制部250は、外部データをCANバス110に送信したとしても同外部データの送信後のCANバス110の使用率を例えば約「30%」以内に維持可能な場合には、外部データの送信規制を実行しない。これにより、DLC300及び外部用ネットワーク310を介して送信され、外部データ監視部220が受信した外部データが、CANバス110に転送されることとなる。   On the other hand, even if external data is transmitted to the CAN bus 110, the transmission restriction unit 250 can maintain the usage rate of the CAN bus 110 after transmission of the external data within, for example, about “30%”. Do not enforce transmission restrictions. As a result, the external data transmitted via the DLC 300 and the external network 310 and received by the external data monitoring unit 220 is transferred to the CAN bus 110.

次に、本実施の形態の外部データ監視部220による外部データの監視態様を図3を参照して説明する。
図3(a)に示すように、例えば、DLC300に接続された情報端末から外部データが入力され、この外部データが変換されたデータフレームDa〜Dfが外部用ネットワーク310に送信されたとする。
Next, how external data is monitored by the external data monitoring unit 220 according to the present embodiment will be described with reference to FIG.
As shown in FIG. 3A, for example, it is assumed that external data is input from an information terminal connected to the DLC 300, and data frames Da to Df obtained by converting the external data are transmitted to the external network 310.

外部データ監視部220はまず、外部用ネットワーク310を介して送信されたデータフレームDa〜Dfを受信すると、外部データがDLC300を介して車両Cの内部に入力された旨を認識する。   First, when the external data monitoring unit 220 receives the data frames Da to Df transmitted via the external network 310, the external data monitoring unit 220 recognizes that the external data has been input into the vehicle C via the DLC 300.

また、外部データ監視部220は、例えば、データフレームDa〜Dfの受信間隔を計測することにより、図3(b)に示すように、外部用ネットワーク310による各データフレームDa〜Dfの送信間隔Δtdを求める。そして、外部データ監視部220は、この求めた送信間隔Δtdを示す信号を、上記制御判断部230に出力する。また一方、外部データ監視部220は、図3(c)に示すように、データフレームDa〜Dfの受信状況に基づき、例えば、期間T1におけるデータフレームの数を計測することにより、外部用ネットワーク310を介して送信される外部データの単位時間当たりの送信データ量を求める。そして、外部データ監視部220は、この求めた送信データ量を示す信号を、上記制御判断部230に出力する。   Also, the external data monitoring unit 220 measures the transmission intervals of the data frames Da to Df, for example, thereby measuring the transmission intervals Δtd of the data frames Da to Df by the external network 310 as shown in FIG. Ask for. Then, the external data monitoring unit 220 outputs a signal indicating the obtained transmission interval Δtd to the control determination unit 230. On the other hand, as shown in FIG. 3C, the external data monitoring unit 220 measures the number of data frames in the period T1, for example, based on the reception status of the data frames Da to Df, thereby causing an external network 310. The amount of transmission data per unit time of the external data transmitted via is obtained. Then, the external data monitoring unit 220 outputs a signal indicating the obtained transmission data amount to the control determination unit 230.

なお、例えば、DLC300を介して大量の外部データが車両Cの内部に送信されるDos攻撃が行われたときには、外部用ネットワーク310における外部データの送信間隔Δtdは、車両データがCANバス110上を流れる際の送信間隔よりも短くなる。また同様に、外部用ネットワーク310における外部データの単位時間当たりのデータ量も、車両データがCANバス110上を流れる際の単位時間当たりのデータ量よりも多くなる。よって本実施の形態の制御判断部230では、車両データがCANバス110上を流れる際の送信間隔や単位時間当たりのデータ量と、外部用ネットワーク310上を流れる外部データの送信間隔や単位時間当たりのデータ量とを比較することによって、DLC300を介して入力される外部データがDos攻撃であるか否かを把握することが可能となっている。   For example, when a Dos attack in which a large amount of external data is transmitted to the inside of the vehicle C via the DLC 300 is performed, the transmission interval Δtd of the external data in the external network 310 is set so that the vehicle data travels on the CAN bus 110. It becomes shorter than the transmission interval when flowing. Similarly, the data amount per unit time of external data in the external network 310 is also larger than the data amount per unit time when the vehicle data flows on the CAN bus 110. Therefore, in the control determination unit 230 of the present embodiment, the transmission interval when the vehicle data flows on the CAN bus 110 and the data amount per unit time, and the transmission interval and unit time of the external data flowing on the external network 310. It is possible to grasp whether or not the external data input through the DLC 300 is a Dos attack by comparing the amount of data.

なお、こうした外部データ監視部220による外部データの監視は、例えば、通信管理部200による外部データの受信状況を外部データ監視部220が監視することによって行われる。また、こうした外部データ監視部220による監視は所定の時間間隔のもとに実行され、例えば、外部用ネットワーク310に送信され得る外部データの送信間隔の最小値よりも短い時間間隔のもとに行われる。   The external data monitoring by the external data monitoring unit 220 is performed by the external data monitoring unit 220 monitoring the reception status of external data by the communication management unit 200, for example. Further, such monitoring by the external data monitoring unit 220 is performed at a predetermined time interval, for example, at a time interval shorter than the minimum value of the external data transmission interval that can be transmitted to the external network 310. Is called.

続いて、本実施の形態の車両データ監視部210による車両データの監視態様を図4を参照して説明する。
図4(a)に示すように、例えば、車両データが変換されたデータフレームFa〜Feが各車載制御装置100から送信されると、例えば、データフレームFa〜FeはCANバス110の途中に設けられた通信管理部200を経由して各車載制御装置100に送信される。そして、車両データ監視部210は、通信管理部200を経由するデータフレームFa〜Feを監視することにより、CANバス110による車両データの送信状況を監視する。
Next, a vehicle data monitoring mode by the vehicle data monitoring unit 210 according to the present embodiment will be described with reference to FIG.
As shown in FIG. 4A, for example, when data frames Fa to Fe in which vehicle data is converted are transmitted from each in-vehicle control device 100, for example, the data frames Fa to Fe are provided in the middle of the CAN bus 110. Is transmitted to each in-vehicle control device 100 via the communication management unit 200. Then, the vehicle data monitoring unit 210 monitors the transmission status of the vehicle data via the CAN bus 110 by monitoring the data frames Fa to Fe passing through the communication management unit 200.

また、車両データ監視部210は、CANバス110の監視を通じて、図4(b)に示すように、それら検知した各データフレームFa〜Feの送信間隔Δtfを計測する。そして、車両データ監視部210は、この計測した送信間隔Δtfを示す信号を、上記制御判断部230に出力する。また一方、車両データ監視部210は、車両データ監視部210の監視を通じて、図4(c)に示すように、例えば、期間T2におけるデータフレームの数を計測することにより、CANバス110による車両データの単位時間当たりの送信データ量を求める。そして、車両データ監視部210は、この求めた送信データ量を示す信号を、上記制御判断部230に出力する。さらに、車両データ監視部210は、例えば、これら計測したデータフレームFa〜Feの送信間隔Δtfや送信データ量に基づき、CANバス110の使用率を求め、この求めた使用率を示す信号を制御判断部230に出力する。   Further, the vehicle data monitoring unit 210 measures the transmission interval Δtf of each detected data frame Fa to Fe as shown in FIG. 4B through monitoring of the CAN bus 110. Then, the vehicle data monitoring unit 210 outputs a signal indicating the measured transmission interval Δtf to the control determination unit 230. On the other hand, the vehicle data monitoring unit 210 monitors the vehicle data by the CAN bus 110 by measuring the number of data frames in the period T2, for example, as shown in FIG. The amount of transmission data per unit time is obtained. Then, the vehicle data monitoring unit 210 outputs a signal indicating the obtained transmission data amount to the control determination unit 230. Further, for example, the vehicle data monitoring unit 210 obtains the usage rate of the CAN bus 110 based on the measured transmission interval Δtf of the data frames Fa to Fe and the transmission data amount, and controls and determines a signal indicating the obtained usage rate. Output to the unit 230.

以下、本実施の形態の車両ネットワークの通信管理装置の作用について図5を参照して説明する。
図5に示すように、DLC300に情報端末等が接続され、この情報端末により所定のデータ量の外部データがDLC300及び外部用ネットワーク310に送信されると、外部用ネットワーク310に送信された外部データを外部データ監視部220が受信する(ステップS101)。そして、外部データ監視部220は、この外部データの受信状況に基づき、外部データの送信間隔及び単位時間当たりの送信データ量を求め、それら求めた外部データの送信間隔及び送信データ量を示す信号を制御判断部230に出力する。
The operation of the vehicle network communication management apparatus according to the present embodiment will be described below with reference to FIG.
As shown in FIG. 5, when an information terminal or the like is connected to the DLC 300 and external data of a predetermined data amount is transmitted to the DLC 300 and the external network 310 by the information terminal, the external data transmitted to the external network 310 is transmitted. Is received by the external data monitoring unit 220 (step S101). Then, the external data monitoring unit 220 obtains a transmission interval of external data and a transmission data amount per unit time based on the reception status of the external data, and outputs a signal indicating the obtained transmission interval and transmission data amount of the external data. It outputs to the control judgment part 230.

次いで、制御判断部230は、車両データ監視部210による車両データの監視を通じて、CANバス110の使用率、CANバス110上を流れる車両データの送信間隔、及び同車両データの単位時間当たりの送信データ量を示す信号を取得する(ステップS102)。   Next, the control determination unit 230 monitors the vehicle data by the vehicle data monitoring unit 210, the usage rate of the CAN bus 110, the transmission interval of the vehicle data flowing on the CAN bus 110, and the transmission data of the vehicle data per unit time. A signal indicating the quantity is acquired (step S102).

制御判断部230は、車両データ監視部210から取得したCANバス110の使用率が、例えばCANバス110の高負荷状態を示す約「30%」以下、すなわち、負荷基準値以下であるか否かを判断する(ステップS103)。   The control determination unit 230 determines whether or not the usage rate of the CAN bus 110 acquired from the vehicle data monitoring unit 210 is, for example, about “30%” or less indicating a high load state of the CAN bus 110, that is, whether or not the load reference value or less. Is determined (step S103).

そして、CANバス110の使用率が約「30%」以下であると、制御判断部230は、車両データ監視部210及び外部データ監視部220による監視結果に基づき、外部データ監視部220が受信した外部データをCANバス110に送信したときに増大が予測されるCANバス110の使用率を求める(ステップS103:YES、S104)。次いで、制御判断部230は、この求めた使用率が例えば約「30%」以下であるか否かを判断する(ステップS105)。   When the usage rate of the CAN bus 110 is about “30%” or less, the control determination unit 230 receives the external data monitoring unit 220 based on the monitoring results of the vehicle data monitoring unit 210 and the external data monitoring unit 220. The usage rate of the CAN bus 110 that is expected to increase when external data is transmitted to the CAN bus 110 is obtained (step S103: YES, S104). Next, the control determination unit 230 determines whether or not the obtained usage rate is, for example, about “30%” or less (step S105).

そして、制御判断部230は、外部データ監視部220が受信した外部データをCANバス110に送信したとしてもCANバス110の使用率が約「30%」以内に維持される旨判断すると(ステップS105:YES)、外部データ監視部220が受信した外部データをCANバス110に転送させる(ステップS106)。   Then, the control determination unit 230 determines that the usage rate of the CAN bus 110 is maintained within about “30%” even if the external data received by the external data monitoring unit 220 is transmitted to the CAN bus 110 (step S105). : YES), the external data received by the external data monitoring unit 220 is transferred to the CAN bus 110 (step S106).

一方、ステップS103において、CANバス110の使用率が約「30%」を超えている旨判断されたときには、CANバス110が既に高負荷状態にあるとして、外部データ監視部220が受信した外部データが破棄される(ステップS103:NO、S107)。同様に、CANバス110の使用率が約「30%」以下であったとしても、外部データ監視部220が受信した外部データをCANバス110に送信することによってCANバス110の使用率が約「30%」を超えることが予測されるときには、外部データ監視部220が受信した外部データが破棄される(ステップS105:NO、S107)。   On the other hand, if it is determined in step S103 that the usage rate of the CAN bus 110 exceeds about “30%”, the external data received by the external data monitoring unit 220 is assumed that the CAN bus 110 is already in a high load state. Is discarded (step S103: NO, S107). Similarly, even if the usage rate of the CAN bus 110 is about “30%” or less, the usage rate of the CAN bus 110 is reduced to “about” by transmitting the external data received by the external data monitoring unit 220 to the CAN bus 110. When it is predicted that it will exceed “30%”, the external data received by the external data monitoring unit 220 is discarded (steps S105: NO, S107).

また、外部データの破棄後は、外部データ監視部220により外部データを受信することが所定期間だけ停止され、DLC300及び外部用ネットワーク310を介して送信される外部データが外部データ監視部220(通信管理部200)に取り込まれることが停止される(ステップS108、S109)。   Further, after the external data is discarded, the external data monitoring unit 220 stops receiving the external data for a predetermined period, and the external data transmitted through the DLC 300 and the external network 310 is transmitted to the external data monitoring unit 220 (communication). Incorporation into the management unit 200) is stopped (steps S108 and S109).

こうして、所定期間が経過し(ステップS109:YES)、例えばDLC300に接続された情報端末から外部データが再送されると、再び、外部用ネットワーク310側での外部データの監視とCANバス110側での車両データの監視とが行われる。そして、CANバス110の負荷を踏まえて外部データのCANバス110への入力の要否が決定されるようになる。   Thus, when a predetermined period has elapsed (step S109: YES), for example, when external data is retransmitted from an information terminal connected to the DLC 300, monitoring of external data on the external network 310 side and CAN bus 110 side again. The vehicle data is monitored. Based on the load on the CAN bus 110, the necessity of input of external data to the CAN bus 110 is determined.

以上説明したように、本実施の形態にかかる車両ネットワークの通信管理装置によれば、以下の効果が得られるようになる。
(1)車両ネットワークであるCANバス110に送信される車両データの送信状況を車両データ監視部210により監視するとともに、外部から入力される外部データを外部データ監視部220により監視することとした。そして、車両データ及び外部データの送信状況と外部データがCANバス110に及ぼす負荷とに応じて、CANバス110への外部データの送信を規制することとした。このため、CANバス110で送受信すべき車両データが増大したときには、外部データがCANバス110に取り込まれることがなく、CANバス110の通信量が飽和することが抑制される。これにより、CANバス110内に外部データを入力可能としながらも、この外部データの送信規制を通じてCANバス110による車両データの送受信機能を的確に担保することが可能である。また、このため、例えば、大量の不正データがCANバス110に送りつけられるようなDos攻撃が行われたとしても、この大量の不正データの送信規制を通じて、同データがCANバス110に入力されることが抑制される。これにより、外部から送信される外部データをCANバス110の内部に入力可能な構成としながらも、車両Cの制御に必要な各車載制御装置100が接続されるCANバス110に対するDos攻撃等を抑制することが可能となり、CANバス110としてのセキュリティー性が高められるようにもなる。
As described above, according to the vehicle network communication management device of the present embodiment, the following effects can be obtained.
(1) The vehicle data monitoring unit 210 monitors the transmission status of vehicle data transmitted to the CAN bus 110, which is a vehicle network, and the external data monitoring unit 220 monitors external data input from the outside. Then, the transmission of the external data to the CAN bus 110 is regulated according to the transmission status of the vehicle data and the external data and the load that the external data exerts on the CAN bus 110. For this reason, when the vehicle data which should be transmitted / received by the CAN bus 110 increase, external data is not taken in to the CAN bus 110, and it suppresses that the traffic of the CAN bus 110 is saturated. Thus, while it is possible to input external data into the CAN bus 110, it is possible to ensure the vehicle data transmission / reception function by the CAN bus 110 through this external data transmission restriction. For this reason, for example, even if a Dos attack in which a large amount of illegal data is sent to the CAN bus 110 is performed, the data is input to the CAN bus 110 through the transmission restriction of the large amount of illegal data. It is suppressed. As a result, external data transmitted from the outside can be input into the CAN bus 110, but a Dos attack on the CAN bus 110 to which each in-vehicle control device 100 necessary for controlling the vehicle C is connected is suppressed. Thus, the security as the CAN bus 110 can be improved.

(2)車両データ監視部210によりCANバス110の使用率を監視することとした。そして、外部データがCANバス110に送信されたときに増加が予測されるCANバス110の使用率が、CANバス110の高負荷状態を示す所定の閾値を超えるとき、送信規制部250による外部データの送信規制を実行することとした。このため、監視中のCANバス110の負荷のみならず、外部データが送信されたときに増大が予測されるCANバス110の使用率に基づいた送信規制が実行される。これにより、外部データがCANバス110に入力されることに起因してCANバス110の使用率が過剰に増大することが的確に抑制されるようになる。また、上記閾値として例えばCANバス110の規格上推奨される約「30%」を設定することにより、外部データをCANバス110に入力可能な構成としながらもCANバス110の使用率を約「30%」以内に抑えることが可能となる。これにより、CANバス110による車両データの送受信を、送信遅延や送信不良等を発生させることなく行うことが可能となり、CANバス110の特性を踏まえた的確な通信管理が行われるようになる。   (2) The vehicle data monitoring unit 210 monitors the usage rate of the CAN bus 110. When the usage rate of the CAN bus 110 that is expected to increase when the external data is transmitted to the CAN bus 110 exceeds a predetermined threshold value indicating a high load state of the CAN bus 110, the external data by the transmission restriction unit 250 It was decided to implement transmission restrictions. For this reason, not only the load of the CAN bus 110 being monitored but also the transmission regulation based on the usage rate of the CAN bus 110 that is expected to increase when external data is transmitted. As a result, an excessive increase in the usage rate of the CAN bus 110 due to the external data being input to the CAN bus 110 is appropriately suppressed. Further, by setting, for example, about “30%” recommended in the CAN bus 110 standard as the threshold value, the usage rate of the CAN bus 110 is reduced to about “30” while the external data can be input to the CAN bus 110. % ". As a result, transmission / reception of vehicle data by the CAN bus 110 can be performed without causing transmission delay, transmission failure, and the like, and accurate communication management based on the characteristics of the CAN bus 110 is performed.

(3)車両データ監視部210により車両データの送信間隔及び単位時間当たりの送信データ量を監視するとともに、外部データ監視部220により外部データの送信間隔及び単位時間当たりの送信データ量を監視することとした。これにより、車両データの送信間隔や送信データ量、並びに外部データの送信間隔や送信データ量に基づき、車両データ及び外部データがCANバス110に及ぼす負荷を的確に求めることが可能となり、この求めた負荷に基づく外部データの送信規制を的確に実行することが可能になる。   (3) The vehicle data monitoring unit 210 monitors the transmission interval of the vehicle data and the transmission data amount per unit time, and the external data monitoring unit 220 monitors the transmission interval of the external data and the transmission data amount per unit time. It was. This makes it possible to accurately determine the load that the vehicle data and the external data have on the CAN bus 110 based on the transmission interval and the transmission data amount of the vehicle data and the transmission interval and the transmission data amount of the external data. It is possible to accurately execute the transmission control of external data based on the load.

(4)送信規制部250による外部データの送信規制として、外部データ監視部220が受信した外部データの破棄を実行することとした。通信管理部200に外部データが入力されたとしても、CANバス110が高負荷状態にあるときには、入力された外部データが破棄されることにより、この外部データがCANバス110に送信されず、CANバス110で通信中の車両データの送受信を優先して行わせることが可能となる。   (4) As the external data transmission restriction by the transmission restriction unit 250, the external data received by the external data monitoring unit 220 is discarded. Even if external data is input to the communication management unit 200, when the CAN bus 110 is in a high load state, the input external data is discarded, so that the external data is not transmitted to the CAN bus 110, and CAN It becomes possible to prioritize transmission / reception of vehicle data being communicated on the bus 110.

(5)送信規制部250による外部データの送信規制として、外部データ監視部220に入力される外部データの受信停止を所定期間だけ実行することとした。これにより、CANバス110に外部データを取り込ませる余裕がないと判断されて以降は、通信管理部200に外部データが取り込まれることがなく、CANバス110の負荷に応じて外部データを破棄する必要もない。   (5) As the transmission restriction of external data by the transmission restriction unit 250, the reception stop of the external data input to the external data monitoring unit 220 is executed for a predetermined period. As a result, after it is determined that there is no room for the CAN bus 110 to take in external data, the external data is not taken into the communication management unit 200, and it is necessary to discard the external data according to the load on the CAN bus 110. Nor.

(6)通信管理部200を、CANバス110と外部用ネットワーク310との間に配置した。そして、外部用ネットワーク310を介して送信される外部データの送信状況の監視を通じて、送信規制部250による外部データの送信規制を実行することとした。このため、外部用ネットワーク310を介して送信されてきた外部データは通信管理部200を経由してCANバス110に送信されることとなり、同通信管理部200による外部データの送信規制を的確に実行することが可能となる。また、このため、外部データが外部用ネットワーク310を介して実際に送信される際の送信周期や単位時間当たりの送信データ量等に基づいて、この外部データがCANバス110に及ぼす負荷を特定することが可能となる。これにより、この外部データがCANバス110に送信されたときの負荷を精度よく推定することが可能となる。   (6) The communication management unit 200 is disposed between the CAN bus 110 and the external network 310. Then, the transmission restriction of the external data by the transmission restriction unit 250 is executed through monitoring the transmission state of the external data transmitted through the external network 310. For this reason, the external data transmitted via the external network 310 is transmitted to the CAN bus 110 via the communication management unit 200, and the transmission control of the external data by the communication management unit 200 is accurately executed. It becomes possible to do. For this reason, the load that the external data exerts on the CAN bus 110 is specified based on the transmission cycle when the external data is actually transmitted via the external network 310, the amount of transmission data per unit time, and the like. It becomes possible. This makes it possible to accurately estimate the load when the external data is transmitted to the CAN bus 110.

(7)上記通信管理部200を、外部診断機器が接続されるコネクタとして車両内に設けられたDLC300とCANバス110との間に設けることとした。このため、露出した状態で車室内に設けられ、外部の情報端末等と車両ネットワークとを容易に接続可能なDLC300を介して入力される外部データが送信規制される。これにより、DLC300を介して外部から入力されてくる外部データの送信規制を的確に実行することが可能となる。   (7) The communication management unit 200 is provided between the DLC 300 provided in the vehicle and the CAN bus 110 as a connector to which an external diagnostic device is connected. For this reason, transmission of external data that is provided in the vehicle interior in an exposed state and that is input via the DLC 300 that can easily connect an external information terminal and the vehicle network is restricted. As a result, it is possible to accurately execute transmission restrictions on external data input from the outside via the DLC 300.

(8)上記車両ネットワークとして、コントロール・エリア・ネットワークからなるCANバス110を対象とした。このため、車両ネットワークとしての汎用性が高く、また、送受信機能を維持する必要性が特に高いコントロール・エリア・ネットワークについても、外部データの送信機能を通じて、コントロール・エリア・ネットワークによる送受信機能を的確に維持することが可能となる。   (8) As the vehicle network, the CAN bus 110 including a control area network was targeted. For this reason, even for a control area network that is highly versatile as a vehicle network and that has a particularly high need to maintain a transmission / reception function, the transmission / reception function by the control area network is accurately determined through the external data transmission function. Can be maintained.

(第2の実施の形態)
次に、本発明にかかる車両ネットワークの通信管理装置の第2の実施の形態を、第1の実施の形態との相違点を中心に、先の図1に対応する図である図6を参照して説明する。なお、本実施の形態にかかる車両ネットワークの通信管理装置も、その基本的な構成は第1の実施の形態と同等であり、本実施の形態においても第1の実施の形態と実質的に同一の要素にはそれぞれ同一の符号を付して示し、重複する説明は割愛する。
(Second Embodiment)
Next, the second embodiment of the vehicle network communication management device according to the present invention will be described with reference to FIG. 6, which is a diagram corresponding to FIG. 1, focusing on the differences from the first embodiment. To explain. The basic configuration of the vehicle network communication management apparatus according to the present embodiment is the same as that of the first embodiment, and this embodiment is substantially the same as the first embodiment. These elements are denoted by the same reference numerals, and redundant descriptions are omitted.

図6に示すように、本実施の形態の通信管理部200Aを構成する制御判断部230Aは、外部データが、車載制御装置100に組み込まれているアプリケーションプログラム等の制御プログラムや制御データをリプログラミング(データ書き換え)するための書き換えデータであるか否かを判定する書き換えデータ判定部231を備えている。また、本実施の形態の制御判断部230Aは、外部から入力されたデータが書き換えデータであったとき、外部データをCANバス110に転送するか否かの判断に際して基準となる負荷基準値を変更する負荷基準値変更部232を備えている。   As shown in FIG. 6, the control determination unit 230 </ b> A constituting the communication management unit 200 </ b> A of the present embodiment reprograms control data and control data such as application programs incorporated in the in-vehicle control device 100. A rewrite data determination unit 231 that determines whether or not the data is rewrite data for (data rewrite) is provided. In addition, the control determination unit 230A according to the present embodiment changes the reference load reference value when determining whether to transfer external data to the CAN bus 110 when externally input data is rewritten data. The load reference value changing unit 232 is provided.

また、車載制御装置100に組み込まれている制御プログラムや制御データの更新や修正に際しては、DLC300に専用の機器が接続されて、この接続された機器から書き換えデータが入力される。なお、書き換えデータには、例えば、同データが車載制御装置100のデータを書き換えるための書き換えデータである旨を示すIDが予め付与されている。   In addition, when updating or correcting a control program or control data incorporated in the in-vehicle control device 100, a dedicated device is connected to the DLC 300, and rewrite data is input from the connected device. Note that, for example, an ID indicating that the data is rewrite data for rewriting the data of the in-vehicle control device 100 is given in advance to the rewrite data.

そして、DLC300に専用の機器が接続され、この接続された機器から書き換えデータが送信されると、この書き換えデータは、外部用ネットワーク310を介して通信管理部200Aに送信されて外部データ監視部220により監視される。外部データ監視部220は、書き換えデータの送信間隔及び単位時間当たりの送信データ量を監視し、この監視結果を制御判断部230Aに出力する。また、本実施の形態の外部データ監視部220は、書き換えデータに付与されているIDを認識すると、この認識したIDを示す信号を、制御判断部230Aに出力する。   When a dedicated device is connected to the DLC 300 and rewrite data is transmitted from the connected device, the rewrite data is transmitted to the communication management unit 200A via the external network 310 to be transmitted to the external data monitoring unit 220. Is monitored by The external data monitoring unit 220 monitors the transmission interval of rewrite data and the amount of transmission data per unit time, and outputs the monitoring result to the control determination unit 230A. In addition, when the external data monitoring unit 220 according to the present embodiment recognizes the ID given to the rewritten data, the external data monitoring unit 220 outputs a signal indicating the recognized ID to the control determination unit 230A.

そして、本実施の形態の制御判断部230Aでは、外部データ監視部220からIDを示す信号が入力されると、書き換えデータ判定部231によって、外部データ監視部220により監視対象とされる外部データが書き換えデータであるか否かが判定される。また、本実施の形態の書き換えデータ判定部231は、外部データ監視部220により認識されたIDと、例えば、保存領域240Aに予め登録されている書き換えデータIDとの照合を通じて、外部データが書き換えデータであるか否かを判定する。そして、書き換えデータ判定部231は、この判定結果を負荷基準値変更部232に出力する。   Then, in the control determination unit 230A of the present embodiment, when a signal indicating an ID is input from the external data monitoring unit 220, the rewrite data determination unit 231 causes external data to be monitored by the external data monitoring unit 220. It is determined whether the data is rewritten data. In addition, the rewrite data determination unit 231 according to the present embodiment converts the external data into rewrite data by collating the ID recognized by the external data monitoring unit 220 with, for example, the rewrite data ID registered in advance in the storage area 240A. It is determined whether or not. Then, the rewrite data determination unit 231 outputs the determination result to the load reference value change unit 232.

負荷基準値変更部232は、外部データが書き換えデータである旨の判定結果が書き換えデータ判定部231から入力されると、この書き換えデータに対する送信規制を緩和すべく、外部データの送信規制を実行するか否かの基準となる負荷基準値を変更する処理を実行する。本実施の形態の負荷基準値変更部232は、外部データが書き換えデータであるときには、送信規制を実行するか否かの基準値として設定されているCANバス110の使用率を、例えば「30%」から「40%」へと一時的に高める処理を実行する。   When the determination result that the external data is rewritten data is input from the rewritten data determining unit 231, the load reference value changing unit 232 executes the external data transmission restriction in order to relax the transmission restriction on the rewritten data. A process for changing the load reference value, which is a reference for determining whether or not the load is received, is executed. When the external data is rewritten data, the load reference value changing unit 232 according to the present embodiment sets the usage rate of the CAN bus 110 set as a reference value for determining whether or not to execute transmission restriction to, for example, “30% ”Is temporarily increased from“ 40% ”to“ 40% ”.

そして、送信規制部250による書き換えデータの送信規制に際しては、CANバス110の使用率が「40%」を超えているか否か、及び、CANバス110への書き換えデータの転送後に予測される同CANバス110の使用率が「40%」を超えるか否かを基準として、書き換えデータの転送の可否が決定される。   When the transmission restriction unit 250 restricts the transmission of rewrite data, whether the usage rate of the CAN bus 110 exceeds “40%” and whether the CAN is predicted after the rewrite data is transferred to the CAN bus 110. Whether or not transfer data can be transferred is determined based on whether or not the usage rate of the bus 110 exceeds “40%”.

この結果、CANバス110の使用率が「40%」以内であり、かつ、CANバス110への書き換えデータの転送後に予測される同CANバス110の使用率が「40%」以内であるときには、外部から入力された書き換えデータがCANバス110に転送されることとなる。そして、このCANバス110に転送された書き換えデータは、書き換えの対象となる車載制御装置100に送信され、同車載制御装置100に組み込まれているデータが書き換えられることとなる。   As a result, when the usage rate of the CAN bus 110 is within “40%” and the usage rate of the CAN bus 110 predicted after the transfer of rewrite data to the CAN bus 110 is within “40%”, Rewrite data input from the outside is transferred to the CAN bus 110. The rewritten data transferred to the CAN bus 110 is transmitted to the in-vehicle control device 100 to be rewritten, and the data incorporated in the in-vehicle control device 100 is rewritten.

なお、負荷基準値変更部232は、書き換えデータ判定部231の判定結果に基づき負荷基準値を一度変更したとしても、書き換えデータとは異なる外部データが新たに入力されたときには、一旦高めた使用率(負荷基準値)を、例えば「40%」から初期値である「30%」に戻す処理を実行する。こうして、外部データが書き換えデータであるか否かに応じて、送信規制部250による送信規制の実行基準が動的に変更されることとなる。   Note that even if the load reference value changing unit 232 changes the load reference value once based on the determination result of the rewrite data determination unit 231, when external data different from the rewrite data is newly input, the usage rate once increased. For example, a process of returning (load reference value) from “40%” to the initial value “30%” is executed. Thus, the transmission restriction execution standard by the transmission restriction unit 250 is dynamically changed according to whether or not the external data is rewritten data.

以上説明したように、本実施の形態にかかる車両ネットワークの通信管理装置によれば、前記(1)〜(8)の効果が得られるとともに、さらに以下の効果が得られるようになる。   As described above, according to the communication management device for a vehicle network according to the present embodiment, the effects (1) to (8) can be obtained, and the following effects can be further obtained.

(9)制御判断部230Aに、外部データが車載制御装置100に組み込まれている制御プログラムや制御データをデータ書き換えするための書き換えデータであるか否かを判定する書き換えデータ判定部231を設ける構成とした。また、外部から入力されたデータが書き換えデータであったときに負荷基準値を変更する負荷基準値変更部232を制御判断部230Aに設ける構成とした。このため、外部から入力されたデータが書き換えデータであったときには、書き換えデータを他の外部データよりも優先してCANバス110に転送すべく、送信規制部250による送信規制が緩和される。これにより、車載制御装置100のデータ書き換えに必要なデータが不要に送信規制されることが抑制され、CANバス110を介した書き換えデータの送受信を的確に実行することが可能となる。   (9) A configuration in which the control determination unit 230A is provided with a rewrite data determination unit 231 that determines whether external data is rewrite data for rewriting the control program or control data incorporated in the in-vehicle control device 100. It was. In addition, the control determination unit 230A is provided with a load reference value changing unit 232 that changes the load reference value when data input from the outside is rewritten data. For this reason, when the data input from the outside is rewrite data, the transmission restriction by the transmission restriction unit 250 is relaxed so that the rewrite data is transferred to the CAN bus 110 with priority over other external data. Thereby, it is possible to suppress unnecessary transmission restriction of data necessary for data rewriting of the in-vehicle control device 100, and it is possible to accurately execute transmission / reception of rewriting data via the CAN bus 110.

(第3の実施の形態)
次に、本発明にかかる車両ネットワークの通信管理装置の第3の実施の形態を、第1の実施の形態との相違点を中心に、先の図1に対応する図である図7を参照して説明する。なお、本実施の形態にかかる車両ネットワークの通信管理装置も、その基本的な構成は第1の実施の形態と同等であり、本実施の形態においても第1の実施の形態と実質的に同一の要素にはそれぞれ同一の符号を付して示し、重複する説明は割愛する。
(Third embodiment)
Next, referring to FIG. 7, which is a diagram corresponding to FIG. 1, focusing on the differences from the first embodiment, in the third embodiment of the vehicle network communication management apparatus according to the present invention. To explain. The basic configuration of the vehicle network communication management apparatus according to the present embodiment is the same as that of the first embodiment, and this embodiment is substantially the same as the first embodiment. These elements are denoted by the same reference numerals, and redundant descriptions are omitted.

図7に示すように、本実施の形態の通信管理部200Bを構成する制御判断部230Bは、各車載制御装置100間で送受信される車両データの種別を識別する車両データ種別識別部233と、この車両データ種別識別部233による識別結果に応じて外部データの送信規制の実行期間を設定する送信規制時間設定部234とを備えている。   As shown in FIG. 7, the control determination unit 230B constituting the communication management unit 200B of the present embodiment includes a vehicle data type identification unit 233 that identifies the type of vehicle data transmitted and received between the in-vehicle control devices 100, A transmission restriction time setting unit 234 that sets an execution period of transmission restriction of external data according to the identification result by the vehicle data type identification unit 233 is provided.

すなわち、各車載制御装置100間で送受信される車両データには通常、例えば、車両Cの室外の温度を示す温度データなど、予め定められた周期のもとに定期的に送信される定期データが存在する。そして、車両データが定期データであるか否かは、車両データの送信に際して同車両データに予め付与されるIDに基づき識別することが可能となっている。   That is, the vehicle data transmitted / received between the in-vehicle control devices 100 usually includes, for example, periodic data periodically transmitted at a predetermined cycle such as temperature data indicating the outdoor temperature of the vehicle C. Exists. Whether or not the vehicle data is regular data can be identified based on an ID given in advance to the vehicle data when transmitting the vehicle data.

そこで、本実施の形態の保存領域240Bには、車両データが定期データであるか否かを識別すべく、CANバス110に送信され得る定期データの1ないし複数種のデータの識別子及びデータ長及び送信周期を示す定期送信リストが予め登録されている。   Therefore, in the storage area 240B of the present embodiment, in order to identify whether or not the vehicle data is regular data, identifiers and data lengths of one or more types of regular data that can be transmitted to the CAN bus 110, and A regular transmission list indicating a transmission cycle is registered in advance.

また、車両データには通常、車両Cが所定の交通要素に接近することやドライバにより各種操作が行われることに起因して車両Cの状態が変化することにより、各車載制御装置100間での送受信が一時的に必要となるイベントデータが存在する。イベントデータとしては、例えば、車両Cがカーブ等の所定の交通要素に接近したことに伴い、車両Cに搭載されたナビゲーションシステムを制御する制御装置と各車載制御装置100との間での送受信が必要となるデータや、ドライバにより減速操作や加速操作が行われたことにより各車載制御装置100で送受信が必要となるデータが存在する。そして、こうしたイベントデータは、車両Cの交通要素への接近等の各種イベントに伴って発生するものであり、車両Cが交通要素を通過するなど、イベントが終了したのちには各車載制御装置100間での送受信が不要になるデータである。そして、車両データがこうしたイベントデータであるか否か、及び、イベントデータの種別についても、車両データの送信に際して同車両データに予め付与されるIDに基づき識別することが可能となっている。   Further, the vehicle data usually includes a change in the state of the vehicle C caused by the vehicle C approaching a predetermined traffic element or various operations performed by the driver. There is event data that requires temporary transmission and reception. As the event data, for example, when the vehicle C approaches a predetermined traffic element such as a curve, transmission / reception is performed between the control device that controls the navigation system mounted on the vehicle C and each in-vehicle control device 100. There is necessary data and data that needs to be transmitted / received by each in-vehicle control device 100 due to a deceleration operation or an acceleration operation performed by the driver. And such event data generate | occur | produces with various events, such as the approach to the traffic element of the vehicle C, and each vehicle-mounted control apparatus 100 after the event is complete | finished, such as the vehicle C passing a traffic element. Data that does not need to be transmitted / received between. Whether or not the vehicle data is such event data and the type of the event data can be identified based on an ID given in advance to the vehicle data when transmitting the vehicle data.

そこで、本実施の形態の保存領域240Bには、車両データがイベントデータであるか否かを判定可能とするとともにイベントデータの種別を識別可能とすべく、CANバス110に送信され得るイベントデータの1ないし複数種のデータの識別子及びデータ長及び送信周期を示すイベント送信リストが予め登録されている。   Therefore, in the storage area 240B of the present embodiment, event data that can be transmitted to the CAN bus 110 so that it can be determined whether or not the vehicle data is event data and the type of event data can be identified. An event transmission list indicating an identifier, a data length, and a transmission cycle of one or more types of data is registered in advance.

そして、本実施の形態の通信管理部200Bによる外部データの送信規制に際してはまず、車両データ種別識別部233が、車両データ監視部210による監視を通じて、監視対象とされた車両データに付与されているIDを取得する。   When the external data transmission restriction is performed by the communication management unit 200B according to the present embodiment, first, the vehicle data type identification unit 233 is given to the vehicle data to be monitored through monitoring by the vehicle data monitoring unit 210. Get an ID.

車両データ種別識別部233は、この取得したIDをもとに、保存領域240Bに登録されている定期送信リスト及びイベント送信リストを参照することにより、車両データ監視部210により監視対象とされた車両データの種別が、定期データ及びイベントデータのいずれであるかを識別する。また、車両データ種別識別部233は、種別を識別した車両データのデータ長や送信周期を、定期送信リスト及びイベント送信リストの参照を通じて識別する。そして、車両データ種別識別部233は、この識別結果を送信規制時間設定部234に出力する。   The vehicle data type identification unit 233 refers to the periodic transmission list and the event transmission list registered in the storage area 240B based on the acquired ID, so that the vehicle that is monitored by the vehicle data monitoring unit 210 Whether the data type is regular data or event data is identified. Further, the vehicle data type identification unit 233 identifies the data length and transmission cycle of the vehicle data whose type has been identified through reference to the regular transmission list and the event transmission list. Then, the vehicle data type identification unit 233 outputs this identification result to the transmission restriction time setting unit 234.

送信規制時間設定部234は、車両データ種別識別部233から入力された車両データの種別、送信周期、データ長に基づいて、外部データの送信規制の実行時間を設定する。例えば、送信規制時間設定部234は、CANバス110上を流れている車両データが車両Cでのイベントに伴って発生したイベントデータであるときには、イベントの終了までに要する時間を予測し、この予測した時間を外部データの送信規制の実行時間として定める。この送信規制の実行時間の設定に際しては、例えば、イベントデータが、走行中の車両Cが或る交通要素に接近したことに伴って発生したデータであるときには、車両Cが交通要素を通過するまでに要する時間が送信規制の実行時間として設定される。また、送信規制の実行時間は、例えば、保存領域240Bの参照を通じて識別されたイベントデータの送信周期やデータ長に基づいて定められる。同様に、CANバス110上を流れている車両データが定期データであるときにも、例えば、保存領域240Bの参照を通じて識別された定期データの送信周期やデータ長に基づいて送信規制の実行時間が定められる。   The transmission restriction time setting unit 234 sets the execution time of external data transmission restriction based on the type, transmission cycle, and data length of the vehicle data input from the vehicle data type identification unit 233. For example, when the vehicle data flowing on the CAN bus 110 is event data generated in association with an event in the vehicle C, the transmission restriction time setting unit 234 predicts the time required until the end of the event, and this prediction This time is determined as the execution time of the external data transmission restriction. When setting the execution time of the transmission restriction, for example, when the event data is data generated when the traveling vehicle C approaches a certain traffic element, the vehicle C passes through the traffic element. Is set as an execution time of transmission restriction. In addition, the transmission restriction execution time is determined based on, for example, the transmission period and data length of event data identified through reference to the storage area 240B. Similarly, when the vehicle data flowing on the CAN bus 110 is regular data, for example, the transmission restriction execution time is based on the transmission period and data length of the regular data identified through reference to the storage area 240B. Determined.

こうして、通信管理部200Bは、外部データの送信規制に際し、車両データ種別識別部233により定められた実行時間のもとに送信規制を実行する。これにより、例えば、先の図5に示したステップS108、S109において外部データの受信が停止される期間が、送信規制時間設定部234により定められた値へと可変設定される。こうして、車両データの種別や送信周期等に応じた送信規制が実行されることとなる。   In this way, the communication management unit 200B executes the transmission restriction based on the execution time determined by the vehicle data type identification unit 233 when restricting the transmission of external data. Thereby, for example, the period during which reception of external data is stopped in steps S108 and S109 shown in FIG. 5 is variably set to a value determined by the transmission restriction time setting unit 234. In this way, transmission restrictions according to the type of vehicle data, transmission cycle, and the like are executed.

この結果、CANバス110が高負荷状態となる期間が一時的であることが予測されるときには、この期間に応じて、例えば外部データの受信停止が一時的に実行される。これにより、送信規制部250による外部データの送信規制が早期に解除され、外部データの転送条件さえ満たされると、CANバス110への外部データの転送を早い段階で許可することが可能となる。   As a result, when it is predicted that the period during which the CAN bus 110 is in a high load state is temporary, for example, the reception of external data is temporarily stopped according to this period. Accordingly, when the transmission restriction of the external data by the transmission restriction unit 250 is released at an early stage and even the external data transfer condition is satisfied, the transfer of the external data to the CAN bus 110 can be permitted at an early stage.

一方、CANバス110が高負荷状態となる期間が長期間継続されると予測されるときには、この期間に応じて、例えば外部データの受信停止が長期的に実行される。このため、一旦、CANバス110が高負荷状態にあり、かつ、この高負荷状態が所定期間継続すると判断されて以降は、車両データの送信状況に応じた期間だけ外部データの送信規制が実行される。そのため、CANバス110の負荷が低下するまで、一旦設定された送信規制の実行時間のもとに外部データの受信が停止されることとなる。これにより、外部データの受信を停止している期間においては、先の図5のステップS101〜S105等に示した処理を実行する必要もなく、通信管理部200Bの演算負荷が軽減されることとなる。またこれにより、CANバス110の負荷が低下するまでの間、通信管理部200Bによる外部データの受信を停止することが可能となり、この外部データがCANバス110に送信されることを的確に抑制することが可能となる。   On the other hand, when the period during which the CAN bus 110 is in a high load state is predicted to continue for a long period of time, for example, the reception of external data is stopped for a long period according to this period. For this reason, once it is determined that the CAN bus 110 is in a high load state and this high load state continues for a predetermined period, the transmission restriction of external data is executed for a period corresponding to the transmission state of the vehicle data. The Therefore, reception of external data is stopped based on the transmission restriction execution time once set until the load on the CAN bus 110 decreases. As a result, during the period in which the reception of external data is stopped, it is not necessary to execute the processing shown in steps S101 to S105 in FIG. 5 and the calculation load on the communication management unit 200B is reduced. Become. In addition, this makes it possible to stop the reception of external data by the communication management unit 200B until the load on the CAN bus 110 is reduced, and accurately suppress transmission of this external data to the CAN bus 110. It becomes possible.

以上説明したように、本実施の形態にかかる車両ネットワークの通信管理装置によれば、前記(1)〜(8)の効果が得られるとともに、さらに以下の効果が得られるようになる。   As described above, according to the communication management device for a vehicle network according to the present embodiment, the effects (1) to (8) can be obtained, and the following effects can be further obtained.

(10)CANバス110の車両データの送信状況に応じて外部データの送信規制にかかる実行期間を可変設定することとした。これにより、車両データの送信状況に応じた送信規制を実行することが可能となり、車両データの送信状況に見合った的確な送信規制を実行することが可能となる。   (10) The execution period according to the transmission restriction of the external data is variably set according to the transmission state of the vehicle data of the CAN bus 110. As a result, it is possible to execute transmission restriction according to the transmission state of the vehicle data, and it is possible to execute accurate transmission restriction corresponding to the transmission state of the vehicle data.

(11)車両データとして車両内でのイベントの発生に伴い送受信が開始されるイベントデータが前記車両ネットワークに送信されたとき、イベントが終了するまでの間、送信規制部250による外部データの送信規制を実行することとした。このため、車両C内でのイベントの発生に伴ってCANバス110が高負荷状態になったとしても、イベントが終了するまで、すなわち、イベントの終了に伴いCANバス110が高負荷状態から低負荷状態に遷移するまでの間、外部データがCANバス110に送信されることが抑制される。これにより、車両C内でのイベントの発生を踏まえた外部データの送信規制を通じて、各車載制御装置100間でのイベントデータの送受信を確実に実行することが可能となる。   (11) When the event data that starts transmission / reception in response to the occurrence of an event in the vehicle is transmitted to the vehicle network as the vehicle data, the transmission restriction unit 250 restricts the transmission of external data until the event ends. It was decided to execute. For this reason, even if the CAN bus 110 becomes a high load state due to the occurrence of an event in the vehicle C, the CAN bus 110 is changed from the high load state to the low load until the event ends, that is, as the event ends. Until the state transitions, external data is suppressed from being transmitted to the CAN bus 110. Thus, it is possible to reliably execute transmission / reception of event data between the in-vehicle control devices 100 through external data transmission regulation based on the occurrence of an event in the vehicle C.

(12)保存領域240Bに、定期データのID及びデータ長及び送信周期が登録された定期送信リストと、イベントデータのID及びデータ長が登録されたイベント送信リストとを設ける構成とした。また、定期送信リスト及びイベント送信リストの参照を通じて、車両データの種別、データ長、送信周期等を識別する車両データ種別識別部233と、この車両データ種別識別部233による識別結果に応じて外部データの送信規制の実行時間を定める送信規制時間設定部234とを制御判断部230Bに設ける構成とした。このため、車両データ種別識別部233により識別した車両データの種類、データ長、及び送信周期に基づいて、CANバス110の負荷の増減を予測することや、CANバス110による車両データの送信状況をより詳細に特定することが可能となる。これにより、車両データの監視を通じた外部データの送信規制をより的確に実行することが可能となる。   (12) The storage area 240B is provided with a periodic transmission list in which the ID, data length, and transmission period of the regular data are registered, and an event transmission list in which the ID of the event data and the data length are registered. Further, through reference to the periodic transmission list and the event transmission list, the vehicle data type identification unit 233 for identifying the type of vehicle data, the data length, the transmission cycle, etc., and external data according to the identification result by the vehicle data type identification unit 233 A transmission restriction time setting unit 234 for determining the transmission restriction execution time is provided in the control determination unit 230B. Therefore, based on the type, data length, and transmission cycle of the vehicle data identified by the vehicle data type identification unit 233, the increase or decrease of the load on the CAN bus 110 is predicted, or the transmission status of the vehicle data via the CAN bus 110 is determined. It becomes possible to specify in more detail. This makes it possible to more accurately execute external data transmission regulation through vehicle data monitoring.

(13)送信規制時間設定部234により定めた送信規制時間を、外部データ監視部220による外部データの受信停止期間に反映させることとした。このため、車両C内でのイベントの終了に伴って、高負荷状態にあったCANバス110が低負荷状態に遷移することが予測されるまの間は、外部データ監視部220による外部データの受信が停止される。これにより、車両C内のイベントが終了し、CANバス110が低負荷状態となるまでの間は、外部データがCANバス110に転送されることもない。また、これにより、送信規制時間設定部234により定めた送信規制時間が経過するまでの間は、外部データの受信が停止されることから、外部データの監視や同外部データがCANバス110に与える負荷の予測等の演算を行う必要もない。   (13) The transmission restriction time determined by the transmission restriction time setting unit 234 is reflected in the external data reception stop period by the external data monitoring unit 220. For this reason, until the CAN bus 110 that has been in a high load state is predicted to transition to a low load state with the end of the event in the vehicle C, the external data monitoring unit 220 does not store the external data. Reception is stopped. Thereby, the external data is not transferred to the CAN bus 110 until the event in the vehicle C ends and the CAN bus 110 is in a low load state. As a result, the reception of external data is stopped until the transmission restriction time set by the transmission restriction time setting unit 234 elapses, so that the external data is monitored and the external data is given to the CAN bus 110. There is no need to perform calculations such as load prediction.

(他の実施の形態)
なお、上記各実施の形態は、以下のような形態をもって実施することもできる。
・上記各実施の形態では、先の図5に示した処理を、所定のデータ単位で行うこととした。これに限られず、例えば、データフレーム単位でステップS101〜S108の処理を実行するようにしてもよい。
(Other embodiments)
In addition, each said embodiment can also be implemented with the following forms.
In each of the above embodiments, the process shown in FIG. 5 is performed in predetermined data units. For example, the processes of steps S101 to S108 may be executed in units of data frames.

・上記各実施の形態では、DLC300及び外部用ネットワーク310を介して入力される外部データがCANバス110に及ぼす負荷とCANバス110での車両データの送信状況とに応じて、外部データの送信規制を行った。さらに、この外部データの送信規制に先立ち、例えば、外部から入力された外部データのIDやデータ長を識別するとともに、CANバス110に適合しないと識別された外部データをフィルタリングする機能を上記通信管理部200、200A、200Bに設けてもよい。これにより、予めフィルタリングされた外部データに対して送信規制の要否を実行することが可能となり、CANバス110に適合する外部データのみを、通信管理部200、200A、200BからCANバス110へと転送することが可能となる。   In each of the above-described embodiments, external data transmission regulation is performed according to the load exerted on the CAN bus 110 by external data input via the DLC 300 and the external network 310 and the vehicle data transmission status on the CAN bus 110. Went. Further, prior to this external data transmission restriction, for example, the above-mentioned communication management function is used for identifying the external data ID and data length input from the outside and filtering the external data identified as not conforming to the CAN bus 110. You may provide in the part 200, 200A, 200B. As a result, it is possible to execute the necessity of transmission restriction on the external data filtered in advance, and only external data that conforms to the CAN bus 110 is transferred from the communication management unit 200, 200A, 200B to the CAN bus 110. It becomes possible to transfer.

・上記第3の実施の形態では、車両データが定期データ及びイベントデータのいずれであるか否かを、車両データのIDと保存領域240Bに登録されたイベント送信リストとの照合を通じて行った。これに限らず、例えば、車両データに付与されている識別子に基づいて車両データがイベントデータであるか否かを識別可能な場合には、保存領域240Bのイベント送信リストや定期送信リストを割愛する構成としてもよい。この場合には、例えば、先の図4(b)に対応する図として図8に示すように、各データフレームFia〜Ficがイベントデータである旨を示す識別子Ibが検知されたことに基づき、各データフレームFia〜Ficがイベントデータであると識別される。そして、この識別子Ibが付与されたデータフレームFia〜Ficが所定期間Δtf2の間に所定数検知されたとき、イベントの発生に伴いCANバス110の負荷が増大するとして、外部データの送信規制を実行するようにしてもよい。   In the third embodiment, whether the vehicle data is regular data or event data is determined by comparing the vehicle data ID with the event transmission list registered in the storage area 240B. For example, when it is possible to identify whether the vehicle data is event data based on an identifier assigned to the vehicle data, the event transmission list and the regular transmission list in the storage area 240B are omitted. It is good also as a structure. In this case, for example, as shown in FIG. 8 as a diagram corresponding to FIG. 4B, based on detection of an identifier Ib indicating that each data frame Fia to Fic is event data, Each data frame Fia-Fic is identified as event data. Then, when a predetermined number of data frames Fia to Fic to which this identifier Ib is assigned are detected during a predetermined period Δtf2, the transmission of external data is restricted assuming that the load on the CAN bus 110 increases with the occurrence of an event. You may make it do.

・上記各実施の形態では、外部データの送信規制として、外部データ監視部220が受信した外部データの破棄、及び外部データ監視部220に入力される外部データの受信停止を実行することとした。これに限らず、例えば、外部データ監視部220が受信した外部データを一時的に格納可能な記憶領域を通信管理部200に設け、外部データの送信規制に際しては、外部データ監視部220が受信した外部データを記憶領域に格納させるようにしてもよい。そして、車両データの負荷が低下したことをもって、記憶領域に格納された外部データをCANバス110に送信する送信保留を実行するようにしてもよい。この場合には、DLC300を介して入力された外部データは、CANバス110が低負荷状態となるのを待って同CANバス110に送信されることとなり、DLC300を介して入力された外部データをCANバス110に的確に送信することが可能となる。また、これに限らず、外部データの送信規制として、CANバス110に送信する外部データの送信量をCANバス110の負荷に適応させる通信調整を実行するようにしてもよい。この場合には、外部データをCANバス110に転送することによりCANバス110の負荷が負荷基準値を超えることが予測されたときには、外部データ監視部220が受信した外部データの送信周期や単位時間当たりの送信データ量が調整されて外部データがCANバス110に転送される。この結果、CANバス110の負荷が負荷基準値の以内となる範囲で、外部データがCANバス110に漸次転送されることとなり、CANバス110の負荷を負荷基準値以内に抑えつつ、余剰部分を利用した外部データの転送を行うことが可能となる。   In each of the embodiments described above, the external data received by the external data monitoring unit 220 is discarded and the reception of the external data input to the external data monitoring unit 220 is stopped as external data transmission restrictions. Not limited to this, for example, a storage area capable of temporarily storing external data received by the external data monitoring unit 220 is provided in the communication management unit 200, and the external data monitoring unit 220 has received when restricting transmission of external data. External data may be stored in the storage area. Then, transmission suspension for transmitting external data stored in the storage area to the CAN bus 110 may be executed when the load of the vehicle data is reduced. In this case, the external data input via the DLC 300 is transmitted to the CAN bus 110 after the CAN bus 110 is in a low load state, and the external data input via the DLC 300 is It is possible to accurately transmit to the CAN bus 110. Further, the present invention is not limited to this, and communication adjustment that adapts the transmission amount of external data to be transmitted to the CAN bus 110 to the load of the CAN bus 110 may be executed as the external data transmission restriction. In this case, when it is predicted that the load of the CAN bus 110 exceeds the load reference value by transferring the external data to the CAN bus 110, the transmission cycle and unit time of the external data received by the external data monitoring unit 220 The amount of data transmitted per hit is adjusted and the external data is transferred to the CAN bus 110. As a result, external data is gradually transferred to the CAN bus 110 within a range where the load on the CAN bus 110 is within the load reference value, and the surplus portion is reduced while keeping the load on the CAN bus 110 within the load reference value. It is possible to transfer used external data.

・上記各実施の形態では、車両データ監視部210によりCANバス110の使用率及び車両データの送信間隔及び単位時間当たりの送信データ量を監視するとともに、外部データ監視部220により外部データの送信間隔及び単位時間当たりの送信データ量を監視することとした。これに限らず、例えば、車両データ監視部210により、CANバス110の使用率及び車両データの送信間隔及び単位時間当たりの送信データ量のいずれか一方のみを監視するようにしてもよい。同様に、外部データ監視部220により、外部データの送信間隔及び単位時間当たりの送信データ量のいずれか一方を監視するようにしてもよい。この場合であれ、CANバス110の使用率、車両データの送信間隔、あるいは単位時間当たりの送信データ量、並びに、車両データの送信間隔あるいは単位時間当たりの送信データ量に基づき、車両データ及び外部データがCANバス110に及ぼす負荷を踏まえた送信規制を実行することができる。またこの他、例えば、車両データや外部データに付与されているIDのみを監視し、この監視するIDに基づき車両データや外部データのデータ長や送信周期などを監視するようにしてもよい。要は、車両データの送受信に伴うCANバス110の負荷や、外部データの負荷を監視することができればよく、車両データ監視部210及び外部データ監視部220により監視対象とする要素は適宜変更できる。   In each of the above embodiments, the vehicle data monitoring unit 210 monitors the usage rate of the CAN bus 110, the transmission interval of the vehicle data, and the transmission data amount per unit time, and the external data monitoring unit 220 transmits the external data transmission interval. The amount of transmission data per unit time was monitored. For example, the vehicle data monitoring unit 210 may monitor only one of the usage rate of the CAN bus 110, the transmission interval of the vehicle data, and the transmission data amount per unit time. Similarly, the external data monitoring unit 220 may monitor either the external data transmission interval or the transmission data amount per unit time. Even in this case, the vehicle data and the external data are based on the usage rate of the CAN bus 110, the transmission interval of the vehicle data, or the transmission data amount per unit time, and the transmission interval of the vehicle data or the transmission data amount per unit time. The transmission restriction based on the load on the CAN bus 110 can be executed. In addition, for example, only the ID assigned to the vehicle data or the external data may be monitored, and the data length or transmission cycle of the vehicle data or the external data may be monitored based on the monitored ID. In short, it is only necessary to be able to monitor the load of the CAN bus 110 accompanying the transmission / reception of vehicle data and the load of external data, and the elements to be monitored by the vehicle data monitoring unit 210 and the external data monitoring unit 220 can be appropriately changed.

・上記各実施の形態では、外部データの送信規制の実行基準となるCANバス110の使用率として「30%」を規定した。これに限らず、外部データの送信規制の実行基準となるCANバス110の使用率としては、CANバス110の通信機能を維持できる使用率であればよく、「29%」以下とすることや、「31%」以上とすることも可能である。   In each of the above embodiments, “30%” is defined as the usage rate of the CAN bus 110, which is an execution standard for external data transmission restriction. Not limited to this, the usage rate of the CAN bus 110 that is the execution standard of the external data transmission restriction may be a usage rate that can maintain the communication function of the CAN bus 110, and may be “29%” or less, It may be “31%” or more.

・上記各実施の形態では、車両データ監視部210によりCANバス110の使用率を監視することとした。そして、外部データがCANバス110に送信されたときに増加が予測されるCANバス110の使用率が、CANバス110の高負荷状態を示す所定の閾値を超えるとき、送信規制部250による外部データの送信規制を実行することとした。これに限らず、例えば、CANバス110により円滑に送信可能なデータ量を予め規定し、この規定したデータ量を、車両データ及び外部データの合計値が超えるときに、送信規制部250による外部データの送信規制を実行するようにしてもよい。要は、送信規制部250による外部データの送信規制の実行基準となる負荷基準値とは、CANバス110の負荷が反映されるものであればよく、適宜変更することができる。   In each of the above embodiments, the vehicle data monitoring unit 210 monitors the usage rate of the CAN bus 110. When the usage rate of the CAN bus 110 that is expected to increase when the external data is transmitted to the CAN bus 110 exceeds a predetermined threshold value indicating a high load state of the CAN bus 110, the external data by the transmission restriction unit 250 It was decided to implement transmission restrictions. For example, the amount of data that can be smoothly transmitted by the CAN bus 110 is defined in advance. When the total amount of the vehicle data and the external data exceeds the specified amount of data, the external data by the transmission restriction unit 250 is determined. The transmission restriction may be executed. In short, the load reference value serving as a reference for executing the transmission restriction of external data by the transmission restriction unit 250 may be any one that reflects the load on the CAN bus 110 and can be changed as appropriate.

・上記通信管理部200を、外部診断機器が接続されるコネクタとして車両内に設けられたDLC300とCANバス110との間に設けることとした。これに限らず、通信管理部200の配置位置とは、外部データがCANバス110に送信される以前に、この外部データが車両データに及ぼす負荷に応じて外部データがCANバス110に送信されることを抑制可能な位置であればよく、適宜変更することができる。   The communication management unit 200 is provided between the DLC 300 provided in the vehicle and the CAN bus 110 as a connector to which an external diagnostic device is connected. The arrangement position of the communication management unit 200 is not limited to this. The external data is transmitted to the CAN bus 110 according to the load that the external data exerts on the vehicle data before the external data is transmitted to the CAN bus 110. Any position can be used as long as it can be suppressed, and the position can be changed as appropriate.

・上記各実施の形態は、DLC300と通信管理部200とを、車両Cの内部に設けられた外部用ネットワーク310を設けることとした。これに限らず、外部用ネットワーク310を割愛する構成とし、DLC300に通信管理部200を直接接続する構成としてもよい。そして、DLC300から通信管理部200に入力される外部データの受信状況に基づき、外部データがCANバス110に及ぼす負荷を求めるようにしてもよい。   In each of the above embodiments, the DLC 300 and the communication management unit 200 are provided with the external network 310 provided inside the vehicle C. However, the configuration is not limited to this, and the configuration may be such that the external network 310 is omitted and the communication management unit 200 is directly connected to the DLC 300. Then, based on the reception status of the external data input from the DLC 300 to the communication management unit 200, the load that the external data exerts on the CAN bus 110 may be obtained.

・上記各実施の形態では、外部データ監視部220による外部データの監視を通じて、外部データの検知、ひいては、DLC300に接続された情報端末の検知を行うこととした。これに限らず、例えば、外部用ネットワーク310のホストである「CAN High」(もしくは「CAN Low」)をプルダウン抵抗により“L”レベルに維持させ、DLC300に接続される情報端末の接続部にプルアップ抵抗を設ける構成としてもよい。この場合には、情報端末の接続部がDLC300に接続されることにより“L”レベルに維持された「CAN High」が“H”レベルに変化することとなり、この変化に基づいてDLC300に情報端末が接続された旨を検知することが可能となる。そして、例えば、こうした“L”レベルから“H”への変化を通じて情報端末等がDLC300に接続されていることが検知されたことを条件として、通信管理部200による車両データ及び外部データを監視することとし、外部データの送信規制を実行するようにしてもよい。これにより、外部データが外部から送信されてくる蓋然性の高い状況下でのみ、両データ及び外部データの監視、並びに外部データの送信規制に必要な処理が行われることとなり、必要最小限の処理のもとに、外部データの送信規制を実現することが可能となる。   In each of the above embodiments, the external data is monitored by the external data monitoring unit 220, and thus the information terminal connected to the DLC 300 is detected. For example, “CAN High” (or “CAN Low”) that is the host of the external network 310 is maintained at “L” level by a pull-down resistor, and pulled to the connection portion of the information terminal connected to the DLC 300. It is good also as a structure which provides an up resistance. In this case, “CAN High” maintained at the “L” level is changed to “H” level by connecting the connecting portion of the information terminal to the DLC 300, and the information terminal is connected to the DLC 300 based on this change. It is possible to detect that is connected. Then, for example, the vehicle data and the external data are monitored by the communication management unit 200 on the condition that it is detected that the information terminal or the like is connected to the DLC 300 through such a change from “L” level to “H”. In other words, external data transmission restriction may be executed. As a result, only under the high probability that external data is transmitted from the outside, processing necessary for both data and external data monitoring and external data transmission regulation is performed. Based on this, it is possible to realize the transmission regulation of external data.

・上記各実施の形態では、上記外部データを、DLC300に接続可能な情報端末等から入力可能な構成とした。これに限らず、DLC300に代えて、外部の情報端末等と無線通信可能な通信部を車両Cに設ける構成としてもよい。この場合であれ、無線通信を通じて外部から入力される外部データに対する送信規制を通じて、CANバス110による車両データの送受信を円滑に行うことが可能となる。なおこの場合には、例えば、通信部から通信対象機器に対し、通信対象機器との接続確認用データを送信する片方向通信を定期的に実行し、通信対象機器の接続の有無を検知するようにしてもよい。そして、例えば、通信対象機器との通信が確立していることが検知されたことを条件として、通信管理部200による車両データ及び外部データを監視することとし、外部データの送信規制を実行するようにしてもよい。これにより、外部データが外部から送信されてくる蓋然性の高い状況下でのみ、両データ及び外部データの監視、並びに外部データの送信規制に必要な処理が行われることとなり、必要最小限の処理のもとに、外部データの送信規制を実現することが可能となる。また、例えば、通信部から通信対象機器に対し、接続確認用データを送信するとともに、この接続確認用データを受信した通信対象機器から通信部に対し、接続確認用データを受信した旨を示す応答データや認証用のデータを返信する双方向通信を実行するようにしてもよい。この場合には、外部データの送信元となる通信対象機器の存在をより的確に認識することが可能になるとともに、認証用のデータに基づき通信対象機器を検証することが可能ともなる。これにより、CANバス110に対するセキュリティー性がより高められるようになる。   In each of the above embodiments, the external data can be input from an information terminal or the like that can be connected to the DLC 300. Not only this but it replaces with DLC300, and it is good also as composition which provides communication part which can carry out radio communications with an external information terminal etc. in vehicle C. Even in this case, transmission / reception of vehicle data by the CAN bus 110 can be smoothly performed through transmission restriction on external data input from the outside through wireless communication. In this case, for example, one-way communication in which data for confirming connection with the communication target device is transmitted from the communication unit to the communication target device is periodically executed to detect whether the communication target device is connected. It may be. For example, on the condition that it is detected that communication with the communication target device is established, vehicle data and external data are monitored by the communication management unit 200, and transmission control of external data is executed. It may be. As a result, only under the high probability that external data is transmitted from the outside, processing necessary for both data and external data monitoring and external data transmission regulation is performed. Based on this, it is possible to realize the transmission regulation of external data. In addition, for example, a response indicating that connection confirmation data has been received from the communication target device that has received the connection confirmation data to the communication unit is transmitted from the communication unit to the communication target device. You may make it perform the bidirectional | two-way communication which returns data and the data for authentication. In this case, it is possible to more accurately recognize the presence of a communication target device that is a transmission source of external data, and it is possible to verify the communication target device based on authentication data. As a result, the security for the CAN bus 110 is further improved.

・上記車両ネットワークとして、CANバス110を採用することとした。これに限らず、車両ネットワークとしては、車両データや外部データを送信可能なものであればよく、例えばフレックスレイを上記車両ネットワークとして採用することも可能である。この場合であれ、外部データの送信規制を通じて、各種車両データの円滑かつ確実な送受信を実現することが可能となる。またこの他、例えば制御系の車両ネットワークとしてIDB−1394(登録商標)を採用したり、ボデー系の車両ネットワークとして、BEAN、LINを採用することも可能である。同様に、情報系の車両ネットワークとしてAVC−LANを採用することも可能である。これらの場合であれ、車両ネットワークに対する外部データの送信規制を通じて、車両データの円滑かつ送受信を実現することが可能となる。またこの他、バス型の車両ネットワークであれば、本発明の適用は可能である。   -The CAN bus 110 was adopted as the vehicle network. The vehicle network is not limited to this, and any vehicle network that can transmit vehicle data and external data may be used. For example, FlexRay can be adopted as the vehicle network. Even in this case, smooth and reliable transmission / reception of various types of vehicle data can be realized through transmission restrictions on external data. In addition, for example, IDB-1394 (registered trademark) can be adopted as a control-type vehicle network, and BEAN or LIN can be adopted as a body-type vehicle network. Similarly, an AVC-LAN can be adopted as an information vehicle network. Even in these cases, the vehicle data can be smoothly transmitted and received through the transmission restriction of the external data to the vehicle network. In addition, the present invention can be applied to any bus-type vehicle network.

100…車載制御装置、110…CANバス、200、200A、200B…通信管理部、210…車両データ監視部、220…外部データ監視部、230、230A、230B…制御判断部、231…書き換えデータ判定部、232…負荷基準値変更部、233…車両データ種別識別部、234…送信規制時間設定部、240、240A、240B…保存領域、250…送信規制部、300…データ・リンク・コネクタ(DLC)、310…外部用ネットワーク、C…車両、Da−Df…外部データ、Fa−Fe…車両データ、Fia−Fic…イベントデータ。   DESCRIPTION OF SYMBOLS 100 ... Vehicle-mounted control apparatus, 110 ... CAN bus, 200, 200A, 200B ... Communication management part, 210 ... Vehicle data monitoring part, 220 ... External data monitoring part, 230, 230A, 230B ... Control judgment part, 231 ... Rewrite data judgment , 232 ... Load reference value changing part, 233 ... Vehicle data type identification part, 234 ... Transmission restriction time setting part, 240, 240A, 240B ... Storage area, 250 ... Transmission restriction part, 300 ... Data link connector (DLC) ), 310 ... External network, C ... Vehicle, Da-Df ... External data, Fa-Fe ... Vehicle data, Fia-Fic ... Event data.

Claims (12)

複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、
前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え
前記通信管理部は、前記外部データが前記車載制御装置のデータ書き換え用の書き換えデータであるとき、前記外部データの送信規制を一時的に緩和する処理を実行する
ことを特徴とする車両ネットワークの通信管理装置。
Vehicle network communication for managing communication data in a vehicle network in which vehicle data is transmitted and received between a plurality of vehicle-mounted control devices and external data can be input from the outside of the vehicle through wired communication or wireless communication A management device,
Monitoring the transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and according to the transmission status of the data to be monitored and the load that external data exerts on the vehicle network A communication management unit that regulates transmission to the vehicle network ,
The communication of the vehicle network , wherein when the external data is rewrite data for rewriting data of the in-vehicle control device, the communication management unit executes a process of temporarily relaxing the transmission restriction of the external data Management device.
複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、
前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え
前記通信管理部は、前記監視する車両ネットワークの車両データの送信状況に応じて前記外部データの送信規制にかかる実行期間を可変設定する
ことを特徴とする車両ネットワークの通信管理装置。
Vehicle network communication for managing communication data in a vehicle network in which vehicle data is transmitted and received between a plurality of vehicle-mounted control devices and external data can be input from the outside of the vehicle through wired communication or wireless communication A management device,
Monitoring the transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and according to the transmission status of the data to be monitored and the load that external data exerts on the vehicle network A communication management unit that regulates transmission to the vehicle network ,
The communication management device for a vehicle network, wherein the communication management unit variably sets an execution period related to transmission control of the external data in accordance with a transmission status of vehicle data of the monitored vehicle network .
複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、
前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え
前記通信管理部は、前記車両データとして車両内でのイベントの発生に伴い送受信が開始されるイベントデータが前記車両ネットワークに送信されたとき、前記イベントが終了するまでの間、前記外部データの送信規制を実行する
ことを特徴とする車両ネットワークの通信管理装置。
Vehicle network communication for managing communication data in a vehicle network in which vehicle data is transmitted and received between a plurality of vehicle-mounted control devices and external data can be input from the outside of the vehicle through wired communication or wireless communication A management device,
Monitoring the transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and according to the transmission status of the data to be monitored and the load that external data exerts on the vehicle network A communication management unit that regulates transmission to the vehicle network ,
The communication management unit transmits the external data until the event ends when event data that is transmitted / received as an event in the vehicle is transmitted as the vehicle data to the vehicle network. A communication management device for a vehicle network, characterized by executing regulation .
複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、
前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え
前記通信管理部は、前記車両ネットワークに定期的に送信される1ないし複数種のデータの識別子及びデータ長及び送信周期が登録された定期送信リストと、前記車両内でのイベントの発生に伴って前記車両ネットワークに送信される1ないし複数種のデータの識別子及びデータ長が登録されたイベント送信リストとを備え、それら定期送信リスト及びイベント送信リストを参照して前記車両ネットワークの送信状況を監視する
ことを特徴とする車両ネットワークの通信管理装置。
Vehicle network communication for managing communication data in a vehicle network in which vehicle data is transmitted and received between a plurality of vehicle-mounted control devices and external data can be input from the outside of the vehicle through wired communication or wireless communication A management device,
Monitoring the transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and according to the transmission status of the data to be monitored and the load that external data exerts on the vehicle network A communication management unit that regulates transmission to the vehicle network ,
The communication management unit includes a periodic transmission list in which identifiers, data lengths, and transmission periods of one or more types of data that are periodically transmitted to the vehicle network are registered, and an occurrence of an event in the vehicle. An event transmission list in which identifiers and data lengths of one or more types of data transmitted to the vehicle network are registered, and the transmission status of the vehicle network is monitored with reference to the periodic transmission list and the event transmission list A communication management device for a vehicle network.
複数の車載制御装置の間で車両データの送受信が行われるとともに、有線通信もしくは無線通信を通じた車両外部からの外部データの入力が可能な車両ネットワークにあって通信データの管理を行う車両ネットワークの通信管理装置であって、
前記車両ネットワークに送信される車両データの送信状況と外部から入力される外部データとを監視し、それら監視するデータの送信状況と外部データが前記車両ネットワークに及ぼす負荷とに応じて外部データの前記車両ネットワークへの送信を規制する通信管理部を備え、
前記通信管理部は、前記外部データが前記車両ネットワークに送信されたと仮定したときに予測される車両ネットワークの使用率が当該車両ネットワークの高負荷状態を示す所定の閾値を超えるとき、当該予測に用いた外部データの送信規制を実行する
ことを特徴とする車両ネットワークの通信管理装置。
Vehicle network communication for managing communication data in a vehicle network in which vehicle data is transmitted and received between a plurality of vehicle-mounted control devices and external data can be input from the outside of the vehicle through wired communication or wireless communication A management device,
Monitoring the transmission status of vehicle data transmitted to the vehicle network and external data input from the outside, and according to the transmission status of the data to be monitored and the load that external data exerts on the vehicle network A communication management unit that regulates transmission to the vehicle network,
The communication management unit, when the external data exceeds a predetermined threshold utilization indicating the high load state of the vehicle network of a vehicle network which is expected when it is assumed to have been transmitted to the vehicle network, to the prediction A communication management device for a vehicle network, characterized by executing transmission restriction of external data used .
前記通信管理部は、前記外部データが前記車両ネットワークに送信されたときに予測される車両ネットワークの使用率が当該車両ネットワークの高負荷状態を示す所定の閾値を超えるとき、前記外部データの送信規制を実行する
請求項1〜4のいずれか一項に記載の車両ネットワークの通信管理装置。
The communication management unit is configured to control transmission of the external data when a usage rate of the vehicle network predicted when the external data is transmitted to the vehicle network exceeds a predetermined threshold indicating a high load state of the vehicle network. The vehicle network communication management device according to any one of claims 1 to 4 .
前記通信管理部は、前記車両データの送信間隔もしくは単位時間当たりの送信データ量に基づき車両データの送信状況を監視するとともに、前記外部データが入力される際の外部データの送信間隔もしくは単位時間当たりの送信データ量を監視する
請求項1〜6のいずれか一項に記載の車両ネットワークの通信管理装置。
The communication management unit monitors the transmission status of vehicle data based on the transmission interval of the vehicle data or the transmission data amount per unit time, and transmits the external data transmission interval or unit time when the external data is input. communication management apparatus for a vehicle network according to any one of claims 1 to 6 for monitoring the amount of data transmitted.
前記通信管理部は、前記外部データの送信規制として、入力された外部データの破棄、入力された外部データの一時的な送信保留、入力される外部データの受信停止、及び前記車両ネットワークに送信する外部データの送信量を当該車両ネットワークの負荷に適応させる通信調整の少なくとも1つを実行する
請求項1〜7のいずれか一項に記載の車両ネットワークの通信管理装置。
The communication management unit, as the transmission restriction of the external data, discards the input external data, temporarily suspends the input external data, stops receiving the input external data, and transmits to the vehicle network The communication management device for a vehicle network according to any one of claims 1 to 7 , wherein at least one of communication adjustments for adapting a transmission amount of external data to a load of the vehicle network is executed.
前記通信管理部は、車両に搭載される外部用ネットワークと前記車両ネットワークとの間に接続されてなり、該外部用ネットワークを介して送信される外部データの送信状況の監視を通じて前記外部データの送信規制を実行する
請求項1〜8のいずれか一項に記載の車両ネットワークの通信管理装置。
The communication management unit is connected between an external network mounted on a vehicle and the vehicle network, and transmits the external data through monitoring a transmission state of external data transmitted through the external network. The communication management apparatus for a vehicle network according to any one of claims 1 to 8, wherein the restriction is executed.
前記通信管理部は、外部診断機器が接続されるコネクタとして車両内に設けられたデータ・リンク・コネクタと前記車両ネットワークとの間に設けられてなる
請求項1〜9のいずれか一項に記載の車両ネットワークの通信管理装置。
The said communication management part is provided between the data link connector provided in the vehicle as a connector with which an external diagnostic apparatus is connected, and the said vehicle network. Vehicle network communication management device.
前記車両ネットワークがコントロール・エリア・ネットワークからなる
請求項1〜10のいずれか一項に記載の車両ネットワークの通信管理装置。
The vehicle network communication management device according to any one of claims 1 to 10, wherein the vehicle network is a control area network.
前記車両ネットワークがフレックスレイからなる
請求項1〜10のいずれか一項に記載の車両ネットワークの通信管理装置。
The vehicle network communication management device according to any one of claims 1 to 10, wherein the vehicle network is formed of FlexRay.
JP2011175162A 2011-08-10 2011-08-10 Vehicle network communication management device Active JP5594255B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011175162A JP5594255B2 (en) 2011-08-10 2011-08-10 Vehicle network communication management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011175162A JP5594255B2 (en) 2011-08-10 2011-08-10 Vehicle network communication management device

Publications (2)

Publication Number Publication Date
JP2013038711A JP2013038711A (en) 2013-02-21
JP5594255B2 true JP5594255B2 (en) 2014-09-24

Family

ID=47887865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011175162A Active JP5594255B2 (en) 2011-08-10 2011-08-10 Vehicle network communication management device

Country Status (1)

Country Link
JP (1) JP5594255B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11888646B2 (en) 2020-10-05 2024-01-30 Lg Energy Solution, Ltd. Battery management apparatus and method

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5954228B2 (en) * 2013-03-22 2016-07-20 トヨタ自動車株式会社 Network monitoring apparatus and network monitoring method
JP6277943B2 (en) * 2014-11-19 2018-02-14 トヨタ自動車株式会社 Vehicle driving support device
JP6306206B2 (en) 2014-11-20 2018-04-04 国立大学法人名古屋大学 Communication control device and communication system
KR101628566B1 (en) 2014-12-09 2016-06-08 현대자동차주식회사 System and method for collecting data of vehicle
JP6369341B2 (en) * 2015-01-30 2018-08-08 株式会社デンソー In-vehicle communication system
JP2016225791A (en) 2015-05-29 2016-12-28 株式会社デンソー On-vehicle network system
JP6603505B2 (en) * 2015-07-27 2019-11-06 ジヤトコ株式会社 Vehicle and vehicle unauthorized access determination method
JP6585001B2 (en) * 2015-08-31 2019-10-02 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Fraud detection method, fraud detection electronic control unit and fraud detection system
JP6531011B2 (en) * 2015-09-04 2019-06-12 日立オートモティブシステムズ株式会社 In-vehicle network device
JP6674312B2 (en) * 2016-04-27 2020-04-01 株式会社東海理化電機製作所 Gateway device
JP2018046515A (en) * 2016-09-16 2018-03-22 株式会社オートネットワーク技術研究所 Relay device, communication system, transmission method, and computer program
KR101866725B1 (en) 2016-09-23 2018-07-23 현대자동차주식회사 Communication method of electronic device in vehicle and vehicle having the same
JP7354600B2 (en) * 2019-06-10 2023-10-03 マツダ株式会社 In-vehicle network system
JP7294306B2 (en) * 2020-11-30 2023-06-20 トヨタ自動車株式会社 Communication device, vehicle, system, and determination method
JP2022170353A (en) * 2021-04-28 2022-11-10 株式会社オートネットワーク技術研究所 In-vehicle relay device, relay method and relay program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287738A (en) * 2005-04-01 2006-10-19 Fujitsu Ten Ltd Network system
JP4492470B2 (en) * 2005-07-20 2010-06-30 株式会社デンソー Data rewriting method for in-vehicle control device and in-vehicle control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11888646B2 (en) 2020-10-05 2024-01-30 Lg Energy Solution, Ltd. Battery management apparatus and method

Also Published As

Publication number Publication date
JP2013038711A (en) 2013-02-21

Similar Documents

Publication Publication Date Title
JP5594255B2 (en) Vehicle network communication management device
US11496491B2 (en) Method for sensing fraudulent frames transmitted to in-vehicle network
US10693905B2 (en) Invalidity detection electronic control unit, in-vehicle network system, and communication method
JP4953861B2 (en) In-vehicle gateway device and data transfer method
JP5999178B2 (en) Communication management apparatus and communication management method for vehicle network
US10454957B2 (en) Method for preventing electronic control unit from executing process based on malicious frame transmitted to bus
CN105981336B (en) Abnormality detection electronic control unit, vehicle-mounted network system, and abnormality detection method
KR101748272B1 (en) Method and apparatus for controlling mass diagnostic communication in vehicle
WO2015170452A1 (en) In-car network system, electronic control unit and update processing method
JP2022125099A (en) Fraud detection server and method
BR112013021301B1 (en) DATA REWRITING SUPPORT SYSTEM AND DATA REWRITING SUPPORT METHOD FOR A VEHICLE CONTROL DEVICE
US20180113836A1 (en) On-board network system, communication control method in the on-board network system, and on-board gateway
US9787817B2 (en) Communication system and control device
JP6418217B2 (en) Information aggregation method executed in communication system
WO2018110046A1 (en) Control apparatus, control system, control method, control program, and storage medium
CN110546921A (en) Fraud detection method, fraud detection apparatus, and program
JPWO2019225259A1 (en) Communication control device, fraud detection electronic control unit, mobility network system, communication control method, fraud detection method and program
KR20100020253A (en) Monitoring apparatus for message transmission in network for a vehicle
KR101714526B1 (en) Method and apparatus for protecting hacking in vehicle network
JP2006340099A (en) Gateway unit
JP2013063737A (en) Vehicle stream data management system
WO2020105657A1 (en) Onboard relay device and relay method
JP2019172261A (en) Control device, control system and control program
JP2005341495A (en) Gateway apparatus and method
JP2009194733A (en) Vehicular communication control device, onboard network, and policy information generation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140303

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140311

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140502

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: 20140708

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140721

R151 Written notification of patent or utility model registration

Ref document number: 5594255

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151