JP6490879B2 - Information processing apparatus and information processing method - Google Patents
Information processing apparatus and information processing method Download PDFInfo
- Publication number
- JP6490879B2 JP6490879B2 JP2018554882A JP2018554882A JP6490879B2 JP 6490879 B2 JP6490879 B2 JP 6490879B2 JP 2018554882 A JP2018554882 A JP 2018554882A JP 2018554882 A JP2018554882 A JP 2018554882A JP 6490879 B2 JP6490879 B2 JP 6490879B2
- Authority
- JP
- Japan
- Prior art keywords
- log
- sampling
- abnormality
- communication data
- data
- 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
- 230000010365 information processing Effects 0.000 title claims description 78
- 238000003672 processing method Methods 0.000 title claims description 9
- 238000005070 sampling Methods 0.000 claims description 507
- 230000005856 abnormality Effects 0.000 claims description 456
- 238000004891 communication Methods 0.000 claims description 406
- 238000001514 detection method Methods 0.000 claims description 102
- 230000005540 biological transmission Effects 0.000 claims description 83
- 230000008859 change Effects 0.000 claims description 62
- 238000004904 shortening Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 description 99
- 230000008569 process Effects 0.000 description 72
- 238000012544 monitoring process Methods 0.000 description 65
- 238000012545 processing Methods 0.000 description 33
- 238000010586 diagram Methods 0.000 description 30
- 230000002159 abnormal effect Effects 0.000 description 21
- 230000009467 reduction Effects 0.000 description 15
- 230000008520 organization Effects 0.000 description 11
- 238000003860 storage Methods 0.000 description 11
- 238000007906 compression Methods 0.000 description 10
- 230000006835 compression Effects 0.000 description 10
- 238000013144 data compression Methods 0.000 description 9
- 230000007123 defense Effects 0.000 description 9
- 238000004458 analytical method Methods 0.000 description 7
- 238000012546 transfer Methods 0.000 description 7
- 230000006399 behavior Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 4
- 230000000737 periodic effect Effects 0.000 description 4
- 239000000470 constituent Substances 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/008—Registering or indicating the working of vehicles communicating information to a remotely located station
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/02—Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
- B60W50/0205—Diagnosing or detecting failures; Failure detection models
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0808—Diagnosing performance data
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/10—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time using counting means or digital clocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1408—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
- H04L63/1416—Event detection, e.g. attack signature detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
- H04W12/121—Wireless intrusion detection systems [WIDS]; Wireless intrusion prevention systems [WIPS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/44—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0001—Details of the control system
- B60W2050/0043—Signal treatments, identification of variables or parameters, parameter estimation or state estimation
- B60W2050/005—Sampling
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0062—Adapting control system settings
- B60W2050/0075—Automatic parameter input, automatic initialising or calibrating means
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/02—Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
- B60W50/0205—Diagnosing or detecting failures; Failure detection models
- B60W2050/021—Means for detecting failure or malfunction
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2556/00—Input parameters relating to data
- B60W2556/45—External transmission of data to or from the vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Automation & Control Theory (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Human Computer Interaction (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Debugging And Monitoring (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
本開示は、車両に搭載される情報処理装置等に関する。 The present disclosure relates to an information processing apparatus and the like mounted on a vehicle.
特許文献1には、車載ネットワークなどにおいて不正データの侵入を検知するための技術が開示されている。
しかしながら、各車両の車載システムが単独で車載システムにおけるデータを適切に監視し、適切な監視レベルを維持することが困難な場合がある。一方、車両の外部のシステムが車載システムにおけるデータを監視する場合、大量の監視対象データが車載システムから外部のシステムへ送信される可能性がある。このような大量の監視対象データを処理するための資源を準備することは容易ではない。 However, it may be difficult for the in-vehicle system of each vehicle to properly monitor the data in the in-vehicle system alone and maintain an appropriate monitoring level. On the other hand, when a system outside the vehicle monitors data in the in-vehicle system, a large amount of monitoring target data may be transmitted from the in-vehicle system to the external system. It is not easy to prepare resources for processing such a large amount of monitoring target data.
そこで、本開示は、適切な監視レベルを維持しつつ、車載システムから送信される監視対象データのデータ量を削減することができる情報処理装置を提供することを目的とする。 Therefore, an object of the present disclosure is to provide an information processing apparatus capable of reducing the data amount of monitoring target data transmitted from an in-vehicle system while maintaining an appropriate monitoring level.
本開示の一態様に係る情報処理装置は、車両に搭載される情報処理装置であって、前記車両の車載ネットワークにおける通信データに異常が含まれるか否かの異常検知結果を異常検知器から取得する取得器と、前記通信データの2種類のログのうち単位時間あたりに生じるデータ量が他方のログよりも小さいログであるサンプリングログを前記車両に搭載された送信器から前記車両の外部に設けられたサーバ装置へ周期的に送信させるサンプリングログ送信指示を出力する出力器とを備え、前記出力器は、さらに、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記2種類のログのうち単位時間あたりに生じるデータ量が前記サンプリングログよりも大きいログであるフルログを前記送信器から前記サーバ装置へ送信させるフルログ送信指示を出力する。 An information processing apparatus according to an aspect of the present disclosure is an information processing apparatus mounted on a vehicle, and acquires an abnormality detection result indicating whether an abnormality is included in communication data in an in-vehicle network of the vehicle from an abnormality detector. And a sampling log in which the amount of data generated per unit time of the two types of logs of the communication data is smaller than that of the other log is provided outside the vehicle from a transmitter mounted on the vehicle. An output unit that outputs a sampling log transmission instruction to periodically transmit to the server device, and the output unit further includes the abnormality detection result indicating that the communication data includes an abnormality. If acquired, the transmitter transmits a full log, which is a log in which the amount of data generated per unit time is larger than the sampling log, from the two types of logs. Serial and outputs the full log transmission instruction for transmitting to the server device.
なお、これらの包括的又は具体的な態様は、システム、装置、方法、集積回路、コンピュータプログラム、又は、コンピュータ読み取り可能なCD−ROMなどの非一時的な記録媒体で実現されてもよく、システム、装置、方法、集積回路、コンピュータプログラム、及び、記録媒体の任意な組み合わせで実現されてもよい。 Note that these comprehensive or specific aspects may be realized by a system, apparatus, method, integrated circuit, computer program, or non-transitory recording medium such as a computer-readable CD-ROM. The present invention may be realized by any combination of an apparatus, a method, an integrated circuit, a computer program, and a recording medium.
本開示の一態様に係る情報処理装置等は、適切な監視レベルを維持しつつ、車載システムから送信される監視対象データのデータ量を削減することができる。 An information processing apparatus and the like according to an aspect of the present disclosure can reduce the data amount of monitoring target data transmitted from the in-vehicle system while maintaining an appropriate monitoring level.
(本開示の基礎となった知見)
近年、外部ネットワークに接続されるコネクテッドカーの普及が進んでいる。例えば、インターネットに接続される車の数は、2020年までに2.5億台に達する可能性がある。(Knowledge that became the basis of this disclosure)
In recent years, connected cars connected to external networks have been widely used. For example, the number of cars connected to the Internet may reach 250 million by 2020.
一方、車両が不正に制御される可能性も指摘され始めている。特に、車載ネットワークの通信規格として広く普及するCAN(Controller Area Network)に不正データが侵入する可能性が指摘されている。そして、不正データによって車両が不正に制御される可能性がある。したがって、不正データによって車両が不正に制御されないように、不正データから車両を保護する技術が検討されている。 On the other hand, the possibility that the vehicle is illegally controlled has begun to be pointed out. In particular, it has been pointed out that illegal data may invade CAN (Controller Area Network), which is widely spread as a communication standard for in-vehicle networks. And there is a possibility that the vehicle is illegally controlled by the illegal data. Therefore, a technique for protecting a vehicle from unauthorized data is being studied so that the vehicle is not illegally controlled by unauthorized data.
例えば、各車両に搭載されるシステムである車載システムが、不正データから車両を保護するため、車載システムにおけるデータを監視してもよい。しかし、車載システムは、車両に搭載されるため、十分な処理能力を有していない場合がある。そのため、車載システムが単独で車載システムにおけるデータを適切に監視し、適切な監視レベルを維持することが困難な場合がある。 For example, an in-vehicle system that is a system mounted on each vehicle may monitor data in the in-vehicle system in order to protect the vehicle from unauthorized data. However, since the in-vehicle system is mounted on the vehicle, it may not have sufficient processing capability. Therefore, it may be difficult for the in-vehicle system to properly monitor the data in the in-vehicle system alone and maintain an appropriate monitoring level.
また、例えば、車両の外部のシステムが、車載システムにおけるデータを監視してもよい。しかし、この場合、大量の監視対象データが車載システムから外部のシステムへ送信される可能性がある。このような大量の監視対象データを処理するための資源を準備することは容易ではない。 Further, for example, a system outside the vehicle may monitor data in the in-vehicle system. However, in this case, a large amount of monitoring target data may be transmitted from the in-vehicle system to an external system. It is not easy to prepare resources for processing such a large amount of monitoring target data.
そこで、本開示の一態様に係る情報処理装置は、車両に搭載される情報処理装置であって、前記車両の車載ネットワークにおける通信データに異常が含まれるか否かの異常検知結果を異常検知器から取得する取得器と、前記通信データの2種類のログのうち単位時間あたりに生じるデータ量が他方のログよりも小さいログであるサンプリングログを前記車両に搭載された送信器から前記車両の外部に設けられたサーバ装置へ周期的に送信させるサンプリングログ送信指示を出力する出力器とを備え、前記出力器は、さらに、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記2種類のログのうち単位時間あたりに生じるデータ量が前記サンプリングログよりも大きいログであるフルログを前記送信器から前記サーバ装置へ送信させるフルログ送信指示を出力する。 Therefore, an information processing apparatus according to an aspect of the present disclosure is an information processing apparatus mounted on a vehicle, and an abnormality detection result indicating whether an abnormality is included in communication data in an in-vehicle network of the vehicle. And a sampling log, which is a log in which the amount of data generated per unit time is smaller than the other of the two types of logs of the communication data, from a transmitter mounted on the vehicle to the outside of the vehicle An output unit that outputs a sampling log transmission instruction to periodically transmit to the server device provided in the server, and the output unit further acquires the abnormality detection result indicating that the communication data includes an abnormality When the device acquires the full log, which is a log in which the amount of data generated per unit time of the two types of logs is larger than the sampling log. The outputs the full log transmission instruction for transmitting to the server device from the vessel.
これにより、車両に搭載された送信器からサーバ装置へ、データ量が比較的小さいサンプリングログが周期的に送信され、データ量が比較的大きいフルログが異常時に送信される。そして、車両の外部に設けられるサーバ装置は、車載のための要件に制約されない十分な処理能力を用いて、サンプリングログ及びフルログを監視し分析し得る。したがって、情報処理装置は、適切な監視レベルを維持しつつ、車載システムから送信される監視対象データのデータ量を削減することができる。 As a result, a sampling log with a relatively small amount of data is periodically transmitted from a transmitter mounted on the vehicle to the server device, and a full log with a relatively large amount of data is transmitted in an abnormal state. Then, the server device provided outside the vehicle can monitor and analyze the sampling log and the full log by using sufficient processing capability that is not restricted by the requirements for in-vehicle use. Therefore, the information processing apparatus can reduce the data amount of the monitoring target data transmitted from the in-vehicle system while maintaining an appropriate monitoring level.
例えば、前記取得器は、前記サーバ装置に含まれる前記異常検知器から前記異常検知結果を取得してもよい。 For example, the acquisition device may acquire the abnormality detection result from the abnormality detector included in the server device.
これにより、情報処理装置は、サンプリングログの送信先であるサーバ装置に含まれる異常検知器から、異常検知結果を取得することができる。サーバ装置に含まれる異常検知器は、車載のための要件に制約されない十分な処理能力を有し得る。また、サーバ装置に含まれる異常検知器は、サンプリングログに従って異常が含まれるか否かを判定し得る。したがって、情報処理装置は、サーバ装置に含まれる異常検知器から、適切な異常検知結果を取得することができる。 Thereby, the information processing apparatus can acquire the abnormality detection result from the abnormality detector included in the server apparatus that is the transmission destination of the sampling log. The abnormality detector included in the server device may have sufficient processing capability that is not limited by the requirements for in-vehicle use. Moreover, the abnormality detector included in the server device can determine whether an abnormality is included according to the sampling log. Therefore, the information processing apparatus can acquire an appropriate abnormality detection result from the abnormality detector included in the server apparatus.
また、例えば、前記情報処理装置は、さらに、前記異常検知器を備え、前記異常検知器は、前記車載ネットワークから前記通信データを取得し、前記通信データに異常が含まれるか否かを判定してもよい。 In addition, for example, the information processing apparatus further includes the abnormality detector, and the abnormality detector acquires the communication data from the in-vehicle network and determines whether the communication data includes an abnormality. May be.
これにより、情報処理装置は、車載ネットワークから取得される通信データに従って、通信データに異常が含まれるか否かを適切に判定することができる。また、情報処理装置は、サンプリングログが周期的に車載システムから送信され、フルログが異常時に車載システムから送信されるように、送信器を制御することができる。したがって、通信データに含まれると判定された異常等が適切に分析され得る。 Thereby, the information processing apparatus can appropriately determine whether or not the communication data includes an abnormality in accordance with the communication data acquired from the in-vehicle network. Further, the information processing apparatus can control the transmitter such that the sampling log is periodically transmitted from the in-vehicle system and the full log is transmitted from the in-vehicle system when an abnormality occurs. Therefore, an abnormality or the like determined to be included in the communication data can be analyzed appropriately.
また、例えば、前記サンプリングログは、それぞれが第1時間長の期間である複数のサンプリング間隔のうち、前記複数のサンプリング間隔にそれぞれ含まれる複数の期間でありそれぞれが前記第1時間長よりも短い第2時間長の期間である複数のサンプリング期間における前記通信データのログであってもよい。 Further, for example, the sampling log is a plurality of periods included in the plurality of sampling intervals, each of which is shorter than the first time length, among a plurality of sampling intervals each of which is a period of a first time length. The log of the communication data in a plurality of sampling periods that are periods of the second time length may be used.
これにより、サンプリングログのデータ量が適切に削減される。したがって、車載システムから送信される監視対象データのデータ量が適切に削減される。また、車両を不正に制御するための不正データは連続的に送信される可能性が高いため、複数のサンプリング間隔にそれぞれ含まれる複数のサンプリング期間におけるサンプリングログによって、通信データに含まれる異常等が適切に分析され得る。 Thereby, the data amount of a sampling log is reduced appropriately. Therefore, the data amount of the monitoring target data transmitted from the in-vehicle system is appropriately reduced. In addition, since illegal data for illegally controlling a vehicle is likely to be transmitted continuously, abnormalities included in communication data may be caused by sampling logs in a plurality of sampling periods respectively included in a plurality of sampling intervals. Can be analyzed appropriately.
また、例えば、前記サンプリングログは、前記複数のサンプリング期間における前記通信データを構成する複数のフレームのそれぞれについて、(i)当該フレームのサンプリング時刻、(ii)当該フレームとサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームであるか否か、及び、(iii)当該フレームのデータを示してもよい。 In addition, for example, the sampling log includes (i) a sampling time of the frame, and (ii) one or more sampling periods having the same sampling period as the frame for each of the plurality of frames constituting the communication data in the plurality of sampling periods. Whether or not the frame is the first frame and (iii) data of the frame may be indicated.
これにより、各フレームについて、サンプリング時刻、及び、サンプリング期間において最初のフレームか否か等がサンプリングログによって示される。そして、例えば、サンプリング期間において、最初のフレームとは異なるフレームのサンプリング時刻と、その前のフレームのサンプリング時刻との差等に従って、適切に異常が判定され得る。 Thereby, for each frame, the sampling time and whether or not it is the first frame in the sampling period are indicated by the sampling log. For example, in the sampling period, an abnormality can be appropriately determined according to the difference between the sampling time of a frame different from the first frame and the sampling time of the previous frame.
また、例えば、前記フルログは、複数の種別の前記通信データのログであり、前記サンプリングログは、前記複数の種別よりも少ない1以上の種別の前記通信データのログであり、前記複数のサンプリング期間における前記1以上の種別の前記通信データを構成する複数のフレームのそれぞれについて、(i)当該フレームのサンプリング時刻、(ii)当該フレームと種別及びサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームであるか否か、及び、(iii)当該フレームのデータを示してもよい。 Further, for example, the full log is a log of the communication data of a plurality of types, the sampling log is a log of the communication data of one or more types less than the plurality of types, and the plurality of sampling periods For each of the plurality of frames constituting the one or more types of communication data in (i), (i) the sampling time of the frame, and (ii) the first frame in one or more frames having the same type and sampling period as the frame. And (iii) data of the frame may be indicated.
これにより、各フレームについて、サンプリング時刻、及び、同一種別及び同一サンプリング期間において最初のフレームか否か等がサンプリングログによって示される。そして、例えば、同一種別及び同一サンプリング期間において、最初のフレームとは異なるフレームのサンプリング時刻と、その前のフレームのサンプリング時刻との差等に従って、適切に異常が判定され得る。 Thereby, for each frame, the sampling time and whether or not it is the first frame in the same type and the same sampling period are indicated by the sampling log. For example, in the same type and the same sampling period, an abnormality can be appropriately determined according to the difference between the sampling time of a frame different from the first frame and the sampling time of the previous frame.
また、例えば、前記フルログは、複数の種別の前記通信データのログであり、前記サンプリングログは、前記複数の種別よりも少ない1以上の種別の前記通信データのログであってもよい。 Further, for example, the full log may be a log of the communication data of a plurality of types, and the sampling log may be a log of the communication data of one or more types less than the plurality of types.
これにより、サンプリングログのデータ量が適切に削減される。したがって、車載システムから送信される監視対象データのデータ量が適切に削減される。また、複数の種別が1以上の種別に削減されることにより、例えば重要な種別の通信データのログがサンプリングログとして適用され得る。 Thereby, the data amount of a sampling log is reduced appropriately. Therefore, the data amount of the monitoring target data transmitted from the in-vehicle system is appropriately reduced. Further, by reducing the plurality of types to one or more types, for example, a log of important types of communication data can be applied as a sampling log.
また、例えば、前記情報処理装置は、さらに、前記送信器を備え、前記送信器は、前記出力器から出力された前記サンプリングログ送信指示に従って前記サンプリングログを前記サーバ装置へ送信し、前記出力器から出力された前記フルログ送信指示に従って前記フルログを前記サーバ装置へ送信してもよい。 In addition, for example, the information processing apparatus further includes the transmitter, and the transmitter transmits the sampling log to the server device according to the sampling log transmission instruction output from the output device, and the output device The full log may be transmitted to the server device in accordance with the full log transmission instruction output from the server.
これにより、情報処理装置は、サンプリングログ及びフルログをサーバ装置へ適時に送信することができる。 Thereby, the information processing apparatus can transmit the sampling log and the full log to the server apparatus in a timely manner.
また、例えば、前記送信器は、前記出力器から出力された前記サンプリングログ送信指示に従って、前記サンプリングログを可逆的に圧縮し、圧縮された前記サンプリングログを前記サーバ装置へ送信し、前記出力器から出力された前記フルログ送信指示に従って、前記フルログを可逆的に圧縮し、圧縮された前記フルログを前記サーバ装置へ送信してもよい。 Further, for example, the transmitter reversibly compresses the sampling log in accordance with the sampling log transmission instruction output from the output device, transmits the compressed sampling log to the server device, and outputs the output device. The full log may be reversibly compressed in accordance with the full log transmission instruction output from the server, and the compressed full log may be transmitted to the server device.
これにより、サンプリングログ及びフルログが圧縮されて送信される。したがって、情報処理装置は、車載システムから送信される監視対象データのデータ量を削減することができる。 Thereby, the sampling log and the full log are compressed and transmitted. Therefore, the information processing apparatus can reduce the amount of monitoring target data transmitted from the in-vehicle system.
また、例えば、前記フルログ及び前記サンプリングログは、前記車両に搭載されたログ生成器によって生成され、前記出力器は、前記ログ生成器で生成された前記サンプリングログを前記送信器から前記サーバ装置へ周期的に送信させる前記サンプリングログ送信指示を出力し、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記ログ生成器で生成された前記フルログを前記送信器から前記サーバ装置へ送信させる前記フルログ送信指示を出力してもよい。 Further, for example, the full log and the sampling log are generated by a log generator mounted on the vehicle, and the output unit sends the sampling log generated by the log generator from the transmitter to the server device. The sampling log transmission instruction to be periodically transmitted is output, and when the acquisition unit acquires the abnormality detection result indicating that the communication data includes abnormality, the full log generated by the log generator is The full log transmission instruction to be transmitted from the transmitter to the server device may be output.
これにより、情報処理装置は、車載システムにおいて生成されたサンプリングログ及びフルログが車載システムからサーバ装置へ送信されるように、車載システムを適切に制御することができる。 Thereby, the information processing apparatus can appropriately control the in-vehicle system so that the sampling log and the full log generated in the in-vehicle system are transmitted from the in-vehicle system to the server apparatus.
また、例えば、前記サンプリングログは、それぞれが第1時間長の期間である複数のサンプリング間隔のうち、前記複数のサンプリング間隔にそれぞれ含まれる複数の期間でありそれぞれが前記第1時間長よりも短い第2時間長の期間である複数のサンプリング期間における前記通信データのログであり、前記出力器は、さらに、前記ログ生成器に前記第2時間長よりも長い範囲で前記第1時間長を変更させる変更指示を出力してもよい。 Further, for example, the sampling log is a plurality of periods included in the plurality of sampling intervals, each of which is shorter than the first time length, among a plurality of sampling intervals each of which is a period of a first time length. The log of the communication data in a plurality of sampling periods, which is a period of a second time length, and the output device further changes the first time length in a range longer than the second time length to the log generator A change instruction to be output may be output.
これにより、情報処理装置は、サンプリングログに関連するサンプリング間隔の時間長を変更することができる。したがって、情報処理装置は、サンプリングログに、固定のサンプリング間隔では含まれない異常等を含ませることができる。 Thereby, the information processing apparatus can change the time length of the sampling interval related to the sampling log. Therefore, the information processing apparatus can include abnormalities that are not included in the fixed sampling interval in the sampling log.
また、例えば、前記出力器は、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記ログ生成器に前記第2時間長よりも長い範囲で前記第1時間長を短くさせる前記変更指示を出力してもよい。 Further, for example, when the acquisition unit acquires the abnormality detection result indicating that the communication data includes an abnormality, the output unit causes the log generator to store the first time in a range longer than the second time length. The change instruction that shortens the length of one hour may be output.
これにより、情報処理装置は、異常時以降において、サンプリングログのデータ量を増加させることができる。また、情報処理装置は、サンプリングログに、長いサンプリング間隔では含まれない異常等を含ませることができる。 Thereby, the information processing apparatus can increase the data amount of the sampling log after an abnormal time. Further, the information processing apparatus can include an abnormality or the like that is not included in a long sampling interval in the sampling log.
また、例えば、前記出力器は、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得しなかった場合、前記ログ生成器に前記第1時間長を長くさせる前記変更指示を出力してもよい。 Further, for example, the output unit causes the log generator to increase the first time length when the acquisition unit does not acquire the abnormality detection result indicating that the communication data includes an abnormality. An instruction may be output.
これにより、情報処理装置は、異常がない場合、サンプリングログのデータ量を減少させることができる。 Thereby, the information processing apparatus can reduce the data amount of the sampling log when there is no abnormality.
また、例えば、前記第1時間長は、前記通信データに関する複数の種別のそれぞれについて定められ、前記出力器は、前記複数の種別のうちの1つの種別について前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記ログ生成器に前記第2時間長よりも長い範囲で前記1つの種別について前記第1時間長を短くさせる前記変更指示を出力してもよい。 In addition, for example, the first time length is determined for each of a plurality of types related to the communication data, and the output device includes an abnormality in the communication data for one type of the plurality of types. When the acquisition unit acquires the abnormality detection result to be displayed, the log generator may output the change instruction to shorten the first time length for the one type in a range longer than the second time length. Good.
これにより、情報処理装置は、異常時以降において、サンプリングログのデータ量を種別毎に増加させることができる。 Thereby, the information processing apparatus can increase the data amount of the sampling log for each type after the abnormality.
また、例えば、前記第1時間長は、前記通信データに関する複数の種別のそれぞれについて定められ、前記出力器は、前記複数の種別のうちの1つの種別について前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記ログ生成器に前記第2時間長よりも長い範囲で前記複数の種別のそれぞれについて前記第1時間長を短くさせる前記変更指示を出力してもよい。 In addition, for example, the first time length is determined for each of a plurality of types related to the communication data, and the output device includes an abnormality in the communication data for one type of the plurality of types. When the acquisition unit acquires the abnormality detection result indicating, the log generator outputs the change instruction to shorten the first time length for each of the plurality of types in a range longer than the second time length. May be.
これにより、情報処理装置は、異常時以降において、サンプリングログのデータ量を種別によらず増加させることができる。したがって、情報処理装置は、異常時以降において、種別によらず詳細な情報をサンプリングログに含ませることができる。 Thereby, the information processing apparatus can increase the data amount of the sampling log regardless of the type after the abnormality. Therefore, the information processing apparatus can include detailed information in the sampling log regardless of the type after the abnormality.
また、例えば、前記出力器は、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得しなかった場合、前記ログ生成器に短くされた前記第1時間長を長くさせる前記変更指示を出力してもよい。 Further, for example, when the acquisition unit does not acquire the abnormality detection result indicating that the communication data includes an abnormality, the output unit increases the first time length shortened to the log generator. The change instruction to be output may be output.
これにより、情報処理装置は、異常がない場合、増加したデータ量を減少させることができる。 Thereby, the information processing apparatus can reduce the increased data amount when there is no abnormality.
また、例えば、前記出力器は、前記ログ生成器に前記第2時間長よりも長い範囲で前記第1時間長をランダムに変更させる前記変更指示を出力してもよい。 Further, for example, the output device may output the change instruction that causes the log generator to randomly change the first time length in a range longer than the second time length.
これにより、情報処理装置は、サンプリング間隔を解析されにくくすることができる。したがって、情報処理装置は、不正なデータに基づく異常等がサンプリングログに含まれない現象を抑制することができる。 Thereby, the information processing apparatus can make it difficult to analyze the sampling interval. Therefore, the information processing apparatus can suppress a phenomenon in which an abnormality based on illegal data is not included in the sampling log.
また、例えば、前記出力器は、前記ログ生成器に前記第2時間長よりも長い範囲で前記第1時間長を線形的に変更させる前記変更指示を出力してもよい。 For example, the output device may output the change instruction that causes the log generator to linearly change the first time length in a range longer than the second time length.
これにより、情報処理装置は、サンプリング間隔を様々に変更することができる。したがって、情報処理装置は、サンプリングログに、固定のサンプリング間隔では含まれない異常等を適切に含ませることができる。 Thereby, the information processing apparatus can change the sampling interval in various ways. Therefore, the information processing apparatus can appropriately include an abnormality or the like that is not included in the fixed sampling interval in the sampling log.
また、例えば、前記取得器は、さらに、前記サーバ装置から前記第1時間長の変更指示を外部指示として取得し、前記出力器は、前記サーバ装置から前記取得器が取得した前記外部指示に従って、前記ログ生成器に前記第2時間長よりも長い範囲で前記第1時間長を変更させる前記変更指示を出力してもよい。 In addition, for example, the acquisition unit further acquires the change instruction of the first time length from the server device as an external instruction, and the output unit follows the external instruction acquired by the acquisition unit from the server device. The change instruction for causing the log generator to change the first time length in a range longer than the second time length may be output.
これにより、情報処理装置は、サーバ装置から取得した指示に従って、サンプリング間隔を変更することができる。したがって、サンプリング間隔の集中的な制御が可能になる。 As a result, the information processing apparatus can change the sampling interval in accordance with the instruction acquired from the server apparatus. Therefore, centralized control of the sampling interval is possible.
また、例えば、前記フルログは、複数の種別の前記通信データのログであり、前記サンプリングログは、前記複数の種別のうち1以上の種別の前記通信データのログであり、前記出力器は、前記ログ生成器に前記1以上の種別を特定させる特定情報を出力してもよい。 Further, for example, the full log is a log of the communication data of a plurality of types, the sampling log is a log of the communication data of one or more types of the plurality of types, and the output device Specific information that causes the log generator to specify the one or more types may be output.
これにより、サンプリングログのデータ量が適切に削減される。したがって、車載システムから送信される監視対象データのデータ量が適切に削減される。また、複数の種別が1以上の種別に削減されることにより、例えば重要な種別の通信データのログがサンプリングログとして適用され得る。また、情報処理装置は、サンプリングログに適用される適切な種別を指定することができる。 Thereby, the data amount of a sampling log is reduced appropriately. Therefore, the data amount of the monitoring target data transmitted from the in-vehicle system is appropriately reduced. Further, by reducing the plurality of types to one or more types, for example, a log of important types of communication data can be applied as a sampling log. In addition, the information processing apparatus can specify an appropriate type to be applied to the sampling log.
また、例えば、前記情報処理装置は、さらに、前記ログ生成器を備え、前記ログ生成器は、前記車載ネットワークから前記通信データを取得し、前記通信データに従って前記フルログ及び前記サンプリングログを生成してもよい。 Further, for example, the information processing apparatus further includes the log generator, and the log generator acquires the communication data from the in-vehicle network and generates the full log and the sampling log according to the communication data. Also good.
これにより、情報処理装置は、車載ネットワークから取得される通信データに従って、サンプリングログ及びフルログを適切に生成することができる。 Thereby, the information processing apparatus can appropriately generate the sampling log and the full log according to the communication data acquired from the in-vehicle network.
また、本開示の一態様に係る情報処理方法は、車両に搭載される情報処理装置が行う情報処理方法であって、前記車両の車載ネットワークにおける通信データに異常が含まれるか否かの異常検知結果を異常検知器から取得する取得ステップと、前記通信データの2種類のログのうち単位時間あたりに生じるデータ量が他方のログよりも小さいログであるサンプリングログを前記車両に搭載された送信器から前記車両の外部に設けられたサーバ装置へ周期的に送信させるサンプリングログ送信指示を出力する出力ステップとを含み、前記出力ステップでは、さらに、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得ステップで取得した場合、前記2種類のログのうち単位時間あたりに生じるデータ量が前記サンプリングログよりも大きいログであるフルログを前記送信器から前記サーバ装置へ送信させるフルログ送信指示を出力する情報処理方法であってもよい。 An information processing method according to an aspect of the present disclosure is an information processing method performed by an information processing device mounted on a vehicle, and an abnormality detection is performed to determine whether an abnormality is included in communication data in the in-vehicle network of the vehicle. An acquisition step of acquiring a result from an abnormality detector, and a transmitter in which a sampling log in which the amount of data generated per unit time is smaller than the other log among the two types of logs of the communication data is mounted on the vehicle An output step of outputting a sampling log transmission instruction for periodically transmitting to a server device provided outside the vehicle, wherein the output step further indicates that the communication data includes an abnormality When the detection result is acquired in the acquisition step, the amount of data generated per unit time of the two types of logs is the sampling. It may be an information processing method for outputting a full log transmission instruction to transmit to said server device a full log is larger logs than grayed from the transmitter.
これにより、車両に搭載された送信器からサーバ装置へ、データ量が比較的小さいサンプリングログが周期的に送信され、データ量が比較的大きいフルログが異常時に送信される。そして、車両の外部に設けられるサーバ装置は、車載のための要件に制約されない十分な処理能力を用いて、サンプリングログ及びフルログを監視し分析し得る。したがって、この情報処理方法を行う情報処理装置は、適切な監視レベルを維持しつつ、車載システムから送信される監視対象データのデータ量を削減することができる。 As a result, a sampling log with a relatively small amount of data is periodically transmitted from a transmitter mounted on the vehicle to the server device, and a full log with a relatively large amount of data is transmitted in an abnormal state. Then, the server device provided outside the vehicle can monitor and analyze the sampling log and the full log by using sufficient processing capability that is not restricted by the requirements for in-vehicle use. Therefore, the information processing apparatus that performs this information processing method can reduce the data amount of the monitoring target data transmitted from the in-vehicle system while maintaining an appropriate monitoring level.
さらに、これらの包括的又は具体的な態様は、システム、装置、方法、集積回路、コンピュータプログラム、又は、コンピュータ読み取り可能なCD−ROMなどの非一時的な記録媒体で実現されてもよく、システム、装置、方法、集積回路、コンピュータプログラム、及び、記録媒体の任意な組み合わせで実現されてもよい。 Further, these comprehensive or specific aspects may be realized by a non-transitory recording medium such as a system, an apparatus, a method, an integrated circuit, a computer program, or a computer-readable CD-ROM. The present invention may be realized by any combination of an apparatus, a method, an integrated circuit, a computer program, and a recording medium.
以下、実施の形態について図面を参照しながら具体的に説明する。なお、以下で説明する実施の形態は、いずれも包括的または具体的な例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、請求の範囲を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、最上位概念を示す独立請求項に記載されていない構成要素については、任意の構成要素として説明される。 Hereinafter, embodiments will be specifically described with reference to the drawings. It should be noted that each of the embodiments described below shows a comprehensive or specific example. Numerical values, shapes, materials, components, arrangement positions and connection forms of components, steps, order of steps, and the like shown in the following embodiments are merely examples, and are not intended to limit the scope of the claims. In addition, among the constituent elements in the following embodiments, constituent elements that are not described in the independent claims indicating the highest concept are described as optional constituent elements.
(実施の形態)
[多層防御及び遠隔監視]
図1は、本実施の形態におけるセキュリティシステムの構成を示すブロック図である。図1に示されたセキュリティシステム100は、サーバ装置300、及び、車載システム410等を備える。車載システム410は、車両400に搭載されるシステムであって、セキュリティECU440、並びに、その他のECU451及び452等を備える。なお、ECUは、電子制御ユニット(Electronic Control Unit)であり、エンジン制御ユニット(Engine Control Unit)とも呼ばれる。(Embodiment)
[Multi-layer defense and remote monitoring]
FIG. 1 is a block diagram illustrating a configuration of a security system according to the present embodiment. The
車両400において、車載システム410は、4層の多層防御を行う。1層目は、車外通信デバイスにおける防御である。車外通信デバイスは、通信先を認証し、状況に応じて通信を暗号化する。車外通信デバイスは、ヘッドアップディスプレイ421、テレマティクス通信ユニット(TCU:Telematics Communication Unit)422、V2Xモジュール423、又は、OBD(On−Board Diagnostics)モジュール424等である。
In the
例えば、ヘッドアップディスプレイ421は、BLUETOOTH(登録商標)機器又はUSB機器等と通信する。テレマティクス通信ユニット422は、外部サーバ等と通信する。V2Xモジュール423は、インフラ等と通信する。OBDモジュール424は、車外の診断デバイス等と通信する。
For example, the head-up
また、ヘッドアップディスプレイ421のように演算資源に余裕を有する車外通信デバイスは、認証及び暗号化に加えて、車外から受信された通信データを確認し、事前に認められたデータのみを通すフィルタリングを行うことで、不正データの侵入を防ぐ。
In addition, in-vehicle communication devices such as the head-up
2層目は、ゲートウェイ装置430における防御である。ゲートウェイ装置430は、ネットワークゲートウェイとも呼ばれ、車外通信デバイスが繋がるネットワークと、車両400に搭載された制御系ネットワークとを繋ぐ。制御系ネットワークは、車載ネットワークとも呼ばれ、具体的には、CANである。ゲートウェイ装置430は、車外から受信された通信データを確認し、事前に認められたデータのみを制御系ネットワークへ転送するフィルタリングを行うことで、不正データの侵入を防ぐ。
The second layer is defense in the
3層目は、制御系ネットワークに配置されたセキュリティECU440における防御である。セキュリティECU440は、制御系ネットワークに流れる通信データを監視し、通信データのフォーマット、周期、及び、値の変化量等に基づいて、不正データを特定し無効化する。例えば、セキュリティECU440は、通信データをホワイトリスト又はルールにマッチングすることによって、不正データを特定してもよい。また、セキュリティECU440は、CANのエラーフレームを用いて不正データを無効化してもよい。
The third layer is a defense in the
4層目は、ECU451及び452等における防御である。ECU451及び452等は、耐タンパ性を有するように、実装されている。例えば、ECU451及び452等は、セキュアブートによって、ソフトウェアプログラムが改ざんされていないことをチェックしてもよい。また、ECU451及び452等は、セキュアコーディングによって生成されたソフトウェアプログラム、又は、ソースコードが難読化されたソフトウェアプログラムを用いることによって、ソフトウェアプログラムの改ざんを防いでもよい。
The fourth layer is a defense in the
さらに、セキュリティシステム100は、車載システム410における多層防御に加えて、サーバ装置300において、車両400の遠隔監視も行う。
Furthermore, in addition to the defense-in-depth in the in-
例えば、不正データの侵入方法の高度化によって、不正データが多層防御を通り抜けて侵入する可能性がある。そこで、サーバ装置300は、多層防御を通り抜けて侵入した不正データを検知してもよい。そして、新たな防御策が適用されてもよいし、ドライバーへ警告が通知されてもよい。また、不正データが多層防御で対処された場合でも、不正アクセスを異常として検知し、不正アクセスの傾向を把握することは、新たな不正データの侵入を防ぐため有用である。
For example, due to the advancement of illegal data intrusion methods, there is a possibility that unauthorized data may enter through the defense in depth. Therefore, the
そこで、例えば、サーバ装置300は、車載ネットワークにおける通信データのログである通信ログを収集し分析する。さらに、車両400の外部のサーバ装置300は、1つの車両400だけでなく、複数の車両から多くの通信ログを収集し分析し得る。そして、様々な地域における様々な車両から得られる通信ログによって、様々な車両の異常などについて、一元的な把握が可能である。したがって、不正アクセスが頻繁に行われる地域、時間帯及び車種等が特定され得る。
Therefore, for example, the
また、車両400の外部のサーバ装置300は、車載のための要件に制約されず、豊富な演算資源を備え得る。したがって、車両400の外部のサーバ装置300は、例えば機械学習に基づく高度な異常検知等の複雑な処理を行い得る。したがって、サーバ装置300は、車載システム410が検知できない不正データ、不正アクセス又はそれらの予兆等を検知し得る。
Moreover, the
車両400の外部のサーバ装置300は、情報を収集し分析するためのSIEM(Security Information Event Management)に対応する処理を行い得る。この処理は、AutoSIEM(Automotive SIEM)とも表現され得る。
また、例えば、セキュリティシステム100を運用する組織としてSOC(Security Operation Centor)及びASIRT(Automotive Security Incident Response Team)が存在してもよい。SOCは、サーバ装置300における検知結果を監視する組織であり、ASIRTは、異常が検知された場合に、異常の対処を行う組織である。
In addition, for example, an SOC (Security Operation Center) and an ASIRT (Automatic Security Incident Response Team) may exist as organizations that operate the
そして、例えば、ASIRTは、多層防御で検知されなかった異常がサーバ装置300において検知された場合、新しい検知ルールを作成する。そして、サーバ装置300によって、作成された新しい検知ルールがヘッドアップディスプレイ421及びセキュリティECU440等に配布されてもよい。
For example, the ASIRT creates a new detection rule when the
サーバ装置300に接続された端末装置200は、サーバ装置300と通信を行う装置であり、SOC又はASIRT等において利用される。例えば、端末装置200は、サーバ装置300から異常通知を受信する。
The
[データ量の削減]
上記の通り、サーバ装置300によって、通信ログが収集され分析される。そのため、車両400における車載システム410は、通信ログをサーバ装置300へアップロードする。サーバ装置300は、アップロードされた通信ログを蓄積し分析する。また、例えば、SOC及びASIRT等が、詳細分析及び証拠保全のため、サーバ装置300から通信ログを端末装置200へダウンロードする。すなわち、端末装置200は、SOC及びASIRT等の指示に従って、サーバ装置300から通信ログをダウンロードする。[Reduction of data volume]
As described above, the communication log is collected and analyzed by the
しかしながら、サーバ装置300へアップロードされる通信ログのデータ量が大きいほど、通信、蓄積及び分析などに、より大きな資源が用いられる。
However, the larger the amount of communication log data uploaded to the
例えば、CANのビットレートは、おおよそ500Kbps〜1Mbps程度である。仮にCANのビットレートが500Kbpsであった場合、CANの通信ログのデータ量は、付加情報などのオーバヘッドを除いても、1時間で225MBに到達すると想定される。そして、仮に1万台の車両がサーバ装置300へ通信ログをアップロードした場合、サーバ装置300へアップロードされる通信ログのデータ量は、1時間で2250GBに到達すると想定される。
For example, the bit rate of CAN is about 500 Kbps to 1 Mbps. If the CAN bit rate is 500 Kbps, the data volume of the CAN communication log is assumed to reach 225 MB in one hour even if overhead such as additional information is excluded. If 10,000 vehicles upload the communication log to the
このような大きなデータ量に対応する大きな資源を準備することは容易ではない。そのため、本実施の形態におけるセキュリティシステム100は、適切な監視レベルを維持しつつ、車載システム410からサーバ装置300へ送信される監視対象データのデータ量を削減するための構成を備える。
It is not easy to prepare a large resource corresponding to such a large amount of data. Therefore, the
また、車載システム410における各車載デバイスの動作ログが、監視対象データとして車載システム410からサーバ装置300へ送信されてもよい。本実施の形態では、特に、車載ネットワークの通信ログが、監視対象データとして車載システム410からサーバ装置300へ送信される。
Further, the operation log of each in-vehicle device in the in-
車両400に対する不正アクセスでは、不正データが車載ネットワークを流れる可能性が高い。したがって、通信ログは、不正アクセスから車両400を保護するための監視に有用である。一方、様々な車両に広く採用されている車載ネットワークであるCANの通信ログのデータ量は、上記の通り大きいことが想定される。すなわち、通信ログは監視に有用であるが、そのデータ量は大きい。
In unauthorized access to the
そこで、本実施の形態におけるセキュリティシステム100は、特に、車載システム410からサーバ装置300へ送信される通信ログのデータ量を削減する。なお、セキュリティシステム100は、さらに、同様の方法を用いて、車載システム410からサーバ装置300へ送信される動作ログのデータ量を削減してもよい。
Therefore, the
セキュリティシステム100は、車載システム410からサーバ装置300へ送信される監視対象データのデータ量を削減するための3つの削減方法を用いる。ここで、データ量が削減される監視対象データは、具体的には、車載システム410からサーバ装置300へ送信される通信ログである。
The
1つ目の削減方法は、種別の削減である。具体的には、CANを流れる全ての種別のデータフレームのうち重要度の高い種別のデータフレームのみが、車載システム410からサーバ装置300へ送信される監視対象データに含められる。例えば、CANを流れる様々な種別の通信データのうち、アクセル又はブレーキ等の通信データは、車の挙動に直接関係するが、ウィンドウ又はワイパー等の通信データは、車の挙動に直接関係しない。
The first reduction method is type reduction. Specifically, only the data frame of the high importance type among all the data frames of the type flowing through the CAN is included in the monitoring target data transmitted from the in-
そこで、CANを流れる様々な種別の通信データのうち車の挙動に直接関係する通信データのみが、重要度の高い通信データとして、車載システム410からサーバ装置300へ送信される監視対象データに含められる。例えば、CANを流れる全100種類のデータのうち車の挙動に直接関係する20種類のデータのみが監視対象データに含められる場合、全100種類のデータのうち約80%のデータが削減されることが見込まれる。なお、CANにおいて、種別は、データフレームに含まれるIDに対応する。
Therefore, only communication data directly related to the behavior of the vehicle among various types of communication data flowing through the CAN is included in the monitoring target data transmitted from the in-
2つ目の削減方法は、期間の間引きである。具体的には、複数のサンプリング間隔にそれぞれ含まれる複数のサンプリング期間における通信データが、車載システム410からサーバ装置300へ送信される監視対象データに含められる。
The second reduction method is thinning out the period. Specifically, communication data in a plurality of sampling periods respectively included in a plurality of sampling intervals is included in monitoring target data transmitted from the in-
図2は、図1に示されたセキュリティシステム100で用いられるサンプリング期間を示す模式図である。図2において、サンプリング間隔T1よりもサンプリング期間T2は短い。そして、サンプリング間隔T1における通信データのうち、サンプリング期間T2における通信データが、車載システム410からサーバ装置300へ送信される監視対象データに含められる。これにより、データ量の(1−T2/T1)×100%が削減される。
FIG. 2 is a schematic diagram showing a sampling period used in the
サンプリング期間T2は、サーバ装置300において異常を検知するための最小データフレーム数等に従って規定されてもよい。例えば、少なくともK個のデータフレームがサーバ装置300における異常検知アルゴリズムに用いられる場合、少なくともK個のデータフレームがサンプリング期間T2に存在するように、サンプリング期間T2が規定される。
The sampling period T2 may be defined according to the minimum number of data frames for detecting an abnormality in the
具体的には、異常検知アルゴリズムにおいて単一のデータフレーム毎に異常の有無が判定される場合、上記のKは1である。したがって、この場合、CANを周期的に流れる同種のデータフレームの1周期分の期間が、サンプリング期間T2として規定され得る。 Specifically, when the abnormality detection algorithm determines the presence or absence of an abnormality for each single data frame, the above K is 1. Accordingly, in this case, a period corresponding to one period of the same kind of data frame periodically flowing through the CAN can be defined as the sampling period T2.
また、サンプリング間隔T1は、不正データの侵入が連続して行われる期間よりも短く規定されてもよい。例えば、CANにおいて、単発的に流れる各データフレームが車両400に及ぼす影響は小さく、連続的に流れる複数のデータフレームが車両400に及ぼす影響は大きい。すなわち、不正データの単発的な侵入が車両400に及ぼす影響は小さく、不正データの連続的な侵入が車両400に及ぼす影響は大きい。
Further, the sampling interval T1 may be defined to be shorter than a period in which illegal data is continuously invaded. For example, in CAN, the influence of each data frame that flows once on the
したがって、例えば、不正データの侵入が連続して行われる期間が5秒間と想定される場合、サンプリング間隔T1は、5秒間よりも短く規定されてもよい。これにより、不正データの侵入によってCANを流れる異常データが監視対象データに含められる。また、不正データの侵入が連続して行われる期間が長いと想定される場合、サンプリング間隔T1が長く規定され得る。したがって、この場合、データ量の削減効果が大きい。 Therefore, for example, when it is assumed that the period during which unauthorized data is continuously intruded is 5 seconds, the sampling interval T1 may be defined to be shorter than 5 seconds. As a result, abnormal data that flows through CAN due to the intrusion of unauthorized data is included in the monitoring target data. In addition, when it is assumed that the period during which unauthorized data is continuously intruded is long, the sampling interval T1 may be defined to be long. Therefore, in this case, the data amount reduction effect is great.
不正データの侵入が連続して行われる期間が想定され難い場合、サンプリング間隔T1は動的に変更されてもよい。サンプリング間隔T1は、通信ログの取得タイミングでランダムに変更されてもよいし、車種、地域又は種別毎に、変更されてもよい。これにより、不正データの侵入によってCANを流れる異常データが、車載システム410からサーバ装置300へ送信される監視対象データに含められる可能性が高くなる。
If it is difficult to assume a period in which unauthorized data is continuously invaded, the sampling interval T1 may be dynamically changed. The sampling interval T1 may be randomly changed at the acquisition timing of the communication log, or may be changed for each vehicle type, region, or type. Thereby, there is a high possibility that the abnormal data flowing through the CAN due to the intrusion of unauthorized data is included in the monitoring target data transmitted from the in-
サンプリング間隔T1及びサンプリング期間T2が適切に規定されることにより、CANを流れる異常データが、サーバ装置300へ送信される監視対象データに含められ、かつ、サーバ装置300へ送信される監視対象データが削減される。
By appropriately defining the sampling interval T1 and the sampling period T2, abnormal data flowing through the CAN is included in the monitoring target data transmitted to the
3つ目の削減方法は、データ圧縮である。具体的には、車載システム410は、zip、gzip又は7−Zip等のデータ圧縮方法に従って、監視対象データを圧縮することにより、サーバ装置300へ送信される監視対象データのデータ量を削減してもよい。
The third reduction method is data compression. Specifically, the in-
データ圧縮に関して、様々なデータ圧縮方法が、パーソナルコンピュータ向けの様々なソフトウェアプログラムに実装されており、広く利用されている。例えば、バイナリファイルに関して、データ圧縮によって約30〜60%のデータ量の削減が可能である。バイナリファイルに類する監視対象データに関しても、データ圧縮によってデータ量の削減が見込まれる。実際に監視対象データを圧縮した結果、69.4%のデータ量が削減された。 Regarding data compression, various data compression methods are implemented in various software programs for personal computers and are widely used. For example, for a binary file, the data amount can be reduced by about 30 to 60% by data compression. Regarding the monitoring target data similar to the binary file, the data amount can be reduced by the data compression. As a result of actually compressing the monitoring target data, the data amount was reduced by 69.4%.
図3は、図1に示されたセキュリティシステム100で用いられるサンプリングログとフルログとの比較図である。サンプリングログ及びフルログは、それぞれ、CANの通信ログであって、監視対象データである。サンプリングログには、上述した3つの削減方法が適用される。すなわち、サンプリングログには、種別の削減、期間の間引き、及び、データ圧縮が適用される。フルログは、上述した3つの削減方法のうち、データ圧縮のみが適用される。
FIG. 3 is a comparison diagram of sampling logs and full logs used in the
サンプリングログは、CANの全ての通信ログのうち一部の通信ログのみを含む。そのため、サンプリングログのデータ量は、比較的小さい。また、サンプリングログは、通信データに含まれる異常を検知するための最小限のデータを含み得る。 The sampling log includes only a part of all communication logs of CAN. Therefore, the data amount of the sampling log is relatively small. In addition, the sampling log can include a minimum amount of data for detecting an abnormality included in the communication data.
フルログは、基本的に、CANの全ての通信ログを含む。そのため、フルログのデータ量は、比較的大きい。しかしながら、フルログは、CANの通信データに関する詳細な情報を含み得る。すなわち、フルログは、通信データに含まれる異常を詳細に示し得る。 The full log basically includes all communication logs of CAN. Therefore, the data amount of the full log is relatively large. However, the full log may include detailed information regarding CAN communication data. That is, the full log can indicate the abnormality included in the communication data in detail.
セキュリティシステム100は、サンプリングログ及びフルログの2種類の監視対象データを適切に使い分ける。すなわち、セキュリティシステム100は、サンプリングログ及びフルログを選択的に用いる。
The
具体的には、セキュリティシステム100は、通常時の監視のためサンプリングログを生成する。そして、セキュリティシステム100は、周期的にサンプリングログを車載システム410からサーバ装置300へ送信する。また、セキュリティシステム100は、異常検知時の詳細分析及び証拠保全のためフルログを生成する。そして、セキュリティシステム100は、異常検知時にフルログを車載システム410からサーバ装置300へ送信する。
Specifically, the
異常検知時にフルログが送信されることによって、適切な詳細分析及び証拠保全が可能である。一方で、異常発生頻度は少ないと想定されるため、車載システム410からサーバ装置300へ送信される監視対象データのデータ量は、サンプリングログのデータ量に近似し得る。したがって、車載システム410からサーバ装置300へ送信される監視対象データのデータ量は小さい。これにより、監視レベルの低下が抑制され、車載システム410からサーバ装置300へ送信される監視対象データのデータ量が削減される。
By transmitting a full log when an abnormality is detected, appropriate detailed analysis and evidence preservation are possible. On the other hand, since it is assumed that the frequency of occurrence of abnormality is low, the data amount of the monitoring target data transmitted from the in-
図4は、図1に示されたセキュリティシステム100で用いられるログフォーマットを示すデータ構成図である。サンプリングログ及びフルログは、図4に示されたログフォーマットで車載システム410からサーバ装置300へ送信される。
FIG. 4 is a data configuration diagram showing a log format used in the
具体的には、車両ID、タイムスタンプ、長さ、バージョン及び予約が、ログフォーマットのヘッダ部分に含まれる。さらに、フラグ、予約、ID、DLC(データ長コード)、タイムスタンプ及びデータの組でそれぞれが構成されるN個の組が、ログフォーマットのペイロード部分に含まれる。 Specifically, the vehicle ID, time stamp, length, version, and reservation are included in the header portion of the log format. Furthermore, N sets each composed of a flag, reservation, ID, DLC (data length code), time stamp, and data set are included in the payload portion of the log format.
ヘッダ部分における車両IDは、複数の車両から車両400を識別するための識別子を示す。ヘッダ部分におけるタイムスタンプは、通信ログがサンプリングログ又はフルログとして送信される時刻を示す。ヘッダ部分における長さは、ペイロード部分の長さを示す。ヘッダ部分におけるバージョンは、ログフォーマットのバージョンを示す。ヘッダ部分における予約は、ヘッダ部分における未使用の領域である。
The vehicle ID in the header portion indicates an identifier for identifying the
ペイロード部分におけるフラグは、そのフラグを含む組におけるデータがサンプリング期間において最初のフレームのデータであるか否かを示す。すなわち、このフラグは、前のデータが欠けているか否かを示す。このフラグは、そのフラグを含む組におけるデータが同一種別及び同一サンプリング期間において最初のフレームのデータであるか否かを示していてもよい。 The flag in the payload portion indicates whether or not the data in the set including the flag is data of the first frame in the sampling period. That is, this flag indicates whether previous data is missing. This flag may indicate whether the data in the set including the flag is data of the first frame in the same type and the same sampling period.
ペイロード部分における予約は、ペイロード部分における未使用の領域である。ペイロード部分におけるIDは、CANのフレームにおけるIDであり、通信データの種別を示す。ペイロード部分におけるDLCは、CANのフレームにおけるDLCであり、ペイロード部分におけるデータの長さを示す。ペイロード部分におけるタイムスタンプは、CANの車載ネットワークからCANのフレームが取得された時刻であるサンプリング時刻を示す。ペイロード部分におけるデータは、CANのフレームにおけるデータである。 The reservation in the payload part is an unused area in the payload part. The ID in the payload portion is an ID in the CAN frame and indicates the type of communication data. The DLC in the payload portion is a DLC in the CAN frame and indicates the length of data in the payload portion. The time stamp in the payload portion indicates a sampling time that is a time when a CAN frame is acquired from the CAN in-vehicle network. Data in the payload portion is data in a CAN frame.
サンプリングログ及びフルログは、さらに、サンプリングログ又はフルログを識別するための識別フラグを含んでいてもよい。例えば、このような識別フラグは、ログフォーマットのヘッダ部分に含まれる。 The sampling log and the full log may further include an identification flag for identifying the sampling log or the full log. For example, such an identification flag is included in the header portion of the log format.
発明者は、上記のようなサンプリングログ及びフルログに基づく監視対象データの削減量を評価した。具体的には、1分間におけるCANの実際の通信データについて、通信ログ、サンプリングログ及びフルログのそれぞれのデータ量を計測することにより、削減量の評価が行われた。評価における通信ログは、データ量が削減されていないログであって、圧縮前のフルログと同じである。通信ログのデータ量は、1158KBであった。 The inventor evaluated the reduction amount of the monitoring target data based on the sampling log and the full log as described above. Specifically, the amount of reduction was evaluated by measuring the data amount of each of the communication log, sampling log, and full log for the actual communication data of CAN for one minute. The communication log in the evaluation is a log whose data amount is not reduced, and is the same as the full log before compression. The data amount of the communication log was 1158 KB.
まず、種別の削減が適用された。具体的には、CANにおける約100種の通信データのうち、車の制御に深く関係するステアリング、アクセル、ブレーキ及び車速度の4種の通信データがサンプリングログの生成に用いられた。そして、種別の削減が適用されたサンプリングログのデータ量は、200KBであった。つまり、元の通信ログのデータ量と比較して、82.7%のデータ量が削減された。 First, the type reduction was applied. Specifically, out of about 100 types of communication data in CAN, four types of communication data, such as steering, accelerator, brake, and vehicle speed, which are deeply related to vehicle control, were used to generate a sampling log. The data amount of the sampling log to which the type reduction is applied is 200 KB. That is, the data amount was reduced by 82.7% compared with the data amount of the original communication log.
次に、種別の削減に加えて、期間の間引きが適用された。その際、サンプリング期間の時間長を72msに固定し、サンプリング間隔の時間長を変えながら、通信データのサンプリングログのデータ量が計測された。 Next, in addition to the type reduction, period thinning was applied. At that time, the time length of the sampling period was fixed at 72 ms, and the data amount of the sampling log of the communication data was measured while changing the time length of the sampling interval.
図5は、サンプリング間隔とサンプリングログのデータ量との関係を示すグラフである。図5の通り、サンプリング間隔とサンプリングログのデータ量とは、サンプリング間隔が長いほど、サンプリングログのデータ量が小さいという関係を有する。本評価において、最終的に、1秒のサンプリング間隔が採用された。その結果、期間の間引きが適用されたサンプリングログのデータ量は、14.4KBであった。すなわち、200KBから14.4KBへ、92.8%のデータ量が削減された。 FIG. 5 is a graph showing the relationship between the sampling interval and the data amount of the sampling log. As shown in FIG. 5, the sampling interval and the data amount of the sampling log have a relationship that the longer the sampling interval, the smaller the data amount of the sampling log. In this evaluation, a sampling interval of 1 second was finally adopted. As a result, the data amount of the sampling log to which decimation was applied was 14.4 KB. That is, the data amount was reduced by 92.8% from 200 KB to 14.4 KB.
さらに、データ圧縮が適用された。具体的には、zip、cab、gzip、bzip2、lzh及び7−Zipの7種の圧縮方法のそれぞれを用いて、サンプリングログを圧縮し、圧縮後のデータ量を比較した。 In addition, data compression was applied. Specifically, the sampling log was compressed using each of the seven compression methods of zip, cab, gzip, bzip2, lzh, and 7-Zip, and the amount of data after compression was compared.
図6は、圧縮前後のデータ量を示す比較図である。ここで、第1種〜第4種は、ステアリング、アクセル、ブレーキ及び車速度の4種に対応する。図6のように、最も圧縮効果の高い圧縮方法は7−Zipであり、7−Zipによって圧縮されたサンプリングログのデータ量は、4.4KBであった。すなわち、14.4KBから4.4KBへ、69.4%のデータ量が削減された。 FIG. 6 is a comparison diagram showing the amount of data before and after compression. Here, the first to fourth types correspond to four types of steering, accelerator, brake, and vehicle speed. As shown in FIG. 6, the compression method having the highest compression effect is 7-Zip, and the data amount of the sampling log compressed by 7-Zip was 4.4 KB. That is, the data amount was reduced by 69.4% from 14.4 KB to 4.4 KB.
なお、第2種及び第4種のデータにおいて、第1種及び第3種のデータよりも、0の値が連続していた。そのため、第2種及び第4種のデータにおいて、高い圧縮効果が得られたと推定される。 In the second type and fourth type data, the value of 0 was more continuous than in the first type and third type data. Therefore, it is presumed that a high compression effect is obtained in the second and fourth type data.
種別の削減、期間の間引き、及び、圧縮によって、最終的に4.4KBのサンプリングログが生成された。すなわち、1158KBから4.4KBへ、99.6%のデータ量が削減された。 The 4.4KB sampling log was finally generated by reducing the type, thinning out the period, and compressing. That is, the data amount of 99.6% was reduced from 1158 KB to 4.4 KB.
また、7−Zipを用いて圧縮された通信ログのデータ量、より具体的には、7−Zipを用いて圧縮されたフルログのデータ量は、462KBであった。すなわち、フルログに関して、1158KBから462KBへ、60.1%のデータ量が削減された。 In addition, the data amount of the communication log compressed using 7-Zip, more specifically, the data amount of the full log compressed using 7-Zip was 462 KB. That is, for the full log, the data amount was reduced by 60.1% from 1158 KB to 462 KB.
上記の通り、サンプリングログ及びフルログの両方においてデータ量が削減され、サンプリングログではフルログよりもデータ量が削減されるという評価結果が得られた。通常時においてサンプリングログが車載システム410からサーバ装置300へ送信されるため、車載システム410からサーバ装置300へ送信される監視対象データのデータ量は、適切に削減されることが期待される。
As described above, an evaluation result was obtained that the data amount was reduced in both the sampling log and the full log, and the data amount was reduced in the sampling log as compared to the full log. Since the sampling log is transmitted from the in-
[基本構成]
次に、適切な監視レベルを維持しつつ、車載システム410から送信される監視対象データのデータ量を削減するための基本的な構成を説明する。[Basic configuration]
Next, a basic configuration for reducing the amount of monitoring target data transmitted from the in-
図7は、本実施の形態におけるセキュリティECU440の基本的な構成を示すブロック図である。セキュリティECU440は、車両400に搭載される情報処理装置の例である。セキュリティECU440は、取得器441及び出力器442を備える。
FIG. 7 is a block diagram showing a basic configuration of
取得器441は、情報を取得する。具体的には、取得器441は、車両400の車載ネットワークにおける通信データに異常が含まれるか否かの異常検知結果を異常検知器510から取得する。
The
出力器442は、情報を出力する。具体的には、出力器442は、車両400に搭載された送信器530から車両400の外部のサーバ装置300へ周期的にサンプリングログを送信させるサンプリングログ送信指示を出力する。また、出力器442は、通信データに異常が含まれることを示す異常検知結果が取得された場合、送信器530からサーバ装置300へフルログを送信させるフルログ送信指示を出力する。
The
ここで、サンプリングログは、通信データの2種類のログのうち単位時間あたりに生じるデータ量が他方のログよりも小さいログである。また、フルログは、2種類のログのうち単位時間あたりに生じるデータ量がサンプリングログよりも大きいログである。 Here, the sampling log is a log in which the amount of data generated per unit time is smaller than the other log among the two types of logs of communication data. The full log is a log in which the amount of data generated per unit time is larger than the sampling log among the two types of logs.
例えば、フルログは、複数の種別の通信データのログであってもよい。そして、サンプリングログは、フルログに関する複数の種別よりも少ない1以上の種別の通信データのログであってもよい。 For example, the full log may be a log of a plurality of types of communication data. The sampling log may be a log of one or more types of communication data that is smaller than a plurality of types related to the full log.
また、サンプリングログは、複数のサンプリング間隔のうち、複数のサンプリング間隔にそれぞれ含まれる複数のサンプリング期間における通信データのログであってもよい。ここで、複数のサンプリング間隔のそれぞれは、第1時間長の期間である。また、複数のサンプリング期間のそれぞれは、第1時間長よりも短い第2時間長の期間である。 The sampling log may be a log of communication data in a plurality of sampling periods respectively included in a plurality of sampling intervals among a plurality of sampling intervals. Here, each of the plurality of sampling intervals is a period of a first time length. Each of the plurality of sampling periods is a period of a second time length shorter than the first time length.
また、サンプリングログは、複数のサンプリング期間における通信データを構成する各フレームについて、(i)当該フレームのサンプリング時刻、(ii)当該フレームが最初のフレームであるか否か、及び、(iii)当該フレームのデータを示していてもよい。ここで、当該フレームが最初のフレームであるか否かは、例えば、当該フレームとサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームであるか否かである。 In addition, the sampling log includes, for each frame constituting communication data in a plurality of sampling periods, (i) the sampling time of the frame, (ii) whether the frame is the first frame, and (iii) the frame Frame data may be indicated. Here, whether or not the frame is the first frame is, for example, whether or not the frame is the first frame in one or more frames having the same sampling period as the frame.
また、サンプリングログは、複数のサンプリング期間における1以上の種別の通信データを構成する複数のフレームのそれぞれについて、(i)当該フレームのサンプリング時刻、(ii)当該フレームが最初のフレームであるか否か、及び、(iii)当該フレームのデータを示していてもよい。ここで、当該フレームが最初のフレームであるか否かは、例えば、当該フレームと種別及びサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームであるか否かである。 In addition, the sampling log includes (i) the sampling time of the frame and (ii) whether the frame is the first frame for each of a plurality of frames constituting one or more types of communication data in a plurality of sampling periods. Or (iii) data of the frame may be indicated. Here, whether or not the frame is the first frame is, for example, whether or not the frame is the first frame in one or more frames having the same type and sampling period as the frame.
また、例えば、ログ生成器520は、車載ネットワークから通信データを取得し、通信データに従ってフルログ及びサンプリングログを生成する。ログ生成器520は、車載ネットワークから通信データを直接的に取得することに限られず、車載ネットワークから他の装置を介して通信データを間接的に取得してもよい。例えば、ログ生成器520は、車載ネットワークから、通信データが蓄えられるメモリを介して、通信データを取得してもよい。また、ログ生成器520は、セキュリティECU440に含まれていてもよい。
Further, for example, the
そして、出力器442は、ログ生成器520で生成されたサンプリングログを送信器530からサーバ装置300へ周期的に送信させるサンプリングログ送信指示を出力してもよい。また、通信データに異常が含まれることを示す異常検知結果が取得された場合、出力器442は、ログ生成器520で生成されたフルログを送信器530からサーバ装置300へ送信させるフルログ送信指示を出力してもよい。
The
また、出力器442は、サンプリング期間に関する第2時間長よりも長い範囲で、サンプリング間隔に関する第1時間長をログ生成器520に変更させる変更指示を出力してもよい。
Further, the
例えば、通信データに異常が含まれることを示す異常検知結果が取得された場合、出力器442は、ログ生成器520に第2時間長よりも長い範囲で第1時間長を短くさせる変更指示を出力してもよい。そして、通信データに異常が含まれることを示す異常検知結果が取得されなかった場合、出力器442は、ログ生成器520に第1時間長を長くさせる変更指示を出力してもよい。
For example, when an abnormality detection result indicating that the communication data includes an abnormality is acquired, the
また、例えば、第1時間長は、通信データに関する複数の種別のそれぞれについて定められてもよい。そして、1つの種別について通信データに異常が含まれることを示す異常検知結果が取得された場合、出力器442は、ログ生成器520に第2時間長よりも長い範囲でその種別について第1時間長を短くさせる変更指示を出力してもよい。
For example, the first time length may be determined for each of a plurality of types related to communication data. When an abnormality detection result indicating that abnormality is included in the communication data for one type is acquired, the
あるいは、1つの種別について通信データに異常が含まれることを示す異常検知結果が取得された場合、出力器442は、ログ生成器520に第2時間長よりも長い範囲で複数の種別のそれぞれについて第1時間長を短くさせる変更指示を出力してもよい。すなわち、この場合、出力器442は、ログ生成器520に第2時間長よりも長い範囲で全ての種別について第1時間長を短くさせる変更指示を出力してもよい。
Alternatively, when an abnormality detection result indicating that an abnormality is included in communication data for one type is acquired, the
そして、通信データに異常が含まれることを示す異常検知結果が取得されなかった場合、出力器442は、ログ生成器520に短くさせられた第1時間長を長くさせる変更指示を出力してもよい。
And when the abnormality detection result which shows that abnormality is contained in communication data is not acquired, the
また、例えば、出力器442は、ログ生成器520に第2時間長よりも長い範囲で第1時間長をランダムに変更させる変更指示を出力してもよい。また、出力器442は、ログ生成器520に第2時間長よりも長い範囲で第1時間長を線形的に変更させる変更指示を出力してもよい。
For example, the
また、例えば、取得器441は、サーバ装置300から第1時間長の変更指示を外部指示として取得してもよい。そして、出力器442は、サーバ装置300から取得された外部指示に従って、ログ生成器520に第2時間長よりも長い範囲で第1時間長を変更させる変更指示を出力してもよい。
Further, for example, the
また、例えば、出力器442は、サンプリングログに関する1以上の種別をログ生成器520に特定させる特定情報を出力してもよい。
For example, the
また、異常検知器510は、サーバ装置300に含まれていてもよい。そして、取得器441は、サーバ装置300に含まれる異常検知器510から異常検知結果を取得してもよい。
In addition, the
また、異常検知器510は、セキュリティECU440に含まれていてもよい。そして、異常検知器510は、車載ネットワークから通信データを取得し、通信データに異常が含まれるか否かを判定してもよい。異常検知器510は、車載ネットワークから通信データを直接的に取得することに限られず、車載ネットワークから他の装置を介して通信データを間接的に取得してもよい。例えば、異常検知器510は、ログ生成器520を介して、車載ネットワークの通信データから生成されるフルログ等を通信データとして取得してもよい。
Further, the
また、例えば、送信器530は、出力器442から出力されたサンプリングログ送信指示に従って、サンプリングログをサーバ装置300へ送信し、出力器442から出力されたフルログ送信指示に従って、フルログをサーバ装置300へ送信する。送信器530は、セキュリティECU440に含まれていてもよい。
Further, for example, the
また、送信器530は、出力器442から出力されたサンプリングログ送信指示に従って、サンプリングログを可逆的に圧縮し、圧縮されたサンプリングログをサーバ装置300へ送信してもよい。また、送信器530は、出力器442から出力されたフルログ送信指示に従って、フルログを可逆的に圧縮し、圧縮されたフルログをサーバ装置300へ送信してもよい。
Further, the
また、出力器442は、送信器530からサーバ装置300へ周期的にサンプリングログを送信させるサンプリングログ送信指示を周期的に出力することにより、送信器530からサーバ装置300へ周期的にサンプリングログを送信させてもよい。あるいは、出力器442は、送信器530からサーバ装置300へ周期的にサンプリングログを送信させるサンプリングログ送信指示を単一の指示として出力することにより、送信器530からサーバ装置300へ周期的にサンプリングログを送信させてもよい。
Further, the
また、例えば、通信データに異常が含まれると判定された場合、通信データに異常が含まれることを示す異常検知結果を異常検知器510が送信し、取得器441は、送信され異常検知結果を取得してもよい。そして、通信データに異常が含まれないと判定された場合、異常検知器510が異常検知結果を送信せず、取得器441は、異常検知結果を取得しなくてもよい。あるいは、この場合、通信データに異常が含まれないことを示す異常検知結果を異常検知器510が送信し、取得器441が、送信された異常検知結果を取得してもよい。
For example, when it is determined that the communication data includes an abnormality, the
なお、取得器441及び出力器442は、専用又は汎用の電気回路であってもよい。そして、セキュリティECU440、異常検知器510、ログ生成器520、送信器530及びサーバ装置300は、電気回路で構成されていてもよい。具体的には、これらはそれぞれコンピュータであってもよい。
Note that the
また、上記の通り、異常検知器510、ログ生成器520及び送信器530は、それぞれ、セキュリティECU440に含まれていてもよい。取得器441は、セキュリティECU440の内部の装置から情報を取得してもよいし、出力器442は、セキュリティECU440の内部の装置へ情報を出力してもよい。
Further, as described above, the
また、異常検知器510、ログ生成器520及び送信器530は、それぞれ、車載ネットワークに接続されるECUでもよい。また、送信器530は、図1に示されたテレマティクス通信ユニット422、V2Xモジュール423又はゲートウェイ装置430等に対応する装置であってもよい。取得器441は、セキュリティECU440の外部の装置から車載ネットワークを介して情報を取得してもよいし、出力器442は、車載ネットワークを介してセキュリティECU440の外部の装置へ情報を出力してもよい。
Further, each of the
さらに、取得器441は、セキュリティECU440の外部の装置から、車載ネットワークとは異なるネットワークを介して、情報を取得してもよい。また、出力器442は、車載ネットワークとは異なるネットワークを介して、セキュリティECU440の外部の装置へ、情報を出力してもよい。
Furthermore, the
図8は、本実施の形態におけるサーバ装置300の基本的な構成を示すブロック図である。サーバ装置300は、車両400の外部に設けられる情報処理装置の例である。サーバ装置300は、取得器301、判定器302及び出力器303を備える。
FIG. 8 is a block diagram showing a basic configuration of
取得器301は、情報を取得する。具体的には、取得器301は、サンプリングログを車両400の車載システム410から取得する。
The
判定器302は、判定処理を行う。具体的には、判定器302は、サンプリングログを用いて通信データに異常が含まれるか否かを判定する。
The
出力器303は、情報を出力する。具体的には、出力器303は、通信データに異常が含まれると判定された場合、フルログを車載システム410からサーバ装置300へ送信させる送信指示として、通信データに異常が含まれることを示す異常検知結果を車載システム410へ出力する。
The
上述した通り、サンプリングログは、車両400の車載ネットワークにおける通信データの2種類のログのうち単位時間あたりに生じるデータ量が他方のログよりも小さいログである。フルログは、2種類のログのうち単位時間あたりに生じるデータ量がサンプリングログよりも大きいログである。
As described above, the sampling log is a log in which the amount of data generated per unit time is smaller than the other log among the two types of logs of communication data in the in-vehicle network of the
また、例えば、フルログは、複数の種別の通信データのログであってもよい。そして、サンプリングログは、フルログに関する複数の種別よりも少ない1以上の種別の通信データのログであってもよい。 Further, for example, the full log may be a log of a plurality of types of communication data. The sampling log may be a log of one or more types of communication data that is smaller than a plurality of types related to the full log.
また、サンプリングログは、複数のサンプリング間隔のうち、複数のサンプリング間隔にそれぞれ含まれる複数のサンプリング期間における通信データのログであってもよい。ここで、複数のサンプリング間隔のそれぞれは、第1時間長の期間である。また、複数のサンプリング期間のそれぞれは、第1時間長よりも短い第2時間長の期間である。 The sampling log may be a log of communication data in a plurality of sampling periods respectively included in a plurality of sampling intervals among a plurality of sampling intervals. Here, each of the plurality of sampling intervals is a period of a first time length. Each of the plurality of sampling periods is a period of a second time length shorter than the first time length.
出力器303は、上記のようなサンプリングログを生成する車載システム410に第2時間長よりも長い範囲で第1時間長を変更させる変更指示を車載システム410へ出力してもよい。例えば、出力器303は、通信データに異常が含まれると判定された場合、車載システム410に第2時間長よりも長い範囲で第1時間長を短くさせる変更指示を出力してもよい。また、出力器303は、通信データに異常が含まれないと判定された場合、車載システム410に第1時間長を長くさせる変更指示を出力してもよい。
The
また、例えば、第1時間長は、通信データに関する複数の種別のそれぞれについて定められてもよい。そして、出力器303は、1つの種別について通信データに異常が含まれると判定された場合、車載システム410に第2時間長よりも長い範囲でその種別について第1時間長を短くさせる変更指示を出力してもよい。
For example, the first time length may be determined for each of a plurality of types related to communication data. When the
あるいは、出力器303は、1つの種別について通信データに異常が含まれると判定された場合、車載システム410に第2時間長よりも長い範囲で複数の種別のそれぞれについて第1時間長を短くさせる変更指示を出力してもよい。すなわち、出力器303は、この場合、車載システム410に第2時間長よりも長い範囲で全ての種別について第1時間長を短くさせる変更指示を出力してもよい。
Alternatively, when it is determined that the communication data includes an abnormality for one type, the
また、出力器303は、通信データに異常が含まれないと判定された場合、車載システム410に短くさせられた第1時間長を長くさせる変更指示を出力してもよい。
Further, when it is determined that the communication data does not include an abnormality, the
さらに、出力器303は、上記のような変更指示を車両400と車種が同じ複数の車両の複数の車載システムへ出力してもよい。また、出力器303は、変更指示を車両400と地域が同じ複数の車両の複数の車載システムへ出力してもよい。
Further, the
また、サンプリングログは、複数のサンプリング期間における通信データを構成する各フレームについて、(i)当該フレームのサンプリング時刻、(ii)当該フレームが最初のフレームであるか否か、及び、(iii)当該フレームのデータを示していてもよい。ここで、当該フレームが最初のフレームであるか否かは、例えば、当該フレームとサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームであるか否かである。 In addition, the sampling log includes, for each frame constituting communication data in a plurality of sampling periods, (i) the sampling time of the frame, (ii) whether the frame is the first frame, and (iii) the frame Frame data may be indicated. Here, whether or not the frame is the first frame is, for example, whether or not the frame is the first frame in one or more frames having the same sampling period as the frame.
そして、判定器302は、当該フレームとサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームでない場合、サンプリング時刻の差及びデータの差の少なくとも一方を用いて、通信データに異常が含まれるか否かを判定してもよい。
Then, when the frame is not the first frame in one or more frames having the same sampling period as that frame, the
ここで、サンプリング時刻の差は、当該フレームとサンプリング期間が同じ1以上のフレームのうち当該フレームの前のフレームのサンプリング時刻と、当該フレームのサンプリング時刻との差である。データの差は、このような前のフレームのデータと、当該フレームのデータとの差である。ここで、前のフレームは、例えば、直前のフレームである。 Here, the difference in sampling time is the difference between the sampling time of the frame before the frame and the sampling time of the frame among one or more frames having the same sampling period as the frame. The data difference is a difference between the data of the previous frame and the data of the frame. Here, the previous frame is, for example, the immediately preceding frame.
また、サンプリングログは、複数のサンプリング期間における1以上の種別の通信データを構成する複数のフレームのそれぞれについて、(i)当該フレームのサンプリング時刻、(ii)当該フレームが最初のフレームであるか否か、及び、(iii)当該フレームのデータを示していてもよい。ここで、当該フレームが最初のフレームであるか否かは、例えば、当該フレームと種別及びサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームであるか否かである。 In addition, the sampling log includes (i) the sampling time of the frame and (ii) whether the frame is the first frame for each of a plurality of frames constituting one or more types of communication data in a plurality of sampling periods. Or (iii) data of the frame may be indicated. Here, whether or not the frame is the first frame is, for example, whether or not the frame is the first frame in one or more frames having the same type and sampling period as the frame.
そして、判定器302は、当該フレームと種別及びサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームでない場合、サンプリング時刻の差及びデータの差の少なくとも一方を用いて、通信データに異常が含まれるか否かを判定してもよい。
If the frame is not the first frame in one or more frames having the same type and sampling period as the relevant frame, the
ここで、サンプリング時刻の差は、当該フレームと種別及びサンプリング期間が同じ1以上のフレームのうち当該フレームの前のフレームのサンプリング時刻と、当該フレームのサンプリング時刻との差である。データの差は、このような前のフレームのデータと、当該フレームのデータとの差である。 Here, the difference in sampling time is the difference between the sampling time of a frame before the frame and the sampling time of the frame among one or more frames having the same type and sampling period as the frame. The data difference is a difference between the data of the previous frame and the data of the frame.
また、取得器301は、送信指示の出力後、フルログを車載システム410から取得してもよい。そして、判定器302は、さらに、フルログを用いて通信データに異常が含まれるか否かを判定してもよい。
Further, the
また、出力器303は、サンプリングログを用いて通信データに異常が含まれると判定された場合、異常検知結果を車載システム410へ出力してもよい。そして、出力器303は、フルログを用いて通信データに異常が含まれると判定された場合、異常検知結果を車載システム410へ出力しなくてもよい。すなわち、出力器303は、フルログが取得されていない場合において、通信データに異常が含まれると判定された場合、異常検知結果を車載システム410へ出力してもよい。
The
また、出力器303は、通信データに異常が含まれると判定された場合、異常検知結果を端末装置200へ出力してもよい。
Further, the
また、取得器301は、車載システム410において圧縮されたサンプリングログを車載システム410から取得し、圧縮されたサンプリングログを解凍してもよい。同様に、取得器301は、車載システム410において圧縮されたフルログを車載システム410から取得し、圧縮されたフルログを解凍してもよい。
Further, the
なお、取得器301、判定器302及び出力器303は、専用又は汎用の電気回路であってもよい。そして、端末装置200、サーバ装置300及び車載システム410は、電気回路で構成されていてもよい。具体的には、これらはそれぞれコンピュータであってもよい。また、取得器301は、サーバ装置300の外部の装置から外部ネットワークを介して情報を取得してもよいし、出力器303は、外部ネットワークを介してサーバ装置300の外部の装置へ情報を出力してもよい。
Note that the
また、例えば、単位時間あたりに生じるサンプリングログの平均データ量は、単位時間あたりに生じるフルログの平均データ量よりも小さい。単位時間は、1秒間であってもよいし、1分間であってもよいし、1時間であってもよいし、サンプリングログに関するサンプリング間隔であってもよい。 For example, the average data amount of the sampling log generated per unit time is smaller than the average data amount of the full log generated per unit time. The unit time may be 1 second, 1 minute, 1 hour, or a sampling interval related to the sampling log.
[具体例]
図9は、本実施の形態の具体例におけるセキュリティシステム100の構成を示すブロック図である。[Concrete example]
FIG. 9 is a block diagram showing a configuration of the
本具体例において、セキュリティシステム100は、端末装置200、サーバ装置300、ゲートウェイ装置430、セキュリティECU440、及び、複数のECU450を備える。図9に示されたセキュリティシステム100、端末装置200、サーバ装置300、ゲートウェイ装置430、及び、セキュリティECU440は、それぞれ、図1に示された構成要素に対応する。また、図9に示された複数のECU450は、図1に示された複数のECU451及び452に対応する。
In this specific example, the
ゲートウェイ装置430、セキュリティECU440、及び、複数のECU450は、車載ネットワークに接続される。サーバ装置300は、端末装置200及び外部ネットワークに接続される。サーバ装置300は、外部ネットワークを介して端末装置200に接続されてもよい。外部ネットワークと車載ネットワークとは、ゲートウェイ装置430を介して互いに接続される。ゲートウェイ装置430は、車載ネットワークと外部ネットワークとの間において、通信の中継を行う。
例えば、ゲートウェイ装置430は、外部ネットワークに無線で接続される。ゲートウェイ装置430は、図1に示されたテレマティクス通信ユニット422又はV2Xモジュール423等を介して外部ネットワークに接続されてもよい。また、外部ネットワークは、無線通信のネットワークであってもよいし、有線通信のネットワークであってもよい。
For example, the
セキュリティECU440、サーバ装置300及び端末装置200は、不正アクセスから、車両400及び車載ネットワーク等を保護する役割を有する。
The
セキュリティECU440は、車載ネットワークにおける通信データを直接的に監視する。サーバ装置300は、車載ネットワークにおける通信データを間接的に監視することにより、遠隔監視を行う。端末装置200は、遠隔監視の結果等をサーバ装置300から取得する。端末装置200は、SOC又はASIRT等の監視組織において用いられる。
図10は、図9に示されたセキュリティシステム100の変形構成を示すブロック図である。この変形構成では、図9のゲートウェイ装置430及びセキュリティECU440が統合されている。そして、セキュリティシステム100は、ゲートウェイ装置430及びセキュリティECU440が統合されたセキュリティゲートウェイ装置460を備える。
FIG. 10 is a block diagram showing a modified configuration of the
なお、セキュリティゲートウェイ装置460は、ゲートウェイ装置430を含むセキュリティECU440であってもよいし、セキュリティECU440を含むゲートウェイ装置430であってもよい。
The
図11は、図9に示されたセキュリティECU440の構成を示すブロック図である。セキュリティECU440は、サンプリングログ生成器443、フルログ生成器444、異常検知器445、異常データ無効化器446、蓄積器447及び通信器448を備える。これらの構成要素は、図7に示された取得器441、出力器442、異常検知器510、ログ生成器520及び送信器530等の役割を果たす。
FIG. 11 is a block diagram showing a configuration of
サンプリングログ生成器443は、通信器448を介して車載ネットワークにおける通信データを取得し、取得された通信データのサンプリングログを生成し、生成されたサンプリングログを蓄積器447に格納する。
The
フルログ生成器444は、通信器448を介して車載ネットワークにおける通信データを取得し、取得された通信データのフルログを生成し、生成されたフルログを蓄積器447に格納する。
The
異常検知器445は、通信器448を介して車載ネットワークにおける通信データを取得し、取得された通信データに異常が含まれるか否かを判定する。異常検知器445は、蓄積器447に格納されたフルログに異常が含まれるか否かを判定することにより、通信データに異常が含まれるか否かを判定してもよい。あるいは、異常検知器445は、蓄積器447に格納されたサンプリングログに異常が含まれるか否かを判定することにより、通信データに異常が含まれるか否かを簡易的に判定してもよい。
The
異常データ無効化器446は、通信データに異常が含まれると判定された場合、異常な通信データを無効化する。具体的には、異常データ無効化器446は、通信器448を介して、CANのエラーフレームを車載ネットワークに出力することにより、異常な通信データを無効化してもよい。
The
蓄積器447は、サンプリングログ生成器443で生成されたサンプリングログ、及び、フルログ生成器444で生成されたフルログを蓄積する。例えば、蓄積器447は、メモリで構成される。
The
通信器448は、車載ネットワークから情報を取得し、車載ネットワークへ情報を出力することにより、複数のECU450及びゲートウェイ装置430等と通信する。さらに、通信器448は、ゲートウェイ装置430を介して、サーバ装置300等と通信してもよい。
The
なお、図7に示された取得器441、出力器442及び送信器530は、通信器448に含まれていてもよい。図7に示された異常検知器510は、異常検知器445に含まれていてもよい。図7に示されたログ生成器520は、サンプリングログ生成器443、フルログ生成器444及び蓄積器447で構成されていてもよい。
Note that the
例えば、通信器448において、出力器442が、サンプリングログを周期的に送信するための送信指示を送信器530へ出力してもよい。そして、通信器448に含まれる取得器441が、通信データに異常が含まれるか否かの異常検知結果を異常検知器445から取得してもよい。そして、通信器448において、通信データに異常が含まれることを取得する異常検知結果が取得された場合、出力器442が、フルログを送信するための送信指示を送信器530へ出力してもよい。
For example, in the
また、例えば、通信器448に含まれる出力器442が、ログ生成器520を構成するサンプリングログ生成器443へサンプリング間隔又は種別に関する指示を出力してもよい。
Further, for example, the
図7に示された構成要素と、図11に示された構成要素との間における上記の関係は一例であって、これらの関係は上記の例に限られない。例えば、図7に示された取得器441及び出力器442は、異常検知器445に含まれていてもよい。そして、異常検知器445において、取得器441は、通信データに異常が含まれるか否かを判定する異常検知器510から、通信データに異常が含まれるか否かの異常検知結果を取得してもよい。
The above relationship between the components shown in FIG. 7 and the components shown in FIG. 11 is an example, and these relationships are not limited to the above examples. For example, the
図12は、図10に示されたセキュリティゲートウェイ装置460の構成を示すブロック図である。セキュリティゲートウェイ装置460は、サンプリングログ生成器463、フルログ生成器464、異常検知器465、異常データ無効化器466、蓄積器467、転送処理器469、車外通信器470及び車内通信器471を備える。これらの構成要素は、図7に示された取得器441、出力器442、異常検知器510、ログ生成器520及び送信器530等の役割を果たす。
FIG. 12 is a block diagram showing a configuration of the
また、図12のサンプリングログ生成器463、フルログ生成器464、異常検知器465、異常データ無効化器466及び蓄積器467は、それぞれ、図11のサンプリングログ生成器443、フルログ生成器444、異常検知器445、異常データ無効化器446及び蓄積器447と同様の構成要素である。
In addition, the
転送処理器469は、車両400の外部から車外通信器470を介して情報を取得し、車内通信器471を介して情報を出力することにより、車両400の外部から内部へ情報を転送する。また、転送処理器469は、車両400の内部から車内通信器471を介して情報を取得し、車両400の外部へ車外通信器470を介して情報を出力することにより、車両400の内部から外部へ情報を転送する。
The
車外通信器470は、例えば外部ネットワークを介して、車両400の外部のサーバ装置300等と通信する。車内通信器471は、車載ネットワークを介して、車両400の内部の複数のECU450等と通信する。また、車外通信器470及び車内通信器471は、セキュリティECU440の通信器448と同様の役割を果たす。
The
なお、以下において示されるセキュリティECU440の動作は、セキュリティゲートウェイ装置460によって行われてもよい。例えば、セキュリティECU440の通信器448によって行われる動作は、セキュリティゲートウェイ装置460の車外通信器470又は車内通信器471によって行われてもよい。
The operation of the
また、一例として、図7に示された取得器441、出力器442及び送信器530は、車外通信器470に含まれていてもよい。図7に示された異常検知器510は、異常検知器465に含まれていてもよい。図7に示されたログ生成器520は、サンプリングログ生成器463、フルログ生成器464及び蓄積器467で構成されていてもよい。
As an example, the
図13は、図9等に示されたサーバ装置300の構成を示すブロック図である。サーバ装置300は、サンプリングログ処理器343、フルログ処理器344、異常検知器345、異常通知器346、蓄積器347及び通信器348を備える。これらの構成要素は、図8に示された取得器301、判定器302及び出力器303等の役割を果たす。
FIG. 13 is a block diagram illustrating a configuration of the
サンプリングログ処理器343は、通信器348を介してサンプリングログを取得し、取得されたサンプリングログを蓄積器347に格納する。
The
フルログ処理器344は、通信器348を介してフルログを取得し、取得されたフルログを蓄積器347に格納する。
The
異常検知器345は、蓄積器347に格納されたサンプリングログ又はフルログに異常が含まれるか否かを判定することにより、通信データに異常が含まれるか否かを判定する。
The
異常通知器346は、通信データに異常が含まれると判定された場合、通信器348を介して異常通知を端末装置200及びセキュリティECU440へ送信する。
The
蓄積器347は、サンプリングログ処理器343で取得されたサンプリングログ、及び、フルログ処理器344で取得されたフルログを蓄積する。例えば、蓄積器347は、メモリで構成される。
The
通信器348は、例えば外部ネットワークを介して、セキュリティECU440等と通信する。また、通信器348は、端末装置200と通信する。
The
なお、一例として、図8に示された取得器301及び出力器303は、通信器348に含まれていてもよい。図8に示された判定器302は、異常検知器345に含まれていてもよい。
As an example, the
図14は、図9に示されたセキュリティシステム100におけるサンプリングログの送信に関連する動作を示すシーケンス図である。
FIG. 14 is a sequence diagram showing operations related to the transmission of the sampling log in the
まず、セキュリティECU440の通信器448は、車載ネットワークから通信データを取得する(S101)。次に、セキュリティECU440のサンプリングログ生成器443は、車載ネットワークから取得された通信データに従って、蓄積器447にサンプリングログを記録する(S102)。また、セキュリティECU440のフルログ生成器444は、車載ネットワークから取得された通信データに従って、蓄積器447にフルログを記録する(S103)。
First, the
また、セキュリティECU440の異常検知器445は、車載ネットワークから取得された通信データに従って、異常検知処理を行う(S104)。すなわち、セキュリティECU440の異常検知器445は、車載ネットワークから取得された通信データに異常が含まれるか否かを判定する。
Further, the
異常が検知されなかった場合において、すなわち、車載ネットワークから取得された通信データに異常が含まれないと判定された場合において、セキュリティECU440の通信器448は、サンプリングログを周期的に送信する(S105)。例えば、セキュリティECU440の通信器448は、蓄積器447に記録されたサンプリングログを圧縮して、圧縮されたサンプリングログをサーバ装置300へ送信する。
When no abnormality is detected, that is, when it is determined that there is no abnormality in the communication data acquired from the in-vehicle network, the
サーバ装置300の通信器348は、セキュリティECU440からサンプリングログを取得する。そして、サーバ装置300のサンプリングログ処理器343は、セキュリティECU440から取得されたサンプリングログを蓄積器347に記録する。例えば、サーバ装置300のサンプリングログ処理器343は、圧縮されたサンプリングログを解凍し、解凍されたサンプリングログを蓄積器347に記録する。
The
そして、サーバ装置300の異常検知器345は、蓄積器347に記録されたサンプリングログに従って、異常検知処理を行う(S106)。すなわち、サーバ装置300の異常検知器345は、サンプリングログに異常が含まれるか否かを判定することにより、車載ネットワークにおける通信データに異常が含まれるか否かを判定する。
Then, the
図15は、図9等に示されたサーバ装置300で行われる異常検知処理に関連する動作を示すシーケンス図である。
FIG. 15 is a sequence diagram illustrating operations related to the abnormality detection process performed by the
サーバ装置300で行われる異常検知処理(S106)において異常が検知された場合、サーバ装置300の異常通知器346は、通信器348を介して異常通知を送信する。すなわち、サンプリングログに従って車載ネットワークにおける通信データに異常が含まれると判定された場合、サーバ装置300の異常通知器346は、通信器348を介して異常通知を送信する。
When an abnormality is detected in the abnormality detection process (S106) performed by the
例えば、サーバ装置300の異常通知器346は、通信器348を介して、端末装置200へ異常通知を送信する(S107)。そして、端末装置200は、サーバ装置300から異常通知を取得し、監視組織に異常を通知する。
For example, the
また、サーバ装置300の異常通知器346は、通信器348を介して、セキュリティECU440へ異常通知を送信する(S108)。そして、セキュリティECU440の通信器448は、異常通知を取得し、ドライバーへ異常を通知する(S109)。
Further, the
例えば、セキュリティECU440の通信器448は、ディスプレイ又はスピーカ等の通知インタフェースを有するECU450へ異常通知を出力することにより、通知インタフェースを介して、ドライバーへ異常を通知する。あるいは、セキュリティECU440が、通知インタフェースを有している場合、セキュリティECU440は、セキュリティECU440の通知インタフェースを介して、ドライバーへ異常を通知してもよい。
For example, the
また、セキュリティECU440の通信器448は、異常通知を取得した場合、フルログをサーバ装置300へ送信する(S110)。例えば、セキュリティECU440の通信器448は、蓄積器447に記録されたフルログを圧縮して、圧縮されたフルログをサーバ装置300へ送信する。
Moreover, the
そして、サーバ装置300の通信器348は、セキュリティECU440からフルログを取得する。そして、サーバ装置300のフルログ処理器344は、セキュリティECU440から取得されたフルログを蓄積器347に記録する。例えば、サーバ装置300のフルログ処理器344は、圧縮されたフルログを解凍し、解凍されたフルログを蓄積器347に記録する。
Then, the
そして、サーバ装置300の異常検知器345は、蓄積器347に記録されたフルログに従って、異常検知処理を行う(S111)。すなわち、サーバ装置300の異常検知器345は、フルログに異常が含まれるか否かを判定することにより、車載ネットワークにおける通信データに異常が含まれるか否かを判定する。
Then, the
そして、サーバ装置300の通信器348は、異常検知処理の結果を端末装置200へ送信する(S112)。サーバ装置300の異常通知器346が、通信器348を介して、異常検知処理の結果として異常通知を端末装置200へ送信してもよい。端末装置200は、サーバ装置300から異常検知処理の結果を取得し、監視組織に異常検知処理の結果を通知する。
Then, the
そして、端末装置200は、監視組織によって操作されることにより、異常に関する詳細分析を行う(S113)。また、端末装置200は、監視組織によって操作されることにより、証拠保全を行う(S114)。端末装置200は、詳細分析及び証拠保全のため、サーバ装置300からフルログをダウンロードしてもよい。
And the
図16は、図9等に示されたセキュリティECU440で行われる異常検知処理に関連する動作を示すシーケンス図である。
FIG. 16 is a sequence diagram showing operations related to the abnormality detection process performed by the
セキュリティECU440で行われる異常検知処理(S104)において異常が検知された場合、セキュリティECU440の通信器448は、ドライバーへ異常を通知する(S131)。すなわち、車載ネットワークから取得された通信データに異常が含まれると判定された場合において、セキュリティECU440の通信器448は、ドライバーへ異常を通知する。
When an abnormality is detected in the abnormality detection process (S104) performed by the
例えば、セキュリティECU440の通信器448は、通知インタフェースを有するECU450へ異常通知を出力することにより、通知インタフェースを介して、ドライバーへ異常を通知する。あるいは、セキュリティECU440が、通知インタフェースを有している場合、セキュリティECU440は、セキュリティECU440の通知インタフェースを介して、ドライバーへ異常を通知してもよい。
For example, the
そして、セキュリティECU440の通信器448は、フルログを送信する(S132)。例えば、セキュリティECU440の通信器448は、蓄積器447に記録されたフルログを圧縮して、圧縮されたフルログをサーバ装置300へ送信する。
Then, the
そして、サーバ装置300の通信器348は、セキュリティECU440からフルログを取得する。そして、サーバ装置300のフルログ処理器344は、セキュリティECU440から取得されたフルログを蓄積器347に記録する。例えば、サーバ装置300のフルログ処理器344は、圧縮されたフルログを解凍し、解凍されたフルログを蓄積器347に記録する。
Then, the
そして、サーバ装置300の異常検知器345は、蓄積器347に記録されたフルログに従って、異常検知処理を行う(S133)。すなわち、サーバ装置300の異常検知器345は、フルログに異常が含まれるか否かを判定することにより、車載ネットワークにおける通信データに異常が含まれるか否かを判定する。
Then, the
そして、異常が検知された場合、すなわち、フルログに従って車載ネットワークにおける通信データに異常が含まれると判定された場合、サーバ装置300の異常通知器346は、通信器348を介して異常通知を送信する。例えば、サーバ装置300の異常通知器346は、通信器348を介して、端末装置200へ異常通知を送信する(S134)。そして、端末装置200は、サーバ装置300から異常通知を取得し、監視組織に異常を通知する。
When an abnormality is detected, that is, when it is determined that an abnormality is included in the communication data in the in-vehicle network according to the full log, the
また、サーバ装置300の異常通知器346は、通信器348を介して、セキュリティECU440へ異常通知を送信する(S135)。そして、セキュリティECU440の通信器448は、異常通知を取得し、ドライバーへ異常を通知する(S136)。また、セキュリティECU440の通信器448は、異常通知を取得した場合、フルログをサーバ装置300へ送信する(S137)。
Moreover, the
そして、サーバ装置300の通信器348は、セキュリティECU440からフルログを取得する。そして、サーバ装置300のフルログ処理器344は、セキュリティECU440から取得されたフルログを蓄積器347に記録する。そして、サーバ装置300の異常検知器345は、蓄積器347に記録されたフルログに従って、異常検知処理を行う(S138)。
Then, the
そして、サーバ装置300の通信器348は、異常検知処理の結果を端末装置200へ送信する(S139)。サーバ装置300の異常通知器346が、通信器348を介して、異常検知処理の結果として異常通知を端末装置200へ送信してもよい。端末装置200は、サーバ装置300から異常検知処理の結果を取得し、監視組織に異常検知処理の結果を通知する。
Then, the
そして、端末装置200は、監視組織によって操作されることにより、異常に関する詳細分析を行う(S140)。また、端末装置200は、監視組織によって操作されることにより、証拠保全を行う(S141)。
And the
図16に示された端末装置200に対する異常通知の送信(S134)から証拠保全(S141)までの処理は、図15に示された端末装置200に対する異常通知の送信(S107)から証拠保全(S114)までの処理と同様である。また、処理の繰り返しを避けるため、セキュリティECU440に対する異常通知の送信(S135)から、端末装置200に対する異常検知処理結果の送信(S139)までの処理は、省略されてもよい。
The processing from the transmission of the abnormality notification (S134) to the evidence device (S141) to the
図17は、図9等に示されたセキュリティECU440の動作を示すフローチャートである。
FIG. 17 is a flowchart showing the operation of the
セキュリティECU440は、車載ネットワークにおける通信データのログを記録するためのログ記録処理を行う(S201)。また、セキュリティECU440は、通信データにおける異常を検知するための異常検知処理を行う(S202)。そして、セキュリティECU440は、通信ログをサーバ装置300へ送信するためのログ送信処理を行う(S203)。セキュリティECU440は、これらの処理(S201〜S203)を繰り返す。
The
図18は、図9等に示されたセキュリティECU440で行われるログ記録処理の第1態様を示すフローチャートである。
FIG. 18 is a flowchart showing a first mode of the log recording process performed by the
まず、通信器448は、車載ネットワークにおける通信データを受信することにより通信データを取得する(S301)。具体的には、通信器448は、CANのフレームを通信データとして取得する。
First, the
次に、フルログ生成器444は、取得された通信データをフルログとして蓄積器447に記録する(S302)。具体的には、フルログ生成器444は、取得されたフレームを図4のログフォーマットに従ってフルログとして蓄積器447に記録する。また、例えば、過去に取得されたフレームがフルログとして蓄積器447に記録されている場合、フルログ生成器444は、新たに取得されたフレームの情報を図4のログフォーマットにおけるペイロードに追加する。
Next, the
次に、サンプリングログ生成器443は、例えばサンプリングログ生成器443におけるサンプリングタイマを確認することにより、現在時刻がサンプリング期間内であるか否かを判定する(S303)。現在時刻がサンプリング期間内でない場合(S304でNo)、セキュリティECU440は、ログ記録処理を終了する。
Next, the
現在時刻がサンプリング期間内である場合(S304でYes)、サンプリングログ生成器443は、取得された通信データが特定の種別の通信データであるか否かを判定する。その際、具体的には、サンプリングログ生成器443は、取得されたフレームに含まれるIDが特定のIDであるか否かを判定することにより、取得されたフレームが特定の種別のフレームであるか否かを判定する。
If the current time is within the sampling period (Yes in S304), the
取得された通信データが特定の種別の通信データでないと判定された場合(S305でNo)、セキュリティECU440は、ログ記録処理を終了する。
When it is determined that the acquired communication data is not a specific type of communication data (No in S305), the
取得された通信データが特定の種別の通信データであると判定された場合(S305でYes)、サンプリングログ生成器443は、取得された通信データをサンプリングログとして蓄積器447に記録する(S306)。
If it is determined that the acquired communication data is a specific type of communication data (Yes in S305), the
具体的には、サンプリングログ生成器443は、取得されたフレームを図4のログフォーマットに従ってサンプリングログとして蓄積器447に記録する。また、例えば、過去に取得されたフレームがサンプリングログとして蓄積器447に記録されている場合、サンプリングログ生成器443は、新たに取得されたフレームの情報を図4のログフォーマットにおけるペイロードに追加する。そして、セキュリティECU440は、ログ記録処理を終了する。
Specifically, the
なお、サンプリングログ生成器443及びフルログ生成器444は、基本的に、サンプリングログとフルログとを別々に蓄積器447に記録する。
Note that the
図19は、図9等に示されたセキュリティECU440で行われるログ記録処理の第2態様を示すフローチャートである。図19に示されたログ記録処理の第2態様において、通信データを取得してから通信データをサンプリングログとして記録するまでの処理(S301〜S306)は、図18に示されたログ記録処理の第1態様と同じである。
FIG. 19 is a flowchart showing a second mode of the log recording process performed by the
図19に示されたログ記録処理の第2態様において、サンプリングログ生成器443は、通信データをサンプリングログとして記録した後、サンプリング間隔の時間長を更新する(S307)。
In the second aspect of the log recording process shown in FIG. 19, the
例えば、サンプリングログ生成器443は、最小値と最大値との間の範囲でランダムにサンプリング間隔の時間長を更新する。ここで、最小値及び最大値は、それぞれ、サンプリング期間の時間長よりも大きい値に予め定められる。あるいは、サンプリングログ生成器443は、最小値と最大値との間の範囲で線形的にサンプリング間隔の時間長を更新してもよい。
For example, the
具体的には、サンプリングログ生成器443は、サンプリング間隔の時間長を最小値から最大値まで徐々に大きくしてもよい。すなわち、サンプリングログ生成器443は、サンプリング間隔の時間長を最小値から最大値まで段階的に大きくしてもよい。そして、サンプリング間隔の時間長が最大値に到達した後、サンプリング間隔の時間長を最大値から最小値まで徐々に小さくしてもよい。すなわち、サンプリングログ生成器443は、サンプリング間隔の時間長を最小値から最大値まで段階的に小さくしてもよい。
Specifically, the
これにより、セキュリティECU440は、サンプリングログに関連するサンプリング間隔の時間長を様々に変更することができる。したがって、セキュリティECU440は、サンプリングログに、固定のサンプリング間隔では含まれない異常等を含ませることができる。また、セキュリティECU440は、サンプリング間隔を解析されにくくすることができる。したがって、セキュリティECU440は、不正なデータに基づく異常等がサンプリングログに含まれない現象を抑制することができる。
Thereby, the
なお、サンプリングログ生成器443は、サンプリング間隔の更新に加えて、又は、サンプリング間隔の更新に代えて、サンプリングログに関連する特定の種別を更新してもよい。
Note that the
また、上記のログ記録処理において、例えば、通信器448に含まれる出力器442から、サンプリングログ生成器443で構成されるログ生成器520へ、サンプリング間隔又は特定の種別に関する指示が出力される。そして、サンプリング間隔又は特定の種別に関する指示に従って、サンプリング間隔又は特定の種別が更新される。
In the log recording process described above, for example, an instruction regarding a sampling interval or a specific type is output from the
図20は、図9等に示されたセキュリティECU440で行われる異常検知処理を示すフローチャートである。
FIG. 20 is a flowchart showing an abnormality detection process performed by the
異常検知処理において、異常検知器445は、通信器448で取得された通信データと異常パターンとのマッチング処理を行う(S401)。すなわち、異常検知器445は、通信器448で取得された通信データが予め定められた異常パターンにマッチするか否かを判定する。ここで、通信器448で取得された通信データは、より具体的には、通信器448で通信データとして取得された1以上のデータフレームである。
In the abnormality detection process, the
そして、異常検知器445は、通信器448で取得された通信データが予め定められた異常パターンにマッチすると判定した場合(S402でYes)、異常を検知する(S403)。言い換えれば、異常検知器445は、この場合、通信データに異常が含まれると判定する。さらに言い換えれば、異常検知器445は、通信器448で取得された通信データが予め定められた異常パターンにマッチすることを通信データにおける異常として検知する。
If the
また、通信器448は、サーバ装置300から異常通知を受信するための異常通知受信処理を行う(S404)。具体的には、サーバ装置300から異常通知が送信された場合、通信器448は、サーバ装置300から送信された異常通知を受信する。
Further, the
そして、異常検知器445は、通信器448がサーバ装置300から異常通知を受信した場合(S405でYes)、異常を検知する(S406)。言い換えれば、異常検知器445は、この場合、通信データに異常が含まれると判定する。さらに言い換えれば、異常検知器445は、通信器448がサーバ装置300から異常通知を受信したことを通信データにおける異常として検知する。
Then, when the
また、通信器448で取得された通信データが予め定められた異常パターンにマッチしないと判定され、通信器448がサーバ装置300から異常通知を受信しなかった場合、異常検知器445は異常を検知しない。すなわち、この場合、異常検知器445は、通信データに異常が含まれないと判定する。
In addition, when it is determined that the communication data acquired by the
なお、上記の異常検知処理において、通信データと異常パターンとのマッチング処理が行われているが、通信データと正常パターンとのマッチング処理が行われてもよい。この場合、通信データが予め定められた正常パターンにマッチしないと判定された場合、異常検知器445は異常を検知する。
In the above abnormality detection process, the matching process between the communication data and the abnormal pattern is performed, but the matching process between the communication data and the normal pattern may be performed. In this case, when it is determined that the communication data does not match a predetermined normal pattern, the
また、CANにおいて、同種のデータフレームは一定の周期で流れることが想定される。したがって、同種のデータフレームが一定の周期で流れていない場合、異常検知器445は異常を検知してもよい。具体的には、異常検知器445は、データフレームが取得された時間間隔を用いて、データフレームが一定の周期で流れているか否かを判定し、その判定結果に従って異常を検知してもよい。また、異常パターン又は正常パターンに、CANを流れる同種のデータフレームの周期が含まれていてもよい。
In CAN, the same kind of data frames are assumed to flow at a constant cycle. Therefore, the
また、一定の周期で流れる同種の複数のデータフレームはデータ内容において連続性を有することが想定される。例えば、異常検知器445は、同種の複数のデータフレームにおいて、前のデータフレームのデータ値から乖離の大きいデータ値を有するデータフレームを異常として検知してもよい。また、異常パターン又は正常パターンに、乖離の大きさが含まれていてもよい。乖離の大きさは、データ値の差とも表現され得る。
In addition, it is assumed that a plurality of data frames of the same kind that flow at a constant cycle have continuity in data contents. For example, the
また、異常通知受信処理(S404)のタイミングは、図20の例に限られない。通信器448は、サーバ装置300から異常通知が送信されたタイミングで、サーバ装置300から送信された異常通知を受信する。
Further, the timing of the abnormality notification reception process (S404) is not limited to the example of FIG. The
また、セキュリティECU440は、セキュリティECU440における独自の異常検知(S401〜S403)と、サーバ装置300に基づく異常検知(S404〜S406)とのうち、一方のみを行ってもよい。
Further, the
セキュリティECU440が独自の異常検知(S401〜S403)を行う構成は、図7に示された異常検知器510がセキュリティECU440に含まれる構成に対応する。セキュリティECU440がサーバ装置300に基づく異常検知(S404〜S406)を行う構成は、図7に示された異常検知器510がサーバ装置300に含まれる構成に対応する。
The configuration in which the
そして、独自の異常検知(S401〜S403)と、サーバ装置300に基づく異常検知(S404〜S406)との両方が行われる構成は、異常検知器510がセキュリティECU440及びサーバ装置300のそれぞれに含まれる構成に対応する。
The configuration in which both the unique abnormality detection (S401 to S403) and the abnormality detection (S404 to S406) based on the
図21は、図9等に示されたセキュリティECU440で行われるログ送信処理の第1態様を示すフローチャートである。
FIG. 21 is a flowchart showing a first mode of log transmission processing performed by
本態様において、異常検知器445は、通信データの異常が検知されたか否かを判定する(S501)。そして、通信データの異常が検知されたと判定された場合、すなわち、通信データに異常が含まれると判定された場合、通信器448は、ドライバーへ異常を通知する(S502)。例えば、通信器448は、通知インタフェースを有するECU450へ異常通知を出力することにより、通知インタフェースを介して、ドライバーへ異常を通知する。
In this aspect, the
そして、通信器448は、蓄積器447に記録されたフルログを圧縮する(S503)。例えば、通信器448は、7−Zip等の圧縮方法を用いてフルログを可逆的に圧縮する。そして、通信器448は、圧縮されたフルログをサーバ装置300へ送信する(S504)。通信器448は、フルログの送信後、蓄積器447に記録されたフルログを蓄積器447から削除してもよい。
Then, the
一方、通信データの異常が検知されなかったと判定された場合、すなわち、通信データに異常が含まれないと判定された場合、通信器448は、定期送信タイマを確認することにより、現在時刻が定期送信のタイミングであるか否かを判定する(S511)。現在時刻が定期送信のタイミングでないと判定された場合(S512でNo)、セキュリティECU440は、ログ送信処理を終了する。
On the other hand, when it is determined that no abnormality is detected in the communication data, that is, when it is determined that no abnormality is included in the communication data, the
現在時刻が定期送信のタイミングであると判定された場合(S512でYes)、通信器448は、蓄積器447に記録されたサンプリングログを圧縮する(S513)。例えば、通信器448は、7−Zip等の圧縮方法を用いてサンプリングログを可逆的に圧縮する。そして、通信器448は、圧縮されたサンプリングログをサーバ装置300へ送信する(S514)。通信器448は、サンプリングログの送信後、蓄積器447に記録されたサンプリングログを蓄積器447から削除してもよい。
When it is determined that the current time is the timing of regular transmission (Yes in S512), the
上記のログ送信処理により、セキュリティECU440からサーバ装置300へ、データ量が比較的小さいサンプリングログが周期的に送信され、データ量が比較的大きいフルログが異常時に送信される。
By the log transmission process, a sampling log with a relatively small amount of data is periodically transmitted from the
なお、定期送信のタイミングは、例えば、1分間に1回である。そして、通信器448は、前にサンプリングログを送信してから1分以上経過している場合、現在時刻が定期送信のタイミングであると判定してもよい。これにより、通信器448は、周期的にサンプリングログを送信する。基本的に、サンプリングログが送信される周期は、サンプリングログの記録に関するサンプリング間隔よりも長い。
Note that the periodic transmission timing is, for example, once per minute. Then, the
また、例えば、サーバ装置300へ送信されるフルログは、過去の所定期間におけるフルログである。所定期間は、例えば、1時間である。蓄積器447には、所定期間分のフルログが記録されてもよい。そのため、フルログの記録には、所定期間分のフルログを記録するためのリングバッファが用いられてもよい。同様に、サンプリングログの記録にも、送信周期分のサンプリングログを記録するためのリングバッファが用いられてもよい。
Further, for example, the full log transmitted to the
また、上記のログ送信処理では、異常が検知された場合、フルログが送信され、サンプリングログが送信されない。しかしながら、サンプリングログは、異常が検知されたか否かにかかわらず、周期的に送信されてもよい。 In the above log transmission process, when an abnormality is detected, a full log is transmitted and a sampling log is not transmitted. However, the sampling log may be periodically transmitted regardless of whether an abnormality is detected.
また、上記のログ送信処理において、例えば、通信器448に含まれる取得器441は、異常検知器445から異常検知結果を取得する。そして、通信器448において、出力器442から送信器530へ、異常検知結果に従ってサンプリングログ又はフルログの送信の指示が出力される。そして、送信の指示に従って、サンプリングログ又はフルログが送信される。
In the log transmission process, for example, the
図22は、図9等に示されたセキュリティECU440で行われるログ送信処理の第2態様を示すフローチャートである。図22に示されたログ送信処理の第2態様において、フルログ及びサンプリングログを送信するまでの処理(S501〜S504及びS511〜S514)は、図21に示されたログ送信処理の第1態様と同じである。
FIG. 22 is a flowchart showing a second mode of log transmission processing performed by
本態様では、フルログが送信された後、サンプリングログ生成器443は、サンプリング間隔を短く更新する(S505)。すなわち、異常が検知された場合、サンプリングログ生成器443は、サンプリング間隔の時間長を小さくする。また、サンプリングログが送信された後、サンプリングログ生成器443は、サンプリング間隔を長く更新する(S515)。すなわち、異常が検知されなかった場合、サンプリングログ生成器443は、サンプリング間隔の時間長を大きくする。
In this aspect, after the full log is transmitted, the
上記の更新において、サンプリングログ生成器443は、最小値と最大値との間の範囲でサンプリング間隔の時間長を更新する。サンプリングログ生成器443は、1回の更新で、予め定められた固定長分、サンプリング間隔の時間長を小さく又は大きくしてもよい。サンプリングログ生成器443は、1回の更新で、ランダムな長さ分、サンプリング間隔の時間長を小さく又は大きくしてもよい。
In the above update, the
上記のような更新により、セキュリティECU440は、異常時以降において、サンプリングログのデータ量を増加させることができる。そして、セキュリティECU440は、サンプリングログに、長いサンプリング間隔では含まれない異常等を含ませることができる。また、セキュリティECU440は、異常がない場合、サンプリングログのデータ量を減少させることができる。
By updating as described above, the
なお、本態様では、異常が検知された通信データの種別にかかわらず、全ての種別について、サンプリング間隔を更新する。すなわち、異常が検知されたフレームのIDにかかわらず、全てのIDについて、サンプリング間隔を更新する。 In this aspect, the sampling interval is updated for all types regardless of the type of communication data in which an abnormality is detected. That is, the sampling interval is updated for all the IDs regardless of the ID of the frame in which the abnormality is detected.
また、上記の更新において、例えば、通信器448に含まれる出力器442から、ログ生成器520を構成するサンプリングログ生成器443へ、サンプリング間隔に関する指示が出力される。そして、サンプリング間隔に関する指示に従って、サンプリング間隔が更新される。
In the above update, for example, an instruction regarding the sampling interval is output from the
図23は、図9等に示されたセキュリティECU440で行われるログ送信処理の第3態様を示すフローチャートである。図23に示されたログ送信処理の第3態様において、フルログ及びサンプリングログを送信するまでの処理(S501〜S504及びS511〜S514)は、図21及び図22に示されたログ送信処理の第1態様及び第2態様と同じである。
FIG. 23 is a flowchart showing a third mode of log transmission processing performed by
本態様では、フルログが送信された後、サンプリングログ生成器443は、異常が検知された通信データの種別について、サンプリング間隔を短く更新する(S506)。そして、サンプリングログ生成器443は、他の種別について、サンプリング間隔を維持する。すなわち、1つの種別の通信データにおいて異常が検知された場合、サンプリングログ生成器443は、その1つの種別について、サンプリング間隔の時間長を小さくする。
In this aspect, after the full log is transmitted, the
また、サンプリングログが送信された後、サンプリングログ生成器443は、短く更新されていたサンプリング間隔を長く更新する(S516)。すなわち、異常が検知されなかった場合、サンプリングログ生成器443は、サンプリング間隔の時間長を元の時間長に戻す。あるいは、この場合、サンプリングログ生成器443は、サンプリング間隔の時間長を元の時間長に近づける。
In addition, after the sampling log is transmitted, the
図22に示されたログ送信処理の第2態様と同様に、サンプリングログ生成器443は、最小値と最大値との間の範囲でサンプリング間隔の時間長を更新する。サンプリングログ生成器443は、1回の更新で、予め定められた固定長分、サンプリング間隔の時間長を小さく又は大きくしてもよい。サンプリングログ生成器443は、1回の更新で、ランダムな長さ分、サンプリング間隔の時間長を小さく又は大きくしてもよい。
Similar to the second mode of the log transmission process shown in FIG. 22, the
上記のような更新により、セキュリティECU440は、異常時以降において、サンプリングログのデータ量を種別毎に増加させることができる。また、セキュリティECU440は、異常がない場合、増加したデータ量を減少させることができる。
By updating as described above, the
図24は、図9等に示されたサーバ装置300の動作の第1態様を示すフローチャートである。
FIG. 24 is a flowchart showing a first mode of operation of the
まず、通信器348は、セキュリティECU440からサンプリングログ又はフルログを受信する(S601)。サンプリングログが受信された場合(S602でYes)、サンプリングログ処理器343は、サンプリングログを蓄積器347に記録する。例えば、サンプリングログ処理器343は、圧縮されたサンプリングログを解凍し、解凍されたサンプリングログを蓄積器347に記録する。
First, the
そして、異常検知器345は、サンプリングログに従って異常検知処理を行う(S603)。例えば、異常検知器345は、セキュリティECU440の異常検知器445が行うマッチング処理(S401)と同じように、通信データと異常パターンとのマッチング処理を行う。ただし、異常検知器345は、サンプリングログによって示される通信データをマッチング処理に用いる。
Then, the
すなわち、異常検知器345は、サンプリングログによって示される通信データが予め定められた異常パターンにマッチするか否かを判定する。より具体的には、異常検知器345は、サンプリングログによって示されるデータフレームが予め定められた異常パターンにマッチするか否かを判定する。
That is, the
そして、異常検知器345は、サンプリングログによって示される通信データが予め定められた異常パターンにマッチすると判定した場合、異常を検知する。言い換えれば、異常検知器345は、この場合、通信データに異常が含まれると判定する。さらに言い換えれば、異常検知器345は、サンプリングログによって示される通信データが予め定められた異常パターンにマッチすることを通信データにおける異常として検知する。
If the
ログの受信(S601)において、サンプリングログが受信されなかった場合(S602でNo)、すなわち、フルログが受信された場合、フルログ処理器344は、フルログを蓄積器347に記録する。例えば、フルログ処理器344は、圧縮されたフルログを解凍し、解凍されたフルログを蓄積器347に記録する。
In the log reception (S601), when the sampling log is not received (No in S602), that is, when the full log is received, the
そして、異常検知器345は、フルログに従って異常検知処理を行う(S604)。例えば、異常検知器345は、セキュリティECU440の異常検知器445が行うマッチング処理(S401)と同じように、通信データと異常パターンとのマッチング処理を行う。ただし、異常検知器345は、フルログによって示される通信データをマッチング処理に用いる。
Then, the
すなわち、異常検知器345は、フルログによって示される通信データが予め定められた異常パターンにマッチするか否かを判定する。より具体的には、異常検知器345は、フルログによって示されるフレームが予め定められた異常パターンにマッチするか否かを判定する。
That is, the
そして、異常検知器345は、フルログによって示される通信データが予め定められた異常パターンにマッチすると判定した場合、異常を検知する。言い換えれば、異常検知器345は、この場合、通信データに異常が含まれると判定する。さらに言い換えれば、異常検知器345は、フルログによって示される通信データが予め定められた異常パターンにマッチすることを通信データにおける異常として検知する。
If the
次に、異常検知器345は、通信データの異常が検知されたか否かを判定する(S605)。そして、通信データの異常が検知されたと判定された場合、すなわち、通信データに異常が含まれると判定された場合(S605でYes)、通信器348は、端末装置200へ異常通知を送信する(S606)。ログの受信(S601)において、フルログが受信されていた場合(S607でYes)、サーバ装置300は、一連の処理を終了する。
Next, the
ログの受信(S601)において、フルログが受信されていなかった場合(S607でNo)、すなわち、サンプリングログが受信されていた場合、通信器348は、セキュリティECU440へ異常通知を送信する(S608)。通信器348は、セキュリティECU440へ異常通知を送信することにより、セキュリティECU440にフルログをサーバ装置300へ送信させる。そして、サーバ装置300は、一連の処理を終了する。
In the log reception (S601), when the full log is not received (No in S607), that is, when the sampling log is received, the
なお、サンプリングログの異常検知処理(S603)と、フルログの異常検知処理(S604)とは、図24において別々に記載されているが、これらは共通の処理であってもよい。すなわち、異常検知器345は、サンプリングログかフルログかによらず、共通の異常検知処理を行ってもよい。
The sampling log abnormality detection process (S603) and the full log abnormality detection process (S604) are described separately in FIG. 24, but they may be common processes. That is, the
また、上記の異常検知処理(S603及びS604)において、通信データと異常パターンとのマッチング処理が行われているが、通信データと正常パターンとのマッチング処理が行われてもよい。この場合、通信データが予め定められた正常パターンにマッチしないと判定された場合、異常検知器345は異常を検知する。
Further, in the above abnormality detection processing (S603 and S604), the matching processing between the communication data and the abnormal pattern is performed, but the matching processing between the communication data and the normal pattern may be performed. In this case, when it is determined that the communication data does not match a predetermined normal pattern, the
また、セキュリティECU440において行われるマッチング処理(S401)よりも複雑なマッチング処理が上記の異常検知処理(S603及びS604)において行われてもよい。サーバ装置300は、車載のための要件に制約されない十分な処理能力を用いて、マッチング処理を行い得る。例えば、セキュリティECU440において行われるマッチング処理(S401)よりも多くの異常パターンが上記の異常検知処理(S603及びS604)において用いられてもよい。
In addition, a more complex matching process than the matching process (S401) performed in the
また、CANにおいて、同種のデータフレームは一定の周期で流れることが想定される。したがって、同種のデータフレームが一定の周期で流れていない場合、異常検知器345は異常を検知してもよい。具体的には、異常検知器345は、データフレームが取得された時間間隔を用いて、データフレームが一定の周期で流れているか否かを判定し、その判定結果に従って異常を検知してもよい。また、異常パターン又は正常パターンに、CANを流れる同種のデータフレームの周期が含まれていてもよい。
In CAN, the same kind of data frames are assumed to flow at a constant cycle. Therefore, the
ただし、データフレームが一定の周期で流れているか否かの判定は、前のデータフレームが欠落していない場合において有効であり、前のデータフレームが欠落している場合において有効でない。 However, the determination of whether or not the data frame is flowing at a constant cycle is effective when the previous data frame is not missing, and is not valid when the previous data frame is missing.
したがって、サンプリングログに含まれるデータフレームがサンプリング期間の最初のデータフレームである場合、異常検知器345は、データフレームが一定の周期で流れているか否かの判定を異常の検知に用いない。一方、サンプリングログに含まれるデータフレームがサンプリング期間の最初のデータフレームでない場合、異常検知器345は、データフレームが一定の周期で流れているか否かの判定を異常の検知に用いる。
Therefore, when the data frame included in the sampling log is the first data frame in the sampling period, the
具体的には、サンプリングログに含まれるデータフレームがサンプリング期間の最初のデータフレームでない場合、異常検知器345は、データフレームのサンプリング時刻と、その前のデータフレームのサンプリング時刻との差を異常の検知に用いる。サンプリング時刻の差が一定の周期間隔に該当する場合、異常検知器345は、データフレームを正常と判定する。一方、サンプリング時刻の差が一定の周期間隔に該当しない場合、異常検知器345は、データフレームを異常と判定する。
Specifically, when the data frame included in the sampling log is not the first data frame in the sampling period, the
また、種別も周期に関連するため、同種のデータフレームに関するサンプリング時刻の差が異常の検知に用いられてもよい。つまり、同じサンプリング期間及び同じ種別において、データフレームのサンプリング時刻と、その前のデータフレームのサンプリング時刻との差が異常の検知に用いられてもよい。 Further, since the type is also related to the period, the difference in sampling time regarding the same type of data frame may be used for detecting an abnormality. That is, in the same sampling period and the same type, the difference between the sampling time of the data frame and the sampling time of the previous data frame may be used for detecting an abnormality.
サンプリングログに含まれるデータフレームが最初のデータフレームに該当するか否かは、図4に示されたログフォーマットのフラグによって識別され得る。また、フルログではデータフレームが欠落しないため、フルログに対して、サンプリング時刻の差が異常の検知に用いられてもよい。 Whether the data frame included in the sampling log corresponds to the first data frame can be identified by the log format flag shown in FIG. Further, since a data frame is not lost in the full log, a difference in sampling time may be used for detecting an abnormality with respect to the full log.
また、一定の周期で流れる同種のデータフレームはデータ内容において連続性を有することが想定される。したがって、データフレームと、その前のデータフレームとの間におけるデータ値の差が、サンプリング時刻の差と同様に、異常の検知に用いられてもよい。この場合も、サンプリング時刻の差と同様に、最初のデータフレームとは異なるデータフレームに対して、異常の検知にデータ値の差が用いられてもよい。 In addition, it is assumed that data frames of the same kind that flow at a constant cycle have continuity in data contents. Therefore, the difference in the data value between the data frame and the previous data frame may be used for detecting an abnormality, like the difference in sampling time. Also in this case, similarly to the difference in sampling time, a difference in data value may be used for detecting an abnormality for a data frame different from the first data frame.
図25は、図9等に示されたサーバ装置300の動作の第2態様を示すフローチャートである。図25に示された第2態様において、ログを受信してから異常通知を送信するまでの処理(S601〜S608)は、図24に示された第1態様と同じである。
FIG. 25 is a flowchart showing a second mode of operation of the
本態様において、サーバ装置300は、その後、サンプリング間隔更新処理を行う(S609)。例えば、通信器348は、セキュリティECU440にサンプリング間隔の時間長を変更させる変更指示をセキュリティECU440へ送信する。そして、セキュリティECU440は、サンプリング間隔の時間長を変更する。図26及び図27は、上記のサンプリング間隔更新処理に関するより具体的な態様を示す。
In this aspect, the
図26は、図9等に示されたサーバ装置300及びセキュリティECU440で行われるサンプリング間隔更新処理の第1態様を示すフローチャートである。
FIG. 26 is a flowchart showing a first aspect of the sampling interval update process performed by
本態様では、まず、サーバ装置300において、通信器348が、ログの受信(S601)において受信されたログの送信元である車両400の車種を特定する(S701)。通信器348は、ログに含まれる車両IDに従って、車両400の車種を特定してもよい。あるいは、通信器348は、新たにセキュリティECU440等と通信することにより、車両400の車種を特定してもよい。
In this aspect, first, in the
次に、通信器348は、特定された車種について、現在のサンプリング間隔を取得する(S702)。現在のサンプリング間隔は、車種毎に、蓄積器347に記録されていてもよい。そして、通信器348は、蓄積器347から現在のサンプリング間隔を取得してもよい。あるいは、通信器348は、新たにセキュリティECU440等と通信することにより、現在のサンプリング間隔を取得してもよい。
Next, the
そして、異常検知処理(S603又はS604)において異常が検知された場合(S703でYes)、通信器348は、サンプリング間隔を短く更新する(S704)。すなわち、通信器348は、現在のサンプリング間隔よりも短いサンプリング間隔を定める。
When an abnormality is detected in the abnormality detection process (S603 or S604) (Yes in S703), the
一方、異常検知処理(S603又はS604)において異常が検知されなかった場合(S703でNo)、通信器348は、サンプリング間隔を長く更新する(S705)。すなわち、通信器348は、現在のサンプリング間隔よりも長いサンプリング間隔を定める。
On the other hand, when no abnormality is detected in the abnormality detection process (S603 or S604) (No in S703), the
そして、通信器348は、特定された車種と車種が同じである複数の車両の複数のセキュリティECUへ、更新されたサンプリング間隔、つまり新たに定められたサンプリング間隔を送信する(S706)。
Then, the
サンプリング間隔が送信された複数のセキュリティECUに含まれるセキュリティECU440において、通信器448は、サーバ装置300から送信されたサンプリング間隔を受信する(S801)。そして、サンプリングログ生成器443は、受信されたサンプリング間隔に現在のサンプリング間隔を更新する(S802)。すなわち、通信器448は、サーバ装置300からサンプリング間隔の変更指示を外部指示として受信し、サンプリングログ生成器443は、外部指示に従ってサンプリング間隔を更新する。
In
これにより、サーバ装置300は、異常時以降において、サンプリングログのデータ量を増加させることができる。そして、サーバ装置300は、サンプリングログに、長いサンプリング間隔では含まれない異常等を含ませることができる。また、サーバ装置300は、異常がない場合、サンプリングログのデータ量を減少させることができる。また、サーバ装置300は、同一車種の複数の車載システムについて、サンプリングログに関連するサンプリング間隔の時間長を変更することができる。
Thereby, the
なお、通信器348は、種別毎にサンプリング間隔を更新してもよい。例えば、1つの種別について異常が検知された場合、通信器348は、その1つの種別についてサンプリング間隔を短くしてもよい。そして、異常が検知されなかった場合、通信器348は、短くされたサンプリング間隔を長くしてもよい。そして、このような更新を同一車種に対して行ってもよい。これにより、車種毎及び種別毎に適切にデータ量が調整される。
Note that the
あるいは、1つの種別について異常が検知された場合、通信器348は、種別によらず、全ての種別についてサンプリング間隔を短くしてもよい。そして、異常が検知されなかった場合、通信器348は、種別によらず、全ての種別についてサンプリング間隔を長くしてもよい。これにより、種別によらず、車種毎に適切にデータ量が調整される。
Alternatively, when an abnormality is detected for one type, the
図27は、図9等に示されたサーバ装置300及びセキュリティECU440で行われるサンプリング間隔更新処理の第2態様を示すフローチャートである。
FIG. 27 is a flowchart showing a second mode of the sampling interval update process performed by
本態様では、まず、サーバ装置300において、通信器348が、ログの受信(S601)において受信されたログの送信元である車両400の地域を特定する(S711)。通信器348は、ログに含まれる車両IDに従って、車両400の地域を特定してもよい。あるいは、通信器348は、新たにセキュリティECU440等と通信することにより、車両400の地域を特定してもよい。
In this aspect, first, in the
なお、基本的に国のような大きな範囲が地域として想定されている。このような地域は車両400に対して予め定められ得る。しかしながら、現在走行している車両400のより具体的な地域が用いられてもよい。このような地域は、GPS(Global Positioning System)等により特定され得る。
Basically, a large area such as a country is assumed as a region. Such an area can be predetermined for the
次に、通信器348は、特定された地域について、現在のサンプリング間隔を取得する(S712)。現在のサンプリング間隔は、地域毎に、蓄積器347に記録されていてもよい。そして、通信器348は、蓄積器347から現在のサンプリング間隔を取得してもよい。あるいは、通信器348は、新たにセキュリティECU440等と通信することにより、現在のサンプリング間隔を取得してもよい。
Next, the
そして、異常検知処理(S603又はS604)において異常が検知された場合(S713でYes)、通信器348は、サンプリング間隔を短く更新する(S714)。すなわち、通信器348は、現在のサンプリング間隔よりも短いサンプリング間隔を定める。
When an abnormality is detected in the abnormality detection process (S603 or S604) (Yes in S713), the
一方、異常検知処理(S603又はS604)において異常が検知されなかった場合(S713でNo)、通信器348は、サンプリング間隔を長く更新する(S715)。すなわち、通信器348は、現在のサンプリング間隔よりも長いサンプリング間隔を定める。
On the other hand, when no abnormality is detected in the abnormality detection process (S603 or S604) (No in S713), the
そして、通信器348は、特定された地域と地域が同じである複数の車両の複数のセキュリティECUへ、更新されたサンプリング間隔、つまり新たに定められたサンプリング間隔を送信する(S716)。
Then, the
サンプリング間隔更新処理の第1態様と同様に、サンプリング間隔が送信された複数のセキュリティECUに含まれるセキュリティECU440において、通信器448は、サーバ装置300から送信されたサンプリング間隔を受信する(S801)。そして、サンプリングログ生成器443は、受信されたサンプリング間隔に現在のサンプリング間隔を更新する(S802)。すなわち、セキュリティECU440は、サンプリング間隔の変更指示を外部指示として受信し、外部指示に従ってサンプリング間隔を更新する。
Similar to the first aspect of the sampling interval update process, in
これにより、サーバ装置300は、同一地域の複数の車載システムについて、サンプリングログに関連するサンプリング間隔の時間長を変更することができる。
Thereby, the
また、サンプリング間隔更新処理の第1態様と同様に、通信器348は、種別毎にサンプリング間隔を更新してもよい。これにより、地域毎及び種別毎に適切にデータ量が調整される。あるいは、通信器348は、種別によらず、サンプリング間隔を更新してもよい。これにより、種別によらず、地域毎に適切にデータ量が調整される。
Similarly to the first aspect of the sampling interval update process, the
[補足]
上記の実施の形態では、車載ネットワークとしてCANプロトコルを用いていたが、これに限るものではない。例えば、CAN−FD(CAN with Flexible Data Rate)、FlexRay、Ethernet、LIN(Local Interconnect Network)、MOST(Media Oriented Systems Transport)などを用いてもよい。あるいはこれらのネットワークをサブネットワークとして、CANと組み合わせたネットワークであってもよい。[Supplement]
In the above embodiment, the CAN protocol is used as the in-vehicle network, but the present invention is not limited to this. For example, CAN-FD (CAN with Flexible Data Rate), FlexRay, Ethernet, LIN (Local Interconnect Network), MOST (Media Oriented Systems Transport), or the like may be used. Alternatively, a network combining these networks as sub-networks with CAN may be used.
なお、上記実施の形態において、各構成要素は、専用のハードウェアで構成されるか、各構成要素に適したソフトウェアプログラムを実行することによって実現されてもよい。各構成要素は、CPU又はプロセッサなどのプログラム実行器が、ハードディスク又は半導体メモリなどの記録媒体に記録されたソフトウェアプログラムを読み出して実行することによって実現されてもよい。ここで、上記実施の形態の情報処理装置などを実現するソフトウェアは、次のようなプログラムである。 In the above embodiment, each component may be configured by dedicated hardware or may be realized by executing a software program suitable for each component. Each component may be realized by a program executor such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. Here, the software that realizes the information processing apparatus of the above-described embodiment is a program as follows.
すなわち、このプログラムは、情報処理装置であるコンピュータに、車両に搭載される情報処理装置が行う情報処理方法であって、前記車両の車載ネットワークにおける通信データに異常が含まれるか否かの異常検知結果を異常検知器から取得する取得ステップと、前記通信データの2種類のログのうち単位時間あたりに生じるデータ量が他方のログよりも小さいログであるサンプリングログを前記車両に搭載された送信器から前記車両の外部に設けられたサーバ装置へ周期的に送信させるサンプリングログ送信指示を出力する出力ステップとを含み、前記出力ステップでは、さらに、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得ステップで取得した場合、前記2種類のログのうち単位時間あたりに生じるデータ量が前記サンプリングログよりも大きいログであるフルログを前記送信器から前記サーバ装置へ送信させるフルログ送信指示を出力する情報処理方法を実行させる。 That is, this program is an information processing method performed by an information processing device mounted on a vehicle in a computer that is an information processing device, and detects whether or not the communication data in the in-vehicle network of the vehicle includes an abnormality. An acquisition step of acquiring a result from an abnormality detector, and a transmitter in which a sampling log in which the amount of data generated per unit time is smaller than the other log among the two types of logs of the communication data is mounted on the vehicle An output step of outputting a sampling log transmission instruction for periodically transmitting to a server device provided outside the vehicle, wherein the output step further indicates that the communication data includes an abnormality When the detection result is acquired in the acquisition step, data generated per unit time of the two types of logs There executing an information processing method for outputting a full log transmission instruction to transmit a full log is larger logs than the sampling log from the transmitter to the server device.
また、このプログラムは、CD−ROM等の非一時的な記録媒体に記録されてもよい。また、情報処理装置は、集積回路で実装されてもよい。 The program may be recorded on a non-temporary recording medium such as a CD-ROM. Further, the information processing apparatus may be implemented by an integrated circuit.
また、上記実施の形態において、各構成要素は、回路でもよい。複数の構成要素が、全体として1つの回路を構成してもよいし、それぞれ別々の回路を構成してもよい。また、回路は、それぞれ、汎用的な回路でもよいし、専用の回路でもよい。 In the above embodiment, each component may be a circuit. A plurality of components may constitute one circuit as a whole, or may constitute separate circuits. Each circuit may be a general-purpose circuit or a dedicated circuit.
また、上記実施の形態において、送信元から送信先へ情報を送信するための送信方法は、送信される情報に送信元及び送信先の情報が含まれない送信方法であってもよく、結果として送信元から送信先へ情報が送信されるような送信方法であればよい。具体的には、ブロードキャストのような送信方法が用いられてもよい。出力元から出力先へ情報を出力するための出力方法も同様である。また、取得先から情報を取得する取得するための取得方法も、結果として取得先から情報が取得されるような取得方法であればよい。 In the above embodiment, the transmission method for transmitting information from the transmission source to the transmission destination may be a transmission method in which information on the transmission source and the transmission destination is not included in the transmitted information. Any transmission method that transmits information from the transmission source to the transmission destination may be used. Specifically, a transmission method such as broadcast may be used. The same applies to the output method for outputting information from the output source to the output destination. Moreover, the acquisition method for acquiring information from the acquisition source may be any acquisition method that acquires information from the acquisition source as a result.
以上、一つまたは複数の態様に係る情報処理装置について、実施の形態に基づいて説明したが、本開示は、この実施の形態に限定されるものではない。本開示の趣旨を逸脱しない限り、当業者が思いつく各種変形を本実施の形態に施したもの、及び異なる実施の形態における構成要素を組み合わせて構築される形態も、一つまたは複数の態様の範囲内に含まれてもよい。 As described above, the information processing apparatus according to one or more aspects has been described based on the embodiment, but the present disclosure is not limited to this embodiment. Unless it deviates from the gist of the present disclosure, various modifications conceived by those skilled in the art have been made in this embodiment, and forms constructed by combining components in different embodiments are also within the scope of one or more aspects. May be included.
例えば、上記実施の形態において、特定の構成要素が実行する処理を特定の構成要素の代わりに別の構成要素が実行してもよい。また、複数の処理の順序が変更されてもよいし、複数の処理が並行して実行されてもよい。 For example, in the above-described embodiment, a process executed by a specific component may be executed by another component instead of the specific component. Further, the order of the plurality of processes may be changed, and the plurality of processes may be executed in parallel.
本開示は、車両に関するデータを監視するためのセキュリティシステム等に利用可能である。 The present disclosure can be used for a security system for monitoring data related to a vehicle.
100 セキュリティシステム
200 端末装置
300 サーバ装置
301,441 取得器
302 判定器
303,442 出力器
343 サンプリングログ処理器
344 フルログ処理器
345,445,465,510 異常検知器
346 異常通知器
347,447,467 蓄積器
348,448 通信器
400 車両
410 車載システム
421 ヘッドアップディスプレイ
422 テレマティクス通信ユニット
423 V2Xモジュール
424 OBDモジュール
430 ゲートウェイ装置
440 セキュリティECU
443,463 サンプリングログ生成器
444,464 フルログ生成器
446,466 異常データ無効化器
450,451,452 ECU
460 セキュリティゲートウェイ装置
469 転送処理器
470 車外通信器
471 車内通信器
520 ログ生成器
530 送信器DESCRIPTION OF
443, 463
460
Claims (21)
前記車両の車載ネットワークにおける通信データに異常が含まれるか否かの異常検知結果を異常検知器から取得する取得器と、
前記通信データの2種類のログのうち単位時間あたりに生じるデータ量が他方のログよりも小さいログであるサンプリングログを前記車両に搭載された送信器から前記車両の外部に設けられたサーバ装置へ周期的に送信させるサンプリングログ送信指示を出力する出力器とを備え、
前記出力器は、さらに、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記2種類のログのうち単位時間あたりに生じるデータ量が前記サンプリングログよりも大きいログであるフルログを前記送信器から前記サーバ装置へ送信させるフルログ送信指示を出力する
情報処理装置。 An information processing apparatus mounted on a vehicle,
An acquisition unit for acquiring an abnormality detection result from the abnormality detector as to whether or not an abnormality is included in the communication data in the in-vehicle network of the vehicle;
A sampling log in which the amount of data generated per unit time among the two types of logs of the communication data is smaller than that of the other log is transmitted from the transmitter mounted on the vehicle to a server device provided outside the vehicle. An output device that outputs a sampling log transmission instruction to be transmitted periodically;
In the output device, when the acquisition unit acquires the abnormality detection result indicating that the communication data includes an abnormality, the amount of data generated per unit time of the two types of logs is greater than the sampling log. An information processing apparatus that outputs a full log transmission instruction for transmitting a full log, which is a larger log, from the transmitter to the server apparatus.
前記異常検知器は、前記車載ネットワークから前記通信データを取得し、前記通信データに異常が含まれるか否かを判定する
請求項1に記載の情報処理装置。 The information processing apparatus further includes the abnormality detector,
The information processing apparatus according to claim 1, wherein the abnormality detector acquires the communication data from the in-vehicle network and determines whether or not the communication data includes an abnormality.
請求項1又は2に記載の情報処理装置。 The sampling log is a plurality of periods each included in the plurality of sampling intervals among a plurality of sampling intervals each of which is a period of a first time length, each of which is a second time length shorter than the first time length the information processing apparatus according to claim 1 or 2 in a plurality of sampling period in a log of the communication data.
請求項3に記載の情報処理装置。 The sampling log includes, for each of a plurality of frames constituting the communication data in the plurality of sampling periods, (i) the sampling time of the frame, and (ii) the frame in one or more frames having the same sampling period as the frame. The information processing apparatus according to claim 3 , which indicates whether or not is a first frame and (iii) data of the frame.
前記サンプリングログは、前記複数の種別よりも少ない1以上の種別の前記通信データのログであり、前記複数のサンプリング期間における前記1以上の種別の前記通信データを構成する複数のフレームのそれぞれについて、(i)当該フレームのサンプリング時刻、(ii)当該フレームと種別及びサンプリング期間が同じ1以上のフレームにおいて当該フレームが最初のフレームであるか否か、及び、(iii)当該フレームのデータを示す
請求項3に記載の情報処理装置。 The full log is a log of the communication data of a plurality of types,
The sampling log is a log of the communication data of one or more types less than the plurality of types, and for each of a plurality of frames constituting the communication data of the one or more types in the plurality of sampling periods, (I) Sampling time of the frame, (ii) Whether the frame is the first frame in one or more frames having the same type and sampling period as the frame, and (iii) Data of the frame. Item 4. The information processing device according to Item 3 .
前記サンプリングログは、前記複数の種別よりも少ない1以上の種別の前記通信データのログである
請求項1〜3のいずれか1項に記載の情報処理装置。 The full log is a log of the communication data of a plurality of types,
The sampling logs information processing apparatus according to any one of claims 1 to 3, which is the log of the communication data of the plurality of one or more types less than classification.
前記送信器は、前記出力器から出力された前記サンプリングログ送信指示に従って前記サンプリングログを前記サーバ装置へ送信し、前記出力器から出力された前記フルログ送信指示に従って前記フルログを前記サーバ装置へ送信する
請求項1〜6のいずれか1項に記載の情報処理装置。 The information processing apparatus further includes the transmitter,
The transmitter transmits the sampling log to the server device according to the sampling log transmission instruction output from the output device, and transmits the full log to the server device according to the full log transmission instruction output from the output device. The information processing apparatus according to any one of claims 1 to 6 .
前記出力器から出力された前記サンプリングログ送信指示に従って、前記サンプリングログを可逆的に圧縮し、圧縮された前記サンプリングログを前記サーバ装置へ送信し、
前記出力器から出力された前記フルログ送信指示に従って、前記フルログを可逆的に圧縮し、圧縮された前記フルログを前記サーバ装置へ送信する
請求項7に記載の情報処理装置。 The transmitter is
In accordance with the sampling log transmission instruction output from the output device, the sampling log is reversibly compressed, and the compressed sampling log is transmitted to the server device.
The information processing apparatus according to claim 7 , wherein the full log is reversibly compressed in accordance with the full log transmission instruction output from the output device, and the compressed full log is transmitted to the server apparatus.
前記出力器は、
前記ログ生成器で生成された前記サンプリングログを前記送信器から前記サーバ装置へ周期的に送信させる前記サンプリングログ送信指示を出力し、
前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記ログ生成器で生成された前記フルログを前記送信器から前記サーバ装置へ送信させる前記フルログ送信指示を出力する
請求項1〜8のいずれか1項に記載の情報処理装置。 The full log and the sampling log are generated by a log generator mounted on the vehicle,
The output device is
Outputting the sampling log transmission instruction to periodically transmit the sampling log generated by the log generator from the transmitter to the server device;
When the acquisition unit acquires the abnormality detection result indicating that the communication data includes an abnormality, the full log transmission instruction to transmit the full log generated by the log generator from the transmitter to the server device. The information processing apparatus according to any one of claims 1 to 8 .
前記出力器は、さらに、前記ログ生成器に前記第2時間長よりも長い範囲で前記第1時間長を変更させる変更指示を出力する
請求項9に記載の情報処理装置。 The sampling log is a plurality of periods each included in the plurality of sampling intervals among a plurality of sampling intervals each of which is a period of a first time length, each of which is a second time length shorter than the first time length A log of the communication data in a plurality of sampling periods,
The information processing apparatus according to claim 9 , wherein the output device further outputs a change instruction for causing the log generator to change the first time length in a range longer than the second time length.
請求項10に記載の情報処理装置。 When the acquisition unit acquires the abnormality detection result indicating that the communication data includes an abnormality, the output unit adds the first time length to the log generator in a range longer than the second time length. The information processing apparatus according to claim 10 , wherein the change instruction to be shortened is output.
請求項10又は11に記載の情報処理装置。 The output unit outputs the change instruction to increase the first time length to the log generator when the acquisition unit does not acquire the abnormality detection result indicating that the communication data includes an abnormality. The information processing apparatus according to claim 10 or 11 .
前記出力器は、前記複数の種別のうちの1つの種別について前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記ログ生成器に前記第2時間長よりも長い範囲で前記1つの種別について前記第1時間長を短くさせる前記変更指示を出力する
請求項10に記載の情報処理装置。 The first time length is determined for each of a plurality of types related to the communication data,
When the acquisition unit acquires the abnormality detection result indicating that the communication data includes an abnormality for one of the plurality of types, the output unit transmits the second time length to the log generator. The information processing apparatus according to claim 10 , wherein the change instruction that shortens the first time length for the one type in a longer range is output.
前記出力器は、前記複数の種別のうちの1つの種別について前記通信データに異常が含まれることを示す前記異常検知結果を前記取得器が取得した場合、前記ログ生成器に前記第2時間長よりも長い範囲で前記複数の種別のそれぞれについて前記第1時間長を短くさせる前記変更指示を出力する
請求項10に記載の情報処理装置。 The first time length is determined for each of a plurality of types related to the communication data,
When the acquisition unit acquires the abnormality detection result indicating that the communication data includes an abnormality for one of the plurality of types, the output unit transmits the second time length to the log generator. The information processing apparatus according to claim 10 , wherein the change instruction for shortening the first time length is output for each of the plurality of types in a longer range.
請求項13又は14に記載の情報処理装置。 The output device, when the acquisition unit does not acquire the abnormality detection result indicating that the communication data includes an abnormality, the change instruction to increase the shortened first time length to the log generator The information processing apparatus according to claim 13 or 14 .
請求項10に記載の情報処理装置。 The information processing apparatus according to claim 10 , wherein the output device outputs the change instruction that causes the log generator to randomly change the first time length in a range longer than the second time length.
請求項10に記載の情報処理装置。 The information processing apparatus according to claim 10 , wherein the output device outputs the change instruction that causes the log generator to linearly change the first time length in a range longer than the second time length.
前記出力器は、前記サーバ装置から前記取得器が取得した前記外部指示に従って、前記ログ生成器に前記第2時間長よりも長い範囲で前記第1時間長を変更させる前記変更指示を出力する
請求項10に記載の情報処理装置。 The acquisition unit further acquires an instruction to change the first time length from the server device as an external instruction,
The output device outputs the change instruction for causing the log generator to change the first time length in a range longer than the second time length in accordance with the external instruction acquired by the acquiring device from the server device. Item 11. The information processing apparatus according to Item 10 .
前記サンプリングログは、前記複数の種別のうち1以上の種別の前記通信データのログであり、
前記出力器は、前記ログ生成器に前記1以上の種別を特定させる特定情報を出力する
請求項9〜18のいずれか1項に記載の情報処理装置。 The full log is a log of the communication data of a plurality of types,
The sampling log is a log of the communication data of one or more types of the plurality of types,
The information processing apparatus according to any one of claims 9 to 18 , wherein the output device outputs specific information that causes the log generator to specify the one or more types.
前記ログ生成器は、前記車載ネットワークから前記通信データを取得し、前記通信データに従って前記フルログ及び前記サンプリングログを生成する
請求項9〜19のいずれか1項に記載の情報処理装置。 The information processing apparatus further includes the log generator,
The information processing apparatus according to any one of Claims 9 to 19 , wherein the log generator acquires the communication data from the in-vehicle network and generates the full log and the sampling log according to the communication data.
前記車両の車載ネットワークにおける通信データに異常が含まれるか否かの異常検知結果を異常検知器から取得する取得ステップと、
前記通信データの2種類のログのうち単位時間あたりに生じるデータ量が他方のログよりも小さいログであるサンプリングログを前記車両に搭載された送信器から前記車両の外部に設けられたサーバ装置へ周期的に送信させるサンプリングログ送信指示を出力する出力ステップとを含み、
前記出力ステップでは、さらに、前記通信データに異常が含まれることを示す前記異常検知結果を前記取得ステップで取得した場合、前記2種類のログのうち単位時間あたりに生じるデータ量が前記サンプリングログよりも大きいログであるフルログを前記送信器から前記サーバ装置へ送信させるフルログ送信指示を出力する
情報処理方法。 An information processing method performed by an information processing device mounted on a vehicle,
An acquisition step of acquiring an abnormality detection result from the abnormality detector as to whether or not an abnormality is included in the communication data in the in-vehicle network of the vehicle;
A sampling log in which the amount of data generated per unit time among the two types of logs of the communication data is smaller than that of the other log is transmitted from the transmitter mounted on the vehicle to a server device provided outside the vehicle. An output step of outputting a sampling log transmission instruction to be transmitted periodically,
In the output step, when the abnormality detection result indicating that the communication data includes an abnormality is acquired in the acquisition step, a data amount generated per unit time of the two types of logs is greater than the sampling log. An information processing method for outputting a full log transmission instruction for transmitting a full log, which is a larger log, from the transmitter to the server device.
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201662430440P | 2016-12-06 | 2016-12-06 | |
US62/430,440 | 2016-12-06 | ||
JP2017198901 | 2017-10-12 | ||
JP2017198901 | 2017-10-12 | ||
PCT/JP2017/040728 WO2018105321A1 (en) | 2016-12-06 | 2017-11-13 | Information processing device and information processing method |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019011779A Division JP7286326B2 (en) | 2016-12-06 | 2019-01-28 | Information processing device and information processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2018105321A1 JPWO2018105321A1 (en) | 2019-03-14 |
JP6490879B2 true JP6490879B2 (en) | 2019-03-27 |
Family
ID=65726726
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018554882A Active JP6490879B2 (en) | 2016-12-06 | 2017-11-13 | Information processing apparatus and information processing method |
JP2019011779A Active JP7286326B2 (en) | 2016-12-06 | 2019-01-28 | Information processing device and information processing method |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019011779A Active JP7286326B2 (en) | 2016-12-06 | 2019-01-28 | Information processing device and information processing method |
Country Status (2)
Country | Link |
---|---|
US (2) | US10861253B2 (en) |
JP (2) | JP6490879B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018101871A (en) * | 2016-12-20 | 2018-06-28 | 株式会社デンソー | Portable device detector, portable device detection method |
US11503053B2 (en) * | 2019-12-20 | 2022-11-15 | Beijing Voyager Technology Co., Ltd. | Security management of an autonomous vehicle |
JP7419998B2 (en) * | 2020-07-14 | 2024-01-23 | 株式会社デンソー | Log management device and center device |
JP7447848B2 (en) | 2021-03-05 | 2024-03-12 | 株式会社デンソー | Vehicle equipment, server, and communication management method |
KR102683547B1 (en) * | 2021-05-13 | 2024-07-10 | 주식회사 엘지유플러스 | A method and apparatus for diagnosing AVN device |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SE454829B (en) * | 1986-11-13 | 1988-05-30 | Ericsson Telefon Ab L M | SET AND DEVICE FOR REVERSIBLE COMPRESSION OF INFORMATION-BEARING SYMBOLS, AND SET AND DEVICE FOR RECONSTRUCTING A SEQUENCE OF INFORMATION-BEARING SYMBOLS WHICH HAVE COMPRESSED ACCORDING TO THE ABOVE SET |
US7376728B1 (en) * | 2000-07-25 | 2008-05-20 | Ricoh Company, Ltd. | Method and system for monitoring, collecting information, diagnosing and servicing a remote system |
JP2007096799A (en) * | 2005-09-29 | 2007-04-12 | Fujitsu Ten Ltd | Monitoring apparatus of vehicle-mounted electronic control network |
US7890299B2 (en) * | 2007-05-21 | 2011-02-15 | Qualcomm, Incorporated | Providing event-controlled continuous logging for a mobile operating environment |
JP4900358B2 (en) * | 2008-10-10 | 2012-03-21 | 日本電気株式会社 | Server management system, server management method, and server management program |
JP5088311B2 (en) * | 2008-12-15 | 2012-12-05 | 富士通株式会社 | Power supply circuit, information processing apparatus, and power supply control method |
CA2712002C (en) * | 2009-09-09 | 2016-08-30 | Aastra Technologies Limited | Diagnostics methods for a communications device |
US20110130916A1 (en) | 2009-12-01 | 2011-06-02 | Ise Corporation | Location Based Vehicle Data Logging and Diagnostic System and Method |
US10665040B2 (en) | 2010-08-27 | 2020-05-26 | Zonar Systems, Inc. | Method and apparatus for remote vehicle diagnosis |
JP5686020B2 (en) | 2011-03-29 | 2015-03-18 | 日本電気株式会社 | Monitoring system |
JP5522160B2 (en) * | 2011-12-21 | 2014-06-18 | トヨタ自動車株式会社 | Vehicle network monitoring device |
US20130227352A1 (en) * | 2012-02-24 | 2013-08-29 | Commvault Systems, Inc. | Log monitoring |
EP2680534B1 (en) * | 2012-06-28 | 2017-12-27 | Harman Becker Automotive Systems GmbH | Logging for telematic systems |
JP5860145B2 (en) * | 2012-06-28 | 2016-02-16 | 株式会社日立製作所 | Signal processing apparatus and method by wireless communication |
JP5919205B2 (en) | 2013-01-28 | 2016-05-18 | 日立オートモティブシステムズ株式会社 | Network device and data transmission / reception system |
JP5838983B2 (en) * | 2013-02-25 | 2016-01-06 | トヨタ自動車株式会社 | Information processing apparatus and information processing method |
JP6026329B2 (en) * | 2013-03-21 | 2016-11-16 | クラリオン株式会社 | In-vehicle device system, portable terminal and in-vehicle device |
US9905061B2 (en) * | 2013-11-25 | 2018-02-27 | Honda Motor Co., Ltd. | Vehicle state monitoring system, and portable terminal device |
US9742624B2 (en) * | 2014-01-21 | 2017-08-22 | Oracle International Corporation | Logging incident manager |
JP6360337B2 (en) * | 2014-03-28 | 2018-07-18 | クラリオン株式会社 | In-vehicle communication unit and service providing system |
US10037023B2 (en) * | 2015-04-08 | 2018-07-31 | Toyota Motor Engineering & Manufacturing North America, Inc. | Dynamic repair system |
-
2017
- 2017-11-13 JP JP2018554882A patent/JP6490879B2/en active Active
-
2019
- 2019-01-07 US US16/241,039 patent/US10861253B2/en active Active
- 2019-01-28 JP JP2019011779A patent/JP7286326B2/en active Active
-
2020
- 2020-11-05 US US17/090,391 patent/US11776326B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US20190156593A1 (en) | 2019-05-23 |
JP2019061726A (en) | 2019-04-18 |
US20210056776A1 (en) | 2021-02-25 |
JPWO2018105321A1 (en) | 2019-03-14 |
US11776326B2 (en) | 2023-10-03 |
JP7286326B2 (en) | 2023-06-05 |
US10861253B2 (en) | 2020-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6492234B2 (en) | Information processing apparatus and information processing method | |
JP6490879B2 (en) | Information processing apparatus and information processing method | |
WO2018105319A1 (en) | Information processing device and information processing method | |
WO2018105321A1 (en) | Information processing device and information processing method | |
US10798114B2 (en) | System and method for consistency based anomaly detection in an in-vehicle communication network | |
US20190140778A1 (en) | Information processing method, information processing system, and recording medium | |
JPWO2019142458A1 (en) | Vehicle monitoring device, fraud detection server, and control method | |
CN109076016B9 (en) | Illegal communication detection criterion determining method, illegal communication detection criterion determining system, and recording medium | |
JP2018026791A (en) | Frame transmission blocking device, frame transmission blocking method, and on-vehicle network system | |
CN109005678B (en) | Illegal communication detection method, illegal communication detection system, and recording medium | |
US11935341B2 (en) | Data storage device and non-transitory tangible computer readable storage medium | |
CN111066001A (en) | Log output method, log output device, and program | |
US10484200B2 (en) | Controller area network (CAN) communication system and error information recording device | |
KR20200141402A (en) | Method and system for collecting and managing event data which is recorded by vehicle | |
US20180316700A1 (en) | Data security inspection mechanism for serial networks | |
KR20210096899A (en) | Method and system for managing vehicle generated data | |
WO2019207764A1 (en) | Extraction device, extraction method, recording medium, and detection device | |
CN115622722A (en) | Driving data processing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190128 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190128 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20190128 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20190204 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190219 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190227 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6490879 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |