JP2019146145A - Communication device, communication method, and program - Google Patents

Communication device, communication method, and program Download PDF

Info

Publication number
JP2019146145A
JP2019146145A JP2018197882A JP2018197882A JP2019146145A JP 2019146145 A JP2019146145 A JP 2019146145A JP 2018197882 A JP2018197882 A JP 2018197882A JP 2018197882 A JP2018197882 A JP 2018197882A JP 2019146145 A JP2019146145 A JP 2019146145A
Authority
JP
Japan
Prior art keywords
communication
communication data
bus
network
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018197882A
Other languages
Japanese (ja)
Inventor
章人 竹内
Akito Takeuchi
章人 竹内
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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to US16/244,453 priority Critical patent/US20190217869A1/en
Publication of JP2019146145A publication Critical patent/JP2019146145A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

To provide a communication device capable of effectively reducing a load of communication with an external device and storage capacity of the device.SOLUTION: A communication device 101 includes: a determination unit 309 that determines an operation state of a system on the basis of communication data flowing through a network connected with a plurality of ECUs 104 in the system; a control unit 310 for sampling the communication data according to a sampling method corresponding to the determined operation state; and a transmission/reception unit 301 for transmitting the sampled communication data to a device outside the system.SELECTED DRAWING: Figure 3

Description

本発明は、外部の装置との通信を行う通信装置、通信方法及びプログラムに関するものである。   The present invention relates to a communication device, a communication method, and a program for performing communication with an external device.

従来、車載ネットワークに接続される電子制御ユニット(ECU:Electronic Control Unit)から得た情報を、車内の通信モジュールを介して外部サーバへ送信し、サーバで車両の故障解析を行うリモート診断システムが開発されている。また近年、自動車の車載ネットワークへの攻撃(ハッキング)に対して、ECUから得た情報を外部サーバへ送信し、収集、分析することで、攻撃者による不正なメッセージの送信等の攻撃の検知を行うなど、車両情報を車内で蓄積し、外部サーバへ送信することの重要性が高まっている。しかし、このような分析等のために、車両からサーバ装置等へ、車載ネットワークのバスに流れる全てのメッセージに係る情報を送信するには、かなり大きな通信帯域が必要となる。   Conventionally, a remote diagnostic system has been developed that transmits information obtained from an electronic control unit (ECU) connected to an in-vehicle network to an external server via a communication module in the vehicle, and analyzes the failure of the vehicle using the server. Has been. In recent years, in response to attacks (hacking) on in-vehicle networks of automobiles, information obtained from the ECU is transmitted to an external server, collected, and analyzed to detect attacks such as transmission of unauthorized messages by attackers. The importance of accumulating vehicle information in a vehicle and transmitting it to an external server is increasing. However, for such analysis and the like, a considerably large communication band is required to transmit information related to all messages flowing on the bus of the in-vehicle network from the vehicle to the server device or the like.

特許文献1には、複数の電子制御ユニットの一部から送信するデータ量の総和が所定の値を超えないように、サーバ装置から送信されるデータ出力パターンに従って、送信するデータ量を変更させる通信方法が記載されている。これにより、車両とサーバ装置との通信の負荷及びサーバ装置のストレージ容量の削減が可能となる。   Patent Document 1 discloses communication that changes the amount of data to be transmitted according to the data output pattern transmitted from the server device so that the total amount of data to be transmitted from some of the plurality of electronic control units does not exceed a predetermined value. A method is described. This makes it possible to reduce the communication load between the vehicle and the server device and the storage capacity of the server device.

特開2007−173934号公報JP 2007-173934 A

しかしながら、特許文献1記載の通信方法においては、データ出力パターンは車両の状態に依らずにサーバから送信されるため、例えば車両の状態が停車中であるのに対して、停車中であることによってほぼ0となっている車速を表す車両データの量を増加させるなど、車両の状態に依っては値の変化の少ない車両データを大量にサーバ装置等の車両の外部の装置へ送信する可能性がある。このため、車両の外部の装置との通信の負荷及び当該装置のストレージ容量の削減を効果的に行うことが難しいという課題がある。   However, in the communication method described in Patent Document 1, since the data output pattern is transmitted from the server without depending on the state of the vehicle, for example, the vehicle state is stopped while the vehicle is stopped. There is a possibility that a large amount of vehicle data with little change in value depending on the state of the vehicle, such as increasing the amount of vehicle data representing the vehicle speed that is almost zero, may be transmitted to a device outside the vehicle such as a server device. is there. For this reason, there is a problem that it is difficult to effectively reduce the load of communication with a device outside the vehicle and the storage capacity of the device.

本発明の目的は、外部の装置との通信の負荷及び当該装置のストレージ容量の削減を効果的に行うことができる通信装置等を提供することである。   An object of the present invention is to provide a communication device and the like that can effectively reduce the communication load with an external device and the storage capacity of the device.

上記目的を達成するために本発明の一態様に係る通信装置は、システムにおける複数の電子制御ユニットが接続されたネットワークに流れる通信データに基づいて、前記システムの稼働状態を判定する判定部と、前記判定された稼働状態に対応するサンプリング方法に従って、前記通信データのサンプリングを行う制御部と、前記サンプリングされた通信データを、前記システムの外部の装置に送信する送信部と、を備える。   In order to achieve the above object, a communication device according to an aspect of the present invention includes a determination unit that determines an operating state of the system based on communication data flowing in a network to which a plurality of electronic control units in the system are connected. A control unit that samples the communication data according to a sampling method corresponding to the determined operating state, and a transmission unit that transmits the sampled communication data to an apparatus outside the system.

また、上記目的を達成するために本発明の一態様に係る情報処理方法は、システムにおける複数の電子制御ユニットが接続されたネットワークに流れる通信データに基づいて、前記システムの稼働状態を判定し、前記判定された稼働状態に対応するサンプリング方法に従って、前記通信データのサンプリングを行い、前記サンプリングされた通信データを、前記システムの外部の装置に送信する。   In order to achieve the above object, an information processing method according to one aspect of the present invention determines an operating state of the system based on communication data flowing in a network to which a plurality of electronic control units in the system is connected, The communication data is sampled according to a sampling method corresponding to the determined operating state, and the sampled communication data is transmitted to an apparatus outside the system.

また、上記目的を達成するために本発明の一態様に係るプログラムは、システムにおける複数の電子制御ユニットが接続されたネットワークに流れる通信データに基づいて、前記システムの稼働状態を判定する処理と、前記判定された稼働状態に対応するサンプリング方法に従って、前記通信データのサンプリングを行う処理と、前記サンプリングされた通信データを、前記システムの外部の装置に送信する処理と、をコンピュータに実行させるためのプログラムである。   In order to achieve the above object, a program according to an aspect of the present invention includes a process for determining an operating state of the system based on communication data flowing in a network to which a plurality of electronic control units in the system are connected. In order to cause a computer to execute a process of sampling the communication data and a process of transmitting the sampled communication data to a device outside the system according to a sampling method corresponding to the determined operating state It is a program.

本発明によれば、外部の装置との通信の負荷及び当該装置のストレージ容量の削減を効果的に行うことができる。   According to the present invention, it is possible to effectively reduce the communication load with an external apparatus and the storage capacity of the apparatus.

図1は、実施の形態における通信システムの構成図である。FIG. 1 is a configuration diagram of a communication system according to the embodiment. 図2は、CANプロトコルで規定されるデータフレームのフォーマットを示す図である。FIG. 2 is a diagram showing a format of a data frame defined by the CAN protocol. 図3は、実施の形態における通信装置の構成図である。FIG. 3 is a configuration diagram of the communication device according to the embodiment. 図4は、実施の形態における転送リストの一例を示す図である。FIG. 4 is a diagram illustrating an example of a transfer list in the embodiment. 図5Aは、実施の形態における正常時の走行状態に対応する走行状態パターンの一例を示す図である。FIG. 5A is a diagram illustrating an example of a travel state pattern corresponding to a normal travel state in the embodiment. 図5Bは、実施の形態における正常時の走行状態に対応する走行状態パターンの他の一例を示す図である。FIG. 5B is a diagram illustrating another example of the traveling state pattern corresponding to the traveling state at the normal time in the embodiment. 図6は、実施の形態における異常時の走行状態に対応する走行状態パターンの一例を示す図である。FIG. 6 is a diagram illustrating an example of a traveling state pattern corresponding to the traveling state at the time of abnormality in the embodiment. 図7は、実施の形態におけるグループの他の一例を示す図である。FIG. 7 is a diagram illustrating another example of the group in the embodiment. 図8は、実施の形態における正常時の走行状態に対応する走行状態パターンの他の一例を示す図である。FIG. 8 is a diagram illustrating another example of the traveling state pattern corresponding to the traveling state at the normal time in the embodiment. 図9は、実施の形態におけるサンプリング方法の決定方法の一例を示すフローチャートである。FIG. 9 is a flowchart illustrating an example of a sampling method determination method according to the embodiment. 図10は、実施の形態におけるサンプリング方法の決定方法の他の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating another example of the sampling method determination method according to the embodiment. 図11は、実施の形態における通信装置の動作の一例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of the operation of the communication device according to the embodiment. 図12は、他の実施の形態における通信システムの構成図である。FIG. 12 is a configuration diagram of a communication system according to another embodiment.

(実施の形態)
以下、本発明の実施の形態における通信システムについて図面を参照しながら説明する。
(Embodiment)
Hereinafter, a communication system according to an embodiment of the present invention will be described with reference to the drawings.

[1.1 通信システム10の構成]
図1は、実施の形態における通信システム10の構成図である。なお、図1には、通信システム10に接続されるサーバ装置11についても示されている。
[1.1 Configuration of Communication System 10]
FIG. 1 is a configuration diagram of a communication system 10 according to the embodiment. FIG. 1 also shows the server device 11 connected to the communication system 10.

通信システム10は、例えば、車両に搭載された車載ネットワークである。なお、以下では、車載ネットワークをネットワークとも呼ぶ場合もある。通信システム10は、例えば、CAN(Controller Area Network)プロトコルに従って通信する車載ネットワークの一例であり、制御装置、センサ、アクチュエータ、ユーザインタフェース装置等の各種機器が搭載された車両におけるネットワークである。通信システム10は、図1に示すように、通信装置101、外部通信ECU102、監視ECU103、複数のECU104及びCANバス105を備える。ここで、ECUとは、電子制御ユニット(Electronic Control Unit)を意味する。なお、通信装置101についても一種のECUである。   The communication system 10 is an in-vehicle network mounted on a vehicle, for example. Hereinafter, the in-vehicle network may be referred to as a network. The communication system 10 is an example of an in-vehicle network that communicates according to a CAN (Controller Area Network) protocol, for example, and is a network in a vehicle in which various devices such as a control device, a sensor, an actuator, and a user interface device are mounted. As illustrated in FIG. 1, the communication system 10 includes a communication device 101, an external communication ECU 102, a monitoring ECU 103, a plurality of ECUs 104, and a CAN bus 105. Here, the ECU means an electronic control unit. The communication device 101 is also a kind of ECU.

複数のECU104は、例えば、操舵制御ECU、ステアリングECU、エンジンECU、ブレーキECU、ドア開閉センサECU、ウィンドウ開閉センサECU等であるが、特に限定されない。   The plurality of ECUs 104 are, for example, a steering control ECU, a steering ECU, an engine ECU, a brake ECU, a door opening / closing sensor ECU, a window opening / closing sensor ECU, and the like, but are not particularly limited.

通信装置101及び各ECUは、例えば、プロセッサ(マイクロプロセッサ)、メモリ等のデジタル回路、アナログ回路、通信回路等を含む装置である。メモリは、ROM、RAM等であり、プロセッサにより実行される制御プログラム(ソフトウェアとしてのコンピュータプログラム)を記憶することができる。例えばプロセッサが、制御プログラム(コンピュータプログラム)に従って動作することにより、通信装置101及び各ECUは各種機能を実現することになる。通信装置101及び各ECUは、CANプロトコルに従って車両内のCANバス105を介して通信データの授受を行い得る。   The communication device 101 and each ECU are devices including, for example, a processor (microprocessor), a digital circuit such as a memory, an analog circuit, a communication circuit, and the like. The memory is ROM, RAM, or the like, and can store a control program (computer program as software) executed by the processor. For example, when the processor operates according to a control program (computer program), the communication device 101 and each ECU realize various functions. The communication device 101 and each ECU can exchange communication data via the CAN bus 105 in the vehicle according to the CAN protocol.

通信装置101及び各ECUは、CANバス105に対して、CANのプロトコルに従った通信データを送受信する。例えば、通信装置101及び各ECUは、CANバス105から他のECUが送信した通信データを受信し、また、他のECUに送信したい内容を含む通信データを生成してCANバス105に送信する。具体的には、通信装置101及び各ECUは、受信した通信データの内容に応じた処理を行い、また、通信装置101及び各ECUに接続されている機器、センサ等の状態を示すデータ又は他のECUへの指示値(制御値)等のデータを含む通信データを生成して送信する。生成された通信データには、CANIDが含まれており、通信装置101及び各ECUは、自身に対して予め定められたCANIDを含む通信データのみを受信することができるため、目的のECUへと通信データを送信することができる。   The communication apparatus 101 and each ECU transmit / receive communication data to / from the CAN bus 105 according to the CAN protocol. For example, the communication device 101 and each ECU receive communication data transmitted from other ECUs from the CAN bus 105, generate communication data including contents to be transmitted to other ECUs, and transmit the communication data to the CAN bus 105. Specifically, the communication device 101 and each ECU perform processing according to the content of the received communication data, and data indicating the state of devices, sensors, etc. connected to the communication device 101 and each ECU, or other data Communication data including data such as an instruction value (control value) to the ECU is generated and transmitted. The generated communication data includes the CANID, and the communication device 101 and each ECU can receive only the communication data including the CANID that is predetermined for itself. Communication data can be transmitted.

通信システム10において、車載ネットワークを構成する通信装置101、外部通信ECU102、監視ECU103及び複数のECU104が、CANバス105によって接続されている。図1の例では、複数のCANバス105a、105b及び105cが、通信装置101を介してそれぞれ接続されている。なお、車載ネットワークはCANに限定される必要はなく、例えば、Ethernet(登録商標)やFlexRay(登録商標)に基づく通信ネットワークであってもよい。   In the communication system 10, a communication device 101, an external communication ECU 102, a monitoring ECU 103, and a plurality of ECUs 104 configuring an in-vehicle network are connected by a CAN bus 105. In the example of FIG. 1, a plurality of CAN buses 105 a, 105 b, and 105 c are connected to each other via the communication device 101. The in-vehicle network need not be limited to CAN, and may be a communication network based on Ethernet (registered trademark) or FlexRay (registered trademark), for example.

車載ネットワークでは、通信装置101、外部通信ECU102、監視ECU103及び複数のECU104などの各構成要素が通信データ(例えばCANコマンド)を送受信することで、様々な機能を実現している。例えば、先進運転者支援システム(ADAS:Advanced Drive Assistance System)の一機能である駐車支援機能、車線維持支援機能又は衝突回避支援機能などは、ステアリング、アクセル又はブレーキなどのアクチュエータが電子制御化され、車載ネットワークを流れる通信データによりその制御が行われる。   In the in-vehicle network, various components such as the communication device 101, the external communication ECU 102, the monitoring ECU 103, and the plurality of ECUs 104 realize various functions by transmitting and receiving communication data (for example, CAN commands). For example, the parking assistance function, lane maintenance assistance function or collision avoidance assistance function, which is a function of the Advanced Driver Assistance System (ADAS), is an electronic control of actuators such as steering, accelerator or brake, The control is performed by communication data flowing through the in-vehicle network.

通信装置101は、外部通信ECU102、監視ECU103及び複数のECU104が接続されたCANバス105と接続され、CANバス105から通信データを受信して、受信した通信データをCANIDによって指定されたCANバス105へ転送する。通信装置101は、ゲートウェイとも呼ばれる場合がある。通信装置101は、通信データをサンプリングする機能を有する。サンプリングとは、通信データを一定の割合で抽出することを意味する。通信データの抽出の仕方については特に限定されない。例えば、ある1つのCANバス105に流れる通信データをサンプリングする場合、当該CANバス105には、通信データとして複数のCANIDについてのデータがランダムな順序で流れており、各CANIDについて同じ割合で抽出される。サンプリングされた通信データにおいて、特定のCANIDについてのデータだけが偏って抽出されてしまうことを抑制するためである。なお、通信データを抽出する量については、サンプリング割合によって定められる。例えば、サンプリング割合が100%の場合には、通信データが100%(全て)抽出される(つまり、通信データが減らされない(間引かれない))。また、例えば、サンプリング割合が50%の場合には、通信データが50%(半分)抽出される(つまり、通信データが半分に減らされる(半分間引かれる))。   The communication device 101 is connected to a CAN bus 105 to which an external communication ECU 102, a monitoring ECU 103, and a plurality of ECUs 104 are connected. The communication device 101 receives communication data from the CAN bus 105, and receives the received communication data from the CAN bus 105 specified by CANID. Forward to. The communication device 101 may also be called a gateway. The communication device 101 has a function of sampling communication data. Sampling means extracting communication data at a certain rate. The method of extracting communication data is not particularly limited. For example, when sampling communication data flowing through a certain CAN bus 105, data about a plurality of CANIDs flows in the CAN bus 105 in a random order as communication data, and each CANID is extracted at the same rate. The This is to prevent the sampled communication data from extracting only the data for a specific CANID. The amount of communication data to be extracted is determined by the sampling rate. For example, when the sampling rate is 100%, 100% (all) of the communication data is extracted (that is, the communication data is not reduced (not thinned out)). For example, when the sampling rate is 50%, communication data is extracted by 50% (half) (that is, the communication data is reduced by half (subtracted for half a minute)).

外部通信ECU102は、システム(車両)の外部の装置として例えばサーバ装置11と、インターネット等といった広域ネットワークを介して通信する外部通信機能を有する。外部通信ECU102は、分析機能を有するサーバ装置11に対して、通信装置101が記録する通信データを送信する。   The external communication ECU 102 has an external communication function for communicating with, for example, the server device 11 as a device external to the system (vehicle) via a wide area network such as the Internet. The external communication ECU 102 transmits communication data recorded by the communication device 101 to the server device 11 having an analysis function.

サーバ装置11は、様々な車両における通信システム10における外部通信ECU102と通信する。サーバ装置11は、例えば、同種の複数の車両の各車載ネットワークで授受されたメッセージに係る情報を、各車両から受信して収集し、分析するコンピュータ等である。   Server device 11 communicates with external communication ECU 102 in communication system 10 in various vehicles. The server device 11 is, for example, a computer that receives, collects, and analyzes information related to messages transmitted / received in each in-vehicle network of a plurality of vehicles of the same type from each vehicle.

監視ECU103は、車載ネットワークの状態が正常か否かを監視するECUである。監視ECU103は、複数のCANバス105から通信データを受信して、受信した通信データが正常か否かを判定し、判定結果を通信装置101へ通知する。通信装置101は判定結果を受信し、正常ではないと判定されたCANバス105の通信データを100%のサンプリング割合で抽出し、通信データを全てサーバ装置11へ送信する。監視ECU103は、例えば、異常を判定するための判定ルールを保持しており、通信データを判定ルールに照らし合わせることで、異常か否かを判定することができる。なお、通信装置101は、監視ECU103が有する機能を備えていてもよい。   The monitoring ECU 103 is an ECU that monitors whether the state of the in-vehicle network is normal. The monitoring ECU 103 receives communication data from the plurality of CAN buses 105, determines whether the received communication data is normal, and notifies the communication device 101 of the determination result. The communication apparatus 101 receives the determination result, extracts communication data of the CAN bus 105 determined to be not normal at a sampling rate of 100%, and transmits all the communication data to the server apparatus 11. For example, the monitoring ECU 103 holds a determination rule for determining an abnormality, and can determine whether or not there is an abnormality by comparing the communication data with the determination rule. Note that the communication device 101 may have a function of the monitoring ECU 103.

複数のECU104は、CANプロトコルに従ってCANバス105を介してメッセージの授受を行う。例えば、センサに接続されたECU104から、センサで取得された情報に基づくデータを含むメッセージが周期的にCANバス105に送信される。メッセージが送信される周期は例えば数百ミリ秒等である。また、複数のECU104には、車両内のアクチュエータの制御内容を決定して制御するECU104が含まれる。例えば、当該ECU104が授受する通信データから、車両の走行状態を推定することが可能となる。   The plurality of ECUs 104 exchange messages via the CAN bus 105 according to the CAN protocol. For example, a message including data based on information acquired by the sensor is periodically transmitted from the ECU 104 connected to the sensor to the CAN bus 105. The cycle in which the message is transmitted is, for example, several hundred milliseconds. The plurality of ECUs 104 includes an ECU 104 that determines and controls the control contents of the actuators in the vehicle. For example, the traveling state of the vehicle can be estimated from communication data exchanged by the ECU 104.

例えば、複数のECU104のうち同じ目的を達成するためのECU104については同じCANバス105に接続され得る。例えば、ADASに関連するECU104についてはCANバス105aに接続され、パワートレインに関連するECU104についてはCANバス105bに接続され、車両のボディ(ドア又はワイパー等)に関連するECU104についてはCANバス105cに接続される。   For example, the ECUs 104 for achieving the same object among the plurality of ECUs 104 can be connected to the same CAN bus 105. For example, the ECU 104 related to ADAS is connected to the CAN bus 105a, the ECU 104 related to the power train is connected to the CAN bus 105b, and the ECU 104 related to the vehicle body (door or wiper) is connected to the CAN bus 105c. Connected.

通信システム10では、CANプロトコルに従って各ECUがメッセージとしてのデータフレーム等といったフレームの授受を行う。CANプロトコルにおけるフレームには、データフレーム、リモートフレーム、オーバーロードフレーム及びエラーフレームがある。ここでは、通信データを含むメッセージとしてのデータフレームに着目して説明を行う。   In the communication system 10, each ECU exchanges frames such as data frames as messages according to the CAN protocol. Frames in the CAN protocol include a data frame, a remote frame, an overload frame, and an error frame. Here, a description will be given focusing on a data frame as a message including communication data.

[1.2 データフレームフォーマット]
以下、CANプロトコルに従ったネットワークで用いられるフレームの1つであるデータフレームについて説明する。
[1.2 Data frame format]
Hereinafter, a data frame that is one of frames used in a network according to the CAN protocol will be described.

図2は、CANプロトコルで規定されるデータフレームのフォーマットを示す図である。同図には、CANプロトコルで規定される標準IDフォーマットにおけるデータフレームを示している。データフレームは、SOF(Start Of Frame)、IDフィールド、RTR(Remote Transmission Request)、IDE(Identifier Extension)、予約ビット「r」、DLC(Data Length Code)、データフィールド、CRC(Cyclic Redundancy Check)シーケンス、CRCデリミタ「DEL」、ACK(Acknowledgement)スロット、ACKデリミタ「DEL」、及び、EOF(End Of Frame)の各フィールドで構成される。ここでは、SOF、RTR、IDE、予約ビット「r」、DLC、CRCシーケンス、CRCデリミタ「DEL」、ACKスロット、ACKデリミタ「DEL」、及び、EOFについての説明は省略する。   FIG. 2 is a diagram showing a format of a data frame defined by the CAN protocol. In the figure, a data frame in a standard ID format defined by the CAN protocol is shown. The data frame includes an SOF (Start Of Frame), an ID field, an RTR (Remote Transmission Request), an IDE (Identifier Extension), a reserved bit “r”, a DLC (Data Length Code), a data field, and a CRC (Cyclic Redundancy Check) sequence. , A CRC delimiter “DEL”, an ACK (Acknowledgement) slot, an ACK delimiter “DEL”, and an EOF (End Of Frame) field. Here, descriptions of SOF, RTR, IDE, reserved bit “r”, DLC, CRC sequence, CRC delimiter “DEL”, ACK slot, ACK delimiter “DEL”, and EOF are omitted.

IDフィールドは、11bitで構成される、データの種類を示す値であるID(CANIDとも称する)を格納するフィールドである。複数のノードが同時に送信を開始した場合、このIDフィールドで通信調停を行うために、IDが小さい値を持つフレームが高い優先度となるよう設計されている。   The ID field is a field for storing an ID (also referred to as a CANID) that is a value indicating the type of data, which is composed of 11 bits. When a plurality of nodes start transmission at the same time, a frame having a small ID is designed to have a high priority in order to perform communication arbitration in this ID field.

データフィールドは、最大64bitで構成され、データを格納するフィールドである。   The data field has a maximum of 64 bits and stores data.

通信データを送信する各ECUは、車載ネットワーク(通信システム10)の仕様として予め定められた種類のデータをデータフィールドに格納し、その種類のデータに対応して予め定められたCANIDをIDフィールドに格納することでデータフレームを構築して送信することになる。車両メーカ等により、車載ネットワーク(通信システム10)の仕様として、通信データに用いられるCANIDと、対応するデータの構成等とが、予め定められている。   Each ECU that transmits the communication data stores a predetermined type of data in the data field as the specification of the in-vehicle network (communication system 10), and a predetermined CANID corresponding to the type of data in the ID field. By storing, a data frame is constructed and transmitted. As a specification of the in-vehicle network (communication system 10), a vehicle manufacturer and the like predetermine CANID used for communication data and corresponding data configuration.

[1.3 通信装置101の構成]
続いて、通信装置101の詳細な構成を説明する。
[1.3 Configuration of Communication Device 101]
Subsequently, a detailed configuration of the communication apparatus 101 will be described.

図3は、実施の形態における通信装置101の構成図である。通信装置101は、図3に示すように、送受信部301、転送部302、記憶部303、判定部309及び制御部310を備える。   FIG. 3 is a configuration diagram of the communication apparatus 101 according to the embodiment. As illustrated in FIG. 3, the communication device 101 includes a transmission / reception unit 301, a transfer unit 302, a storage unit 303, a determination unit 309, and a control unit 310.

通信装置101は、具体的には図示されていないマイクロプロセッサ、及びRAM、ROM、ハードディスクなどから構成される。前記RAM、ROM、及びハードディスクにはコンピュータプログラムが記憶されており、前記マイクロプロセッサが前記プログラムに従って動作することにより、通信装置101はその機能を果たす。   The communication device 101 is configured by a microprocessor (not shown), a RAM, a ROM, a hard disk, and the like. A computer program is stored in the RAM, ROM, and hard disk, and the communication device 101 performs its function when the microprocessor operates according to the program.

なお、通信装置101の送受信部301、転送部302、記憶部303、判定部309及び制御部310等の各機能ブロックは、典型的には集積回路であるLSIとして実現される。これらは個別に1チップ化されてもよいし、1以上の機能ブロック、又は各機能ブロックの一部を含むように1チップ化されてもよい。また、監視ECU103が有する機能ブロックと通信装置101が有する各機能ブロックとが1チップ化されてもよい。   Note that the functional blocks such as the transmission / reception unit 301, the transfer unit 302, the storage unit 303, the determination unit 309, and the control unit 310 of the communication apparatus 101 are typically realized as an LSI that is an integrated circuit. These may be individually made into one chip, or may be made into one chip so as to include one or more functional blocks or a part of each functional block. Further, the functional blocks included in the monitoring ECU 103 and the functional blocks included in the communication device 101 may be integrated into one chip.

ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。   The name used here is LSI, but it may also be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.

また、集積回路化の手法はLSIに限るものではなく、専用回路又は汎用プロセッサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用してもよい。   Further, the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible. An FPGA (Field Programmable Gate Array) that can be programmed after manufacturing the LSI, or a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.

さらには、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適用等が可能性としてありえる。   Further, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology. Biotechnology can be applied.

最後に、各機能ブロックは、ソフトウェアで実現されてもよいし、LSIとソフトウェアの組み合わせで実現されてもよい。また、ソフトウェアは耐タンパ化されていてもよい。   Finally, each functional block may be realized by software or a combination of LSI and software. The software may be tamper resistant.

(1)送受信部301
送受信部301は、外部通信ECU102と接続される。送受信部301は、CANバス105に流れる通信データを受信した後、車両の外部の装置へ受信した通信データを送信し、あるいは、車両の外部の装置から送信された通信データを受信した後、CANバス105に対して受信した通信データを送信する。送受信部301は、サンプリングされた通信データを、車両の外部の装置に送信する送信部の一例である。
(1) Transmission / reception unit 301
The transmission / reception unit 301 is connected to the external communication ECU 102. The transmission / reception unit 301 receives the communication data flowing through the CAN bus 105, then transmits the received communication data to a device outside the vehicle, or receives the communication data transmitted from a device outside the vehicle, and then receives the CAN. The received communication data is transmitted to the bus 105. The transmission / reception unit 301 is an example of a transmission unit that transmits sampled communication data to a device outside the vehicle.

(2)転送部302
転送部302は、送受信部301で受信した通信データを、転送リスト304(後述する)に基づき転送すべきCANバス105を決定し、送受信部301を介して、決定したCANバス105へ通信データを送信(転送)する。
(2) Transfer unit 302
The transfer unit 302 determines the CAN bus 105 to which the communication data received by the transmission / reception unit 301 should be transferred based on a transfer list 304 (described later), and transmits the communication data to the determined CAN bus 105 via the transmission / reception unit 301. Send (transfer).

(3)記憶部303
記憶部303は、通信データに付与されているCANIDと当該通信データを転送する転送先のCANバス105とが対となった転送リスト304と、車載ネットワークの状態(例えば各CANバス105)が異常な状態か否かを表す異常検知フラグ305と、走行状態に対応するサンプリング方法として走行状態に応じたサンプリング割合を記載した走行状態パターン306と、車両の現在の走行状態307と、各CANバス105のそれぞれについての通信データである通信ログ308と、を記憶する。転送リスト304の一例を図4に示す。
(3) Storage unit 303
In the storage unit 303, the transfer list 304 in which the CANID assigned to the communication data and the transfer destination CAN bus 105 for transferring the communication data are paired, and the state of the in-vehicle network (for example, each CAN bus 105) is abnormal. An abnormality detection flag 305 indicating whether or not the vehicle is in a running state, a running state pattern 306 in which a sampling rate corresponding to the running state is described as a sampling method corresponding to the running state, a current running state 307 of the vehicle, and each CAN bus 105 And a communication log 308 which is communication data for each of the above. An example of the transfer list 304 is shown in FIG.

図4は、実施の形態における転送リスト304の一例を示す図である。   FIG. 4 is a diagram illustrating an example of the transfer list 304 according to the embodiment.

図4に示すように、転送リスト304は、通信データに付与されているCANIDと、当該通信データを転送する転送先のCANバス105が対となった転送リストを記憶している。図4の例では、CANIDが「0x011」の通信データをCANバス1へ転送し、CANIDが「0x021」及び「0x031」の通信データをCANバス2へ転送し、CANIDが「0x041」の通信データをCANバス3へ転送することを示している。以下では、CANバス1はCANバス105aであり、CANバス2はCANバス105bであり、CANバス3はCANバス105cであるとする。   As shown in FIG. 4, the transfer list 304 stores a transfer list in which a CAN ID assigned to communication data and a transfer destination CAN bus 105 to which the communication data is transferred are paired. In the example of FIG. 4, communication data with CANID “0x011” is transferred to the CAN bus 1, communication data with CANID “0x021” and “0x031” is transferred to the CAN bus 2, and communication data with CANID “0x041” is transmitted. Is transferred to the CAN bus 3. In the following, it is assumed that the CAN bus 1 is the CAN bus 105a, the CAN bus 2 is the CAN bus 105b, and the CAN bus 3 is the CAN bus 105c.

異常検知フラグ305は、CANバス105ごとに対応付けられ、CANバスごとに正常か否かを示す複数のフラグであり、例えば、対応するCANバス105が正常な場合は0の値をとり、異常な場合は1の値をとる。例えば、監視ECU103が通信データの正常・異常判定を行い、CANバス105aとCANバス105cが異常、CANバス105bが正常と判定された場合、監視ECU103はその旨を通信装置101へ通知する。通信装置101は、監視ECU103から受信した通知に従い、異常と判定されたCANバス105aとCANバス105cに対応する異常検知フラグを1にし、正常と判定されたCANバス105bに対応する異常検知フラグを0にする。   The abnormality detection flag 305 is associated with each CAN bus 105 and is a plurality of flags indicating whether each CAN bus is normal. For example, when the corresponding CAN bus 105 is normal, the abnormality detection flag 305 takes a value of 0, In this case, a value of 1 is taken. For example, when the monitoring ECU 103 determines whether the communication data is normal or abnormal, and the CAN bus 105a and the CAN bus 105c are determined to be abnormal and the CAN bus 105b is determined to be normal, the monitoring ECU 103 notifies the communication device 101 accordingly. According to the notification received from the monitoring ECU 103, the communication apparatus 101 sets the abnormality detection flag corresponding to the CAN bus 105a and the CAN bus 105c determined to be abnormal to 1, and sets the abnormality detection flag corresponding to the CAN bus 105b determined to be normal. Set to zero.

走行状態パターン306は、通信データのサンプリング方法を示すものであり、様々な走行状態に応じて様々な走行状態パターン306が予め定義されている。走行状態は、CANバス105から受信する通信データの内容(車速、ADAS機能のON及びOFF又はネットワークの状態の正常及び異常の判定結果等)に対応するように定義されている。走行状態パターン306の例を図5A、図5B及び図6に示す。   The traveling state pattern 306 indicates a sampling method of communication data, and various traveling state patterns 306 are defined in advance according to various traveling states. The traveling state is defined so as to correspond to the contents of communication data received from the CAN bus 105 (vehicle speed, ADAS function ON / OFF, network state normality / abnormality determination results, etc.). Examples of the running state pattern 306 are shown in FIGS. 5A, 5B, and 6. FIG.

図5Aは、実施の形態における正常時の走行状態に対応する走行状態パターンの一例を示す図である。   FIG. 5A is a diagram illustrating an example of a travel state pattern corresponding to a normal travel state in the embodiment.

図5Aには、車両の走行状態として、車両が停車中であり、かつ、車載ネットワークの状態に異常がないときの走行状態パターン306が示されている。具体的には、車速が0km/hで、ADAS機能が全てOFF(クルーズコントロール(CC)及びパーキングアシスト(PA)などが全てOFF(CCフラグ、PAフラグ=0))であり、各CANバス105に異常がない(異常検知フラグ=0)場合の、停車中(異常なし)という状態名の走行状態パターン306が示されている。   FIG. 5A shows a running state pattern 306 when the vehicle is stopped and there is no abnormality in the state of the in-vehicle network as the running state of the vehicle. Specifically, the vehicle speed is 0 km / h, all ADAS functions are OFF (cruise control (CC), parking assist (PA), etc. are all OFF (CC flag, PA flag = 0)), and each CAN bus 105 When there is no abnormality (abnormality detection flag = 0), a running state pattern 306 with a state name of “stopped (no abnormality)” is shown.

図5Bは、実施の形態における正常時の走行状態に対応する走行状態パターンの他の一例を示す図である。   FIG. 5B is a diagram illustrating another example of the traveling state pattern corresponding to the traveling state at the normal time in the embodiment.

図5Bには、車両の走行状態として、車両が高速でクルーズコントロール発動中であり、かつ、車載ネットワークの状態に異常がないときの走行状態パターン306が示されている。具体的には、車速が80km/h以上で、クルーズコントロール(CC)が発動中(CCフラグ=1)で、前方に車両が存在(前方車有無フラグ=1)し、各CANバス105に異常がない(異常検知フラグ=0)場合の、高速でクルーズコントロール発動中(異常なし)という状態名の走行状態パターン306が示されている。   FIG. 5B shows a running state pattern 306 when the vehicle is in a cruise control mode at a high speed and there is no abnormality in the state of the in-vehicle network as the running state of the vehicle. Specifically, when the vehicle speed is 80 km / h or more, the cruise control (CC) is activated (CC flag = 1), a vehicle is present ahead (previous vehicle presence flag = 1), and each CAN bus 105 is abnormal. A traveling state pattern 306 having a state name of “high speed cruise control is being activated (no abnormality)” is shown when there is no abnormality (abnormality detection flag = 0).

図6は、実施の形態における異常時の走行状態に対応する走行状態パターン306の一例を示す図である。   FIG. 6 is a diagram illustrating an example of a running state pattern 306 corresponding to the running state at the time of abnormality in the embodiment.

図6には、車両の走行状態として、車両が停車中であり、かつ、車載ネットワークの状態に異常があるときの走行状態パターン306が示されている。具体的には、車速が0km/hで、ADAS機能が全てOFF(クルーズコントロール(CC)及びパーキングアシスト(PA)などが全てOFF(フラグ=0))であり、CANバス1(CANバス105a)及びCANバス3(CANバス105c)に異常がある(異常検知フラグ=1)場合の、停車中(CANバス1、CANバス3異常あり)という状態名の走行状態パターン306が示されている。   FIG. 6 shows a running state pattern 306 when the vehicle is stopped and the state of the in-vehicle network is abnormal as the running state of the vehicle. Specifically, the vehicle speed is 0 km / h, the ADAS functions are all OFF (cruise control (CC), parking assist (PA), etc. are all OFF (flag = 0)), and CAN bus 1 (CAN bus 105a). In addition, a traveling state pattern 306 with a state name of stopping (CAN bus 1, CAN bus 3 abnormal) when there is an abnormality in CAN bus 3 (CAN bus 105c) (abnormality detection flag = 1) is shown.

走行状態パターン306が示すサンプリング方法では、複数のECU104のうちの1以上のECU104から構成されるグループごとにサンプリング割合が定められる。例えば、車載ネットワークにおいて、複数のECU104は、車両内のCANバス105によって互いに接続され、当該グループは、同じCANバス105に接続された1以上のECU104から構成される。つまり、CANバス105aについてのグループ、CANバス105bについてのグループ及びCANバス105cについてのグループについて、それぞれサンプリング割合が定められる。   In the sampling method indicated by the running state pattern 306, the sampling rate is determined for each group composed of one or more ECUs 104 among the plurality of ECUs 104. For example, in the in-vehicle network, a plurality of ECUs 104 are connected to each other by a CAN bus 105 in the vehicle, and the group includes one or more ECUs 104 connected to the same CAN bus 105. That is, the sampling rate is determined for the group for the CAN bus 105a, the group for the CAN bus 105b, and the group for the CAN bus 105c.

サンプリング割合は、様々な走行状態に応じて予め定められた様々な走行状態パターン306において、重要度の高い通信データを多く車両の外部の装置へ送信するよう(サンプリング割合が大きくなるよう)、また、重要度の低い通信データの車両の外部の装置への送信量を少なくするよう(サンプリング割合が小さくなるよう)、CANバス105毎に定義されている。通信装置101の送受信部301にて受信される全ての通信データは、走行状態パターン306に定義されているサンプリング割合に従い、CANバス105毎にサンプリングされる。   The sampling rate is such that a large amount of highly important communication data is transmitted to a device outside the vehicle in various driving state patterns 306 determined in advance according to various driving states (so that the sampling rate increases), It is defined for each CAN bus 105 so as to reduce the transmission amount of communication data of low importance to a device outside the vehicle (so that the sampling rate is reduced). All communication data received by the transmission / reception unit 301 of the communication apparatus 101 is sampled for each CAN bus 105 in accordance with the sampling rate defined in the running state pattern 306.

例えば、車両停車中で、かつ、ADAS機能がOFFのときには(具体的には、図5Aの走行状態パターン306に示される車両条件では)、車速又はエンジン回転数などの走行系の通信データの値は、あまり変化しない。つまり、車速又はエンジン回転数など、変化の少ない通信データは意味のある情報を多く含まないと言える。言い換えると、この場合には、ADASに関連するECU104が接続されたCANバス105a、及び、パワートレインに関連するECU104が接続されたCANバス105bには、意味のある通信データが流れていないと言える。一方、ドアの開閉状態を表す情報又はドアロックの状態を表す情報など、ボディ関係の通信データは変化がある可能性がある。言い換えると、この場合には、車両のボディに関連するECU104が接続されたCANバス105cには、意味のある通信データが流れていると言える。つまり、車両が停車中の状態では、走行系の通信データが送信されるCANバス105a及び105bより、ボディ系の通信データが送信されるCANバス105cの通信データをサーバ装置11に送信する方が、通信データを解析する上で有益であると言える。このように、走行状態パターン306は、車両の走行状態に応じて意味のある通信データを多く含むCANバス105のサンプリング割合が大きくなるように定義されている。   For example, when the vehicle is stopped and the ADAS function is OFF (specifically, under the vehicle condition shown in the running state pattern 306 in FIG. 5A), the value of the running system communication data such as the vehicle speed or the engine speed Does not change much. That is, it can be said that communication data with little change such as vehicle speed or engine speed does not contain much meaningful information. In other words, in this case, it can be said that meaningful communication data does not flow through the CAN bus 105a to which the ECU 104 related to ADAS is connected and the CAN bus 105b to which the ECU 104 related to the powertrain is connected. . On the other hand, there is a possibility that body-related communication data such as information indicating the door open / close state or door lock state may change. In other words, in this case, it can be said that meaningful communication data flows through the CAN bus 105c to which the ECU 104 related to the vehicle body is connected. That is, when the vehicle is stopped, it is better to transmit the communication data of the CAN bus 105c to which the body communication data is transmitted to the server device 11 from the CAN buses 105a and 105b to which the travel communication data is transmitted. It can be said that it is useful in analyzing communication data. Thus, the driving state pattern 306 is defined so that the sampling rate of the CAN bus 105 including a lot of meaningful communication data is increased according to the driving state of the vehicle.

また、サンプリング割合は、異常検知フラグ305の値に応じても定義される。攻撃者による不正なメッセージの送信等の攻撃の検知、及び、攻撃か否かの判断手法の確立のため、正常ではないCANバス105、つまり、異常検知フラグ305の値が1のCANバス105の通信データは、全て抽出されて、全ての通信データをサーバ装置11に送信するよう定義される。例えば、図6に示すように、異常検知フラグ305の値が1のCANバス105a及び105cのサンプリング割合は100%となっている。   The sampling rate is also defined according to the value of the abnormality detection flag 305. In order to detect an attack such as transmission of an unauthorized message by an attacker and to establish a method for determining whether or not an attack has occurred, the CAN bus 105 that is not normal, that is, the CAN bus 105 whose abnormality detection flag 305 has a value of 1 is used. It is defined that all the communication data is extracted and all the communication data is transmitted to the server device 11. For example, as shown in FIG. 6, the sampling rate of the CAN buses 105a and 105c whose abnormality detection flag 305 is 1 is 100%.

現在の走行状態307は、後述する判定部309が、送受信部301が受信した通信データから判定した、車載ネットワークの正常又は異常の状態も含んだ車両の現在の状態を示す情報である。詳細は後述するが、受信する通信データが変化して、判定された現在の走行状態307が、複数の走行状態パターン306の中から前回選択された走行状態パターン306における車両条件を満たさない場合は、前回選択された走行状態パターン306が、複数の走行状態パターン306の中から現在の走行状態307に対応するものに更新される。   The current traveling state 307 is information indicating the current state of the vehicle including the normal or abnormal state of the in-vehicle network, which is determined by the determination unit 309 described later from the communication data received by the transmission / reception unit 301. Although details will be described later, when the received communication data changes and the determined current driving state 307 does not satisfy the vehicle condition in the driving state pattern 306 previously selected from the plurality of driving state patterns 306. The traveling state pattern 306 selected last time is updated to one corresponding to the current traveling state 307 from among the plurality of traveling state patterns 306.

通信ログ308は、CANバス105毎の通信データであり、走行状態パターン306にて定義されるサンプリング割合に従ってサンプリングされた通信データが記憶部303に記録される。なお、少なくともサーバ装置11へサンプリングが行われた通信データが送信されればよく、記憶部303のストレージ容量が大きくなってしまうが、記憶部303にはサンプリング前の通信データが記憶されてもよい。   The communication log 308 is communication data for each CAN bus 105, and communication data sampled according to the sampling rate defined in the running state pattern 306 is recorded in the storage unit 303. Note that at least the communication data that has been sampled may be transmitted to the server apparatus 11 and the storage capacity of the storage unit 303 becomes large. However, the communication data before sampling may be stored in the storage unit 303. .

(4)判定部309
判定部309は、システム(車両)における複数のECU104が接続されたネットワークに流れる通信データに基づいて、システムの稼働状態(具体的には、車両の走行状態(現在の走行状態307))を判定する。また、判定部309は、当該ネットワークの状態が正常か否かを判定する。具体的には、判定部309は、送受信部301を介して受信する、監視ECU103による車載ネットワークの状態(具体的にはCANバス105)の正常・異常の判定結果から、各CANバス105が正常か異常かを判定する。例えば、判定部309は、通信データに含まれるメッセージが正常か否かを判定することで、ネットワークの状態が正常か否かを判定する。また、例えば、判定部309は、ネットワークにおけるCANバス105が正常か否かを判定することで、ネットワークの状態が正常か否かを判定する。なお、もともとは監視ECU103がこれらの判定を行っており、判定部309は、監視ECU103からこれらの判定結果を受信するため、判定部309もこれらの判定を行うことができる。また、判定部309は、送受信部301を介して受信する通信データから判定した現在の走行状態307が、選択された走行状態パターン306における車両条件を満たしているかを判定する。
(4) Determination unit 309
The determination unit 309 determines the operating state of the system (specifically, the traveling state of the vehicle (current traveling state 307)) based on communication data flowing in a network to which a plurality of ECUs 104 in the system (vehicle) are connected. To do. Also, the determination unit 309 determines whether or not the network state is normal. Specifically, the determination unit 309 determines whether each CAN bus 105 is normal from the determination result of normality / abnormality of the state of the in-vehicle network (specifically, the CAN bus 105) received by the monitoring ECU 103 via the transmission / reception unit 301. Or abnormal. For example, the determination unit 309 determines whether the network state is normal by determining whether a message included in the communication data is normal. For example, the determination unit 309 determines whether or not the network state is normal by determining whether or not the CAN bus 105 in the network is normal. Note that the monitoring ECU 103 originally performs these determinations, and the determination unit 309 receives these determination results from the monitoring ECU 103, so that the determination unit 309 can also perform these determinations. In addition, the determination unit 309 determines whether the current traveling state 307 determined from the communication data received via the transmission / reception unit 301 satisfies the vehicle condition in the selected traveling state pattern 306.

(5)制御部310
制御部310は、上記(1)〜(4)の各手段を管理、制御する。例えば、制御部310は、CANバス105から受信した通信データ及び異常検知フラグ305に応じて判定部309に判定された現在の走行状態307に対応する走行状態パターン306を複数の走行状態パターン306の中から選択する。なお、複数の走行状態パターン306の中から現在の走行状態307に対応する走行状態パターン306を選択することで、前回選択した走行状態パターン306が異なる走行状態パターン306へ切り替わることを走行状態パターン306の更新とも呼ぶ。制御部310は、更新等された最新の走行状態パターン306に定義されているサンプリング割合に従って、各CANバス105を流れる通信データをサンプリングし、サンプリングした通信データを、通信ログ308としてCANバス105毎に記憶部303に格納する。
(5) Control unit 310
The control unit 310 manages and controls each of the means (1) to (4). For example, the control unit 310 sets the traveling state pattern 306 corresponding to the current traveling state 307 determined by the determining unit 309 according to the communication data received from the CAN bus 105 and the abnormality detection flag 305 to the plurality of traveling state patterns 306. Choose from. It should be noted that by selecting the driving state pattern 306 corresponding to the current driving state 307 from the plurality of driving state patterns 306, the driving state pattern 306 indicates that the driving state pattern 306 selected last time is switched to a different driving state pattern 306. Also called update. The control unit 310 samples the communication data flowing through each CAN bus 105 in accordance with the sampling rate defined in the updated updated driving state pattern 306, and the sampled communication data is set as the communication log 308 for each CAN bus 105. Stored in the storage unit 303.

[1.4 グループの他の例]
なお、走行状態パターン306で定義されているサンプリング割合は、CANバス105のそれぞれに対応するグループごとに定められたが、これに限らない。これについて、図7及び8を用いて説明する。
[1.4 Other examples of groups]
The sampling rate defined in the running state pattern 306 is determined for each group corresponding to each CAN bus 105, but is not limited thereto. This will be described with reference to FIGS.

図7は、実施の形態におけるグループの他の一例を示す図である。図8は、実施の形態における正常時の走行状態に対応する走行状態パターンの他の一例を示す図である。   FIG. 7 is a diagram illustrating another example of the group in the embodiment. FIG. 8 is a diagram illustrating another example of the traveling state pattern corresponding to the traveling state at the normal time in the embodiment.

例えば、サンプリング割合が定められるグループは、同じCANバス105に接続されたECU104だけで構成されなくてもよく、例えば、図7に示すグループEのようなグループであってもよい。また、図7に示すグループC及びDのように、同じCANバス105に接続されたECU104であっても、異なるグループに属するようにグループ分けがされてもよい。例えば、サンプリング割合が定められるグループは、通信データに含まれる同じ機能に関連するメッセージ(例えば同じCANID、又は、関連するCANIDについてのデータ)を送信する1以上のECU104から構成されてもよい。例えば、グループEにおけるCANバス105bに接続されたECU104とCANバス105cに接続されたECU104とは、同じ機能に関連するメッセージを送信する。同じ機能に関連するメッセージを送信するECUとは、例えば、舵角センサECU及びパワーステアリングECU等であり、これらは共にステアリングに関連するメッセージを送信するため、同じグループに属する。そして、サンプリング割合は、図8に示すように、走行状態パターン306において、CANバス105のそれぞれに対応するように定められたグループごとではなく、このようなグループA〜Eごとに定義されてもよい。   For example, the group in which the sampling rate is determined may not be configured only by the ECU 104 connected to the same CAN bus 105, and may be a group such as a group E shown in FIG. Further, as in groups C and D shown in FIG. 7, even ECUs 104 connected to the same CAN bus 105 may be grouped so as to belong to different groups. For example, the group in which the sampling rate is defined may be configured by one or more ECUs 104 that transmit messages related to the same function included in the communication data (for example, data about the same CANID or related CANID). For example, the ECU 104 connected to the CAN bus 105b in the group E and the ECU 104 connected to the CAN bus 105c transmit messages related to the same function. The ECUs that transmit messages related to the same function are, for example, a steering angle sensor ECU and a power steering ECU, and both belong to the same group because they transmit messages related to steering. As shown in FIG. 8, the sampling rate may be defined for each of the groups A to E, not for each group determined to correspond to each of the CAN buses 105 in the running state pattern 306. Good.

なお、以下では、グループをCANバス105のそれぞれに対応するように定められたグループとして説明する。   Hereinafter, the group will be described as a group determined to correspond to each of the CAN buses 105.

[1.5 通信システム10の動作]
次に、通信システム10が、CANバス105から受信した通信データを用いて、車両の走行状態に応じてCANバス105ごとに通信データをサンプリングし、サーバ装置11へ送信する場合の一例について、図9から図11を用いて説明する。
[1.5 Operation of Communication System 10]
Next, the communication system 10 samples the communication data for each CAN bus 105 according to the traveling state of the vehicle using the communication data received from the CAN bus 105 and transmits the sampled data to the server device 11. This will be described with reference to FIGS.

まずは、サンプリング方法の決定方法について図9を用いて説明する。   First, a method for determining a sampling method will be described with reference to FIG.

図9は、実施の形態におけるサンプリング方法の決定方法の一例を示すフローチャートである。   FIG. 9 is a flowchart illustrating an example of a sampling method determination method according to the embodiment.

まず、通信装置101は、ステップS901において、送受信部301により、監視ECU103、及び複数のECU104から送信される通信データを受信する。例えば、監視ECU103から送信される通信データには、ネットワークの状態が正常か否かの判定結果(具体的には各CANバス105が正常か否かの判定結果)が含まれ、また、複数のECU104から送信される通信データには車両の走行状態を判定するためのデータが含まれる。   First, in step S <b> 901, the communication apparatus 101 receives communication data transmitted from the monitoring ECU 103 and the plurality of ECUs 104 by the transmission / reception unit 301. For example, the communication data transmitted from the monitoring ECU 103 includes a determination result of whether or not the network state is normal (specifically, a determination result of whether or not each CAN bus 105 is normal), The communication data transmitted from the ECU 104 includes data for determining the traveling state of the vehicle.

次いで、ステップS902において、判定部309は、監視ECU103から送信される通信データに、CANバス105の異常を示す通知が含まれているか判定する。判定部309が通信データにCANバス105の異常を示す通知が含まれていると判定した場合(ステップS902でYES)、つまり、ネットワークの状態が異常である場合、ステップS903に進み、異常を示す通知が含まれていないと判定した場合(ステップS902でNO)、ステップS904に進む。   Next, in step S <b> 902, the determination unit 309 determines whether the communication data transmitted from the monitoring ECU 103 includes a notification indicating an abnormality in the CAN bus 105. If the determination unit 309 determines that the communication data includes a notification indicating an abnormality in the CAN bus 105 (YES in step S902), that is, if the network state is abnormal, the process proceeds to step S903 to indicate the abnormality. If it is determined that the notification is not included (NO in step S902), the process proceeds to step S904.

ステップS903において、通信装置101の制御部310は、異常の通知があったCANバス105に対応する異常検知フラグ305の値を1にする。   In step S903, the control unit 310 of the communication apparatus 101 sets the value of the abnormality detection flag 305 corresponding to the CAN bus 105 that has been notified of the abnormality to 1.

一方で、ステップS904において、通信装置101の制御部310は、異常の通知がないCANバス105に対応する異常検知フラグ305の値を0にする。   On the other hand, in step S904, the control unit 310 of the communication apparatus 101 sets the value of the abnormality detection flag 305 corresponding to the CAN bus 105 that has no abnormality notification to 0.

次いで、ステップS905において、判定部309は、複数のECU104から受信した通信データと異常検知フラグ305の値から車両の走行状態(現在の走行状態307)を判定する。例えば、判定部309は、複数のECU104から受信した通信データと異常検知フラグ305の値から、車両が走行中であるか、停車中であるか、車載ネットワークの状態が正常か異常かなどの現在の走行状態307を判定する。   Next, in step S905, the determination unit 309 determines the vehicle travel state (current travel state 307) from the communication data received from the plurality of ECUs 104 and the value of the abnormality detection flag 305. For example, the determination unit 309 determines whether the vehicle is running, stopped, whether the in-vehicle network state is normal or abnormal based on the communication data received from the plurality of ECUs 104 and the value of the abnormality detection flag 305. The traveling state 307 is determined.

ステップS906において、判定部309は、現在の走行状態307が、前回選択した走行状態パターン306における車両条件を満たしているか判定する。判定部309は、現在の走行状態307が当該車両条件を満たしていないと判定した場合(ステップS906でNO)、ステップS907に進み、現在の走行状態307が当該車両条件を満たしていると判定した場合(ステップS906でYES)、ステップS908に進む。   In step S906, the determination unit 309 determines whether the current traveling state 307 satisfies the vehicle condition in the traveling state pattern 306 selected last time. If the determination unit 309 determines that the current traveling state 307 does not satisfy the vehicle condition (NO in step S906), the determination unit 309 proceeds to step S907 and determines that the current traveling state 307 satisfies the vehicle condition. If yes (YES in step S906), the process advances to step S908.

ステップS907において、制御部310は、複数の走行状態パターン306の中から、現在の走行状態307が車両条件を満たす走行状態パターン306を選択する、つまり、走行状態パターン306を更新する。   In step S907, the control unit 310 selects a traveling state pattern 306 in which the current traveling state 307 satisfies the vehicle condition from the plurality of traveling state patterns 306, that is, updates the traveling state pattern 306.

例えば、以前判定された走行状態が、車速が80km/h以上、CCフラグが1、前方車有無フラグが1、各CANバス105の異常検知フラグ305が0を示し、図9に示すフローチャートの開始時点で図5Bに示す走行状態パターン306が選択されているとする。そして、車両の走行状態が変わり、ステップS906において現在の走行状態307が、車速が0km/h、CCフラグが0、PAフラグが0、各CANバス105の異常検知フラグ305が0を示す場合、現在の走行状態307が図5Bに示す走行状態パターン306における車両条件を満たさない。このため、ステップS907において、現在の走行状態307を満たす走行状態パターン306として、複数の走行状態パターン306の中から図5Aに示す走行状態パターン306に更新される。   For example, the previously determined running state is that the vehicle speed is 80 km / h or more, the CC flag is 1, the forward vehicle presence / absence flag is 1, the abnormality detection flag 305 of each CAN bus 105 is 0, and the flowchart shown in FIG. 9 starts. It is assumed that the running state pattern 306 shown in FIG. 5B is selected at the time. Then, when the traveling state of the vehicle is changed and the current traveling state 307 indicates that the vehicle speed is 0 km / h, the CC flag is 0, the PA flag is 0, and the abnormality detection flag 305 of each CAN bus 105 is 0 in step S906, The current traveling state 307 does not satisfy the vehicle condition in the traveling state pattern 306 shown in FIG. 5B. Therefore, in step S907, the traveling state pattern 306 that satisfies the current traveling state 307 is updated from the plurality of traveling state patterns 306 to the traveling state pattern 306 shown in FIG. 5A.

そして、ステップS908において、制御部310は、通信データのサンプリング方法を決定する。具体的には、制御部310は、選択されている走行状態パターン306が示すサンプリング割合が定義されたサンプリング方法を決定する。言い換えると、制御部310は、走行状態パターン306において定義されているサンプリング割合で各CANバス105に流れる通信データをサンプリングするサンプリング方法を決定する。   In step S908, control unit 310 determines a communication data sampling method. Specifically, the control unit 310 determines a sampling method in which the sampling rate indicated by the selected running state pattern 306 is defined. In other words, the control unit 310 determines a sampling method for sampling communication data flowing in each CAN bus 105 at a sampling rate defined in the running state pattern 306.

なお、これまでの説明では、車載ネットワークの状態(CANバス105が正常か否かの状態)も車両の走行状態の一部としていたが、車両の走行状態には、車載ネットワークの状態が含まれていなくてもよい。この場合、走行状態パターン306には、異常検知フラグ305についての情報が含まれなくなる。それに伴い、図6に示すような、車載ネットワークに異常がある場合の走行状態パターン306が存在しなくなる。また、この場合、判定部309は、ネットワークの状態が正常か否かの判定の結果には基づかないで、車両の走行状態を判定することになる。この場合のサンプリング方法の決定方法について図10を用いて説明する。   In the description so far, the state of the in-vehicle network (whether the CAN bus 105 is normal) is also a part of the traveling state of the vehicle, but the traveling state of the vehicle includes the state of the in-vehicle network. It does not have to be. In this case, the traveling state pattern 306 does not include information on the abnormality detection flag 305. Accordingly, the running state pattern 306 when there is an abnormality in the in-vehicle network as shown in FIG. 6 does not exist. Further, in this case, the determination unit 309 determines the traveling state of the vehicle without being based on the determination result of whether or not the network state is normal. A method for determining the sampling method in this case will be described with reference to FIG.

図10は、実施の形態におけるサンプリング方法の決定方法の他の一例を示すフローチャートである。   FIG. 10 is a flowchart illustrating another example of the sampling method determination method according to the embodiment.

まず、通信装置101は、ステップS901において、送受信部301により、監視ECU103、及び複数のECU104から送信される通信データを受信する。例えば、監視ECU103から送信される通信データには、ネットワークの状態が正常か否かの判定結果(具体的には各CANバス105が正常か否かの判定結果)が含まれ、また、複数のECU104から送信される通信データには車両の走行状態を判定するためのデータが含まれる。   First, in step S <b> 901, the communication apparatus 101 receives communication data transmitted from the monitoring ECU 103 and the plurality of ECUs 104 by the transmission / reception unit 301. For example, the communication data transmitted from the monitoring ECU 103 includes a determination result of whether or not the network state is normal (specifically, a determination result of whether or not each CAN bus 105 is normal), The communication data transmitted from the ECU 104 includes data for determining the traveling state of the vehicle.

次いで、ステップS1001において、判定部309は、複数のECU104から受信した通信データから車両の走行状態(現在の走行状態307)を判定する。例えば、判定部309は、複数のECU104から受信した通信データから、車両が走行中であるか、停車中であるかなどの現在の走行状態307を判定する。なお、図9に示すステップS905では、判定部309は、異常検知フラグ305の値にも基づいて現在の走行状態307を判定し、例えば、異常検知フラグ305の値から車載ネットワークの状態が正常か異常かなどの現在の走行状態307も判定していた。つまり、図10に示すステップS1001においては、判定部309は、ネットワークの状態が正常か否かの判定の結果には基づかないで、車両の走行状態を判定する。   Next, in step S <b> 1001, the determination unit 309 determines the vehicle travel state (current travel state 307) from the communication data received from the plurality of ECUs 104. For example, the determination unit 309 determines the current traveling state 307 such as whether the vehicle is traveling or stopped from communication data received from the plurality of ECUs 104. In step S905 shown in FIG. 9, the determination unit 309 determines the current traveling state 307 based also on the value of the abnormality detection flag 305. For example, whether the state of the in-vehicle network is normal based on the value of the abnormality detection flag 305. The current running state 307 such as an abnormality is also determined. That is, in step S1001 shown in FIG. 10, the determination unit 309 determines the traveling state of the vehicle without being based on the determination result of whether or not the network state is normal.

ステップS1002において、判定部309は、現在の走行状態307が、前回選択した走行状態パターン306における車両条件を満たしているか判定する。判定部309は、現在の走行状態307が当該車両条件を満たしていないと判定した場合(ステップS1002でNO)、ステップS1003に進み、現在の走行状態307が当該車両条件を満たしていると判定した場合(ステップS1002でYES)、ステップS1004に進む。   In step S1002, the determination unit 309 determines whether or not the current traveling state 307 satisfies the vehicle condition in the traveling state pattern 306 selected last time. If the determination unit 309 determines that the current traveling state 307 does not satisfy the vehicle condition (NO in step S1002), the determination unit 309 proceeds to step S1003 and determines that the current traveling state 307 satisfies the vehicle condition. If yes (YES in step S1002), the process proceeds to step S1004.

ステップS1003において、制御部310は、複数の走行状態パターン306の中から、現在の走行状態307が車両条件を満たす走行状態パターン306を選択する、つまり、走行状態パターン306を更新する。   In step S1003, the control unit 310 selects a traveling state pattern 306 in which the current traveling state 307 satisfies the vehicle condition from the plurality of traveling state patterns 306, that is, updates the traveling state pattern 306.

そして、ステップS1004において、制御部310は、通信データのサンプリング方法を決定する。具体的には、制御部310は、選択されている走行状態パターン306が示すサンプリング割合が定義されたサンプリング方法を決定する。言い換えると、制御部310は、走行状態パターン306において定義されているサンプリング割合で各CANバス105に流れる通信データをサンプリングするサンプリング方法を決定する。   In step S1004, control unit 310 determines a communication data sampling method. Specifically, the control unit 310 determines a sampling method in which the sampling rate indicated by the selected running state pattern 306 is defined. In other words, the control unit 310 determines a sampling method for sampling communication data flowing in each CAN bus 105 at a sampling rate defined in the running state pattern 306.

次いで、ステップS1005において、判定部309は、監視ECU103から送信される通信データに、CANバス105の異常を示す通知が含まれているか判定する。判定部309が通信データにCANバス105の異常を示す通知が含まれていると判定した場合(ステップS1005でYES)、つまり、ネットワークの状態が異常である場合、ステップS1006に進み、異常を示す通知が含まれていないと判定した場合(ステップS1005でNO)、サンプリング方法の決定処理が終了する。   Next, in step S <b> 1005, the determination unit 309 determines whether the communication data transmitted from the monitoring ECU 103 includes a notification indicating an abnormality in the CAN bus 105. If the determination unit 309 determines that the communication data includes a notification indicating an abnormality in the CAN bus 105 (YES in step S1005), that is, if the network state is abnormal, the process proceeds to step S1006 and indicates an abnormality. If it is determined that the notification is not included (NO in step S1005), the sampling method determination process ends.

ステップS1006において、制御部310は、ステップS1004において決定したサンプリング方法を変更する。具体的には、制御部310は、決定したサンプリング方法における各CANバス105のサンプリング割合のうち、異常のあるCANバス105についてのサンプリング割合を変更する。例えば、制御部310は、異常のあるCANバス105についてのサンプリング割合を100%にする。具体的には、ステップS1004において決定されたサンプリング方法における各CANバス105のサンプリング割合が図5Aに示すものであった場合に、CANバス105a及び105cに異常があったときには、CANバス105a及び105cのサンプリング割合を100%に変更する。つまり、この場合、最終的には、各CANバス105のサンプリング割合が図6に示すようなサンプリング割合となるサンプリング方法が決定される。   In step S1006, control unit 310 changes the sampling method determined in step S1004. Specifically, the control unit 310 changes the sampling rate for the CAN bus 105 having an abnormality in the sampling rate of each CAN bus 105 in the determined sampling method. For example, the control unit 310 sets the sampling rate for the abnormal CAN bus 105 to 100%. Specifically, if the CAN bus 105a and 105c have an abnormality when the sampling rate of each CAN bus 105 in the sampling method determined in step S1004 is as shown in FIG. 5A, the CAN bus 105a and 105c. The sampling rate is changed to 100%. That is, in this case, finally, a sampling method is determined in which the sampling rate of each CAN bus 105 is a sampling rate as shown in FIG.

このように、車載ネットワークに異常がある場合の走行状態パターン306を準備しなくてもよく、ネットワークの状態に異常がある場合に、決定したサンプリング方法における当該異常に対応するグループのサンプリング割合を変更することで、サンプリング方法を変更してもよい。   Thus, it is not necessary to prepare the running state pattern 306 when there is an abnormality in the in-vehicle network, and when there is an abnormality in the network state, the sampling rate of the group corresponding to the abnormality in the determined sampling method is changed. By doing so, the sampling method may be changed.

次に、決定されたサンプリング方法(若しくは決定後に変更されたサンプリング方法)に応じた通信装置101の動作について図11を用いて説明する。   Next, the operation of the communication apparatus 101 according to the determined sampling method (or the sampling method changed after the determination) will be described with reference to FIG.

図11は、実施の形態における通信装置101の動作の一例を示すフローチャートである。   FIG. 11 is a flowchart illustrating an example of the operation of the communication apparatus 101 according to the embodiment.

まず、ステップS1111において、制御部310は、判定された走行状態に対応するサンプリング方法(つまり、決定された、若しくは、決定後変更されたサンプリング方法)に従って、通信データのサンプリングを行う。具体的には、制御部310は、現在の走行状態307に対応する走行状態パターン306において定義されるCANバス105ごとのサンプリング割合に従い、各CANバス105から送受信部301が受信する通信データのサンプリングを行う。   First, in step S1111, control unit 310 samples communication data according to a sampling method corresponding to the determined running state (that is, a sampling method determined or changed after determination). Specifically, the control unit 310 samples communication data received by the transmission / reception unit 301 from each CAN bus 105 according to the sampling rate for each CAN bus 105 defined in the traveling state pattern 306 corresponding to the current traveling state 307. I do.

次いで、ステップS1112において、制御部310は、サンプリングを行った通信データとして通信ログ308を、CANバス105ごとに記憶部303に記憶する。   Next, in step S <b> 1112, the control unit 310 stores the communication log 308 as the sampled communication data in the storage unit 303 for each CAN bus 105.

そして、ステップS1113において、送受信部301は、サンプリングされた通信データを、サーバ装置11に送信する。   In step S <b> 1113, the transmission / reception unit 301 transmits the sampled communication data to the server device 11.

なお、ステップS1113での処理が開始されるタイミングは特に限定されない。例えば、所定の時間ごとに行われてもよいし、サーバ装置11からの要求に応じて行われてもよい。   Note that the timing at which the process in step S1113 is started is not particularly limited. For example, it may be performed every predetermined time or in response to a request from the server device 11.

[1.6 まとめ]
以上のように本実施の形態に係る通信装置101は、システム(車両)における複数のECU104が接続されたネットワークに流れる通信データに基づいて、システム(車両)の稼働(走行)状態を判定する判定部309と、判定された稼働(走行)状態に対応するサンプリング方法に従って、通信データのサンプリングを行う制御部310と、サンプリングされた通信データを、システム(車両)の外部の装置(サーバ装置11)に送信する送信部(送受信部301)と、を備える。
[1.6 Summary]
As described above, the communication apparatus 101 according to the present embodiment determines the operating (running) state of the system (vehicle) based on the communication data flowing through the network to which the plurality of ECUs 104 in the system (vehicle) are connected. Unit 309, control unit 310 that samples communication data in accordance with the sampling method corresponding to the determined operating (running) state, and the sampled communication data as a device outside the system (vehicle) (server device 11) A transmission unit (transmission / reception unit 301).

これによれば、車両等の稼働(走行)状態に応じて重要度の低い通信データについてはあまり抽出されないように(大きく間引かれるように)サンプリングをすることができ、重要度の高い通信データについては多く抽出されるように(あまり間引かれない(若しくは全く間引かない)ように)サンプリングをすることができる。つまり、車両等の稼働(走行)状態に応じて、重要度の高い通信データについてはデータ量をあまり減らさない(若しくは全く減らさない)ようにしつつ、重要度の低い通信データについてはデータ量を減らして車両の外部の装置へ送信されるため、外部の装置との通信の負荷及び当該装置のストレージ容量の削減を効果的に行うことができる。なお、車両等の外部の装置に送信された通信データは、故障解析又はサイバー攻撃の攻撃解析に活用することができる。   According to this, communication data with low importance can be sampled so that it is not extracted very much (so that it is thinned out greatly) according to the operating (running) state of the vehicle or the like. Can be sampled so that many are extracted (so that they are not thinned out very much (or not thinned out at all)). In other words, depending on the operating (running) state of the vehicle, etc., the amount of data for highly important communication data is not reduced much (or not reduced at all), while the amount of data for less important communication data is reduced. Thus, the communication load with the external device and the storage capacity of the device can be effectively reduced. Note that communication data transmitted to an external device such as a vehicle can be used for failure analysis or attack analysis of cyber attacks.

また、通信装置101は、さらに、記憶部303を備え、制御部310は、サンプリングを行った通信データを記憶部303に格納してもよい。   The communication apparatus 101 may further include a storage unit 303, and the control unit 310 may store the communication data that has been sampled in the storage unit 303.

これによれば、記憶部303には、サンプリングされた通信データが保持されるため、記憶部303のストレージ容量を削減できる。   According to this, since the sampled communication data is held in the storage unit 303, the storage capacity of the storage unit 303 can be reduced.

また、上記サンプリング方法では、複数のECU104のうちの1以上のECU104から構成されるグループごとにサンプリング割合が定められ、制御部310は、グループごとの通信データについて、当該グループに定められたサンプリング割合に応じてサンプリングを行ってもよい。   In the sampling method, a sampling ratio is determined for each group including one or more ECUs 104 of the plurality of ECUs 104, and the control unit 310 determines the sampling ratio determined for the group for communication data for each group. Sampling may be performed according to the above.

これによれば、例えば、ボディ関連のECU104の通信データについては、車両の走行中には重要度は低く車両の停車中には重要度が高く、また、パワートレイン関連のECU104の通信データについては、車両の走行中には重要度は高く車両の停車中には重要度が低いといったように、車両の走行状態によって各グループの通信データの重要度がそれぞれ異なる場合があるため、グループごとに通信データのサンプリングを効果的に行うことができる。   According to this, for example, the communication data of the ECU 104 related to the body is low in importance while the vehicle is running, and high in importance when the vehicle is stopped. Because the importance of communication data for each group may differ depending on the vehicle's running state, such as high importance when the vehicle is running and low importance when the vehicle is stopped. Data sampling can be performed effectively.

また、ネットワークにおいて、複数のECU104は、システム(車両)内のCANバス105によって互いに接続され、グループは、同じCANバス105に接続された1以上のECU104から構成されてもよい。   In the network, a plurality of ECUs 104 may be connected to each other by a CAN bus 105 in the system (vehicle), and a group may be composed of one or more ECUs 104 connected to the same CAN bus 105.

例えば、一般的に同じCANバス105に接続された1以上のECU104は、それぞれ同じような機能を有していることが多く、取り扱う通信データも同じようなものになることが多い。したがって、同じCANバス105に接続された1以上のECU104から構成されるグループごとに通信データのサンプリングを効果的に行うことができる。   For example, in general, one or more ECUs 104 connected to the same CAN bus 105 often have the same function, and the communication data to be handled is often the same. Therefore, it is possible to effectively sample communication data for each group including one or more ECUs 104 connected to the same CAN bus 105.

また、グループは、通信データに含まれる同じ機能に関連するメッセージを送信する1以上のECU104から構成されていてもよい。   The group may be composed of one or more ECUs 104 that transmit messages related to the same function included in the communication data.

これによれば、同じ機能に関連するメッセージを送信する1以上のECU104から構成されるグループごとに通信データのサンプリングを効果的に行うことができる。   According to this, it is possible to effectively perform sampling of communication data for each group including one or more ECUs 104 that transmit messages related to the same function.

また、判定部309は、さらに、ネットワークの状態が正常か否かを判定し、当該判定の結果にも基づいて、システム(車両)の稼働(走行)状態を判定してもよい。   The determination unit 309 may further determine whether or not the network state is normal, and may determine the operating (running) state of the system (vehicle) based on the determination result.

これによれば、ネットワークの状態が正常か否かの判定結果にも応じて車両の走行状態が判定されるため、サンプリング方法は、当該判定結果にも対応したものとなる。したがって、ネットワークの状態が正常か否かにも応じて通信データをサンプリングすることができる。   According to this, since the traveling state of the vehicle is determined according to the determination result of whether or not the network state is normal, the sampling method corresponds to the determination result. Therefore, communication data can be sampled according to whether the network state is normal or not.

また、判定部309は、さらに、ネットワークの状態が正常か否かを判定し、制御部310は、ネットワークの状態が正常か否かに応じて、サンプリング方法を変更してもよい。   Further, the determination unit 309 may further determine whether or not the network state is normal, and the control unit 310 may change the sampling method according to whether or not the network state is normal.

これによれば、ネットワークの状態が正常か否かの判定結果に応じてサンプリング方法が変更されるため、ネットワークの状態が正常か否かにも応じて通信データをサンプリングすることができる。   According to this, since the sampling method is changed according to the determination result of whether or not the network state is normal, it is possible to sample the communication data depending on whether or not the network state is normal.

具体的には、判定部309は、通信データに含まれるメッセージが正常か否かを判定することで、ネットワークの状態が正常か否かを判定してもよい。また、ネットワークにおいて、複数のECU104は、車両内のCANバス105によって互いに接続され、判定部309は、ネットワークにおけるCANバス105が正常か否かを判定することで、ネットワークの状態が正常か否かを判定してもよい。   Specifically, the determination unit 309 may determine whether the network state is normal by determining whether a message included in the communication data is normal. In the network, a plurality of ECUs 104 are connected to each other by a CAN bus 105 in the vehicle, and the determination unit 309 determines whether the network state is normal by determining whether the CAN bus 105 in the network is normal. May be determined.

<他の実施の形態等>
以上のように、本発明に係る技術の例示として実施の形態を説明した。しかしながら、本発明に係る技術は、これに限定されず、適宜、変更、置き換え、付加、省略等を行った実施の形態にも適用可能である。例えば、以下のような変形例も本発明の一実施の形態に含まれる。
<Other embodiments, etc.>
As described above, the embodiments have been described as examples of the technology according to the present invention. However, the technology according to the present invention is not limited to this, and can also be applied to embodiments in which changes, replacements, additions, omissions, etc. are made as appropriate. For example, the following modifications are also included in one embodiment of the present invention.

(1)本発明の実施の形態において、監視ECU103がCANバス105を介して、通信装置101へ不正な通信データを検知した旨を通知する際に、通信データにメッセージ認証コード(MAC:Message Authentication Code)を付与して送信する構成でもよい。   (1) In the embodiment of the present invention, when the monitoring ECU 103 notifies the communication device 101 that unauthorized communication data has been detected via the CAN bus 105, a message authentication code (MAC: Message Authentication) is added to the communication data. (Code) may be transmitted.

(2)本発明の実施の形態において、監視ECU103は、CANバス105が正常の旨と異常の旨の両方を周期的に通信装置101へ通知することを想定しているが、異常を検知した時のみ通知するなど、イベント的に通知してもよい。   (2) In the embodiment of the present invention, it is assumed that the monitoring ECU 103 periodically notifies the communication device 101 of both the normality and abnormality of the CAN bus 105, but has detected an abnormality. You may notify in an event, such as notifying only at the time.

(3)本発明の実施の形態において、通信装置101は、CANバス105の正常・異常を監視ECU103からの通知を周期的に受信することを想定しているが、異常の旨の通知が一定時間受信できなければ正常と判断するなど、未着等を利用して判定してもよい。   (3) In the embodiment of the present invention, it is assumed that the communication apparatus 101 periodically receives notifications from the monitoring ECU 103 about normality / abnormality of the CAN bus 105, but the notification of abnormality is constant. It may be determined using non-arrival or the like, for example, it is determined that it is normal if time cannot be received.

(4)本発明の実施の形態において、通信装置101は、物理的には一つのECUを想定しているが、論理的に独立した機能モジュール(ソフトウェア)として監視ECU103などの別のECUに実装される構成でもよい。   (4) In the embodiment of the present invention, the communication device 101 is physically assumed to be one ECU, but is mounted on another ECU such as the monitoring ECU 103 as a logically independent functional module (software). It may be configured.

(5)本発明の実施の形態において、通信装置101は、中継・転送機能を含む1つのECUを想定しているが、中継・転送機能は中継ECUなどの別のECUに実装される構成でもよい。   (5) In the embodiment of the present invention, the communication apparatus 101 is assumed to be one ECU including a relay / transfer function. However, the relay / transfer function may be implemented in another ECU such as a relay ECU. Good.

(6)本発明の実施の形態において、監視ECU103によって正常ではないと判定されたCANバス105の通信データは、サンプリングせず(つまり、サンプリング割合100%)でサーバ装置11に送信することを想定しているが、正常と判定されたCANバス105と同様、サンプリングするように定義されてもよい。   (6) In the embodiment of the present invention, it is assumed that the communication data of the CAN bus 105 determined as not normal by the monitoring ECU 103 is transmitted to the server apparatus 11 without sampling (that is, sampling rate 100%). However, like the CAN bus 105 determined to be normal, it may be defined to sample.

(7)本発明の実施の形態において、通信装置101と監視ECU103は、物理的には一つのECUに実装されており、論理的に独立した機能モジュール(ソフトウェアなど)として実装される構成でもよい。   (7) In the embodiment of the present invention, the communication device 101 and the monitoring ECU 103 are physically mounted on one ECU, and may be configured as logically independent function modules (software or the like). .

(8)本発明の実施の形態において、CAN通信の代わりに、CANFD(CAN with Flexible Data rate)、TTCAN(Time Triggered CAN)、Ethernet、LIN(Local Interconnect Network)、MOST(Media Oriented Systems Transport)又はFlexRayなどの通信方式を用いる構成でもよい。   (8) In the embodiment of the present invention, instead of CAN communication, CAN FD (CAN with Flexible Data rate), TTCAN (Time Triggered CAN), Ethernet, LIN (Local Interconnect Network), MOST (Media Oriented Systems Transport) or A configuration using a communication method such as FlexRay may be used.

(9)通信装置101を構成する構成要素の一部又は全部は、通信装置101に脱着可能なICカード又は単体のモジュールから構成されているとしてもよい。前記ICカード又は前記モジュールは、マイクロプロセッサ、ROM、RAMなどから構成されるコンピュータシステムである。前記ICカード又は前記モジュールは、上記の超多機能LSIを含むとしてもよい。マイクロプロセッサが、コンピュータプログラムにしたがって動作することにより、前記ICカード又は前記モジュールは、その機能を達成する。このICカード又はこのモジュールは、耐タンパ性を有するとしてもよい。   (9) A part or all of the components constituting the communication device 101 may be configured by an IC card that can be attached to and detached from the communication device 101 or a single module. The IC card or the module is a computer system including a microprocessor, a ROM, a RAM, and the like. The IC card or the module may include the super multifunctional LSI described above. The IC card or the module achieves its function by the microprocessor operating according to the computer program. This IC card or this module may have tamper resistance.

(10)本発明の実施の形態において、監視ECU103は、CANバス105を介して通信装置101へ通信データの正常又は異常を検知した結果を通知したが、これに限らない。これについて図12を用いて説明する。   (10) In the embodiment of the present invention, the monitoring ECU 103 notifies the communication device 101 of the result of detecting the normality or abnormality of the communication data via the CAN bus 105, but the present invention is not limited to this. This will be described with reference to FIG.

図12は、他の実施の形態における通信システム10aの構成図である。   FIG. 12 is a configuration diagram of a communication system 10a according to another embodiment.

実施の形態における通信システム10では、通信データの送受信には上述したように、CANバス105が用いられる。また、車載ネットワークの状態が正常であるか否かの監視ECU103による判定結果の送受信についても、CANバス105が用いられる。これに対して、通信システム10aでは、車載ネットワークの状態が正常であるか否かの監視ECU103による判定結果の送受信は、CANバス105とは異なる専用線106を介した通信が用いられる。例えば、専用線106は、外部と接続されないような通信線であり、外部からの攻撃に強い通信線である。   In the communication system 10 according to the embodiment, the CAN bus 105 is used for transmission and reception of communication data as described above. The CAN bus 105 is also used for transmission / reception of the determination result by the monitoring ECU 103 as to whether or not the state of the in-vehicle network is normal. On the other hand, in the communication system 10 a, communication via the dedicated line 106 different from the CAN bus 105 is used for transmission / reception of the determination result by the monitoring ECU 103 as to whether or not the state of the in-vehicle network is normal. For example, the dedicated line 106 is a communication line that is not connected to the outside, and is a communication line that is resistant to external attacks.

これによれば、監視ECU103による判定結果の送受信にCANバス105が用いられた場合にCANバス105に不正なノードが接続されて不正な情報がCANバス105に送信されたときには、当該判定結果が不正に書き換えられるおそれがある。そこで、当該判定結果の送受信は、例えば外部からの攻撃に強い専用線106を介した通信が用いられることで、当該判定結果が不正に書き換えられることを抑制できる。   According to this, when the CAN bus 105 is used for transmission / reception of the determination result by the monitoring ECU 103, when an unauthorized node is connected to the CAN bus 105 and unauthorized information is transmitted to the CAN bus 105, the determination result is There is a risk of unauthorized rewriting. Therefore, transmission / reception of the determination result can be prevented from being rewritten illegally, for example, by using communication via the dedicated line 106 that is resistant to external attacks.

(11)本発明は、通信装置101として実現できるだけでなく、通信装置101を構成する各構成要素が行うステップ(処理)を含む通信方法として実現できる。   (11) The present invention can be realized not only as the communication apparatus 101 but also as a communication method including steps (processes) performed by each component constituting the communication apparatus 101.

具体的には、当該通信方法は、図9及び図11に示すように、システム(車両)における複数のECU104が接続されたネットワークに流れる通信データに基づいて、システム(車両)の稼働(走行)状態を判定し(ステップS905)、判定された稼働(走行)状態に対応するサンプリング方法に従って、通信データのサンプリングを行い(ステップS1111)、サンプリングされた通信データを、システム(車両)の外部の装置に送信する(ステップS1113)。   Specifically, as shown in FIGS. 9 and 11, the communication method is based on communication data flowing in a network to which a plurality of ECUs 104 in the system (vehicle) are connected (running) of the system (vehicle). The state is determined (step S905), the communication data is sampled according to the sampling method corresponding to the determined operating (running) state (step S1111), and the sampled communication data is sent to a device outside the system (vehicle). (Step S1113).

また、例えば、本発明は、これらのステップをコンピュータに実行させるためのコンピュータプログラムとして実現できる。また、例えば、これらのステップは、当該コンピュータプログラムからなるデジタル信号であるとしてもよい。   Further, for example, the present invention can be realized as a computer program for causing a computer to execute these steps. Further, for example, these steps may be digital signals composed of the computer program.

また、本発明は、前記コンピュータプログラム又は前記デジタル信号をコンピュータ読み取り可能な記録媒体、例えば、フレキシブルディスク、ハードディスク、CD−ROM、MO、DVD、DVD−ROM、DVD−RAM、BD(Blu-ray(登録商標) Disc)、半導体メモリなどに記録したものとしてもよい。また、これらの記録媒体に記録されている前記デジタル信号であるとしてもよい。   The present invention also provides a computer-readable recording medium such as a flexible disk, a hard disk, a CD-ROM, an MO, a DVD, a DVD-ROM, a DVD-RAM, a BD (Blu-ray ( (Registered trademark) Disc), or recorded in a semiconductor memory or the like. The digital signal may be recorded on these recording media.

また、本発明は、前記コンピュータプログラム又は前記デジタル信号を、電気通信回線、無線又は有線通信回線、インターネットを代表とするネットワーク、データ放送等を経由して伝送するものとしてもよい。   Further, the present invention may transmit the computer program or the digital signal via an electric communication line, a wireless or wired communication line, a network represented by the Internet, a data broadcast, or the like.

また、本発明は、マイクロプロセッサとメモリを備えたコンピュータシステムであって、前記メモリは、上記コンピュータプログラムを記憶しており、前記マイクロプロセッサは、前記コンピュータプログラムにしたがって動作するとしてもよい。   The present invention may be a computer system including a microprocessor and a memory, wherein the memory stores the computer program, and the microprocessor operates according to the computer program.

また、前記プログラム又は前記デジタル信号を前記記録媒体に記録して移送することにより、又は前記プログラム又は前記デジタル信号を前記ネットワーク等を経由して移送することにより、独立した他のコンピュータシステムにより実施するとしてもよい。   In addition, the program or the digital signal is recorded on the recording medium and transferred, or the program or the digital signal is transferred via the network or the like, and is executed by another independent computer system. It is good.

(12)上記実施の形態及び上記変形例をそれぞれ組み合わせるとしてもよい。   (12) The above embodiment and the above modifications may be combined.

(13)上記実施の形態では、本発明の適用例として車両(自動車)に搭載される車載ネットワークにおけるセキュリティ対策への適用について説明したが、本発明の適用範囲はこれに限られない。例えば、本発明は、自動車に限らず、建機、農機、船舶、鉄道又は飛行機などのモビリティにも適用してもよい。例えば、判定部309は、自動車等の車両に限らず、建機、農機、船舶、鉄道又は飛行機などのシステムにおける複数の電子制御ユニットが接続されたネットワークに流れる通信データに基づいて、当該システムの稼働状態を判定してもよい。また、制御部310は、判定された稼働状態に対応するサンプリング方法に従って、通信データのサンプリングを行ってもよい。また、送信部(送受信部301)は、サンプリングされた通信データを、当該システムの外部の装置に送信してもよい。   (13) In the above-described embodiment, application to security measures in an in-vehicle network mounted on a vehicle (automobile) has been described as an application example of the present invention, but the scope of application of the present invention is not limited to this. For example, the present invention may be applied not only to automobiles but also to mobility such as construction machines, agricultural machines, ships, railroads, and airplanes. For example, the determination unit 309 is not limited to a vehicle such as an automobile, but based on communication data flowing in a network to which a plurality of electronic control units in a system such as a construction machine, an agricultural machine, a ship, a railroad, or an airplane is connected, The operating state may be determined. Control unit 310 may sample communication data in accordance with a sampling method corresponding to the determined operating state. The transmission unit (transmission / reception unit 301) may transmit the sampled communication data to a device outside the system.

本発明は、自動車、建機、農機、船舶、鉄道又は飛行機などにおけるネットワークに流れる通信データをサーバ装置へ転送する装置に適用できる。   The present invention can be applied to an apparatus that transfers communication data flowing in a network such as an automobile, a construction machine, an agricultural machine, a ship, a railway, or an airplane to a server apparatus.

10、10a 通信システム
11 サーバ装置
101 通信装置
102 外部通信ECU
103 監視ECU
104 ECU
105、105a、105b、105c CANバス
106 専用線
301 送受信部
302 転送部
303 記憶部
304 転送リスト
305 異常検知フラグ
306 走行状態パターン
307 現在の走行状態
308 通信ログ
309 判定部
310 制御部
10, 10a Communication system 11 Server device 101 Communication device 102 External communication ECU
103 monitoring ECU
104 ECU
105, 105a, 105b, 105c CAN bus 106 Dedicated line 301 Transmission / reception unit 302 Transfer unit 303 Storage unit 304 Transfer list 305 Abnormality detection flag 306 Traveling state pattern 307 Current traveling state 308 Communication log 309 Determination unit 310 Control unit

Claims (11)

システムにおける複数の電子制御ユニットが接続されたネットワークに流れる通信データに基づいて、前記システムの稼働状態を判定する判定部と、
前記判定された稼働状態に対応するサンプリング方法に従って、前記通信データのサンプリングを行う制御部と、
前記サンプリングされた通信データを、前記システムの外部の装置に送信する送信部と、
を備える通信装置。
A determination unit for determining an operating state of the system based on communication data flowing in a network to which a plurality of electronic control units in the system are connected;
In accordance with a sampling method corresponding to the determined operating state, a control unit that samples the communication data;
A transmission unit that transmits the sampled communication data to a device outside the system;
A communication device comprising:
前記通信装置は、さらに、記憶部を備え、
前記制御部は、前記サンプリングを行った通信データを前記記憶部に格納する、
請求項1に記載の通信装置。
The communication device further includes a storage unit,
The control unit stores the communication data subjected to the sampling in the storage unit.
The communication apparatus according to claim 1.
前記サンプリング方法では、前記複数の電子制御ユニットのうちの1以上の電子制御ユニットから構成されるグループごとにサンプリング割合が定められ、
前記制御部は、前記グループごとの前記通信データについて、当該グループに定められたサンプリング割合に応じてサンプリングを行う、
請求項1又は2に記載の通信装置。
In the sampling method, a sampling rate is determined for each group composed of one or more electronic control units of the plurality of electronic control units,
The control unit samples the communication data for each group according to a sampling rate determined for the group.
The communication apparatus according to claim 1 or 2.
前記ネットワークにおいて、前記複数の電子制御ユニットは、前記システム内のCANバスによって互いに接続され、
前記グループは、同じCANバスに接続された前記1以上の電子制御ユニットから構成される、
請求項3に記載の通信装置。
In the network, the plurality of electronic control units are connected to each other by a CAN bus in the system,
The group is composed of the one or more electronic control units connected to the same CAN bus.
The communication apparatus according to claim 3.
前記グループは、前記通信データに含まれる同じ機能に関連するメッセージを送信する前記1以上の電子制御ユニットから構成される、
請求項3又は4に記載の通信装置。
The group is composed of the one or more electronic control units that transmit messages related to the same function included in the communication data.
The communication apparatus according to claim 3 or 4.
前記判定部は、さらに、前記ネットワークの状態が正常か否かを判定し、当該判定の結果にも基づいて、前記システムの稼働状態を判定する、
請求項1〜5のいずれか1項に記載の通信装置。
The determination unit further determines whether or not the state of the network is normal, and determines an operating state of the system based on a result of the determination.
The communication apparatus of any one of Claims 1-5.
前記判定部は、さらに、前記ネットワークの状態が正常か否かを判定し、
前記制御部は、前記ネットワークの状態が正常か否かに応じて、前記サンプリング方法を変更する、
請求項1〜5のいずれか1項に記載の通信装置。
The determination unit further determines whether or not the state of the network is normal,
The control unit changes the sampling method according to whether or not the state of the network is normal.
The communication apparatus of any one of Claims 1-5.
前記判定部は、前記通信データに含まれるメッセージが正常か否かを判定することで、前記ネットワークの状態が正常か否かを判定する、
請求項6又は7に記載の通信装置。
The determination unit determines whether or not the state of the network is normal by determining whether or not a message included in the communication data is normal.
The communication apparatus according to claim 6 or 7.
前記ネットワークにおいて、前記複数の電子制御ユニットは、前記システム内のCANバスによって互いに接続され、
前記判定部は、前記ネットワークにおけるCANバスが正常か否かを判定することで、前記ネットワークの状態が正常か否かを判定する、
請求項6〜8のいずれか1項に記載の通信装置。
In the network, the plurality of electronic control units are connected to each other by a CAN bus in the system,
The determination unit determines whether the state of the network is normal by determining whether a CAN bus in the network is normal.
The communication apparatus according to any one of claims 6 to 8.
システムにおける複数の電子制御ユニットが接続されたネットワークに流れる通信データに基づいて、前記システムの稼働状態を判定し、
前記判定された稼働状態に対応するサンプリング方法に従って、前記通信データのサンプリングを行い、
前記サンプリングされた通信データを、前記システムの外部の装置に送信する、
通信方法。
Based on communication data flowing in a network to which a plurality of electronic control units in the system are connected, determine the operating state of the system,
According to the sampling method corresponding to the determined operating state, sampling the communication data,
Transmitting the sampled communication data to a device external to the system;
Communication method.
システムにおける複数の電子制御ユニットが接続されたネットワークに流れる通信データに基づいて、前記システムの稼働状態を判定する処理と、
前記判定された稼働状態に対応するサンプリング方法に従って、前記通信データのサンプリングを行う処理と、
前記サンプリングされた通信データを、前記システムの外部の装置に送信する処理と、
をコンピュータに実行させるためのプログラム。
A process of determining an operating state of the system based on communication data flowing in a network to which a plurality of electronic control units in the system is connected;
A process of sampling the communication data according to a sampling method corresponding to the determined operating state;
A process of transmitting the sampled communication data to a device external to the system;
A program that causes a computer to execute.
JP2018197882A 2018-01-12 2018-10-19 Communication device, communication method, and program Pending JP2019146145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/244,453 US20190217869A1 (en) 2018-01-12 2019-01-10 Control apparatus, control method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018028730 2018-02-21
JP2018028730 2018-02-21

Publications (1)

Publication Number Publication Date
JP2019146145A true JP2019146145A (en) 2019-08-29

Family

ID=67771354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018197882A Pending JP2019146145A (en) 2018-01-12 2018-10-19 Communication device, communication method, and program

Country Status (1)

Country Link
JP (1) JP2019146145A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021149651A1 (en) * 2020-01-20 2021-07-29 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Attack detection method, attack detection system and program
WO2022085396A1 (en) * 2020-10-19 2022-04-28 株式会社オートネットワーク技術研究所 Communication device, communication method, and computer program
WO2023136111A1 (en) * 2022-01-14 2023-07-20 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Abnormality detection device and abnormality detection method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002042288A (en) * 2000-07-26 2002-02-08 Yazaki Corp Running state recording device and running control system using it
JP2007235313A (en) * 2006-02-28 2007-09-13 Nissan Motor Co Ltd Measuring apparatus and measuring method of the measuring apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002042288A (en) * 2000-07-26 2002-02-08 Yazaki Corp Running state recording device and running control system using it
JP2007235313A (en) * 2006-02-28 2007-09-13 Nissan Motor Co Ltd Measuring apparatus and measuring method of the measuring apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021149651A1 (en) * 2020-01-20 2021-07-29 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Attack detection method, attack detection system and program
WO2022085396A1 (en) * 2020-10-19 2022-04-28 株式会社オートネットワーク技術研究所 Communication device, communication method, and computer program
WO2023136111A1 (en) * 2022-01-14 2023-07-20 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Abnormality detection device and abnormality detection method

Similar Documents

Publication Publication Date Title
US11539727B2 (en) Abnormality detection apparatus and abnormality detection method
US10440120B2 (en) System and method for anomaly detection in diagnostic sessions in an in-vehicle communication network
JP7030046B2 (en) Fraudulent communication detection method, fraudulent communication detection system and program
JP6807906B2 (en) Systems and methods to generate rules to prevent computer attacks on vehicles
US20190141070A1 (en) Anomaly detection electronic control unit, onboard network system, and anomaly detection method
CN111052681B (en) Abnormality detection electronic control unit, vehicle-mounted network system, and abnormality detection method
JP6762347B2 (en) Systems and methods to thwart computer attacks on transportation
CN110546921B (en) Fraud detection method, fraud detection apparatus, and program
US10581739B2 (en) System for verification of unregistered device based on information of Ethernet switch and method for the same
JP7182559B2 (en) Log output method, log output device and program
CN109076001A (en) Frame transmission prevents device, frame transmission prevention method and vehicle netbios
CN109005678B (en) Illegal communication detection method, illegal communication detection system, and recording medium
CN109076016B9 (en) Illegal communication detection criterion determining method, illegal communication detection criterion determining system, and recording medium
JP2018182725A (en) Method for determining detection criterion of illegal communication, system for determining detection criterion of illegal communication and program
JP2019146145A (en) Communication device, communication method, and program
JP2019008618A (en) Information processing apparatus, information processing method, and program
WO2020021713A1 (en) Fraud detection method and electronic control device for detecting frauds
JP6839846B2 (en) Information processing equipment, information processing methods and programs
WO2020085330A1 (en) Electronic control device, electronic control method, and program
CN115580471A (en) Fraud detection method, fraud detection apparatus, and storage medium
WO2018179630A1 (en) Information processing device, information processing method and program
WO2018020833A1 (en) Frame transmission blocking device, frame transmission blocking method and vehicle-mounted network system
WO2020021714A1 (en) Fraud prevention method and secure star coupler
JP2019146144A (en) Information processing device, information processing method, and program
JP2024067648A (en) In-vehicle device, function control method, and function control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210519

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220322

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220920