JP6992959B2 - Communication processing system, communication processing device, communication processing method and communication processing program - Google Patents
Communication processing system, communication processing device, communication processing method and communication processing program Download PDFInfo
- Publication number
- JP6992959B2 JP6992959B2 JP2016069328A JP2016069328A JP6992959B2 JP 6992959 B2 JP6992959 B2 JP 6992959B2 JP 2016069328 A JP2016069328 A JP 2016069328A JP 2016069328 A JP2016069328 A JP 2016069328A JP 6992959 B2 JP6992959 B2 JP 6992959B2
- Authority
- JP
- Japan
- Prior art keywords
- message
- data pattern
- abnormality
- vehicle
- communication processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims description 140
- 238000012545 processing Methods 0.000 title claims description 120
- 238000003672 processing method Methods 0.000 title claims description 6
- 230000005856 abnormality Effects 0.000 claims description 214
- 238000000034 method Methods 0.000 claims description 61
- 230000008569 process Effects 0.000 claims description 37
- 230000002159 abnormal effect Effects 0.000 claims description 30
- 230000000903 blocking effect Effects 0.000 claims description 3
- 230000008859 change Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 17
- 238000001514 detection method Methods 0.000 description 14
- 238000012544 monitoring process Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、通信処理システム、通信処理装置、通信処理方法および通信処理プログラムに関する。 The present invention relates to a communication processing system, a communication processing device, a communication processing method, and a communication processing program.
上記技術分野において、特許文献1には、内部スイッチのフローテーブルにより経路の切り替えを行なう技術が開示されています。特許文献2には、車載用の通信ネットワークにおいて、ルーティングテーブルを参照して、CANメッセージの中継要否や送信先のパスを決定する技術が開示されている。
In the above technical field,
しかしながら、上記文献に記載の技術では、フローテーブルで経路が切り替えられるのはメッセージの識別子や送信元および送信先の情報であって、仮想スイッチにおいてメッセージに含まれるデータの中身を判定してルーティングを制御することができなかった。 However, in the technique described in the above document, it is the message identifier and the source and destination information that the route is switched in the flow table, and the virtual switch determines the content of the data contained in the message and performs routing. I couldn't control it.
本発明の目的は、上述の課題を解決する技術を提供することにある。 An object of the present invention is to provide a technique for solving the above-mentioned problems.
上記目的を達成するため、本発明に係る通信処理装置は、
車載通信ネットワークに含まれる通信処理装置であって、
受信されたCAN(Controller Area Network)メッセージに車両異常を示すデータパターンが含まれているかを判定するための異常判定データパターンを、仮想ネットワークの少なくとも1つの仮想スイッチ手段に設定する設定手段と、
CANメッセージに含まれる少なくとも一部のデータパターンと前記異常判定データパターンとをシフトしながら比較し、同じデータパターンを含むか否かを判定するデータパターン判定手段と、
前記少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含む場合に、車両異常時の処理を行うため前記仮想スイッチ手段のスイッチングを制御する制御手段と、
正常なCANメッセージまたは異常なCANメッセージの履歴に基づいて、前記CANメッセージに含まれる可能性がある、車両異常を示す前記異常判定データパターンを生成する生成手段と、
を備える。
In order to achieve the above object, the communication processing device according to the present invention is
A communication processing device included in an in-vehicle communication network.
A setting means for setting an abnormality determination data pattern for determining whether a received CAN (Controller Area Network) message contains a data pattern indicating a vehicle abnormality in at least one virtual switch means of the virtual network, and a setting means.
A data pattern determination means for determining whether or not the same data pattern is included by comparing at least a part of the data patterns included in the CAN message while shifting the abnormality determination data pattern.
When the at least a part of the data pattern and the abnormality determination data pattern include the same data pattern, a control means for controlling switching of the virtual switch means in order to perform processing at the time of a vehicle abnormality.
A generation means for generating the abnormality determination data pattern indicating a vehicle abnormality, which may be included in the CAN message, based on the history of a normal CAN message or an abnormal CAN message.
To prepare for .
上記目的を達成するため、本発明に係る通信処理方法は、
車載通信ネットワークに含まれる通信処理装置の通信処理方法であって、
受信されたCAN(Controller Area Network)メッセージに車両異常を示すデータパターンが含まれているかを判定するための異常判定データパターンを、仮想ネットワークの少なくとも1つの仮想スイッチ手段に設定する設定ステップと、
CANメッセージに含まれる少なくとも一部のデータパターンと前記異常判定データパターンとをシフトしながら比較し、同じデータパターンを含むか否かを判定するデータパターン判定ステップと、
前記少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含む場合に、車両異常時の処理を行うため前記仮想スイッチ手段のスイッチングを制御する制御ステップと、
正常なCANメッセージまたは異常なCANメッセージの履歴に基づいて、前記CANメッセージに含まれる可能性がある、車両異常を示す前記異常判定データパターンを生成する生成ステップと、
を含む。
In order to achieve the above object, the communication processing method according to the present invention is:
It is a communication processing method of a communication processing device included in an in-vehicle communication network.
A setting step for setting an abnormality determination data pattern for determining whether a received CAN (Controller Area Network) message contains a data pattern indicating a vehicle abnormality in at least one virtual switch means of the virtual network, and a setting step.
A data pattern determination step of determining whether or not the same data pattern is included by comparing at least a part of the data patterns included in the CAN message while shifting the abnormality determination data pattern.
When the at least a part of the data pattern and the abnormality determination data pattern include the same data pattern, a control step for controlling switching of the virtual switch means in order to perform processing at the time of vehicle abnormality.
A generation step that generates the abnormality determination data pattern indicating a vehicle abnormality, which may be included in the CAN message, based on the history of a normal CAN message or an abnormal CAN message.
Including .
上記目的を達成するため、本発明に係る通信処理プログラムは、
車載通信ネットワークに含まれる通信処理装置で実行される通信処理プログラムであって、
受信されたCAN(Controller Area Network)メッセージに車両異常を示すデータパターンが含まれているかを判定するための異常判定データパターンを、仮想ネットワークの少なくとも1つの仮想スイッチ手段に設定する設定ステップと、
CANメッセージに含まれる少なくとも一部のデータパターンと前記異常判定データパターンとをシフトしながら比較し、同じデータパターンを含むか否かを判定するデータパターン判定ステップと、
前記少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含む場合に、車両異常時の処理を行うため前記仮想スイッチ手段のスイッチングを制御する制御ステップと、
正常なCANメッセージまたは異常なCANメッセージの履歴に基づいて、前記CANメッセージに含まれる可能性がある、車両異常を示す前記異常判定データパターンを生成する生成ステップと、
をコンピュータに実行させる。
In order to achieve the above object, the communication processing program according to the present invention is
A communication processing program executed by a communication processing device included in an in-vehicle communication network.
A setting step for setting an abnormality determination data pattern for determining whether a received CAN (Controller Area Network) message contains a data pattern indicating a vehicle abnormality in at least one virtual switch means of the virtual network, and a setting step.
A data pattern determination step of determining whether or not the same data pattern is included by comparing at least a part of the data patterns included in the CAN message while shifting the abnormality determination data pattern.
When the at least a part of the data pattern and the abnormality determination data pattern include the same data pattern, a control step for controlling switching of the virtual switch means in order to perform processing at the time of vehicle abnormality.
A generation step that generates the abnormality determination data pattern indicating a vehicle abnormality, which may be included in the CAN message, based on the history of a normal CAN message or an abnormal CAN message.
Let the computer run .
上記目的を達成するため、本発明に係る通信処理システムは、
車載通信ネットワークを構成する通信処理システムであって、
前記車載通信ネットワークの仮想ネットワークの中を伝送されるCAN(Controller Area Network)メッセージを収集する収集手段と、
前記収集手段が収集した正常なCANメッセージまたは異常なCANメッセージの履歴に基づいて、前記CANメッセージに含まれる可能性がある、車両異常を示す異常判定データパターンを生成する生成手段と、
前記異常判定データパターンを、前記仮想ネットワークの少なくとも1つの仮想スイッチ手段に設定する設定手段と、
前記伝送されるCANメッセージに含まれる少なくとも一部のデータパターンと前記異常判定データパターンとをシフトしながら比較し、同じデータパターンを含むか否かを判定する判定手段と、
前記少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含む場合に、車両異常時の処理を行うため前記仮想ネットワークにおける前記仮想スイッチ手段のスイッチングを制御する制御手段と、
を備える。
In order to achieve the above object, the communication processing system according to the present invention is
A communication processing system that constitutes an in-vehicle communication network.
A collecting means for collecting CAN (Controller Area Network) messages transmitted in the virtual network of the in-vehicle communication network, and
A generation means for generating an abnormality determination data pattern indicating a vehicle abnormality, which may be included in the CAN message, based on the history of normal CAN messages or abnormal CAN messages collected by the collection means.
A setting means for setting the abnormality determination data pattern in at least one virtual switch means of the virtual network, and a setting means.
A determination means for determining whether or not the same data pattern is included by comparing at least a part of the data pattern included in the transmitted CAN message while shifting the abnormality determination data pattern.
When the at least a part of the data pattern and the abnormality determination data pattern include the same data pattern, a control means for controlling switching of the virtual switch means in the virtual network in order to perform processing at the time of a vehicle abnormality.
To prepare for .
本発明によれば、仮想スイッチにおいてメッセージに含まれるデータの中身を判定してスイッチングを制御することができる。 According to the present invention, it is possible to control switching by determining the content of data included in a message in a virtual switch.
以下に、図面を参照して、本発明の実施の形態について例示的に詳しく説明する。ただし、以下の実施の形態に記載されている構成要素は単なる例示であり、本発明の技術範囲をそれらのみに限定する趣旨のものではない。 Hereinafter, embodiments of the present invention will be described in detail exemplary with reference to the drawings. However, the components described in the following embodiments are merely examples, and the technical scope of the present invention is not intended to be limited thereto.
[第1実施形態]
本発明の第1実施形態としての通信処理装置100について、図1を用いて説明する。通信処理装置100は、車載用の装置である。
[First Embodiment]
The
図1に示すように、通信処理装置100は、設定部101と、判定部102と、制御部103と、を含む。設定部101は、仮想ネットワークの少なくとも1つの仮想スイッチ部110に、受信メッセージを判定する判定データを設定する。判定部102は、受信メッセージに含まれる少なくとも一部のデータと判定データとを比較し、合致するか否かを判定する。制御部103は、判定部102の判定結果に基づいて、仮想スイッチ部110のスイッチングを制御する。
As shown in FIG. 1, the
本実施形態によれば、想ネットワークの少なくとも1つの仮想スイッチに設定された設定データと、受信メッセージのデータとを比較するので、仮想スイッチにおいてメッセージに含まれるデータの中身を判定してスイッチィングを制御することができる。 According to the present embodiment, since the setting data set in at least one virtual switch of the virtual network is compared with the data of the received message, the content of the data included in the message is determined in the virtual switch and switching is performed. Can be controlled.
[第2実施形態]
次に、本発明の第2実施形態に係る通信処理装置を含む車載用の通信処理システムについて説明する。本実施形態に係る通信処理装置を含む車載用の通信処理システムは、IP(Internet Protocol)アドレスで制御されない、例えばCAN(Controller Area Network)メッセージなどにおいて、車載通信ネットワークにおけるメッセージの制御を行なう。すなわち、仮想ネットワークの仮想スイッチにCANメッセージを判定する判定データを設定し、CANメッセージに含まれる少なくとも一部のデータと判定データとを比較し、合致するか否かの判定結果に基づいて、仮想スイッチのスイッチングを制御する
[Second Embodiment]
Next, an in-vehicle communication processing system including the communication processing device according to the second embodiment of the present invention will be described. An in-vehicle communication processing system including a communication processing device according to the present embodiment controls a message in an in-vehicle communication network, for example, in a CAN (Controller Area Network) message that is not controlled by an IP (Internet Protocol) address. That is, the judgment data for judging the CAN message is set in the virtual switch of the virtual network, at least a part of the data included in the CAN message is compared with the judgment data, and the virtual is based on the judgment result of whether or not they match. Control switch switching
本実施形態において、設定データは、正常な受信メッセージまたは異常な受信メッセージの履歴に基づいて生成される。また、仮想ネットワークコントローラから仮想スイッチに設定されるフローテーブルに含まれる。また、仮想スイッチによるスイッチングの制御もフローテーブルに含まれる。そして、スイッチングの制御としては、メッセージの遮断、メッセージのルート変更および他のメッセージ判定の少なくとも1つを含む。 In the present embodiment, the setting data is generated based on the history of normal received messages or abnormal received messages. It is also included in the flow table set in the virtual switch from the virtual network controller. In addition, the control of switching by the virtual switch is also included in the flow table. The control of switching includes at least one of blocking a message, changing a route of a message, and determining another message.
《通信処理システム》
図2~図3Bを参照して、本実施形態の通信処理装置を含む車載用の通信処理システムについて説明する。
<< Communication processing system >>
A vehicle-mounted communication processing system including the communication processing device of the present embodiment will be described with reference to FIGS. 2 to 3B.
(システム表示例)
図2は、本実施形態に係る通信処理装置を含む車載用の通信処理システムにおける表示部210における表示例を示す図である。この表示部210は、例えばカーナビゲーション用の表示画面であってもよい。
(System display example)
FIG. 2 is a diagram showing a display example in the
図2の左図には、本実施形態に係る通信処理装置を含む車載用の通信処理システムにおいて、CANメッセージが正常な範囲内で所定の伝送がされていることを“正常です”というコメント211で表示している。なお、正常時には表示しなくてもよい。
In the left figure of FIG. 2, the
図2の右上図においては、本実施形態に係る通信処理装置を含む車載用の通信処理システムにおいて、CANメッセージが正常でないと判定されて、そのCANメッセージは仮想スイッチから診断部にも送信される。そして、診断部はCANメッセージの状態は異常に直接つながるものでないとの分析で、“近日中に車両検査をしてください”というコメント212を表示している。図2の右下図においては、本実施形態に係る通信処理装置を含む車載用の通信処理システムにおいて、CANメッセージが異常であると判定される。そのCANメッセージは仮想スイッチで遮断されて、仮想スイッチから診断部に送信され、CANメッセージの状態は異常に直接つながるものであるとの分析で、“緊急停止してください”というコメント212を表示している。
In the upper right figure of FIG. 2, in the in-vehicle communication processing system including the communication processing device according to the present embodiment, it is determined that the CAN message is not normal, and the CAN message is also transmitted from the virtual switch to the diagnostic unit. .. Then, the diagnostic department analyzes that the state of the CAN message does not directly lead to an abnormality, and displays a
(システム概要)
図3Aは、本実施形態に係る通信処理装置としての車載ゲートウェイ310を含む車載用の通信処理システム200の概要を示す図である。
(System overview)
FIG. 3A is a diagram showing an outline of an in-vehicle
車載通信ネットワークとしての通信処理システム200には、車載ゲートウェイ310を介してメッセージをやり取りする、例えば、エンジン・駆動系のサブネットワーク、故障診断系のサブネットワーク、情報系のサブネットワーク、ボディ系のサブネットワーク、などが接続されている。これらの通信は、特に、CANメッセージにより行なわれるのは通常である。なお、図3Aの構成要素のそれぞれについては、詳説しない。
The
図3Bは、本実施形態に係る通信処理装置としての車載ゲートウェイ310の概要を示す図である。図3Bは、車載ゲートウェイ310を構成するボード(あるいはチップ)に、どのような外部通信が接続されているかを示している。
FIG. 3B is a diagram showing an outline of an in-
大別して、CANメッセージによるCAN接続311、車載カメラや路車間通信などからのイーサネット(登録商標)通信接続、PCやタブレットなどとのWi-Fi(Wireless-Fidelity)接続、外部通信機器からの基地局を介した3G通信接続、などが含まれる。本実施形態においては、IPアドレスを用いないメッセージ通信の車載ゲートウェイ310による制御である。
Broadly speaking,
《車載ゲートウェイの概要》
図4A~図6を参照して、本実施形態の通信処理装置としての車載ゲートウェイ310の構成および動作の概要を説明する。
<< Overview of in-vehicle gateway >>
An outline of the configuration and operation of the vehicle-mounted
(動作概要)
図4Aは、本実施形態に係る通信処理装置としての車載ゲートウェイ310のログ収集処理および正常状態確立処理の概要を示す図である。
(Outline of operation)
FIG. 4A is a diagram showing an outline of a log collection process and a normal state establishment process of the vehicle-mounted
車載ゲートウェイ310には、本実施形態に関連する機能として、CANログ収集処理、自己学習型異常検出処理(ASI:Automated Security Intelligence)、スイッチング処理(オープンフローコントローラおよびオープンフロースイッチ)、および、UI(User Interface)表示制御処理、が含まれている。
The in-
図4Aは、正常なCAN通信が行なわれている場合を示している。ステップS401におけるCANログ収集処理では、CANのDATA Frame とREMOTE Frame について、NTP(Network Time Protocol)時刻情報とCANメッセージのCANID(CAN Identifier)およびRTR(Remote Transmission request)のbit情報を付与して記録する。ステップS402の自己学習型異常検出処理では、CANフレームをASIが検査して正常状態を確立する。すなわち、自己学習型異常検出処理(ASI)においては、正常状態におけるCANメッセージを収集してその集合から、ある時点の、あるいは、時系列の、正常状態のメッセージパターンを生成する。この正常状態のメッセージパターンと、受信されたCANメッセージの順序やタイミングや内容などを比較して、正常状態のメッセージパターンと所定の閾値以上にずれている場合や、ずれは少ないが異常に繋がる恐れのある場合などを、異常状態として判定するために使用される。 FIG. 4A shows a case where normal CAN communication is performed. In the CAN log collection process in step S401, the DATA Frame and REMOTE Frame of the CAN are recorded by adding NTP (Network Time Protocol) time information and CAN ID (CAN Identifier) and RTR (Remote Transmission request) bit information of the CAN message. do. In the self-learning type abnormality detection process of step S402, the CAN frame is inspected by ASI to establish a normal state. That is, in the self-learning type abnormality detection process (ASI), CAN messages in a normal state are collected and a message pattern in a normal state at a certain point in time or in a time series is generated from the set. By comparing the message pattern in the normal state with the order, timing, contents, etc. of the received CAN messages, if the message pattern in the normal state deviates from the predetermined threshold value or more, or if the deviation is small, it may lead to an abnormality. It is used to judge the case where there is an abnormal state as an abnormal state.
図4Bは、本実施形態に係る通信処理装置としての車載ゲートウェイ310のログ収集処理および異常検出処理を示す図である。
FIG. 4B is a diagram showing a log collection process and an abnormality detection process of the vehicle-mounted
図4Bは、異常なCAN通信が見付かった場合を示している。なお、異常なCANメッセージは、ある1つのCANメッセージの異常に留まらず、複数のCANメッセージの関係や異常に繋がると予想される状態も含む。ステップS412の自己学習型異常検出処理では、CANフレームをASIが検査して確立された正常状態との比較から異常状態を判定する。すなわち、自己学習型異常検出処理(ASI)においては、正常状態のメッセージパターンと、受信されたCANメッセージの順序やタイミングや内容などを比較する。そして、正常状態のメッセージパターンと所定の閾値以上にずれている場合や、ずれは少ないが異常に繋がる恐れのある場合などを、異常状態として判定する。そして、異常を検出した場合には、その異常が致命的な故障に繋がらないように、以降のCANメッセージの監視を、全ての仮想スイッチで行なうか/選択された仮想スイッチで行なうかなどを含めて、スイッチング処理(オープンフローコントローラおよびオープンフロースイッチ)に対して指示する。 FIG. 4B shows the case where an abnormal CAN communication is found. It should be noted that the abnormal CAN message is not limited to the abnormality of one CAN message, but also includes the relationship between a plurality of CAN messages and the state expected to lead to the abnormality. In the self-learning type abnormality detection process in step S412, the CAN frame is inspected by ASI and the abnormal state is determined by comparison with the established normal state. That is, in the self-learning type abnormality detection process (ASI), the message pattern in the normal state is compared with the order, timing, content, and the like of the received CAN messages. Then, a case where the message pattern in the normal state deviates from a predetermined threshold value or more, or a case where the deviation is small but may lead to an abnormality is determined as an abnormal state. When an abnormality is detected, the subsequent CAN message monitoring is performed on all virtual switches / selected virtual switches so that the abnormality does not lead to a fatal failure. Instruct the switching process (open flow controller and open flow switch).
CANメッセージの監視を指示されたスイッチング処理のオープンフローコントローラは、ステップS413において、不正メッセージの通信を警告する。また、オープンフローコントローラは、オープンフロープロトコルに従って、CANメッセージを監視して以後の経路を制御する監視用データを含むフローテーブルを生成してオープンフロースイッチに対して設定する。オープンフロースイッチは、ステップS414において、オープンフローコントローラから設定されたフローテーブルに従って、CANメッセージのデータを監視用データにより監視して不正メッセージか否かを判定する。不正メッセージを受信したと判定した場合には、その不正メッセージを自己学習型異常検出処理に通知すると共に、ステップS415において、UI表示制御処理によって異常内容を運転手に提示する。 The OpenFlow controller of the switching process instructed to monitor the CAN message warns of the communication of the invalid message in step S413. In addition, the OpenFlow controller generates a flow table containing monitoring data that monitors CAN messages and controls subsequent routes according to the OpenFlow protocol, and sets it for the OpenFlow switch. In step S414, the OpenFlow switch monitors the CAN message data with the monitoring data according to the flow table set from the OpenFlow controller, and determines whether or not the message is an invalid message. When it is determined that the illegal message has been received, the illegal message is notified to the self-learning type abnormality detection process, and in step S415, the error content is presented to the driver by the UI display control process.
《車載ゲートウェイの機能構成》
図5は、本実施形態に係る通信処理装置としての車載ゲートウェイ310の機能構成を示す図である。
<< Functional configuration of in-vehicle gateway >>
FIG. 5 is a diagram showing a functional configuration of an in-
車載ゲートウェイ310は、仮想ネットワーク部501と、通信ログ収集部502と、自己学習型異常検出処理部503と、異常情報収集部504と、異常情報表示指示部505と、を備える。
The vehicle-mounted
仮想ネットワーク部501は、仮想ネットワークコントローラ511と、仮想ネットワークスイッチ512とを有し、車載通信ネットワークを伝送されるメッセージの経路をソフトウェアにより制御する。通信ログ収集部502は、仮想ネットワークスイッチ512を通過するメッセージ、本例ではCANメッセージを通信ログとして収集する。なお、CANメッセージの収集も、仮想ネットワークスイッチ512におけるフローテーブルの設定により簡単の通信ログ収集部502に転送することができる。
The
自己学習型異常検出処理部503は、通信ログ学習部531と、通信ログデータベース532と、異常処理設定部533と、を有する。通信ログ学習部531は、通信ログデータベース532に収集されたCAN通信ログに基づいて、正常状態を確立すると共に、正常状態に基づいて異常状態あるいは異常予兆状態を判定する。異常処理設定部533は、通信ログ学習部531における通信ログの分析で異常が発生した、あるいは、異常が発生しそうな場合に、観察すべきCANメッセージを仮想ネットワークスイッチ512に監視させるべく、仮想ネットワークコントローラ511に指示する。
The self-learning type abnormality
異常情報収集部504は、仮想ネットワークスイッチ512がCANメッセージの監視により、異常があると判定した場合の異常情報を収集する。なお、異常情報の収集は、仮想ネットワークスイッチ512から直接であっても、仮想ネットワークコントローラ511を経由したものであってもよい。異常情報表示指示部505は、異常処理設定部533からの異常予測、あるいは、異常情報収集部504からの異常情報を表示するように、例えばカーナビゲーションなどの、異常報知装置に指示する。
The abnormality
(動作シーケンス)
図6は、本実施形態に係る通信処理装置としての車載ゲートウェイ310の動作手順を示すシーケンス図である。
(Operation sequence)
FIG. 6 is a sequence diagram showing an operation procedure of the vehicle-mounted
仮想ネットワークスイッチ512は、ステップS601において、CANメッセージを受信し、通信ログ収集部502を介して、ASI503に送信する。なお、破線は仮想ネットワークコントローラ511に通知してもよいことを示している。ASI503は、ステップS603において、ログ情報を蓄積する。そして、ASI503は、ステップS605において、蓄積されたログ情報を参照して、正常状態におけるCANメッセージの内容を確立する。
In step S601, the
仮想ネットワークスイッチ512は、ステップS611において、CANメッセージを受信し、通信ログ収集部502を介して、ASI503に送信する。ASI503は、ステップS613において、ログ情報を蓄積する。そして、ASI503は、ステップS615において、収集したCANメッセージに正常状態との相違があるかを判定する。
In step S611, the
正常状態との相違により異常状態、あるいは、異常予兆があると判定した場合、ASI503は、ステップS617において、異常動作を判定するための処理を仮想ネットワーク部501が実施するように指示する。仮想ネットワークコントローラ511は、ステップS619において、異常動作を判定するためのフローテーブルを生成して、仮想ネットワークスイッチ512に送る。仮想ネットワークスイッチ512は、ステップS621において、異常動作を判定するためのフローテーブルを設定する。
When it is determined that there is an abnormal state or a sign of an abnormality due to a difference from the normal state, the
仮想ネットワークスイッチ512は、ステップS631において、CANメッセージを受信する。仮想ネットワークスイッチ512は、ステップS633において、フローテーブルの設定により、CANメッセージの内容を検査して正常か異常かを判定する。正常の場合は、ステップS601やS611のように、受信したCANメッセージを通常の処理により通信ログ収集部502を介して、ASI503に送信する。一方、異常の判定があれば、仮想ネットワークスイッチ512は、ステップS635において、異常情報を含むログ情報をASI503に送信する共に、図示しない異常情報収集部504に送信する。
The
(自己学習型異常検出処理部の機能構成)
図7Aは、本実施形態に係る自己学習型異常検出処理部503の機能構成を示す図である。なお、図7Aにおいて、図5と同様の構成要素には同じ参照番号を付して、重複する説明を省略する。
(Functional configuration of self-learning type abnormality detection processing unit)
FIG. 7A is a diagram showing a functional configuration of the self-learning type abnormality
自己学習型異常検出処理部503は、通信制御部701と、通信ログ受信部702と、通信ログ学習部531に含まれる通信ログ解析部703と、異常判定部705と、を備える。通信制御部701は、通信ログ収集部502からの通信ログの受信、および、仮想ネットワーク部501や異常情報表示指示部505への情報の送信、を制御する。通信ログ受信部702は、通信制御部701を介して通信ログ収集部502から通信ログを受信する。
The self-learning type abnormality
通信ログ解析部703は、通信ログデータベース532に蓄積された通信ログを解析して、本実施形態においては、異常判定用のデータを生成して異常判定用データベース704に格納する。異常判定用データベース704は、異常判定部705が通信ログのCANメッセージに異常があるか否かを判定するための異常判定用データ、および、異常と判定した場合の処理を格納する。異常判定部705は、異常判定用データベース704に格納された異常判定用データに基づいてCANメッセージの異常を判定すると共に、異常と判定された場合に、異常判定用データベース704に格納された異常処理データに基づいて、異常処理設定部533に異常判定後の処理を選定する。
The communication
(通信ログデータベース)
図7Bは、本実施形態に係る通信ログデータベース532の構成を示す図である。通信ログデータベース532は、仮想ネットワークスイッチ512から通信ログ収集部502を介して受信さえた、通信ログを蓄積するために使用される。
(Communication log database)
FIG. 7B is a diagram showing the configuration of the
通信ログデータベース532は、CANメッセージの受信時刻711と、CANID712と、フレーム種類713と、フレームデータ714と,を格納する。受信時刻711は、一般的なNTPで得られる時刻情報とする。CANID712は、CANメッセージのArbitration FieldのIdentifierから得られる。また、フレーム種類713は、RTRのビットから得られる。また、図7Bでは、フレームデータ714として標準フォーマットを示したが、拡張フォーマットであってもよい。
The
(異常判定データベース)
図7Cは、本実施形態に係る異常判定用データベース704の構成を示す図である。異常判定用データベース704は、異常判定部705により、CANメッセージの異常を判定する異常判定テーブル720と、その判定結果から処理を選択するために使用される異常処理テーブル730とを有する。
(Abnormality judgment database)
FIG. 7C is a diagram showing the configuration of the
異常判定テーブル720は、メッセージ種類(内容や送信元、送信先を含む)721に対応して、何を判定するかの判定内容ID722と、その場合の正常状態723と、異常判定条件724と、を記憶する。正常状態723の情報には、例えば、メッセージ内容、メッセージ履歴、他メッセージとの関係(タイミングなど)、などが含まれる。異常判定条件724には、相違点、同一点、それらを勘案した異常可能性などの基準などが含まれる。
The abnormality determination table 720 includes a
異常処理テーブル730は、異常と判定された異常判定ID731に対応付けて、異常判定結果732、異常種類733、異常発生予測(予兆)734、そして、異常判定情報735を記憶する。異常種類733としては、例えば、CANメッセージのタイミングのずれ、所定時間に伝送されるデータ量の多さ、CANメッセージの宛先ミス、などが含まれる。さらに、CANメッセージのプロトコルに従う順序が標準と異なるなども含まれる。異常判定情報735には、異常判定用データと共に、異常種類などの対応する異常判定後の処理が記憶される。例えば、異常判定後の処理には、CANメッセージの送信遮断、伝送ルートの変更、他のメッセージの判定、などが含まれる。伝送ルートの変更には、ASI503や異常情報表示指示部505への伝送も含まれる。
The abnormality processing table 730 stores the
(仮想ネットワークコントローラの機能構成)
図8Aは、本実施形態に係る仮想ネットワークコントローラ511の機能構成を示す図である。
(Functional configuration of virtual network controller)
FIG. 8A is a diagram showing a functional configuration of the
仮想ネットワークコントローラ511は、通信制御部801と、異常判定情報取得部802と、異常判定処理フルーテーブル生成部803と、オープンフロー制御部804と、新規ルーティング生成部805と、オプションとして、異常情報受信部806と、異常情報送信部807と、を備える。
The
通信制御部801は、ASI503の異常処理設定部533、および、異常情報収集部504との通信を制御する。異常判定情報取得部802は、異常処理設定部533から異常判定情報を取得する。異常判定処理フルーテーブル生成部803は、フローテーブル生成テーブル831を有し、異常判定情報に基づいて仮想ネットワークスイッチ512に設定すべきフローテーブルを生成する。なお、本来は異常でない場合のフローテーブルの設定も行なうが、図8Aでは省略されている。
The
オープンフロー制御部804は、仮想ネットワークスイッチ512とのコマンドやデータのやり取りを制御する。新規ルーティング生成部805は、仮想ネットワークスイッチ512に設定されたフローテーブルに合致しないCANメッセージを受信して、新規なルーティングを生成する。異常情報受信部806は、仮想ネットワークスイッチ512から異常情報を受信し、異常情報送信部807は、異常情報収集部504に送信する。
The open
(フローテーブル生成テーブル)
図8Bは、本実施形態に係るフローテーブル生成テーブル831の構成を示す図である。フローテーブル生成テーブル831は、異常判定情報に含まれる異常判定結果の情報と、異常判定に基づいて今後どの処理(監視)を行なうかの情報とに基づいて、CANメッセージの内容を監視する設定データを含む適正なフローテーブルを生成するために使用される。
(Flow table generation table)
FIG. 8B is a diagram showing the configuration of the flow table generation table 831 according to the present embodiment. The flow table generation table 831 is set data for monitoring the contents of the CAN message based on the information of the abnormality determination result included in the abnormality determination information and the information of which process (monitoring) will be performed in the future based on the abnormality determination. Used to generate a proper flow table containing.
フローテーブル生成テーブル831は、フローテーブルID811に対応付けて、生成するフローテーブルデータ812を記憶する。フローテーブルデータ812には、CANIDに対して、アクション情報として、異常判定データ、異常時の処理、異常CANメッセージの送信先などが記憶される。このフローテーブルが設定された場合に、CANIDによって監視すべきCANメッセージであることが分かると、CANメッセージのデータの観察が必要な少なくとも一部と、異常判定データとを比較して合致するか否かを判定する。合致すればCANメッセージに異常あり、あるいは、異常に繋がる恐れがあるとして、異常時の処理を実行する。そして、異常CANメッセージを送るべき送信先があればそれを設定する。
The flow table generation table 831 stores the
(仮想ネットワークスイッチの機能構成)
図9Aは、本実施形態に係る仮想ネットワークスイッチ512の機能構成を示す図である。
(Functional configuration of virtual network switch)
FIG. 9A is a diagram showing a functional configuration of the
仮想ネットワークスイッチ512は、オープンフロー制御部901と、フローテーブル格納部902と、メッセージ判定部903と、オープンフロースイッチ部904と、異常判定部905と、異常処理実行部906と、正常メッセージ送信部907と、を備える。
The
オープンフロー制御部901は、仮想ネットワークコントローラ511とのコマンドおよびデータのやり取りを制御する。フローテーブル格納部902は、仮想ネットワークコントローラ511から送信されたフローテーブルを格納する。メッセージ判定部903は、CANメッセージに含まれるCANIDをフローテーブルに設定されたCANIDと比較して、監視すべきCANメッセージか否かを判定する。フローテーブル格納部902に対応するフローテーブルが無ければ、仮想ネットワークコントローラ511に送って再ルーティングを要請する。オープンフロースイッチ部904は、CANメッセージの送受信をスイッチングする。
The open flow control unit 901 controls the exchange of commands and data with the
異常判定部905は、監視すべきCANメッセージである場合に、フローテーブルの異常判定テーブルとCANメッセージの少なくとも一部を比較して合致するか否かを判定する。なお、判定方法は判定領域全体をシフトしながら同じデータパターンがあるかを判定する方法や、決められた領域を比較する方法などが含まれる。異常処理実行部906は、異常判定部905の判定の結果、異常があると判定された場合に、フローテーブルの異常時の処理や送信先などに基づいて、異常時の処理を実行する。正常メッセージ送信部907は、異常判定部905が正常であると判定した場合に、そのCANメッセージに対して通常の送信を行なう。
When the CAN message to be monitored is a CAN message to be monitored, the
(フローテーブル格納部)
図9Bは、本発明の第2実施形態に係るフローテーブル格納部902の構成を示す図である。フローテーブル格納部902にはフローテーブルが格納されて、受信した各CANメッセージに対して、仮想ネットワークスイッチ512によるスイッチングを判定するために使用される。
(Flow table storage)
FIG. 9B is a diagram showing the configuration of the flow
フローテーブル格納部902は、フローテーブルID911に対応付けて、フローテーブルデータとなるCANID912とアクション情報913と、使用されないフローテーブルを削除する削除用タイマ914と、を格納する。なお、フローテーブルデータの構成は、図8Bのフローテーブルデータ812と同様であるので、重複する説明を省略する。
The flow
《車載ゲートウェイの処理手順》
図10は、本実施形態に係る通信処理装置としての車載ゲートウェイ310の処理手順を示すフローチャートである。このグローチャートは、車載ゲートウェイ310のプロセッサがメモリを使用して実行し、図5に機能構成部を実現する。なお、車載ゲートウェイ310を構成する機能構成部が単独でプロセッサを有する構成であってもよく、その場合には各機能構成部のプロセッサにより実行される。ただし、以下の説明では説明が煩雑になるので、車載ゲートウェイ310が実行主体として説明する。
<< Processing procedure of in-vehicle gateway >>
FIG. 10 is a flowchart showing a processing procedure of the vehicle-mounted
車載ゲートウェイ310は、ステップS1001において、CANログ収集処理を実行する。車載ゲートウェイ310は、ステップS1003において、正常状態確立処理を実行する。車載ゲートウェイ310は、ステップS1005において、異常判定処理を実行する。車載ゲートウェイ310は、ステップS1007において、処理の終了か否かを判定して、終了でなければステップS1001に戻って、処理を継続する。
The vehicle-mounted
(ログ収集処理)
図11Aは、本実施形態に係るログ収集処理(S1001)の手順を示すフローチャートである。
(Log collection process)
FIG. 11A is a flowchart showing the procedure of the log collection process (S1001) according to the present embodiment.
車載ゲートウェイ310は、ステップS1111において、ECU(Electronic Control Unit)からのCANメッセージの受信を待つ。CANメッセージの受信があれば、車載ゲートウェイ310は、ステップS1113において、CANログ収集部でCANメッセージをキャプチャする。そして、車載ゲートウェイ310は、ステップS1115において、CANログ収集部がASIにCANログを送信する。
The vehicle-mounted
(正常状態確立処理)
図11Bは、本実施形態に係る正常状態確立処理(S1003)の手順を示すフローチャートである。
(Normal state establishment process)
FIG. 11B is a flowchart showing the procedure of the normal state establishment process (S1003) according to the present embodiment.
車載ゲートウェイ310は、ステップS1121において、CANログ収集部からのログ送信を待つ。CANログ収集部からのログ送信があれば、車載ゲートウェイ310は、ステップS1123において、機械学習により正常状態を確立する。
The vehicle-mounted
(異常判定処理)
図11Cは、本実施形態に係る異常判定処理(S1005)の手順を示すフローチャートである。
(Abnormality judgment processing)
FIG. 11C is a flowchart showing the procedure of the abnormality determination process (S1005) according to the present embodiment.
車載ゲートウェイ310は、ステップS1131において、CANログ収集部からのログ送信を待つ。CANログ収集部からのログ送信があれば、車載ゲートウェイ310は、ステップS1133において、異常を認識したか否かを判定する。異常を認識した場合、車載ゲートウェイ310は、ステップS1135において、仮想ネットワークコントローラ511に対して異常の発生を連絡すると共に、CANメッセージを監視するための情報を送信する。一方、異常を認識しなかった場合、車載ゲートウェイ310は、ステップS1137において、機械学習による正常状態を更新する処理を行なう。
The vehicle-mounted
(仮想ネットワークの手順)
図12は、本実施形態に係る異常判定処理(S1005)における仮想ネットワークの手順を示すフローチャートである。
(Procedure for virtual network)
FIG. 12 is a flowchart showing the procedure of the virtual network in the abnormality determination process (S1005) according to the present embodiment.
仮想ネットワークコントローラ511は、ステップS1211において、ASIからの異常の連絡を待つ。異常の連絡があれば、仮想ネットワークコントローラ511は、ステップS1213において、対応するフローテーブルを生成して仮想ネットワークスイッチ512に送信する。そして、仮想ネットワークコントローラ511は、ステップS1215において、UI表示制御部に異常の表示を連絡する。
The
仮想ネットワークスイッチ512は、ステップS1221において、仮想ネットワークコントローラ511からの異常判定処理のフローテーブルを待つ。仮想ネットワークコントローラ511がステップS1213において送信したフローテーブルを受信すると、仮想ネットワークスイッチ512は、ステップS1223において、フローテーブルを更新して、異常判定によるスイッチング制御を開始する。
In step S1221, the
本実施形態によれば、車載ゲートウェイにおいて、収集されたCANメッセージの正常状態の確立に伴って設定された設定データと、CANメッセージのデータとの比較に基づいてCANメッセージの伝送を仮想スイッチにおいてスイッチング制御するので、異常あるいは異常予兆を迅速および正確に判定し、適正な処理を行なうことができる。 According to the present embodiment, in the vehicle-mounted gateway, the transmission of the CAN message is switched in the virtual switch based on the comparison between the setting data set according to the establishment of the normal state of the collected CAN message and the CAN message data. Since it is controlled, it is possible to quickly and accurately determine an abnormality or a sign of an abnormality and perform appropriate processing.
[第3実施形態]
次に、本発明の第3実施形態に係る通信処理装置を含む車載用の通信処理システムについて説明する。本実施形態に係る通信処理装置を含む車載用の通信処理システムは、上記第2実施形態がメッセージに対する制御をそれぞれ単独に行なっていたのと比較して、対象のメッセージに関連するメッセージや異常あるいは異常予兆に関連するメッセージを含む複数のメッセージについて、それぞれの設定データに基づいて各スイッチングを制御する点で異なる。すなわち、本実施形態においては、正常な受信メッセージまたは異常な受信メッセージの履歴に関連して、複数の仮想スイッチに複数の前記設定データを設定する。その他の構成および動作は、第2実施形態と同様であるため、同じ構成および動作については同じ符号を付してその詳しい説明を省略する。
[Third Embodiment]
Next, an in-vehicle communication processing system including the communication processing device according to the third embodiment of the present invention will be described. The vehicle-mounted communication processing system including the communication processing device according to the present embodiment has a message, an abnormality, or an abnormality related to the target message, as compared with the case where the second embodiment controls the message independently. It differs in that each switching is controlled based on each setting data for a plurality of messages including a message related to an abnormality sign. That is, in the present embodiment, a plurality of the setting data are set in the plurality of virtual switches in relation to the history of the normal received message or the abnormal received message. Since other configurations and operations are the same as those in the second embodiment, the same configurations and operations are designated by the same reference numerals and detailed description thereof will be omitted.
(異常判定テーブル)
図13は、本実施形態に係る異常判定用データベース704の異常処理テーブル1330の構成を示す図である。なお、図13において、図7Cと同様の構成要素には同じ参照番号を付して、重複する説明を省略する。
(Abnormality judgment table)
FIG. 13 is a diagram showing the configuration of the abnormality handling table 1330 of the
異常判定情報1335は、それぞれの異常判定ID731に対して複数あり、あるCANメッセージの異常に対応して、複数の処理を組み合わせることにより、より迅速な、かつ、異常の拡大を未然に防ぐことができる。
There are a plurality of abnormality determination information 1335s for each
(仮想ネットワークの手順)
図14は、本実施形態に係る異常判定処理(S1005)における仮想ネットワークの手順を示すフローチャートである。図14において、図12と同様のステップには同じステップ番号を付して、重複する説明を省略する。
(Procedure for virtual network)
FIG. 14 is a flowchart showing the procedure of the virtual network in the abnormality determination process (S1005) according to the present embodiment. In FIG. 14, the same steps as in FIG. 12 are assigned the same step numbers, and duplicate description is omitted.
ASIから異常の連絡があれば、仮想ネットワークコントローラ511は、ステップS1413において、複数のCANメッセージに対応する複数種類のフローテーブルを生成して、それぞれの仮想ネットワークスイッチ512に送信する。
If there is an abnormality notification from the ASI, the
本実施形態によれば、車載用の通信処理システムにおける複雑なメッセージ発生や伝送を総体的に解析した結果からメッセージ間の関連を考慮した異常判定あるいは異常予兆判定ができる。 According to the present embodiment, it is possible to perform an abnormality determination or an abnormality sign determination in consideration of the relationship between messages from the result of comprehensively analyzing complicated message generation and transmission in an in-vehicle communication processing system.
[他の実施形態]
以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。また、それぞれの実施形態に含まれる別々の特徴を如何様に組み合わせたシステムまたは装置も、本発明の範疇に含まれる。
[Other embodiments]
Although the invention of the present application has been described above with reference to the embodiments, the invention of the present application is not limited to the above-described embodiment. Various changes that can be understood by those skilled in the art can be made within the scope of the present invention in terms of the configuration and details of the present invention. Also included in the scope of the present invention are systems or devices in which the different features contained in each embodiment are combined in any way.
また、本発明は、複数の機器から構成されるシステムに適用されてもよいし、単体の装置に適用されてもよい。さらに、本発明は、実施形態の機能を実現する通信処理プログラムが、システムあるいは装置に直接あるいは遠隔から供給される場合にも適用可能である。したがって、本発明の機能をコンピュータで実現するために、コンピュータにインストールされるプログラム、あるいはそのプログラムを格納した媒体、そのプログラムをダウンロードさせるWWW(World Wide Web)サーバも、本発明の範疇に含まれる。特に、少なくとも、上述した実施形態に含まれる処理ステップをコンピュータに実行させるプログラムを格納した非一時的コンピュータ可読媒体(non-transitory computer readable medium)は本発明の範疇に含まれる。 Further, the present invention may be applied to a system composed of a plurality of devices, or may be applied to a single device. Furthermore, the present invention is also applicable when the communication processing program that realizes the functions of the embodiment is supplied directly or remotely to the system or device. Therefore, in order to realize the functions of the present invention on a computer, a program installed on the computer, a medium containing the program, and a WWW (World Wide Web) server for downloading the program are also included in the scope of the present invention. .. In particular, at least a non-transitory computer readable medium containing a program for causing a computer to execute the processing steps included in the above-described embodiment is included in the scope of the present invention.
Claims (8)
受信されたCAN(Controller Area Network)メッセージに車両異常を示すデータパターンが含まれているかを判定するための異常判定データパターンを、仮想ネットワークの少なくとも1つの仮想スイッチ手段に設定する設定手段と、
CANメッセージに含まれる少なくとも一部のデータパターンと前記異常判定データパターンとをシフトしながら比較し、同じデータパターンを含むか否かを判定するデータパターン判定手段と、
前記少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含む場合に、車両異常時の処理を行うため前記仮想スイッチ手段のスイッチングを制御する制御手段と、
正常なCANメッセージまたは異常なCANメッセージの履歴に基づいて、前記CANメッセージに含まれる可能性がある、車両異常を示す前記異常判定データパターンを生成する生成手段と、
を備える通信処理装置。 A communication processing device included in an in-vehicle communication network.
A setting means for setting an abnormality determination data pattern for determining whether a received CAN (Controller Area Network) message contains a data pattern indicating a vehicle abnormality in at least one virtual switch means of the virtual network, and a setting means.
A data pattern determination means for determining whether or not the same data pattern is included by comparing at least a part of the data patterns included in the CAN message while shifting the abnormality determination data pattern.
When the at least a part of the data pattern and the abnormality determination data pattern include the same data pattern, a control means for controlling switching of the virtual switch means in order to perform processing at the time of a vehicle abnormality.
A generation means for generating the abnormality determination data pattern indicating a vehicle abnormality, which may be included in the CAN message, based on the history of a normal CAN message or an abnormal CAN message.
A communication processing device.
前記CANメッセージに含まれるCANメッセージ識別子と前記異常メッセージ識別子とを比較し、合致するか否かを判定するメッセージ判定手段、を更に備え、
前記データパターン判定手段は、前記CANメッセージ識別子と前記異常メッセージ識別子とが合致する場合に、前記CANメッセージの少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含むか否かを判定する請求項1に記載の通信処理装置。 The setting means further sets an abnormal message identifier that identifies a CAN message that is predicted to contain an abnormality.
Further provided with a message determination means for comparing the CAN message identifier included in the CAN message with the abnormal message identifier and determining whether or not they match.
When the CAN message identifier and the abnormality message identifier match, the data pattern determining means determines whether or not the data pattern of at least a part of the CAN message and the abnormality determination data pattern include the same data pattern . The communication processing device according to claim 1.
前記設定手段が設定する前記異常判定データパターンと、前記仮想スイッチ手段による前記車両異常時の処理の内容とは、前記仮想ネットワークに含まれる仮想ネットワークコントローラから前記仮想スイッチ手段に設定されるフローテーブルに含まれる、請求項1に記載の通信処理装置。 The data pattern determination means and the control means are included in the virtual switch means, and the data pattern determination means and the control means are included in the virtual switch means.
The abnormality determination data pattern set by the setting means and the content of the processing at the time of the vehicle abnormality by the virtual switch means are described in a flow table set in the virtual switch means from the virtual network controller included in the virtual network. The communication processing device according to claim 1, which is included.
受信されたCAN(Controller Area Network)メッセージに車両異常を示すデータパターンが含まれているかを判定するための異常判定データパターンを、仮想ネットワークの少なくとも1つの仮想スイッチ手段に設定する設定ステップと、
CANメッセージに含まれる少なくとも一部のデータパターンと前記異常判定データパターンとをシフトしながら比較し、同じデータパターンを含むか否かを判定するデータパターン判定ステップと、
前記少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含む場合に、車両異常時の処理を行うため前記仮想スイッチ手段のスイッチングを制御する制御ステップと、
正常なCANメッセージまたは異常なCANメッセージの履歴に基づいて、前記CANメッセージに含まれる可能性がある、車両異常を示す前記異常判定データパターンを生成する生成ステップと、
を含む通信処理方法。 It is a communication processing method of a communication processing device included in an in-vehicle communication network.
A setting step for setting an abnormality determination data pattern for determining whether a received CAN (Controller Area Network) message contains a data pattern indicating a vehicle abnormality in at least one virtual switch means of the virtual network, and a setting step.
A data pattern determination step of determining whether or not the same data pattern is included by comparing at least a part of the data patterns included in the CAN message while shifting the abnormality determination data pattern.
When the at least a part of the data pattern and the abnormality determination data pattern include the same data pattern, a control step for controlling switching of the virtual switch means in order to perform processing at the time of vehicle abnormality.
A generation step that generates the abnormality determination data pattern indicating a vehicle abnormality, which may be included in the CAN message, based on the history of a normal CAN message or an abnormal CAN message.
Communication processing method including .
受信されたCAN(Controller Area Network)メッセージに車両異常を示すデータパターンが含まれているかを判定するための異常判定データパターンを、仮想ネットワークの少なくとも1つの仮想スイッチ手段に設定する設定ステップと、
CANメッセージに含まれる少なくとも一部のデータパターンと前記異常判定データパターンとをシフトしながら比較し、同じデータパターンを含むか否かを判定するデータパターン判定ステップと、
前記少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含む場合に、車両異常時の処理を行うため前記仮想スイッチ手段のスイッチングを制御する制御ステップと、
正常なCANメッセージまたは異常なCANメッセージの履歴に基づいて、前記CANメッセージに含まれる可能性がある、車両異常を示す前記異常判定データパターンを生成する生成ステップと、
をコンピュータに実行させる通信処理プログラム。 A communication processing program executed by a communication processing device included in an in-vehicle communication network.
A setting step for setting an abnormality determination data pattern for determining whether a received CAN (Controller Area Network) message contains a data pattern indicating a vehicle abnormality in at least one virtual switch means of the virtual network, and a setting step.
A data pattern determination step of determining whether or not the same data pattern is included by comparing at least a part of the data patterns included in the CAN message while shifting the abnormality determination data pattern.
When the at least a part of the data pattern and the abnormality determination data pattern include the same data pattern, a control step for controlling switching of the virtual switch means in order to perform processing at the time of vehicle abnormality.
A generation step that generates the abnormality determination data pattern indicating a vehicle abnormality, which may be included in the CAN message, based on the history of a normal CAN message or an abnormal CAN message.
A communication processing program that causes a computer to execute.
前記車載通信ネットワークの仮想ネットワークの中を伝送されるCAN(Controller Area Network)メッセージを収集する収集手段と、
前記収集手段が収集した正常なCANメッセージまたは異常なCANメッセージの履歴に基づいて、前記CANメッセージに含まれる可能性がある、車両異常を示す異常判定データパターンを生成する生成手段と、
前記異常判定データパターンを、前記仮想ネットワークの少なくとも1つの仮想スイッチ手段に設定する設定手段と、
前記伝送されるCANメッセージに含まれる少なくとも一部のデータパターンと前記異常判定データパターンとをシフトしながら比較し、同じデータパターンを含むか否かを判定する判定手段と、
前記少なくとも一部のデータパターンと前記異常判定データパターンとが同じデータパターンを含む場合に、車両異常時の処理を行うため前記仮想ネットワークにおける前記仮想スイッチ手段のスイッチングを制御する制御手段と、
を備える通信処理システム。 A communication processing system that constitutes an in-vehicle communication network.
A collecting means for collecting CAN (Controller Area Network) messages transmitted in the virtual network of the in-vehicle communication network, and
A generation means for generating an abnormality determination data pattern indicating a vehicle abnormality, which may be included in the CAN message, based on the history of normal CAN messages or abnormal CAN messages collected by the collection means.
A setting means for setting the abnormality determination data pattern in at least one virtual switch means of the virtual network, and a setting means.
A determination means for determining whether or not the same data pattern is included by comparing at least a part of the data pattern included in the transmitted CAN message while shifting the abnormality determination data pattern.
When the at least a part of the data pattern and the abnormality determination data pattern include the same data pattern, a control means for controlling switching of the virtual switch means in the virtual network in order to perform processing at the time of a vehicle abnormality.
Communication processing system equipped with.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016069328A JP6992959B2 (en) | 2016-03-30 | 2016-03-30 | Communication processing system, communication processing device, communication processing method and communication processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016069328A JP6992959B2 (en) | 2016-03-30 | 2016-03-30 | Communication processing system, communication processing device, communication processing method and communication processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017184052A JP2017184052A (en) | 2017-10-05 |
| JP6992959B2 true JP6992959B2 (en) | 2022-01-13 |
Family
ID=60006539
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016069328A Active JP6992959B2 (en) | 2016-03-30 | 2016-03-30 | Communication processing system, communication processing device, communication processing method and communication processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6992959B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6904861B2 (en) * | 2017-09-13 | 2021-07-21 | キヤノン株式会社 | Communication equipment, control methods and programs |
| US11929998B2 (en) | 2018-03-28 | 2024-03-12 | Nec Corporation | Control apparatus, in-vehicle communication system, communication control method and program |
| US20210400452A1 (en) * | 2019-01-10 | 2021-12-23 | Nec Communication Systems, Ltd. | In-vehicle control apparatus, in-vehicle network design apparatus, communication method, and program |
| JP7674234B2 (en) * | 2021-12-27 | 2025-05-09 | 国立大学法人東海国立大学機構 | In-vehicle device, program, and information processing method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010191693A (en) | 2009-02-18 | 2010-09-02 | Nippon Telegr & Teleph Corp <Ntt> | Electronic mail transmission host classification system, electronic mail transmission host classification method, and program therefor |
| JP2014535252A (en) | 2011-11-15 | 2014-12-25 | ニシラ, インコーポレイテッド | Network architecture with middlebox |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009042867A (en) * | 2007-08-07 | 2009-02-26 | Fujitsu Ten Ltd | Network system, recording device, and electronic control device |
| JP5423736B2 (en) * | 2011-07-28 | 2014-02-19 | 株式会社デンソー | Gateway device |
| JP6099381B2 (en) * | 2012-12-10 | 2017-03-22 | 三菱電機株式会社 | In-vehicle device |
-
2016
- 2016-03-30 JP JP2016069328A patent/JP6992959B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010191693A (en) | 2009-02-18 | 2010-09-02 | Nippon Telegr & Teleph Corp <Ntt> | Electronic mail transmission host classification system, electronic mail transmission host classification method, and program therefor |
| JP2014535252A (en) | 2011-11-15 | 2014-12-25 | ニシラ, インコーポレイテッド | Network architecture with middlebox |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017184052A (en) | 2017-10-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6992959B2 (en) | Communication processing system, communication processing device, communication processing method and communication processing program | |
| JP6879294B2 (en) | Plant management system, plant management method, plant management equipment, and plant management program | |
| JP5423677B2 (en) | Failure analysis apparatus, computer program, and failure analysis method | |
| CN103250110A (en) | Industrial self-iagnostic device | |
| JP6969371B2 (en) | Control system and control unit | |
| EP3048790A1 (en) | Video monitoring system and video display method | |
| US10303160B2 (en) | Numerical control system and numerical controller having display switching function | |
| JP6116748B6 (en) | Server device, program, recording medium, and method for recovery work management in ship | |
| JP4697484B2 (en) | PLC system | |
| JP2006072988A5 (en) | ||
| JP2016173622A (en) | Information processing system | |
| JP2011254179A (en) | Network analysis support device, network analysis support method, and program | |
| CN110999313B (en) | Management device, management system, management method, and management program | |
| JP3551481B2 (en) | Router device test method and router test device | |
| JPWO2016157507A1 (en) | Redundant system and communication unit | |
| JP6419010B2 (en) | Network monitoring apparatus, network monitoring method and program | |
| CN104378246A (en) | Network equipment fault positioning system, method and device | |
| JP4773978B2 (en) | Route search device, route search program, route search method, and route search system | |
| KR101701937B1 (en) | Control apparatus with multi-communication controller | |
| CN118884893B (en) | Automatic ingot passing control system, control method, equipment and storage medium | |
| WO2014083646A1 (en) | Programmable indicator and program | |
| JP4730211B2 (en) | Data processing apparatus and data processing method | |
| CN113934600B (en) | Health monitoring system and method under multi-place multi-center architecture | |
| CN120692211A (en) | Data processing method and related device | |
| JP2009237876A (en) | Network management integrating apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190213 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191108 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191114 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200106 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20200602 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200902 |
|
| C60 | Trial request (containing other claim documents, opposition documents) |
Free format text: JAPANESE INTERMEDIATE CODE: C60 Effective date: 20200902 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20200911 |
|
| C21 | Notice of transfer of a case for reconsideration by examiners before appeal proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C21 Effective date: 20200915 |
|
| A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20201106 |
|
| C211 | Notice of termination of reconsideration by examiners before appeal proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C211 Effective date: 20201110 |
|
| C22 | Notice of designation (change) of administrative judge |
Free format text: JAPANESE INTERMEDIATE CODE: C22 Effective date: 20210511 |
|
| C22 | Notice of designation (change) of administrative judge |
Free format text: JAPANESE INTERMEDIATE CODE: C22 Effective date: 20210629 |
|
| C13 | Notice of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: C13 Effective date: 20210720 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210916 |
|
| C23 | Notice of termination of proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C23 Effective date: 20211005 |
|
| C03 | Trial/appeal decision taken |
Free format text: JAPANESE INTERMEDIATE CODE: C03 Effective date: 20211109 |
|
| C30A | Notification sent |
Free format text: JAPANESE INTERMEDIATE CODE: C3012 Effective date: 20211109 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211202 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6992959 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |