JP7162189B2 - Anomaly analysis method and program - Google Patents

Anomaly analysis method and program Download PDF

Info

Publication number
JP7162189B2
JP7162189B2 JP2018003238A JP2018003238A JP7162189B2 JP 7162189 B2 JP7162189 B2 JP 7162189B2 JP 2018003238 A JP2018003238 A JP 2018003238A JP 2018003238 A JP2018003238 A JP 2018003238A JP 7162189 B2 JP7162189 B2 JP 7162189B2
Authority
JP
Japan
Prior art keywords
log
normal
unit
vehicle
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018003238A
Other languages
Japanese (ja)
Other versions
JP2019125004A (en
Inventor
祐輔 根本
薫 横田
紘幸 和田
稔久 中野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2018003238A priority Critical patent/JP7162189B2/en
Publication of JP2019125004A publication Critical patent/JP2019125004A/en
Application granted granted Critical
Publication of JP7162189B2 publication Critical patent/JP7162189B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Description

本開示は、車両の状態を監視する技術に関する。 The present disclosure relates to technology for monitoring the state of a vehicle.

近年、車載ネットワークと称される通信ネットワークを構成する多数の電子制御ユニット(ECU:Electronic Control Unit)が配置された車両が検討されている。これらのECUは、例えばISO11898-1で規定されているCAN(Controller Area Network)規格に従って、伝送路であるバスを介して通信を行う。 2. Description of the Related Art In recent years, vehicles in which a large number of electronic control units (ECUs) constituting a communication network called an in-vehicle network are arranged have been studied. These ECUs communicate via a bus, which is a transmission line, according to the CAN (Controller Area Network) standard defined by ISO11898-1, for example.

また、このような車載ネットワークが構成された車両に対するサイバーアタックなどの異常を検知または解析する技術が提案されている(特許文献1参照)。さらに、カーテレマティクスを用い、上述の車載ネットワークが構成された車両に対して、車両を運転するためのサービスを提供する技術も提案されている(特許文献2参照)。 Also, a technique for detecting or analyzing an abnormality such as a cyberattack on a vehicle configured with such an in-vehicle network has been proposed (see Patent Literature 1). Furthermore, a technology has been proposed that uses car telematics to provide a service for driving a vehicle to a vehicle configured with the above-described in-vehicle network (see Patent Literature 2).

特開2015-136107号公報JP 2015-136107 A 特許第5510007号公報Japanese Patent No. 5510007

しかしながら、車両の異常を検知または解析する車両監視システムにおいて、カーテレマティクスを用いたサービスを行う場合には、車両から送信される情報であるログを格納しておくために、大きなストレージ容量を有する記憶媒体が必要になるという課題がある。さらに、車両から送信されるログには異常なログが含まれている場合があるため、カーテレマティクスを用いたサービスを行うサーバが異常なログを用いれば、誤ったサービスを車両に提供してしまう可能性がある。 However, in a vehicle monitoring system that detects or analyzes an abnormality in a vehicle, when providing a service using car telematics, a memory with a large storage capacity is required to store logs, which are information transmitted from the vehicle. There is a problem that a medium is required. Furthermore, since the logs sent from the vehicle may contain anomalous logs, if a server that provides services using car telematics uses anomalous logs, the wrong service will be provided to the vehicle. there is a possibility.

そこで、本開示は、車両から送信されるログを適切に利用することができ、ストレージ容量の削減を行うことができる車両監視システムを提供する。 Accordingly, the present disclosure provides a vehicle monitoring system capable of appropriately using logs transmitted from vehicles and reducing storage capacity.

本開示の一態様に係る車両監視システムは、車両に搭載され、前記車両の状態を監視する監視装置と、ネットワークを介して前記監視装置に接続される少なくとも1つのサーバからなるサーバシステムと、を備え、前記監視装置は、前記車両の状態を示すデータを取得する状態取得部と、取得された前記データによって示される前記車両の状態が正常か異常かを判定する異常判定部と、前記異常判定部による判定結果が正常である場合には、前記データのログを正常ログとして前記サーバシステムに前記ネットワークを介して送信し、前記異常判定部による判定結果が異常である場合には、前記データのログを異常ログとして、前記サーバシステムに前記ネットワークを介して前記正常ログと異なる態様で送信する送信処理部とを備え、前記サーバシステムは、前記送信処理部から前記ネットワークを介して送信される前記正常ログおよび前記異常ログをそれぞれ識別可能な状態で格納するための記憶部と、前記車両の異常を解析する異常検知装置と、を備え、前記異常検知装置は、前記記憶部に識別可能な状態で格納されている前記正常ログと前記異常ログとを解析する解析部を備える。 A vehicle monitoring system according to an aspect of the present disclosure includes: a monitoring device mounted on a vehicle for monitoring the state of the vehicle; and a server system including at least one server connected to the monitoring device via a network. The monitoring device comprises a state acquisition unit that acquires data indicating the state of the vehicle, an abnormality determination unit that determines whether the vehicle state indicated by the acquired data is normal or abnormal, and the abnormality determination unit. If the judgment result by the unit is normal, the log of the data is transmitted as a normal log to the server system via the network, and if the judgment result by the abnormality judgment unit is abnormal, the data is transmitted. a transmission processing unit configured to transmit a log as an error log to the server system via the network in a manner different from that of the normal log, wherein the server system transmits the error log transmitted from the transmission processing unit via the network; a storage unit for storing a normal log and the abnormality log in an identifiable state; and an anomaly detection device for analyzing an anomaly of the vehicle, wherein the anomaly detection device is stored in the storage unit in an identifiable state. and an analysis unit that analyzes the normal log and the abnormal log stored in.

なお、これらの包括的または具体的な態様は、システム、方法、集積回路、コンピュータプログラムまたはコンピュータ読み取り可能なCD-ROMなどの記録媒体で実現されてもよく、システム、方法、集積回路、コンピュータプログラムおよび記録媒体の任意な組み合わせで実現されてもよい。 In addition, these general or specific aspects may be realized by a system, method, integrated circuit, computer program, or a recording medium such as a computer-readable CD-ROM. and any combination of recording media.

本開示の車両監視システムは、車両から送信される情報を適切に利用することができ、ストレージ容量の削減を行うことができる。 The vehicle monitoring system of the present disclosure can appropriately use information transmitted from vehicles and can reduce storage capacity.

図1は、実施の形態1における車両監視システムの構成を示すシステム構成図である。FIG. 1 is a system configuration diagram showing the configuration of a vehicle monitoring system according to Embodiment 1. As shown in FIG. 図2は、実施の形態1における監視装置のブロック図である。2 is a block diagram of a monitoring device according to Embodiment 1. FIG. 図3は、実施の形態1における異常検知装置のブロック図である。FIG. 3 is a block diagram of the abnormality detection device according to Embodiment 1. FIG. 図4は、実施の形態1における車両監視システムの処理動作を示すシーケンス図である。FIG. 4 is a sequence diagram showing processing operations of the vehicle monitoring system according to the first embodiment. 図5は、実施の形態1における監視装置と異常検知装置の具体的な処理の一例を説明するための図である。FIG. 5 is a diagram for explaining an example of specific processing of the monitoring device and the abnormality detection device according to the first embodiment. 図6は、実施の形態2における監視装置のブロック図である。FIG. 6 is a block diagram of a monitoring device according to Embodiment 2. FIG. 図7は、実施の形態2における異常検知装置のブロック図である。FIG. 7 is a block diagram of an abnormality detection device according to Embodiment 2. FIG. 図8は、実施の形態2における車両監視システムの処理動作の一部を示すシーケンス図である。FIG. 8 is a sequence diagram showing part of the processing operation of the vehicle monitoring system according to the second embodiment. 図9は、実施の形態2における車両監視システムの処理動作の他の一部を示すシーケンス図である。FIG. 9 is a sequence diagram showing another part of the processing operation of the vehicle monitoring system according to the second embodiment. 図10は、実施の形態2における正常ログのダウンサンプリングの例を説明するための図である。FIG. 10 is a diagram for explaining an example of normal log downsampling according to the second embodiment. 図11は、実施の形態2における正常ログのアップサンプリングの例を説明するための図である。FIG. 11 is a diagram for explaining an example of normal log upsampling according to the second embodiment. 図12は、実施の形態3における監視装置のブロック図である。12 is a block diagram of a monitoring device according to Embodiment 3. FIG. 図13は、実施の形態3における異常検知装置のブロック図である。FIG. 13 is a block diagram of an abnormality detection device according to Embodiment 3. FIG. 図14は、実施の形態3における車両監視システムの処理動作の一部を示すシーケンス図である。FIG. 14 is a sequence diagram showing part of the processing operation of the vehicle monitoring system according to the third embodiment. 図15は、実施の形態3における車両監視システムの処理動作の他の一部を示すシーケンス図である。FIG. 15 is a sequence diagram showing another part of the processing operation of the vehicle monitoring system according to the third embodiment. 図16は、各実施の形態の変形例に係る車両監視システムの構成を示す図である。FIG. 16 is a diagram showing the configuration of a vehicle monitoring system according to a modification of each embodiment.

(本開示の基礎となった知見)
本発明者は、「背景技術」の欄において記載した特許文献1および特許文献2に関し、以下の課題が生じることを見出した。
(Findings on which this disclosure is based)
The inventors of the present invention have found that the following problems arise in Patent Documents 1 and 2 described in the "Background Art" column.

特許文献1には、自動安全システムが開示されている。この自動安全システムは、複数の車両の各々の車内に設置されたサイバーウォッチマンと、車外に設置されたサイバーハブとを備える。サイバーハブは、サイバーウォッチマンからデータを取得し、そのデータに基づいて、車両に対するサイバーアタックなどの異常を検知または解析する。 Patent Literature 1 discloses an automatic safety system. This automatic safety system includes a cyber watchman installed inside each of a plurality of vehicles, and a cyber hub installed outside the vehicle. Cyber Hub acquires data from Cyber Watchman, and based on that data, detects or analyzes anomalies such as cyber attacks on vehicles.

ここで、サイバーウォッチマンから取得されるデータは、車両の状態を示すログである。つまり、サイバーハブである異常検知のためのサーバは、車両からログを取得して格納しておくための記憶媒体を有し、この記憶媒体に格納されているログを用いて、車両の異常を検知または解析する。 Here, the data acquired from Cyberwatchman is a log indicating the state of the vehicle. In other words, the server for anomaly detection, which is a cyber hub, has a storage medium for acquiring and storing logs from vehicles. Detect or analyze.

特許文献2には、経路案内システムが開示されている。この経路案内システムは、交通情報センタと、ネットワークを介してその交通情報センタに接続される複数のナビゲーション装置と含む。複数のナビゲーション装置のそれぞれは互いに異なる車両に備えられている。交通情報センタは、車両のナビゲーション装置から車両情報および道路状態情報などを取得し、取得した情報に基づいて、渋滞の有無をナビゲーション装置に通知する。また、交通情報センタは、その取得した情報に基づいて、経路探索などを行い、その探索結果をナビゲーション装置に通知する。 Patent Literature 2 discloses a route guidance system. This route guidance system includes a traffic information center and a plurality of navigation devices connected to the traffic information center via a network. Each of the plurality of navigation devices is provided in different vehicles. The traffic information center acquires vehicle information, road condition information, and the like from the navigation device of the vehicle, and notifies the navigation device of the presence or absence of congestion based on the acquired information. Also, the traffic information center performs route searches and the like based on the acquired information, and notifies the navigation device of the search results.

ここで、ナビゲーション装置から取得される車両情報などの情報は、車両の状態を示すログである。つまり、交通情報センタのような、カーテレマティクスを用いたサービスを行うサーバは、車両からログを取得して格納しておくための記憶媒体を有し、この記憶媒体に格納されているログを用いて、車両を運転するためのサービスをその車両に提供する。 Here, information such as vehicle information acquired from the navigation device is a log indicating the state of the vehicle. That is, a server that provides services using car telematics, such as a traffic information center, has a storage medium for acquiring and storing logs from vehicles, and uses the logs stored in this storage medium. and provide services to the vehicle to operate the vehicle.

したがって、特許文献1の自動安全システムのような、車両の異常を検知または解析する車両監視システムにおいて、カーテレマティクスを用いたサービスを行う場合には、異常検知のためのサーバだけでなく、カーテレマティクスを用いたサービスを行うサーバが必要である。そして、これらのサーバのそれぞれは、車両から取得したログを格納するための記憶媒体を有する。つまり、同じログがそれぞれのサーバの記憶媒体に二重に格納される場合が生じる。したがって、このような車両監視システムでは、1つのサーバの記憶媒体のストレージ容量の2倍のストレージ容量が必要とされる。すなわち、このような車両監視システムでは、大きなストレージ容量を有する記憶媒体が必要になるという課題がある。 Therefore, in a vehicle monitoring system that detects or analyzes vehicle anomalies, such as the automatic safety system of Patent Document 1, when providing a service using car telematics, not only the server for anomaly detection but also the car telematics A server is required to provide services using Each of these servers has a storage medium for storing logs obtained from the vehicle. In other words, the same log may be stored twice in the storage media of each server. Therefore, such a vehicle monitoring system requires a storage capacity that is twice the storage capacity of the storage medium of one server. That is, such a vehicle monitoring system has a problem that a storage medium having a large storage capacity is required.

さらに、車両から送信されるログには異常なログが含まれている場合があるため、カーテレマティクスを用いたサービスを行うサーバが異常なログを用いれば、誤ったサービスを車両に提供してしまう可能性がある。つまり、渋滞予測のサービス、走行距離に応じた保険のサービス、または経路探索のサービスにおいて、誤った処理を行ってしまう可能性がある。 Furthermore, since the logs sent from the vehicle may contain anomalous logs, if a server that provides services using car telematics uses anomalous logs, the wrong service will be provided to the vehicle. there is a possibility. In other words, there is a possibility that erroneous processing may be performed in a traffic jam prediction service, an insurance service based on the distance traveled, or a route search service.

このような課題を解決するために、本開示の一態様に係る車両監視システムは、車両に搭載され、前記車両の状態を監視する監視装置と、ネットワークを介して前記監視装置に接続される少なくとも1つのサーバからなるサーバシステムと、を備え、前記監視装置は、前記車両の状態を示すデータを取得する状態取得部と、取得された前記データによって示される前記車両の状態が正常か異常かを判定する異常判定部と、前記異常判定部による判定結果が正常である場合には、前記データのログを正常ログとして前記サーバシステムに前記ネットワークを介して送信し、前記異常判定部による判定結果が異常である場合には、前記データのログを異常ログとして、前記サーバシステムに前記ネットワークを介して前記正常ログと異なる態様で送信する送信処理部とを備え、前記サーバシステムは、前記送信処理部から前記ネットワークを介して送信される前記正常ログおよび前記異常ログをそれぞれ識別可能な状態で格納するための記憶部と、前記車両の異常を解析する異常検知装置と、を備え、前記異常検知装置は、前記記憶部に識別可能な状態で格納されている前記正常ログと前記異常ログとを解析する解析部を備える。 In order to solve such problems, a vehicle monitoring system according to an aspect of the present disclosure includes a monitoring device mounted on a vehicle for monitoring the state of the vehicle, and at least a monitoring device connected to the monitoring device via a network. a server system consisting of one server, wherein the monitoring device includes a state acquisition unit that acquires data indicating the state of the vehicle; an abnormality determination unit for judging, and when the determination result by the abnormality determination unit is normal, the log of the data is transmitted as a normal log to the server system via the network, and the determination result by the abnormality determination unit is a transmission processing unit configured to transmit the log of the data as an abnormality log to the server system via the network in a manner different from that of the normal log when there is an abnormality, wherein the server system comprises the transmission processing unit a storage unit for storing the normal log and the abnormal log transmitted via the network from the comprises an analysis unit that analyzes the normal log and the abnormal log stored in the storage unit in an identifiable state.

これにより、車両から送信される正常ログと異常ログとは、サーバシステムの記憶部において識別可能な状態で格納される。したがって、例えば、サーバシステムが、カーテレマティクスを用いたサービスを行うサーバを含んでいる場合、そのカーテレマティクスのサーバは、その記憶部に格納されている複数のログのうち正常ログのみをその記憶部から適切に取得することができる。その結果、カーテレマティクスのサーバは、記憶部に格納されている複数のログのうちの正常ログのみ用いて経路探索などのサービスを行うことができる。したがって、異常ログを用いることによって誤ったサービスを車両に提供してしまうことを抑えることができる。 As a result, the normal log and the abnormal log transmitted from the vehicle are stored in an identifiable state in the storage unit of the server system. Therefore, for example, if the server system includes a server that provides a service using car telematics, the car telematics server stores only normal logs among a plurality of logs stored in its storage unit. can be properly obtained from As a result, the car telematics server can perform services such as route search using only normal logs among the plurality of logs stored in the storage unit. Therefore, it is possible to prevent the wrong service from being provided to the vehicle by using the error log.

さらに、例えば、記憶部が2つの記憶部からなり、一方の記憶部に正常ログが格納され、他方の記憶部に異常ログが格納されるように、正常ログと異常ログとが識別可能な状態で記憶部に格納されていても、異常検知装置は、それらのログを解析する。例えば、異常検知装置は、正常ログと異常ログとを結合することによって結合ログを生成する。つまり、異常検知装置は、車両の状態を再現する。そして、異常検知装置は、その結合ログを解析する。したがって、カーテレマティクスのサーバが正常ログのみを記憶部から適切に取得できるように、正常ログと異常ログとが識別可能な状態で記憶部に格納されていても、異常検知装置は、その記憶部の各ログを用いて適切に車両の状態を再現し、異常を解析することができる。その結果、サーバシステムにカーテレマティクスのサーバが含まれていても、記憶部に格納されている正常ログを、異常検知装置とカーテレマティクスのサーバとで共用することができる。これにより、正常ログの二重化を抑え、車両監視システムの記憶部のストレージ容量を削減することができる。また、正常ログを共用することができるため、異常検知装置と、カーテレマティクスのサーバとに個別に同一の正常ログを送信する必要がなく、車両から送信されるログのデータ量を削減することができる。 Furthermore, for example, the storage unit is composed of two storage units, and the normal log is stored in one storage unit, and the error log is stored in the other storage unit, so that the normal log and the error log can be distinguished. are stored in the storage unit, the anomaly detection device analyzes those logs. For example, the anomaly detection device generates a combined log by combining a normal log and an anomaly log. That is, the abnormality detection device reproduces the state of the vehicle. Then, the anomaly detection device analyzes the combined log. Therefore, even if the normal log and the abnormal log are stored in the storage unit in a identifiable state so that the car telematics server can appropriately acquire only the normal log from the storage unit, the abnormality detection device Each log can be used to appropriately reproduce vehicle conditions and analyze abnormalities. As a result, even if the server system includes a car telematics server, the normal log stored in the storage unit can be shared by the anomaly detection device and the car telematics server. As a result, duplication of normal logs can be suppressed, and the storage capacity of the storage unit of the vehicle monitoring system can be reduced. In addition, since the normal log can be shared, there is no need to separately transmit the same normal log to the anomaly detection device and the car telematics server, and the amount of log data transmitted from the vehicle can be reduced. can.

例えば、前記記憶部は、正常ログ記憶部と、異常ログ記憶部とからなり、前記サーバシステムは、前記正常ログ記憶部を有する第1のサーバと、前記異常検知装置および前記異常ログ記憶部を有する第2のサーバとからなり、前記送信処理部は、前記正常ログを前記第1のサーバに送信し、前記異常ログを前記第2のサーバに送信し、前記第1のサーバは、前記送信処理部から送信される前記正常ログを前記正常ログ記憶部に格納し、前記第2のサーバは、前記送信処理部から送信される前記異常ログを前記異常ログ記憶部に格納してもよい。 For example, the storage unit includes a normal log storage unit and an error log storage unit, and the server system includes a first server having the normal log storage unit, the error detection device, and the error log storage unit. and a second server, wherein the transmission processing unit transmits the normal log to the first server, transmits the abnormal log to the second server, and the first server transmits the The normal log transmitted from the processing unit may be stored in the normal log storage unit, and the second server may store the error log transmitted from the transmission processing unit in the error log storage unit.

これにより、正常ログが正常ログ記憶部に格納され、異常ログが異常ログ記憶部に格納される。したがって、正常ログ記憶部を有する第1のサーバが、カーテレマティクスのサーバであれば、カーテレマティクスのサーバは、記憶部に格納されている複数のログのうち正常ログのみをその記憶部からより適切に取得することができる。したがって、異常ログを用いることによって誤ったサービスを車両に提供してしまうことをより抑えることができる。 As a result, the normal log is stored in the normal log storage unit, and the error log is stored in the error log storage unit. Therefore, if the first server having the normal log storage unit is a car telematics server, the car telematics server can extract only normal logs from the plurality of logs stored in the storage unit from the storage unit. can be obtained. Therefore, it is possible to further prevent the wrong service from being provided to the vehicle by using the error log.

また、前記第1のサーバは、さらに、前記正常ログ記憶部に格納されている前記正常ログを用いて、前記車両の運転に関するサービスを、前記ネットワークを介して前記車両に提供するサービス提供部を備え、前記異常検知装置は、さらに、前記第1のサーバの前記正常ログ記憶部から前記正常ログを取得する正常ログ取得部と、前記第2のサーバの前記異常ログ記憶部から前記異常ログを取得する異常ログ取得部とを備え、前記解析部は、前記正常ログ取得部によって取得され、前記サービス提供部と共用される前記正常ログと、前記異常ログ取得部によって取得された前記異常ログとを解析してもよい。 The first server further includes a service providing unit that provides services related to driving of the vehicle to the vehicle via the network using the normal log stored in the normal log storage unit. The anomaly detection device further comprises a normal log acquisition unit for acquiring the normal log from the normal log storage unit of the first server, and an anomaly log from the anomaly log storage unit of the second server. and an error log acquisition unit for acquiring, the analysis unit includes the normal log acquired by the normal log acquisition unit and shared with the service providing unit, and the error log acquired by the error log acquisition unit. may be analyzed.

これにより、第1のサーバは、車両の運転に関するサービスを、ネットワークを介して車両に提供するため、カーテレマティクスのサーバとして機能する。そして、異常検知装置を備えた第2のサーバは、記憶部の正常ログを、第1のサーバであるカーテレマティクスのサーバと共用しながら、その正常ログを用いて車両の状態を再現し、車両の異常を解析する。したがって、車両の運転に関するサービスの提供と、車両の異常の解析とを適切に行いながら、記憶部のストレージ容量を適切に抑えることができる。 As a result, the first server functions as a car telematics server in order to provide services related to vehicle driving to the vehicle via the network. Then, the second server equipped with the abnormality detection device shares the normal log in the storage unit with the car telematics server, which is the first server, and uses the normal log to reproduce the state of the vehicle. analysis of abnormalities. Therefore, it is possible to appropriately reduce the storage capacity of the storage unit while appropriately providing services related to vehicle driving and analyzing vehicle abnormalities.

また、前記監視装置は、さらに、前記正常ログをダウンサンプリングするログダウンサンプリング部を備え、前記送信処理部は、前記正常ログの送信では、ダウンサンプリングによって得られた正常ログを前記第1のサーバに送信し、前記異常検知装置は、さらに、前記正常ログ取得部によって取得された前記正常ログをアップサンプリングすることによって、前記正常ログを含む複数の正常ログを生成するログアップサンプリング部を備え、前記解析部は、前記ログアップサンプリング部によって生成された前記複数の正常ログと前記異常ログとを解析してもよい。 Further, the monitoring device further includes a log downsampling unit for downsampling the normal log, and the transmission processing unit sends the normal log obtained by downsampling to the first server when transmitting the normal log. and the anomaly detection device further comprises a log up-sampling unit that generates a plurality of normal logs including the normal log by up-sampling the normal log acquired by the normal log acquisition unit, The analysis unit may analyze the plurality of normal logs and the abnormality log generated by the log upsampling unit.

これにより、車両では、正常と判定されたログである正常ログがダウンサンプリングされ、そのダウンサンプリングによって得られた正常ログが第1のサーバに送信されて、第1のサーバの正常ログ記憶部に格納される。したがって、車両から第1のサーバに送信される正常ログのデータ量を抑えることができる。さらに、第1のサーバの正常ログ記憶部のストレージ容量をさらに削減することができる。また、正常ログがダウンサンプリングされても、異常検知装置では、その正常ログがアップサンプリングされる。したがって、正常ログの不足によって車両の異常の解析が困難になってしまうことを抑えることができる。 As a result, in the vehicle, the normal log, which is the log determined to be normal, is downsampled, the normal log obtained by the downsampling is transmitted to the first server, and stored in the normal log storage unit of the first server. Stored. Therefore, the amount of normal log data transmitted from the vehicle to the first server can be suppressed. Furthermore, the storage capacity of the normal log storage unit of the first server can be further reduced. Moreover, even if the normal log is down-sampled, the normal log is up-sampled in the anomaly detection device. Therefore, it is possible to prevent the difficulty in analyzing the abnormality of the vehicle due to the lack of the normal log.

また、前記監視装置は、さらに、前記異常ログがダウンサンプリング可能な状況か否かを判断する状況判断部を備え、前記状況判断部によって前記異常ログがダウンサンプリング可能な状況であると判断された場合には、前記ログダウンサンプリング部は、さらに、前記異常ログをダウンサンプリングし、前記送信処理部は、前記異常ログの送信では、ダウンサンプリングによって得られた異常ログを前記第2のサーバに送信し、前記ログアップサンプリング部は、さらに、前記異常ログ取得部によって取得された前記異常ログをアップサンプリングすることによって、前記異常ログを含む複数の異常ログを生成し、前記解析部は、前記ログアップサンプリング部によって生成された前記複数の正常ログと前記複数の異常ログとを解析してもよい。例えば、前記状況判断部は、(i)前記異常ログによって示される前記車両の状態の種別、(ii)前記異常ログの緊急性の有無、および、(iii)前記異常ログが現れる周期性の有無のうちの、少なくとも1つに基づいて、前記異常ログがダウンサンプリング可能な状況か否かを判断してもよい。 Further, the monitoring device further includes a situation determination unit that determines whether or not the error log can be down-sampled, and the situation determination unit determines that the error log can be down-sampled. In this case, the log downsampling unit further downsamples the error log, and the transmission processing unit transmits the error log obtained by the downsampling to the second server in the transmission of the error log. The log up-sampling unit further up-samples the error logs acquired by the error log acquisition unit to generate a plurality of error logs including the error log, and the analysis unit generates the log The plurality of normal logs and the plurality of error logs generated by the upsampling unit may be analyzed. For example, the situation determination unit may determine (i) the type of the state of the vehicle indicated by the error log, (ii) whether the error log is urgent or not, and (iii) whether or not the error log appears periodically. Based on at least one of them, it may be determined whether or not the anomaly log can be down-sampled.

これにより、車両では、状況に応じて、異常と判定されたログである異常ログもダウンサンプリングされ、そのダウンサンプリングによって得られた異常ログが第2のサーバに送信されて、第2のサーバの異常ログ記憶部に格納される。したがって、車両から第2のサーバに送信される異常ログのデータ量を抑えることができる。さらに、第2のサーバの異常ログ記憶部のストレージ容量をさらに削減することができる。また、異常ログがダウンサンプリングされても、異常検知装置では、その異常ログがアップサンプリングされる。したがって、異常ログの不足によって車両の異常の解析が困難になってしまうことを抑えることができる。 As a result, in the vehicle, depending on the situation, the anomaly log, which is the log determined to be anomalous, is also down-sampled, and the anomaly log obtained by the down-sampling is transmitted to the second server. Stored in the error log storage unit. Therefore, it is possible to suppress the data amount of the abnormality log transmitted from the vehicle to the second server. Furthermore, the storage capacity of the error log storage unit of the second server can be further reduced. Even if the error log is down-sampled, the error detection device up-samples the error log. Therefore, it is possible to prevent difficulty in analyzing the abnormality of the vehicle due to the shortage of the abnormality log.

また、本開示の一態様に係るサーバシステムは、車両に搭載されて前記車両の状態を監視する監視装置に、ネットワークを介して接続される少なくとも1つのサーバからなるサーバシステムであって、前記監視装置から前記ネットワークを介して送信される、前記監視装置によって正常と判定された前記車両の状態を示す正常ログと、前記監視装置によって異常と判定された前記車両の状態を示す異常ログとを、それぞれ識別可能な状態で格納するための記憶部と、前記車両の異常を解析する異常検知装置とを備え、前記異常検知装置は、前記記憶部に識別可能な状態で格納されている前記正常ログと前記異常ログとを解析する解析部を備える。 Further, a server system according to an aspect of the present disclosure is a server system including at least one server connected via a network to a monitoring device mounted on a vehicle for monitoring the state of the vehicle, wherein the monitoring a normality log indicating the state of the vehicle determined to be normal by the monitoring device and an abnormality log indicating the state of the vehicle determined to be abnormal by the monitoring device, which are transmitted from the device via the network; a storage unit for storing each in an identifiable state; and an anomaly detection device for analyzing an anomaly of the vehicle, wherein the anomaly detection device detects the normal log stored in the storage unit in an identifiable state. and an analysis unit that analyzes the error log.

これにより、車両から送信される正常ログと異常ログとは、サーバシステムの記憶部において識別可能な状態で格納される。したがって、例えば、サーバシステムが、カーテレマティクスを用いたサービスを行うサーバを含んでいる場合、そのカーテレマティクスのサーバは、その記憶部に格納されている複数のログのうち正常ログのみをその記憶部から適切に取得することができる。その結果、カーテレマティクスのサーバは、記憶部に格納されている複数のログのうちの正常ログのみ用いて経路探索などのサービスを行うことができる。したがって、異常ログを用いることによって誤ったサービスを車両に提供してしまうことを抑えることができる。 As a result, the normal log and the abnormal log transmitted from the vehicle are stored in an identifiable state in the storage unit of the server system. Therefore, for example, if the server system includes a server that provides a service using car telematics, the car telematics server stores only normal logs among a plurality of logs stored in its storage unit. can be properly obtained from As a result, the car telematics server can perform services such as route search using only normal logs among the plurality of logs stored in the storage unit. Therefore, it is possible to prevent the wrong service from being provided to the vehicle by using the error log.

さらに、例えば、記憶部が2つの記憶部からなり、一方の記憶部に正常ログが格納され、他方の記憶部に異常ログが格納されるように、正常ログと異常ログとが識別可能な状態で記憶部に格納されていても、異常検知装置は、それらのログを解析する。例えば、異常検知装置は、正常ログと異常ログとを結合することによって結合ログを生成する。つまり、異常検知装置は、車両の状態を再現する。そして、異常検知装置は、その結合ログを解析する。したがって、カーテレマティクスのサーバが正常ログのみを記憶部から適切に取得できるように、正常ログと異常ログとが識別可能な状態で記憶部に格納されていても、異常検知装置は、その記憶部の各ログを用いて適切に車両の状態を再現し、異常を解析することができる。その結果、サーバシステムにカーテレマティクスのサーバが含まれていても、記憶部に格納されている正常ログを、異常検知装置とカーテレマティクスのサーバとで共用することができる。これにより、正常ログの二重化を抑え、サーバシステムの記憶部のストレージ容量を削減することができる。また、正常ログを共用することができるため、異常検知装置と、カーテレマティクスのサーバとに個別に同一の正常ログを送信する必要がなく、車両から送信されるログのデータ量を削減することができる。 Furthermore, for example, the storage unit is composed of two storage units, and the normal log is stored in one storage unit, and the error log is stored in the other storage unit, so that the normal log and the error log can be distinguished. are stored in the storage unit, the anomaly detection device analyzes those logs. For example, the anomaly detection device generates a combined log by combining a normal log and an anomaly log. That is, the abnormality detection device reproduces the state of the vehicle. Then, the anomaly detection device analyzes the combined log. Therefore, even if the normal log and the abnormal log are stored in the storage unit in a identifiable state so that the car telematics server can appropriately acquire only the normal log from the storage unit, the abnormality detection device Each log can be used to appropriately reproduce vehicle conditions and analyze abnormalities. As a result, even if the server system includes a car telematics server, the normal log stored in the storage unit can be shared by the anomaly detection device and the car telematics server. As a result, duplication of normal logs can be suppressed, and the storage capacity of the storage unit of the server system can be reduced. In addition, since the normal log can be shared, there is no need to separately transmit the same normal log to the anomaly detection device and the car telematics server, and the amount of log data transmitted from the vehicle can be reduced. can.

ここで、前記記憶部は、正常ログ記憶部と、異常ログ記憶部とからなり、前記サーバシステムは、前記正常ログ記憶部を有する第1のサーバと、前記異常検知装置および前記異常ログ記憶部を有する第2のサーバとからなり、前記監視装置は、前記正常ログを前記第1のサーバに送信し、前記異常ログを前記第2のサーバに送信し、前記第1のサーバは、前記監視装置から送信される前記正常ログを前記正常ログ記憶部に格納し、前記第2のサーバは、前記監視装置から送信される前記異常ログを前記異常ログ記憶部に格納してもよい。 Here, the storage unit includes a normal log storage unit and an error log storage unit, and the server system includes a first server having the normal log storage unit, the error detection device, and the error log storage unit. wherein the monitoring device transmits the normal log to the first server, transmits the abnormal log to the second server, and the first server transmits the monitoring The normal log transmitted from the device may be stored in the normal log storage unit, and the second server may store the error log transmitted from the monitoring device in the error log storage unit.

これにより、正常ログが正常ログ記憶部に格納され、異常ログが異常ログ記憶部に格納される。したがって、正常ログ記憶部を有する第1のサーバが、カーテレマティクスのサーバであれば、カーテレマティクスのサーバは、記憶部に格納されている複数のログのうち正常ログのみをその記憶部からより適切に取得することができる。したがって、異常ログを用いることによって誤ったサービスを車両に提供してしまうことをより抑えることができる。 As a result, the normal log is stored in the normal log storage unit, and the error log is stored in the error log storage unit. Therefore, if the first server having the normal log storage unit is a car telematics server, the car telematics server can extract only normal logs from the plurality of logs stored in the storage unit from the storage unit. can be obtained. Therefore, it is possible to further prevent the wrong service from being provided to the vehicle by using the error log.

また、前記第1のサーバは、さらに、前記正常ログ記憶部に格納されている前記正常ログを用いて、前記車両の運転に関するサービスを、前記ネットワークを介して前記車両に提供するサービス提供部を備え、前記異常検知装置は、さらに、前記第1のサーバの前記正常ログ記憶部から前記正常ログを取得する正常ログ取得部と、前記第2のサーバの前記異常ログ記憶部から前記異常ログを取得する異常ログ取得部とを備え、前記解析部は、前記正常ログ取得部によって取得され、前記サービス提供部と共用される前記正常ログと、前記異常ログ取得部によって取得された前記異常ログとを解析してもよい。 The first server further includes a service providing unit that provides services related to driving of the vehicle to the vehicle via the network using the normal log stored in the normal log storage unit. The anomaly detection device further comprises a normal log acquisition unit for acquiring the normal log from the normal log storage unit of the first server, and an anomaly log from the anomaly log storage unit of the second server. and an error log acquisition unit for acquiring, the analysis unit includes the normal log acquired by the normal log acquisition unit and shared with the service providing unit, and the error log acquired by the error log acquisition unit. may be analyzed.

これにより、第1のサーバは、車両の運転に関するサービスを、ネットワークを介して車両に提供するため、カーテレマティクスのサーバとして機能する。そして、異常検知装置を備えた第2のサーバは、記憶部の正常ログを、第1のサーバであるカーテレマティクスのサーバと共用しながら、その正常ログを用いて車両の状態を再現し、車両の異常を解析する。したがって、車両の運転に関するサービスの提供と、車両の異常の解析とを適切に行いながら、記憶部のストレージ容量を適切に抑えることができる。 As a result, the first server functions as a car telematics server in order to provide services related to vehicle driving to the vehicle via the network. Then, the second server equipped with the abnormality detection device shares the normal log in the storage unit with the car telematics server, which is the first server, and uses the normal log to reproduce the state of the vehicle. analysis of abnormalities. Therefore, it is possible to appropriately reduce the storage capacity of the storage unit while appropriately providing services related to vehicle driving and analyzing vehicle abnormalities.

また、前記異常検知装置は、さらに、前記正常ログ取得部によって取得された前記正常ログをアップサンプリングすることによって、前記正常ログを含む複数の正常ログを生成するログアップサンプリング部を備え、前記解析部は、前記ログアップサンプリング部によって生成された前記複数の正常ログと前記異常ログとを解析してもよい。 The anomaly detection device further includes a log upsampling unit configured to generate a plurality of normal logs including the normal log by up-sampling the normal log acquired by the normal log acquisition unit; The unit may analyze the plurality of normal logs and the abnormal log generated by the log upsampling unit.

これにより、異常検知装置によって正常ログがアップサンプリングされるため、車両では、正常と判定されたログである正常ログをダウンサンプリングし、そのダウンサンプリングによって得られた正常ログを第1のサーバに送信することができる。したがって、車両から第1のサーバに送信される正常ログのデータ量を抑えることができる。さらに、第1のサーバの正常ログ記憶部のストレージ容量をさらに削減することができる。また、正常ログがダウンサンプリングされても、異常検知装置によってその正常ログがアップサンプリングされるため、正常ログの不足によって車両の異常の解析が困難になってしまうことを抑えることができる。 As a result, since the normal log is up-sampled by the anomaly detection device, the vehicle down-samples the normal log, which is the log determined to be normal, and transmits the normal log obtained by the down-sampling to the first server. can do. Therefore, the amount of normal log data transmitted from the vehicle to the first server can be suppressed. Furthermore, the storage capacity of the normal log storage unit of the first server can be further reduced. Further, even if the normal log is down-sampled, the normal log is up-sampled by the abnormality detection device, so that it is possible to prevent the vehicle abnormality from becoming difficult to analyze due to the lack of the normal log.

また、前記ログアップサンプリング部は、前記異常ログ記憶部に格納されている前記異常ログが前記監視装置によるダウンサンプリングによって得られた異常ログである場合には、さらに、前記異常ログ取得部によって取得された前記異常ログをアップサンプリングすることによって、前記異常ログを含む複数の異常ログを生成し、前記解析部は、前記ログアップサンプリング部によって生成された前記複数の正常ログと前記複数の異常ログとを解析してもよい。 Further, when the error log stored in the error log storage unit is an error log obtained by downsampling by the monitoring device, the log up-sampling unit acquires the error log by the error log acquisition unit. generating a plurality of error logs including the error log by up-sampling the error log obtained by upsampling, and the analysis unit extracts the plurality of error logs and the plurality of error logs generated by the log upsampling unit; and may be analyzed.

これにより、異常検知装置によって異常ログがアップサンプリングされるため、車両では、状況に応じて、異常と判定されたログである異常ログをダウンサンプリングし、そのダウンサンプリングによって得られた異常ログを第2のサーバに送信することができる。したがって、車両から第2のサーバに送信される異常ログのデータ量を抑えることができる。さらに、第2のサーバの異常ログ記憶部のストレージ容量をさらに削減することができる。また、異常ログがダウンサンプリングされても、異常検知装置によってその異常ログがアップサンプリングされるため、異常ログの不足によって車両の異常の解析が困難になってしまうことを抑えることができる。 As a result, the anomaly detection device up-samples the anomaly log. Therefore, depending on the situation, the vehicle down-samples the anomaly log determined to be an anomaly, and then converts the anomaly log obtained by the down-sampling into a second error log. 2 servers. Therefore, it is possible to suppress the data amount of the abnormality log transmitted from the vehicle to the second server. Furthermore, the storage capacity of the error log storage unit of the second server can be further reduced. Further, even if the error log is down-sampled, the error log is up-sampled by the error detection device, so that it is possible to prevent difficulty in analyzing vehicle errors due to insufficient error logs.

また、本開示の一態様に係る監視装置は、車両に搭載され、前記車両の状態を監視する監視装置であって、前記車両の状態を示すデータを取得する状態取得部と、取得された前記データによって示される前記車両の状態が正常か異常かを判定する異常判定部と、前記異常判定部による判定結果が正常である場合には、前記データのログを正常ログとして、少なくとも1つのサーバからなるサーバシステムにネットワークを介して送信し、前記異常判定部による判定結果が異常である場合には、前記データのログを異常ログとして、前記サーバシステムに前記ネットワークを介して前記正常ログと異なる態様で送信する送信処理部とを備える。 Further, a monitoring device according to an aspect of the present disclosure is a monitoring device mounted on a vehicle and monitoring a state of the vehicle, comprising: a state acquisition unit that acquires data indicating the state of the vehicle; an abnormality determination unit that determines whether the state of the vehicle indicated by the data is normal or abnormal; and if the determination result by the abnormality determination unit is normal, a log of the data is sent from at least one server as a normal log. If the result of determination by the abnormality determination unit is abnormal, the log of the data is sent to the server system as an abnormality log, and sent to the server system via the network in a mode different from the normal log and a transmission processing unit for transmitting with.

これにより、正常ログと異常ログとがそれぞれ互いに異なる態様でサーバシステムに送信されるため、サーバシステムでは、これらの正常ログと異常ログとを識別可能な状態で記憶部に格納することができる。したがって、例えば、サーバシステムが、カーテレマティクスを用いたサービスを行うサーバを含んでいる場合、そのカーテレマティクスのサーバは、その記憶部に格納されている複数のログのうち正常ログのみをその記憶部から適切に取得することができる。その結果、カーテレマティクスのサーバは、記憶部に格納されている複数のログのうちの正常ログのみ用いて経路探索などのサービスを行うことができる。したがって、異常ログを用いることによって誤ったサービスを車両に提供してしまうことを抑えることができる。 As a result, the normal log and the abnormal log are transmitted to the server system in mutually different manners, so that the server system can store the normal log and the abnormal log in a identifiable state in the storage unit. Therefore, for example, if the server system includes a server that provides a service using car telematics, the car telematics server stores only normal logs among a plurality of logs stored in its storage unit. can be properly obtained from As a result, the car telematics server can perform services such as route search using only normal logs among the plurality of logs stored in the storage unit. Therefore, it is possible to prevent the wrong service from being provided to the vehicle by using the error log.

ここで、前記サーバシステムは、正常ログ記憶部を有する第1のサーバと、異常ログ記憶部を有する第2のサーバとからなり、前記送信処理部は、前記正常ログを前記第1のサーバに送信することによって、前記第1のサーバに対して、前記正常ログを前記正常ログ記憶部に格納させ、前記異常ログを前記第2のサーバに送信することによって、前記第2のサーバに対して、前記異常ログを前記異常ログ記憶部に格納させてもよい。 Here, the server system includes a first server having a normal log storage unit and a second server having an error log storage unit, and the transmission processing unit transmits the normal log to the first server. causing the first server to store the normal log in the normal log storage unit, and transmitting the error log to the second server, thereby causing the second server to store the normal log , the error log may be stored in the error log storage unit.

これにより、正常ログが正常ログ記憶部に格納され、異常ログが異常ログ記憶部に格納される。したがって、正常ログ記憶部を有する第1のサーバが、カーテレマティクスのサーバであれば、カーテレマティクスのサーバは、記憶部に格納されている複数のログのうち正常ログのみをその記憶部からより適切に取得することができる。したがって、異常ログを用いることによって誤ったサービスを車両に提供してしまうことをより抑えることができる。 As a result, the normal log is stored in the normal log storage unit, and the error log is stored in the error log storage unit. Therefore, if the first server having the normal log storage unit is a car telematics server, the car telematics server can extract only normal logs from the plurality of logs stored in the storage unit from the storage unit. can be obtained. Therefore, it is possible to further prevent the wrong service from being provided to the vehicle by using the error log.

また、前記監視装置は、さらに、前記正常ログをダウンサンプリングするログダウンサンプリング部を備え、前記送信処理部は、前記正常ログの送信では、ダウンサンプリングによって得られた正常ログを前記第1のサーバに送信してもよい。 Further, the monitoring device further includes a log downsampling unit for downsampling the normal log, and the transmission processing unit sends the normal log obtained by downsampling to the first server when transmitting the normal log. may be sent to

これにより、車両では、正常と判定されたログである正常ログがダウンサンプリングされ、そのダウンサンプリングによって得られた正常ログが第1のサーバに送信されて、第1のサーバの正常ログ記憶部に格納される。したがって、車両から第1のサーバに送信される正常ログのデータ量を抑えることができる。さらに、第1のサーバの正常ログ記憶部のストレージ容量をさらに削減することができる。 As a result, in the vehicle, the normal log, which is the log determined to be normal, is downsampled, the normal log obtained by the downsampling is transmitted to the first server, and stored in the normal log storage unit of the first server. Stored. Therefore, the amount of normal log data transmitted from the vehicle to the first server can be suppressed. Furthermore, the storage capacity of the normal log storage unit of the first server can be further reduced.

また、前記監視装置は、さらに、前記異常ログがダウンサンプリング可能な状況か否かを判断する状況判断部を備え、前記状況判断部によって前記異常ログがダウンサンプリング可能な状況であると判断された場合には、前記ログダウンサンプリング部は、さらに、前記異常ログをダウンサンプリングし、前記送信処理部は、前記異常ログの送信では、ダウンサンプリングによって得られた異常ログを前記第2のサーバに送信してもよい。例えば、前記状況判断部は、(i)前記異常ログによって示される前記車両の状態の種別、(ii)前記異常ログの緊急性の有無、および、(iii)前記異常ログが現れる周期性の有無のうちの、少なくとも1つに基づいて、前記異常ログがダウンサンプリング可能な状況か否かを判断してもよい。 Further, the monitoring device further includes a situation determination unit that determines whether or not the error log can be down-sampled, and the situation determination unit determines that the error log can be down-sampled. In this case, the log downsampling unit further downsamples the error log, and the transmission processing unit transmits the error log obtained by the downsampling to the second server in the transmission of the error log. You may For example, the situation determination unit may determine (i) the type of the state of the vehicle indicated by the error log, (ii) whether the error log is urgent or not, and (iii) whether or not the error log appears periodically. Based on at least one of them, it may be determined whether or not the anomaly log can be down-sampled.

これにより、車両では、状況に応じて、異常と判定されたログである異常ログもダウンサンプリングされ、そのダウンサンプリングによって得られた異常ログが第2のサーバに送信されて、第2のサーバの異常ログ記憶部に格納される。したがって、車両から第2のサーバに送信される異常ログのデータ量を抑えることができる。さらに、第2のサーバの異常ログ記憶部のストレージ容量をさらに削減することができる。 As a result, in the vehicle, depending on the situation, the anomaly log, which is the log determined to be anomalous, is also down-sampled, and the anomaly log obtained by the down-sampling is transmitted to the second server. Stored in the error log storage unit. Therefore, it is possible to suppress the data amount of the abnormality log transmitted from the vehicle to the second server. Furthermore, the storage capacity of the error log storage unit of the second server can be further reduced.

なお、これらの包括的または具体的な態様は、システム、方法、集積回路、コンピュータプログラムまたはコンピュータ読み取り可能なCD-ROMなどの記録媒体で実現されてもよく、システム、方法、集積回路、コンピュータプログラムまたは記録媒体の任意な組み合わせで実現されてもよい。 In addition, these general or specific aspects may be realized by a system, method, integrated circuit, computer program, or a recording medium such as a computer-readable CD-ROM. Or it may be realized by any combination of recording media.

以下、実施の形態について、図面を参照しながら具体的に説明する。 Hereinafter, embodiments will be specifically described with reference to the drawings.

なお、以下で説明する実施の形態は、いずれも包括的または具体的な例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、本開示を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、最上位概念を示す独立請求項に記載されていない構成要素については、任意の構成要素として説明される。 It should be noted that the embodiments described below are all comprehensive or specific examples. 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 examples, and are not intended to limit the present disclosure. In addition, among the constituent elements in the following embodiments, constituent elements that are not described in independent claims representing the highest concept will be described as arbitrary constituent elements.

また、各図は、模式図であり、必ずしも厳密に図示されたものではない。また、各図において、同じ構成部材については同じ符号を付している。 Each figure is a schematic diagram and is not necessarily strictly illustrated. Moreover, in each figure, the same code|symbol is attached|subjected about the same component.

(実施の形態1)
[車両監視システム]
図1は、実施の形態1における車両監視システムの構成を示すシステム構成図である。
(Embodiment 1)
[Vehicle monitoring system]
FIG. 1 is a system configuration diagram showing the configuration of a vehicle monitoring system according to Embodiment 1. As shown in FIG.

車両監視システム10は、サーバシステム1000と、車両3000に搭載された車載ネットワークとを有する。 The vehicle monitoring system 10 has a server system 1000 and an in-vehicle network mounted on a vehicle 3000 .

車両3000の車載ネットワークは、3つのECU(Electronic Control Unit)3001~3003と、送信部3120と、監視装置3200とを備える。なお、本実施の形態における車載ネットワークは、3つのECUを備えるが、ECUの数は3つに限らず、1つでも、2つでも、4つ以上であってもよい。 An in-vehicle network of vehicle 3000 includes three ECUs (Electronic Control Units) 3001 to 3003 , a transmitter 3120 and a monitor 3200 . Although the in-vehicle network in this embodiment includes three ECUs, the number of ECUs is not limited to three, and may be one, two, or four or more.

ECU3001~3003のそれぞれは、監視装置3200とバスを介して接続され、互いに通信を行う。また、ECU3001~3003は、互いに協調制御することによって車両3000を制御する。また、これらのECU3001~3003のうち、送信ノードとなるECUは、ID(メッセージIDとも称する)を付けたメッセージとしてのフレームを送信し、受信ノードとなる各ECUは、ECU毎に予め定められたIDのフレームを受信する。 Each of ECUs 3001 to 3003 is connected to monitoring device 3200 via a bus and communicates with each other. Further, ECUs 3001 to 3003 control vehicle 3000 by performing cooperative control with each other. Among these ECUs 3001 to 3003, the transmission node ECU transmits a frame as a message with an ID (also referred to as a message ID). Receive frame with ID.

監視装置3200は、ECU3001~3003から送信されるデータフレームなどのデータに基づいて、車両3000の走行状態などの状態を監視する。そして、監視装置3200は、その監視結果を示す情報であるログを生成して出力する。 Monitoring device 3200 monitors the running state of vehicle 3000 based on data such as data frames transmitted from ECUs 3001-3003. Then, the monitoring device 3200 generates and outputs a log that is information indicating the monitoring result.

送信部3120は、インターネットなどのネットワーク2000を介してサーバシステム1000に接続する。そして、送信部3120は、監視装置3200から出力されるログなどの情報をそのネットワーク2000を介してサーバシステム1000に送信する。 The transmission unit 3120 connects to the server system 1000 via a network 2000 such as the Internet. The transmission unit 3120 transmits information such as logs output from the monitoring device 3200 to the server system 1000 via the network 2000 .

サーバシステム1000は、互いに通信可能に接続された第1のサーバ1100と第2のサーバ1200とからなる。なお、第1のサーバ1100と第2のサーバ1200とは、ネットワーク2000を介して接続されていてもよい。 The server system 1000 consists of a first server 1100 and a second server 1200 which are communicably connected to each other. Note that the first server 1100 and the second server 1200 may be connected via the network 2000 .

本実施の形態における第1のサーバ1100は、カーテレマティクスのサービスを、車両3000を含む各車両に提供するための装置である。このサービスは、例えば、渋滞予測、車両の走行距離に応じた保険の提供、および、経路探索などの少なくとも1つである。このような第1のサーバ1100は、正常ログ記憶部1110と、受信部1120と、走行支援部1130と、経路探索部1140とを備える。ここで、走行支援部1130および経路探索部1140は、上述のサービスを提供するサービス提供部1150を構成する。 First server 1100 in the present embodiment is a device for providing car telematics services to each vehicle including vehicle 3000 . This service is, for example, at least one of traffic jam prediction, provision of insurance according to the travel distance of the vehicle, route search, and the like. Such a first server 1100 includes a normal log storage unit 1110 , a reception unit 1120 , a driving support unit 1130 and a route search unit 1140 . Here, travel support unit 1130 and route search unit 1140 constitute service providing unit 1150 that provides the above services.

受信部1120は、車両3000の送信部3120からネットワーク2000を介して送信されるログのうち、正常ログを受信し、その正常ログを正常ログ記憶部1110に格納する。つまり、本実施の形態における第1のサーバ1100は、送信部3120から送信される正常ログを正常ログ記憶部1110に格納する。 Receiving unit 1120 receives a normal log among logs transmitted from transmitting unit 3120 of vehicle 3000 via network 2000 and stores the normal log in normal log storage unit 1110 . In other words, first server 1100 in this embodiment stores the normal log transmitted from transmitting unit 3120 in normal log storage unit 1110 .

正常ログ記憶部1110は、上述の正常ログを記憶するための領域を有する記憶媒体である。例えば、正常ログ記憶部1110は、不揮発性メモリ、揮発性メモリ、またはハードディスクなどの記憶媒体によって構成される。 The normal log storage unit 1110 is a storage medium having an area for storing the normal log described above. For example, the normal log storage unit 1110 is configured by a storage medium such as a nonvolatile memory, a volatile memory, or a hard disk.

走行支援部1130は、例えば車両3000の走行を支援するための処理として上述の渋滞予測または保険のサービスなどを実行する。この走行支援部1130は、正常ログ記憶部1110に格納されている正常ログを用いることによって、上述の走行を支援するための処理を行う。 The travel support unit 1130 executes, for example, the above-described congestion prediction or insurance service as processing for assisting the travel of the vehicle 3000 . The driving support unit 1130 uses the normal log stored in the normal log storage unit 1110 to perform the above-described process for supporting driving.

経路探索部1140は、例えば車両3000の走行経路を探索する。この経路探索部1140は、正常ログ記憶部1110に格納されている正常ログを用いることによって、上述の走行経路の探索を行う。 The route search unit 1140 searches for a travel route of the vehicle 3000, for example. This route search unit 1140 searches for the above-described travel route by using the normal log stored in the normal log storage unit 1110 .

このような、走行支援部1130および経路探索部1140を備えた本実施の形態におけるサービス提供部1150は、正常ログ記憶部1110に格納されている正常ログを用いて、車両の運転に関するサービスを、ネットワーク2000を介して車両3000に提供する。 The service providing unit 1150 in the present embodiment, which includes the driving support unit 1130 and the route search unit 1140, uses the normal log stored in the normal log storage unit 1110 to provide services related to driving the vehicle. It is provided to vehicle 3000 via network 2000 .

第2のサーバ1200は、車両3000の異常を検知または解析する装置であって、異常ログ記憶部1210と、受信部1220と、異常検知装置1230とを備える。 Second server 1200 is a device that detects or analyzes an abnormality of vehicle 3000 , and includes an abnormality log storage unit 1210 , a receiving unit 1220 and an abnormality detection device 1230 .

受信部1220は、車両3000の送信部3120からネットワーク2000を介して送信されるログのうち、異常ログを受信し、その異常ログを異常ログ記憶部1210に格納する。つまり、本実施の形態における第2のサーバ1200は、送信部3120から送信される異常ログを異常ログ記憶部1210に格納する。 Receiving unit 1220 receives an error log among logs transmitted from transmitting unit 3120 of vehicle 3000 via network 2000 , and stores the error log in error log storage unit 1210 . That is, second server 1200 in the present embodiment stores the error log transmitted from transmitting unit 3120 in error log storage unit 1210 .

異常ログ記憶部1210は、上述の異常ログを記憶するための領域を有する記憶媒体である。例えば、異常ログ記憶部1210は、不揮発性メモリ、揮発性メモリ、またはハードディスクなどの記憶媒体によって構成される。 The error log storage unit 1210 is a storage medium having an area for storing the error log described above. For example, the error log storage unit 1210 is configured by a storage medium such as a nonvolatile memory, a volatile memory, or a hard disk.

異常検知装置1230は、第1のサーバ1100の正常ログ記憶部1110と、第2のサーバ1200の異常ログ記憶部1210とのそれぞれに格納されているログに基づいて、車両3000の異常を検知または解析する。車両3000の異常は、例えば、車両3000の車載ネットワークに対するサイバーアタックなどの不正な侵入などである。 Anomaly detection device 1230 detects or detects an anomaly of vehicle 3000 based on logs respectively stored in normality log storage unit 1110 of first server 1100 and anomaly log storage unit 1210 of second server 1200 . To analyze. An abnormality of the vehicle 3000 is, for example, an unauthorized intrusion such as a cyber attack on the in-vehicle network of the vehicle 3000 .

このように、本実施の形態における車両監視システム10は、車両3000に搭載され、車両3000の状態を監視する監視装置3200と、ネットワーク2000を介して監視装置3200に接続される少なくとも1つのサーバからなるサーバシステム1000とを備える。また、サーバシステム1000は、監視装置3200からネットワーク2000を介して送信される正常ログおよび異常ログをそれぞれ識別可能な状態で格納するための記憶部と、車両3000の異常を解析する異常検知装置1230とを備える。また、本実施の形態では、記憶部は、正常ログ記憶部1110と、異常ログ記憶部1210とからなる。 As described above, vehicle monitoring system 10 according to the present embodiment includes monitoring device 3200 mounted on vehicle 3000 for monitoring the state of vehicle 3000, and at least one server connected to monitoring device 3200 via network 2000. and a server system 1000. Server system 1000 also includes a storage unit for storing normal logs and abnormal logs transmitted from monitoring device 3200 via network 2000 in an identifiable state, and an abnormality detection device 1230 for analyzing abnormalities in vehicle 3000. and Further, in this embodiment, the storage unit is composed of a normal log storage unit 1110 and an error log storage unit 1210 .

[監視装置]
図2は、実施の形態1における監視装置3200のブロック図である。
[Monitoring device]
FIG. 2 is a block diagram of monitoring device 3200 according to the first embodiment.

監視装置3200は、制御部3201と、送信先判定部3202と、走行状態取得部3203と、記憶部3204と、異常判定部3205と、送信処理部3206と、通知部3207とを備える。 Monitoring device 3200 includes control unit 3201 , transmission destination determination unit 3202 , running state acquisition unit 3203 , storage unit 3204 , abnormality determination unit 3205 , transmission processing unit 3206 , and notification unit 3207 .

走行状態取得部3203は、車両3000の走行状態を取得する。すなわち、走行状態取得部3203は、ECU3001~3003のそれぞれから送信される、車両3000の走行状態を示すデータを取得する。そして、走行状態取得部3203は、そのデータのログを記憶部3204に一時的に保存する。つまり、本実施の形態における走行状態取得部3203は、車両3000の状態を示すデータを取得する状態取得部として機能する。 Running state acquisition unit 3203 acquires the running state of vehicle 3000 . That is, running state acquisition unit 3203 acquires data indicating the running state of vehicle 3000 transmitted from each of ECUs 3001-3003. Then, running state acquisition unit 3203 temporarily stores the data log in storage unit 3204 . That is, running state acquisition unit 3203 in the present embodiment functions as a state acquisition unit that acquires data indicating the state of vehicle 3000 .

記憶部3204は、ログなどの情報を一時的に保存するための領域を有する記憶媒体である。例えば、記憶部3204は、不揮発性メモリ、揮発性メモリ、またはハードディスクなどの記憶媒体によって構成される。 The storage unit 3204 is a storage medium having an area for temporarily storing information such as logs. For example, the storage unit 3204 is configured by a storage medium such as nonvolatile memory, volatile memory, or hard disk.

異常判定部3205は、走行状態取得部3203によって取得されたデータによって示される車両3000の状態が正常か異常かを判定する。すなわち、異常判定部3205は、記憶部3204に格納されたログによって示される走行状態が正常であるか、異常であるかを判定する。例えば、異常判定部3205は、予め定められたルールにしたがって、その走行状態が正常であるか異常であるかを判定する。より具体的には、その走行状態が数値で表されていれば、異常判定部3205は、ルールにおいてその走行状態に対応付けられている閾値と、その数値とを比較することによって、その走行状態が正常であるか異常であるかを判定する。 Abnormality determination unit 3205 determines whether the state of vehicle 3000 indicated by the data acquired by running state acquisition unit 3203 is normal or abnormal. That is, the abnormality determination unit 3205 determines whether the running state indicated by the log stored in the storage unit 3204 is normal or abnormal. For example, the abnormality determination unit 3205 determines whether the running state is normal or abnormal according to a predetermined rule. More specifically, if the driving condition is represented by a numerical value, the abnormality determination unit 3205 determines the driving condition by comparing the numerical value with a threshold value associated with the driving condition in the rule. is normal or abnormal.

送信先判定部3202は、記憶部3204に格納されているログの送信先を判定する。つまり、送信先判定部3202は、異常判定部3205によって正常であると判定されたログである正常ログの送信先を、第1のサーバ1100に決定する。また、送信先判定部3202は、異常判定部3205によって異常であると判定されたログである異常ログの送信先を、第2のサーバ1200に決定する。 A transmission destination determination unit 3202 determines the transmission destination of the log stored in the storage unit 3204 . That is, the transmission destination determination unit 3202 determines the first server 1100 as the transmission destination of the normal log, which is the log determined to be normal by the abnormality determination unit 3205 . Also, the transmission destination determination unit 3202 determines the second server 1200 as the transmission destination of the error log, which is the log determined to be abnormal by the error determination unit 3205 .

送信処理部3206は、記憶部3204に格納されているログを車両3000の送信部3120に出力する。このとき、送信処理部3206は、ログの出力とともに、送信先判定部3202によって判定されたそのログの送信先を送信部3120に通知する。送信部3120は、その通知された送信先にそのログを送信する。言い換えれば、送信処理部3206は、送信先判定部3202によって判定された送信先に、送信部3120を用いて、ログを送信する。 Transmission processing unit 3206 outputs the log stored in storage unit 3204 to transmission unit 3120 of vehicle 3000 . At this time, the transmission processing unit 3206 outputs the log and notifies the transmission unit 3120 of the transmission destination of the log determined by the transmission destination determination unit 3202 . The transmission unit 3120 transmits the log to the notified destination. In other words, the transmission processing unit 3206 uses the transmission unit 3120 to transmit the log to the destination determined by the destination determination unit 3202 .

例えば、送信処理部3206は、正常ログを出力するとともに、その正常ログの送信先として第1のサーバ1100を送信部3120に通知する。これにより、送信部3120は、その正常ログを第1のサーバ1100に送信する。また、送信処理部3206は、異常ログを出力するとともに、その異常ログの送信先として第2のサーバ1200を送信部3120に通知する。これにより、送信部3120は、その異常ログを第2のサーバ1200に送信する。 For example, the transmission processing unit 3206 outputs the normal log and notifies the transmission unit 3120 of the first server 1100 as the transmission destination of the normal log. Thereby, the transmission unit 3120 transmits the normal log to the first server 1100 . Further, the transmission processing unit 3206 outputs the error log and notifies the transmission unit 3120 of the second server 1200 as the destination of the error log. Thereby, the transmission unit 3120 transmits the error log to the second server 1200 .

つまり、本実施の形態における送信処理部3206は、異常判定部3205による判定結果が正常である場合には、データのログを正常ログとしてサーバシステム1000にネットワーク2000を介して送信する。また、送信処理部3206は、異常判定部3205による判定結果が異常である場合には、データのログを異常ログとして、サーバシステム1000にネットワーク2000を介して正常ログと異なる態様で送信する。具体的には、送信処理部3206は、正常ログを第1のサーバ1100に送信し、異常ログを第2のサーバ1200に送信する。これにより、異常ログは正常ログと異なる態様で送信される。 In other words, transmission processing unit 3206 according to the present embodiment transmits a data log as a normal log to server system 1000 via network 2000 when the result of determination by abnormality determination unit 3205 is normal. Further, when the determination result by the abnormality determination unit 3205 is abnormal, the transmission processing unit 3206 transmits the data log as an abnormality log to the server system 1000 via the network 2000 in a manner different from the normal log. Specifically, the transmission processing unit 3206 transmits the normal log to the first server 1100 and the abnormal log to the second server 1200 . As a result, the error log is transmitted in a manner different from that of the normal log.

通知部3207は、異常判定部3205によってログが異常であると判定されると、異常ログが発生したことを示す異常通知を車両3000の送信部3120に出力する。送信部3120は、その異常通知を通知部3207から取得すると、その異常通知を第2のサーバ1200に送信する。 When abnormality determination section 3205 determines that the log is abnormal, notification section 3207 outputs an abnormality notification indicating that an abnormality log has occurred to transmission section 3120 of vehicle 3000 . When the transmission unit 3120 acquires the abnormality notification from the notification unit 3207 , the transmission unit 3120 transmits the abnormality notification to the second server 1200 .

制御部3201は、送信先判定部3202と、走行状態取得部3203と、記憶部3204と、異常判定部3205と、送信処理部3206と、通知部3207とを制御する。 Control unit 3201 controls destination determination unit 3202 , running state acquisition unit 3203 , storage unit 3204 , abnormality determination unit 3205 , transmission processing unit 3206 , and notification unit 3207 .

[異常検知装置]
図3は、実施の形態1における異常検知装置1230のブロック図である。
[Abnormality detection device]
FIG. 3 is a block diagram of the abnormality detection device 1230 according to Embodiment 1. As shown in FIG.

異常検知装置1230は、車両3000の異常を検知または解析する装置であって、制御部1231と、ログ解析部1232と、正常ログ取得部1233と、記憶部1234と、異常ログ取得部1235と、ログ結合部1236と、表示部1237とを備える。 The abnormality detection device 1230 is a device that detects or analyzes an abnormality of the vehicle 3000, and includes a control unit 1231, a log analysis unit 1232, a normal log acquisition unit 1233, a storage unit 1234, an abnormality log acquisition unit 1235, A log combining unit 1236 and a display unit 1237 are provided.

正常ログ取得部1233は、第1のサーバ1100の正常ログ記憶部1110から正常ログを取得する。つまり、正常ログ取得部1233は、第1のサーバ1100と通信し、その第1のサーバ1100の正常ログ記憶部1110に格納されている正常ログを取得する。そして、正常ログ取得部1233は、その取得した正常ログを記憶部1234に一時的に保存する。 The normal log acquisition unit 1233 acquires normal logs from the normal log storage unit 1110 of the first server 1100 . That is, the normal log acquisition unit 1233 communicates with the first server 1100 and acquires the normal log stored in the normal log storage unit 1110 of the first server 1100 . The normal log acquisition unit 1233 then temporarily stores the acquired normal log in the storage unit 1234 .

異常ログ取得部1235は、第2のサーバ1200の異常ログ記憶部1210から異常ログを取得する。つまり、異常ログ取得部1235は、第2のサーバ1200の異常ログ記憶部1210に格納されている異常ログを取得する。そして、異常ログ取得部1235は、その取得した異常ログを記憶部1234に一時的に保存する。 The error log acquisition unit 1235 acquires an error log from the error log storage unit 1210 of the second server 1200 . In other words, the error log acquisition unit 1235 acquires the error log stored in the error log storage unit 1210 of the second server 1200 . The error log acquisition unit 1235 then temporarily stores the acquired error log in the storage unit 1234 .

記憶部1234は、正常ログおよび異常ログを一時的に保存するための領域を有する記憶媒体である。例えば、記憶部1234は、不揮発性メモリ、揮発性メモリ、またはハードディスクなどの記憶媒体によって構成される。 Storage unit 1234 is a storage medium having an area for temporarily storing normal logs and error logs. For example, storage unit 1234 is configured by a storage medium such as a nonvolatile memory, a volatile memory, or a hard disk.

ログ結合部1236は、記憶部1234に一時的に保存されている正常ログと異常ログとを結合する。つまり、本実施の形態におけるログ結合部1236は、正常ログ記憶部1110および異常ログ記憶部1210からなる記憶部に識別可能な状態で格納されている正常ログと異常ログとを結合することによって、結合ログを生成する。具体的には、ログ結合部1236は、正常ログ取得部1233によって取得され、サービス提供部1150と共用される正常ログと、異常ログ取得部1235によって取得された異常ログとを結合することによって、結合ログを生成する。 The log combining unit 1236 combines normal logs and abnormal logs temporarily stored in the storage unit 1234 . In other words, log combining unit 1236 in the present embodiment combines normal logs and error logs stored in a identifiable state in the storage unit consisting of normal log storage unit 1110 and error log storage unit 1210, Generate a combined log. Specifically, the log combining unit 1236 combines the normal log acquired by the normal log acquisition unit 1233 and shared with the service providing unit 1150 and the error log acquired by the error log acquisition unit 1235, Generate a combined log.

ログ解析部1232は、結合ログを解析する。つまり、ログ解析部1232は、ログ結合部1236によって結合された正常ログと異常ログとに対して解析を行う。言い換えれば、ログ解析部1232は、正常ログ記憶部1110および異常ログ記憶部1210からなる記憶部に識別可能な状態で格納されている正常ログと異常ログとを解析する。より具体的には、ログ解析部1232は、正常ログ取得部1233によって取得され、サービス提供部1150と共用される正常ログと、異常ログ取得部1235によって取得された異常ログとを解析する。そして、ログ解析部1232は、その解析結果を表示部1237に表示する。 The log analysis unit 1232 analyzes the combined log. That is, the log analysis unit 1232 analyzes the normal log and the error log combined by the log combining unit 1236 . In other words, the log analysis unit 1232 analyzes the normal log and the error log stored in the storage unit composed of the normal log storage unit 1110 and the error log storage unit 1210 in an identifiable state. More specifically, the log analysis unit 1232 analyzes the normal log acquired by the normal log acquisition unit 1233 and shared with the service providing unit 1150 and the error log acquired by the error log acquisition unit 1235 . Log analysis unit 1232 then displays the analysis result on display unit 1237 .

表示部1237は、例えば液晶ディスプレイまたは有機EL(Electro Luminescence)ディスプレイなどのディスプレイである。例えば、第2のサーバ1200のオペレータは、この表示部1237に表示される結合ログの解析結果を見ることによって、車両3000の走行状態、異常の有無、または異常の原因などを知ることができる。 The display unit 1237 is a display such as a liquid crystal display or an organic EL (Electro Luminescence) display. For example, the operator of the second server 1200 can know the running state of the vehicle 3000, the presence or absence of an abnormality, the cause of the abnormality, etc. by viewing the analysis result of the combined log displayed on the display unit 1237. FIG.

制御部1231は、ログ解析部1232と、正常ログ取得部1233と、記憶部1234と、異常ログ取得部1235と、ログ結合部1236と、表示部1237とを制御する。 Control unit 1231 controls log analysis unit 1232 , normal log acquisition unit 1233 , storage unit 1234 , error log acquisition unit 1235 , log combination unit 1236 , and display unit 1237 .

[処理動作]
図4は、実施の形態1における車両監視システム10の処理動作を示すシーケンス図である。
[Processing operation]
FIG. 4 is a sequence diagram showing processing operations of the vehicle monitoring system 10 according to the first embodiment.

監視装置3200の走行状態取得部3203は、ECU3001~3003の何れかからデータとしてCAN(Controller Area Network)コマンドを受信する(ステップS101)。そして、監視装置3200の異常判定部3205は、そのCANコマンドによって示される走行状態が正常であるか否かを判定する(ステップS102)。 The running state acquisition unit 3203 of the monitoring device 3200 receives a CAN (Controller Area Network) command as data from any of the ECUs 3001 to 3003 (step S101). Then, abnormality determination unit 3205 of monitoring device 3200 determines whether or not the running state indicated by the CAN command is normal (step S102).

ここで、その走行状態が正常であると判定されると(ステップS102のYes)、監視装置3200の送信処理部3206は、車両3000の送信部3120に対して、その走行状態を示す情報である正常ログを第1のサーバ1100に送信させる(ステップS103)。これにより、その正常ログが第1のサーバ1100の正常ログ記憶部1110に送信される。 Here, when it is determined that the running state is normal (Yes in step S102), the transmission processing unit 3206 of the monitoring device 3200 transmits information indicating the running state to the transmission unit 3120 of the vehicle 3000. A normal log is sent to the first server 1100 (step S103). As a result, the normal log is transmitted to the normal log storage unit 1110 of the first server 1100 .

一方、ステップS102において、走行状態が異常であると判定されると(ステップS102のNo)、監視装置3200の送信処理部3206は、車両3000の送信部3120に対して、その走行状態を示す情報である異常ログを第2のサーバ1200に送信させる(ステップS104)。これにより、その異常ログが第2のサーバ1200の異常ログ記憶部1210に送信される。また、このときには、監視装置3200の通知部3207は、車両3000の送信部3120に対して、異常通知を第2のサーバ1200に送信させる。 On the other hand, when it is determined in step S102 that the running state is abnormal (No in step S102), the transmission processing unit 3206 of the monitoring device 3200 transmits information indicating the running state to the transmission unit 3120 of the vehicle 3000. is transmitted to the second server 1200 (step S104). As a result, the error log is sent to the error log storage unit 1210 of the second server 1200 . At this time, notification unit 3207 of monitoring device 3200 causes transmission unit 3120 of vehicle 3000 to transmit an abnormality notification to second server 1200 .

第1のサーバ1100は、ステップS103で送信された正常ログを受信し、その正常ログを正常ログ記憶部1110に格納する(ステップS105)。 The first server 1100 receives the normal log transmitted in step S103, and stores the normal log in the normal log storage unit 1110 (step S105).

第2のサーバ1200は、ステップS104で送信された異常ログを受信し、その異常ログを異常ログ記憶部1210に格納する(ステップS106)。 The second server 1200 receives the error log transmitted in step S104 and stores the error log in the error log storage unit 1210 (step S106).

異常検知装置1230は、車両3000の監視装置3200から異常通知を受信すると(ステップS107)、その異常通知をトリガーに、走行状態の再現を開始する(ステップS108)。すなわち、異常検知装置1230の正常ログ取得部1233は、第1のサーバ1100の正常ログ記憶部1110から正常ログを取得し、異常ログ取得部1235は、第2のサーバ1200の異常ログ記憶部1210から異常ログを取得する。そして、ログ結合部1236は、取得された正常ログと異常ログとを結合することによって、結合ログを生成する。これにより、走行状態が再現される。 When the abnormality detection device 1230 receives the abnormality notification from the monitoring device 3200 of the vehicle 3000 (step S107), the abnormality detection device 1230 triggers the reproduction of the running state (step S108). That is, the normal log acquisition unit 1233 of the error detection device 1230 acquires the normal log from the normal log storage unit 1110 of the first server 1100, and the error log acquisition unit 1235 acquires the error log storage unit 1210 of the second server 1200. Get anomaly logs from Then, the log combining unit 1236 generates a combined log by combining the acquired normal log and abnormal log. This reproduces the running state.

異常検知装置1230のログ解析部1232は、その再現された走行状態、すなわち結合ログを解析することによって、例えば、異常ログが発生した原因を特定して表示する(ステップS109)。 The log analysis unit 1232 of the abnormality detection device 1230 identifies and displays, for example, the cause of the occurrence of the abnormality log by analyzing the reproduced running state, that is, the combined log (step S109).

図5は、実施の形態1における監視装置3200と異常検知装置1230の具体的な処理の一例を説明するための図である。 FIG. 5 is a diagram for explaining an example of specific processing of the monitoring device 3200 and the abnormality detection device 1230 according to the first embodiment.

監視装置3200は、例えば、車両3000の走行速度を走行状態として監視する。つまり、ECU3001~3003の何れかは、車両3000の走行速度を示すCANコマンドを周期的に監視装置3200に出力する。そして、監視装置3200の走行状態取得部3203は、そのCANコマンドを取得するごとに、そのCANコマンドによって示される走行速度と、その走行速度が現れた時刻とを対応付けることによってログを生成する。例えば、ログが生成される周期は、20msであって、1秒間に50個のログが生成される。また、ログには、走行状態のうちの走行速度を識別するためのIDと、走行状態を示すデータの長さを示すDLC(Data Length Code)とが含まれていてもよい。IDは、例えば100であり、DLCは例えば1である。 The monitoring device 3200 monitors, for example, the running speed of the vehicle 3000 as the running state. That is, any one of ECUs 3001 to 3003 periodically outputs a CAN command indicating the traveling speed of vehicle 3000 to monitoring device 3200 . Every time the running state acquisition unit 3203 of the monitoring device 3200 acquires the CAN command, it generates a log by associating the running speed indicated by the CAN command with the time when the running speed appears. For example, the log generation period is 20 ms, and 50 logs are generated per second. The log may also include an ID for identifying the running speed of the running state and a DLC (Data Length Code) indicating the length of the data indicating the running state. The ID is 100, for example, and the DLC is 1, for example.

監視装置3200の異常判定部3205は、例えば5つのログによって示される走行速度うち、時刻「3」の走行速度「80」が異常であると判定し、時刻「1、2、4、5」のそれぞれの走行速度「10、20、40、50」が正常であると判定する。なお、異常判定部3205は、時刻「3」の走行速度「80」が、車両3000の他の時刻における走行速度から推定される時刻「3」の走行速度よりも速すぎるため、異常であると判定する。 The abnormality determination unit 3205 of the monitoring device 3200 determines that the running speed “80” at time “3” is abnormal among the running speeds indicated by the five logs, for example, and determines that the running speed “80” at time “1, 2, 4, 5” is abnormal. It is determined that each traveling speed "10, 20, 40, 50" is normal. It should be noted that the abnormality determining unit 3205 determines that the traveling speed "80" at the time "3" is too fast than the traveling speed at the time "3" estimated from the traveling speed of the vehicle 3000 at other times, and thus is abnormal. judge.

このような場合、時刻「3」の走行速度「80」を示すログが、異常ログとして第2のサーバ1200に送信され、異常ログ記憶部1210に格納される。一方、時刻「1」の走行速度「10」を示すログ、時刻「2」の走行速度「20」を示すログ、時刻「4」の走行速度「40」を示すログ、および時刻「5」の走行速度「50」を示すログはそれぞれ、正常ログとして第1のサーバ1100に送信される。そして、これらの正常ログは、第1のサーバ1100の正常ログ記憶部1110に格納される。 In such a case, a log indicating the running speed of "80" at time "3" is transmitted to the second server 1200 as an error log and stored in the error log storage unit 1210. FIG. On the other hand, a log indicating a traveling speed of “10” at time “1”, a log indicating a traveling speed of “20” at time “2”, a log indicating a traveling speed of “40” at time “4”, and a log indicating a traveling speed of “40” at time “5” Each log indicating the running speed "50" is sent to the first server 1100 as a normal log. These normal logs are stored in the normal log storage unit 1110 of the first server 1100 .

異常検知装置1230の正常ログ取得部1233は、正常ログ記憶部1110に格納されている4つの正常ログを取得する。その4つの正常ログは、時刻「1」の走行速度「10」を示すログ、時刻「2」の走行速度「20」を示すログ、時刻「4」の走行速度「40」を示すログ、および時刻「5」の走行速度「50」を示すログである。さらに、異常検知装置1230の異常ログ取得部1235は、異常ログ記憶部1210に格納されている異常ログを取得する。その異常ログは、時刻「3」の走行速度「80」を示すログである。ここで、異常検知装置1230のログ結合部1236は、上述の4つの正常ログと異常ログとを結合する。つまり、ログ結合部1236は、4つの正常ログと異常ログとを、それぞれのログによって示される時刻の順に配列することによって結合ログを生成する。これによって、車両3000の走行状態が再現される。したがって、正常ログが正常ログ記憶部1110に格納され、異常ログが異常ログ記憶部1210に格納されていても、ログ解析部1232は、車両3000の走行状態を適切に解析することができる。 A normal log acquisition unit 1233 of the anomaly detection device 1230 acquires four normal logs stored in the normal log storage unit 1110 . The four normal logs are a log indicating a running speed of "10" at time "1", a log indicating a running speed of "20" at time "2", a log indicating a running speed of "40" at time "4", and It is a log which shows traveling speed "50" at time "5". Furthermore, the error log acquisition unit 1235 of the error detection device 1230 acquires the error log stored in the error log storage unit 1210 . The anomaly log is a log indicating a running speed of "80" at time "3". Here, the log combining unit 1236 of the anomaly detection device 1230 combines the four normal logs and the anomaly log. In other words, the log combining unit 1236 generates a combined log by arranging the four normal logs and the four abnormal logs in order of time indicated by each log. As a result, the running state of vehicle 3000 is reproduced. Therefore, even if normality logs are stored in normality log storage unit 1110 and abnormality logs are stored in abnormality log storage unit 1210 , log analysis unit 1232 can appropriately analyze the running state of vehicle 3000 .

以上のように、本実施の形態では、車両3000から送信される正常ログと異常ログとは、サーバシステム1000の正常ログ記憶部1110および異常ログ記憶部1210において識別可能な状態で格納される。つまり、正常ログが正常ログ記憶部1110に格納され、異常ログが異常ログ記憶部1210に格納される。また、第1のサーバ1100は、車両3000の運転に関するサービスを、ネットワーク2000を介して車両3000に提供するため、カーテレマティクスのサーバとして機能する。 As described above, in the present embodiment, normality logs and abnormality logs transmitted from vehicle 3000 are stored in normality log storage unit 1110 and abnormality log storage unit 1210 of server system 1000 in an identifiable state. That is, the normal log is stored in the normal log storage unit 1110 and the error log is stored in the error log storage unit 1210 . In addition, first server 1100 functions as a car telematics server in order to provide services related to driving of vehicle 3000 to vehicle 3000 via network 2000 .

したがって、カーテレマティクスのサーバである第1のサーバ1100は、正常ログ記憶部1110および異常ログ記憶部1210からなる記憶部に格納されている複数のログのうち正常ログのみをその記憶部から適切に取得することができる。その結果、第1のサーバ1100は、その記憶部に格納されている複数のログのうちの正常ログのみ用いて経路探索などのサービスを行うことができる。したがって、異常ログを用いることによって誤ったサービスを車両3000に提供してしまうことを抑えることができる。 Therefore, the first server 1100, which is a server for car telematics, appropriately retrieves only normal logs from among a plurality of logs stored in a storage unit consisting of a normal log storage unit 1110 and an error log storage unit 1210. can be obtained. As a result, the first server 1100 can perform services such as route search using only normal logs among the plurality of logs stored in the storage unit. Therefore, it is possible to prevent the wrong service from being provided to vehicle 3000 by using the error log.

さらに、正常ログ記憶部1110に正常ログが格納され、異常ログ記憶部1210に異常ログが格納されるように、正常ログと異常ログとが識別可能な状態で記憶部に格納されていても、異常検知装置1230は、それらのログを解析する。例えば、異常検知装置1230は、正常ログと異常ログとを結合することによって結合ログを生成する。つまり、異常検知装置1230は、車両の状態を再現する。そして、異常検知装置は、その結合ログを解析する。したがって、カーテレマティクスの第1のサーバ1100が正常ログのみを適切に取得できるように、正常ログと異常ログとが互いに異なる記憶部に格納されていても、異常検知装置1230は、それらの記憶部の各ログを用いて適切に車両3000の状態を再現し、異常を解析することができる。その結果、正常ログ記憶部1110に格納されている正常ログを、異常検知装置1230とカーテレマティクスの第1のサーバ1100とで共用することができる。これにより、正常ログの二重化を抑え、車両監視システム10の記憶部のストレージ容量を削減することができる。また、正常ログを共用することができるため、異常検知装置1230と、カーテレマティクスの第1のサーバ1100とに個別に同一の正常ログを送信する必要がなく、車両3000から送信されるログのデータ量を削減することができる。したがって、本実施の形態では、車両3000の運転に関するサービスの提供と、車両3000の異常の解析とを適切に行いながら、サーバシステム1000のストレージ容量を適切に抑えることができる。 Furthermore, even if the normal log and the abnormal log are stored in the storage unit in a identifiable state so that the normal log is stored in the normal log storage unit 1110 and the abnormal log is stored in the abnormal log storage unit 1210, The anomaly detector 1230 analyzes those logs. For example, the anomaly detection device 1230 generates a combined log by combining a normal log and an anomaly log. In other words, the abnormality detection device 1230 reproduces the state of the vehicle. Then, the anomaly detection device analyzes the combined log. Therefore, even if the normal log and the abnormal log are stored in different storage units so that the first server 1100 of car telematics can appropriately acquire only the normal log, the abnormality detection device 1230 can Each log can be used to appropriately reproduce the state of vehicle 3000 and analyze anomalies. As a result, the normality log stored in the normality log storage unit 1110 can be shared by the abnormality detection device 1230 and the first server 1100 for car telematics. As a result, duplication of normal logs can be suppressed, and the storage capacity of the storage unit of the vehicle monitoring system 10 can be reduced. In addition, since the normal log can be shared, there is no need to separately transmit the same normal log to the anomaly detection device 1230 and the first server 1100 for car telematics. quantity can be reduced. Therefore, in the present embodiment, the storage capacity of server system 1000 can be appropriately suppressed while appropriately providing services related to driving of vehicle 3000 and analyzing abnormalities of vehicle 3000 .

(実施の形態2)
実施の形態1の車両監視システム10では、全ての正常ログが車両3000から第1のサーバ1100に送信される。本実施の形態では、正常ログは、車両3000においてダウンサンプリングされ、第2のサーバ1200においてアップサンプリングされる。
(Embodiment 2)
In vehicle monitoring system 10 of Embodiment 1, all normal logs are transmitted from vehicle 3000 to first server 1100 . In this embodiment, the normal log is downsampled at vehicle 3000 and upsampled at second server 1200 .

本実施の形態における車両監視システム10は、図1に示す構成を有するが、異常検知装置1230および監視装置3200の代わりに、異常検知装置1230aおよび監視装置3200aを備える。 Vehicle monitoring system 10 according to the present embodiment has the configuration shown in FIG.

[監視装置]
図6は、実施の形態2における監視装置3200aのブロック図である。なお、図6に示す各構成要素のうち、実施の形態1の構成要素と同一のものに対しては、実施の形態1と同一の符号を付し、詳細な説明を省略する。
[Monitoring device]
FIG. 6 is a block diagram of monitoring device 3200a according to the second embodiment. 6 that are the same as those in the first embodiment are assigned the same reference numerals as those in the first embodiment, and detailed description thereof will be omitted.

本実施の形態における監視装置3200aは、実施の形態1の監視装置3200と同様に、制御部3201と、送信先判定部3202と、走行状態取得部3203と、記憶部3204と、異常判定部3205と、送信処理部3206と、通知部3207とを備える。ここで、さらに、本実施の形態における監視装置3200aは、正常ログダウンサンプリング部3208を備える。 Monitoring device 3200a in the present embodiment includes control unit 3201, transmission destination determination unit 3202, running state acquisition unit 3203, storage unit 3204, and abnormality determination unit 3205, similarly to monitoring device 3200 in the first embodiment. , a transmission processing unit 3206 and a notification unit 3207 . Here, the monitoring device 3200a according to the present embodiment further includes a normal log downsampling section 3208. FIG.

正常ログダウンサンプリング部3208は、記憶部3204に一時的に保存されている複数のログのうちの正常ログをダウンサンプリングする。つまり、正常ログダウンサンプリング部3208は、記憶部3204に一時的に保存されている全ての正常ログを取得することなく、予め定められたサンプリング周期にしたがって、一部の正常ログのみを取得する。 A normal log down-sampling unit 3208 down-samples normal logs out of a plurality of logs temporarily stored in the storage unit 3204 . In other words, the normal log down-sampling unit 3208 does not obtain all normal logs temporarily stored in the storage unit 3204, but obtains only some normal logs according to a predetermined sampling cycle.

また、本実施の形態における送信処理部3206は、正常ログの送信では、ダウンサンプリングによって得られた正常ログを第1のサーバ1100に送信する。つまり、送信処理部3206は、記憶部3204に保存されている全ての正常ログではなく、正常ログダウンサンプリング部3208によってサンプリングされた一部の正常ログのみを、車両3000の送信部3120を用いて第1のサーバ1100に送信する。 Further, the transmission processing unit 3206 according to the present embodiment transmits the normal log obtained by downsampling to the first server 1100 when transmitting the normal log. In other words, the transmission processing unit 3206 uses the transmission unit 3120 of the vehicle 3000 to extract only some of the normal logs sampled by the normal log downsampling unit 3208 instead of all the normal logs stored in the storage unit 3204. Send to first server 1100 .

[異常検知装置]
図7は、実施の形態2における異常検知装置1230aのブロック図である。なお、図7に示す各構成要素のうち、実施の形態1の構成要素と同一のものに対しては、実施の形態1と同一の符号を付し、詳細な説明を省略する。
[Abnormality detection device]
FIG. 7 is a block diagram of the abnormality detection device 1230a according to the second embodiment. 7 that are the same as those in the first embodiment are assigned the same reference numerals as those in the first embodiment, and detailed description thereof will be omitted.

本実施の形態における異常検知装置1230aは、実施の形態1の異常検知装置1230と同様に、制御部1231と、ログ解析部1232と、正常ログ取得部1233と、記憶部1234と、異常ログ取得部1235と、ログ結合部1236と、表示部1237とを備える。ここで、さらに、本実施の形態における異常検知装置1230aは、正常ログアップサンプリング部1238を備える。 Similar to the anomaly detection device 1230 of the first embodiment, the anomaly detection device 1230a in the present embodiment includes a control unit 1231, a log analysis unit 1232, a normal log acquisition unit 1233, a storage unit 1234, an anomaly log acquisition A unit 1235 , a log combining unit 1236 , and a display unit 1237 are provided. Here, anomaly detection device 1230 a in the present embodiment further includes normal log up sampling section 1238 .

正常ログアップサンプリング部1238は、正常ログ取得部1233によって取得された正常ログをアップサンプリングすることによって、その正常ログを含む複数の正常ログを生成する。つまり、正常ログアップサンプリング部1238は、記憶部1234に一時的に保存されている正常ログをアップサンプリングする。言い換えれば、正常ログアップサンプリング部1238は、記憶部1234に保存されている正常ログから、その正常ログの時刻と異なる時刻の他の正常ログ(補間ログともいう)を推定することによって、その補間ログを生成する。この補間ログは、記憶部1234に保存されている正常ログに基づいて例えば線形補間などによって生成される。これによって、記憶部1234に保存されている正常ログと、生成された補間ログとを含む、新たな複数の正常ログが生成される。 The normal log up-sampling unit 1238 generates a plurality of normal logs including the normal log by up-sampling the normal log acquired by the normal log acquisition unit 1233 . That is, the normal log upsampling unit 1238 upsamples the normal logs temporarily stored in the storage unit 1234 . In other words, the normal log up-sampling unit 1238 estimates another normal log (also referred to as an interpolation log) at a time different from the time of the normal log from the normal log saved in the storage unit 1234, thereby performing the interpolation. Generate logs. This interpolation log is generated by linear interpolation or the like based on the normal log saved in the storage unit 1234 . As a result, a plurality of new normal logs are generated including the normal log saved in the storage unit 1234 and the generated interpolation log.

また、本実施の形態におけるログ結合部1236は、正常ログアップサンプリング部1238によって生成された複数の正常ログと異常ログとを結合することによって、結合ログを生成する。したがって、本実施の形態におけるログ解析部1232は、正常ログアップサンプリング部1238によって生成された複数の正常ログと異常ログとを解析する。 Further, the log combining unit 1236 in this embodiment generates a combined log by combining multiple normal logs and abnormal logs generated by the normal log upsampling unit 1238 . Therefore, the log analysis unit 1232 in this embodiment analyzes multiple normal logs and abnormal logs generated by the normal log upsampling unit 1238 .

[処理動作]
図8は、実施の形態2における車両監視システム10の処理動作の一部を示すシーケンス図である。具体的には、図8は、監視装置3200aと、第1のサーバ1100と、第2のサーバ1200との間の処理動作を示すシーケンス図である。
[Processing operation]
FIG. 8 is a sequence diagram showing part of the processing operation of the vehicle monitoring system 10 according to the second embodiment. Specifically, FIG. 8 is a sequence diagram showing processing operations among the monitoring device 3200a, the first server 1100, and the second server 1200. As shown in FIG.

監視装置3200aの走行状態取得部3203は、ECU3001~3003の何れかからデータとしてCANコマンドを受信する(ステップS101)。そして、監視装置3200aの異常判定部3205は、そのCANコマンドによって示される走行状態が正常であるか否かを判定する(ステップS102)。 The running state acquisition unit 3203 of the monitoring device 3200a receives a CAN command as data from one of the ECUs 3001 to 3003 (step S101). Then, the abnormality determination unit 3205 of the monitoring device 3200a determines whether or not the running state indicated by the CAN command is normal (step S102).

ここで、その走行状態が正常であると判定されると(ステップS102のYes)、監視装置3200aの走行状態取得部3203は、その正常と判定された走行状態を示すログを正常ログとして記憶部3204に一時的に保存する(ステップS111)。 Here, when the running state is determined to be normal (Yes in step S102), the running state acquisition unit 3203 of the monitoring device 3200a stores the log indicating the running state determined to be normal as a normal log. 3204 temporarily (step S111).

次に、正常ログダウンサンプリング部3208は、記憶部3204に格納されている正常ログの数が、予め定められた閾値よりも多いか否かを判定する(ステップS112)。ここで、正常ログダウンサンプリング部3208によって、正常ログの数が閾値以下であると判定されると(ステップS112のNo)、監視装置3200aは、ステップS101からの処理を繰り返し実行する。一方、正常ログダウンサンプリング部3208は、正常ログの数が閾値よりも多いと判定すると(ステップS112のYes)、記憶部3204に格納されている正常ログをダウンサンプリングする。そして、監視装置3200aの送信処理部3206は、正常ログダウンサンプリング部3208によってダウンサンプリングされた少なくとも1つの正常ログを出力する。つまり、送信処理部3206は、ダウンサンプリングされた少なくとも1つの正常ログの第1のサーバ1100への送信を、車両3000の送信部3120に実行させる(ステップS113)。これにより、そのダウンサンプリングされた少なくとも1つの正常ログが第1のサーバ1100の正常ログ記憶部1110に送信される。 Next, the normal log downsampling unit 3208 determines whether or not the number of normal logs stored in the storage unit 3204 is greater than a predetermined threshold (step S112). Here, when the normal log downsampling unit 3208 determines that the number of normal logs is equal to or less than the threshold (No in step S112), the monitoring device 3200a repeats the process from step S101. On the other hand, when the normal log down-sampling unit 3208 determines that the number of normal logs is greater than the threshold (Yes in step S112), it down-samples the normal logs stored in the storage unit 3204. FIG. Then, the transmission processing unit 3206 of the monitoring device 3200a outputs at least one normal log down-sampled by the normal log down-sampling unit 3208. FIG. That is, the transmission processing unit 3206 causes the transmission unit 3120 of the vehicle 3000 to transmit at least one downsampled normal log to the first server 1100 (step S113). As a result, at least one down-sampled normal log is transmitted to the normal log storage unit 1110 of the first server 1100 .

一方、ステップS102において、走行状態が異常であると判定されると(ステップS102のNo)、監視装置3200aの送信処理部3206は、車両3000の送信部3120に対して、その走行状態を示す情報である異常ログを第2のサーバ1200に送信させる(ステップS104)。これにより、その異常ログが第2のサーバ1200の異常ログ記憶部1210に送信される。また、このときには、監視装置3200の通知部3207は、車両3000の送信部3120に対して、異常通知を第2のサーバ1200に送信させる。 On the other hand, when it is determined in step S102 that the running state is abnormal (No in step S102), the transmission processing unit 3206 of the monitoring device 3200a transmits information indicating the running state to the transmission unit 3120 of the vehicle 3000. is transmitted to the second server 1200 (step S104). As a result, the error log is sent to the error log storage unit 1210 of the second server 1200 . At this time, notification unit 3207 of monitoring device 3200 causes transmission unit 3120 of vehicle 3000 to transmit an abnormality notification to second server 1200 .

第1のサーバ1100は、ステップS113で送信された、ダウンサンプリングされた少なくとも1つの正常ログを受信し、その少なくとも1つの正常ログを正常ログ記憶部1110に格納する(ステップS114)。 The first server 1100 receives at least one downsampled normal log transmitted in step S113, and stores the at least one normal log in the normal log storage unit 1110 (step S114).

第2のサーバ1200は、ステップS104で送信された異常ログを受信し、その異常ログを異常ログ記憶部1210に格納する(ステップS106)。 The second server 1200 receives the error log transmitted in step S104 and stores the error log in the error log storage unit 1210 (step S106).

図9は、実施の形態2における車両監視システム10の処理動作の他の一部を示すシーケンス図である。具体的には、図9は、異常検知装置1230aと、正常ログ記憶部1110と、異常ログ記憶部1210との間の処理動作を示すシーケンス図である。 FIG. 9 is a sequence diagram showing another part of the processing operation of the vehicle monitoring system 10 according to the second embodiment. Specifically, FIG. 9 is a sequence diagram showing processing operations among the anomaly detection device 1230a, the normal log storage unit 1110, and the anomaly log storage unit 1210. As shown in FIG.

異常検知装置1230aは、車両3000の監視装置3200aから異常通知を受信すると(ステップS107)、その異常通知をトリガーに、走行状態の再現を開始する。すなわち、異常検知装置1230aの異常ログ取得部1235は、第2のサーバ1200の異常ログ記憶部1210から異常ログを取得する(ステップS115)。 When the abnormality detection device 1230a receives the abnormality notification from the monitoring device 3200a of the vehicle 3000 (step S107), the abnormality detection device 1230a uses the abnormality notification as a trigger to start reproducing the running state. That is, the error log acquisition unit 1235 of the error detection device 1230a acquires the error log from the error log storage unit 1210 of the second server 1200 (step S115).

次に、異常検知装置1230aの正常ログ取得部1233は、第1のサーバ1100の正常ログ記憶部1110から、ダウンサンプリングされた少なくとも1つの正常ログを取得する。そして、正常ログアップサンプリング部1238は、その少なくとも1つの正常ログをアップサンプリングする(ステップS116)。これにより、補間ログが生成される。補間ログは、車両3000の監視装置3200aにおいて実際に取得された複数の正常ログのうち、ダウンサンプリングによって第1のサーバ1100に送信されなかった正常ログの代わりとして扱われる。 Next, the normal log acquisition unit 1233 of the anomaly detection device 1230 a acquires at least one down-sampled normal log from the normal log storage unit 1110 of the first server 1100 . The normal log upsampling unit 1238 then upsamples at least one normal log (step S116). This produces an interpolation log. The interpolation log is treated as a substitute for the normal log that has not been transmitted to the first server 1100 by downsampling, among the multiple normal logs actually acquired by the monitoring device 3200a of the vehicle 3000. FIG.

次に、ログ結合部1236は、補間ログを含む複数の正常ログと、異常ログとを結合することによって、結合ログを生成する。これにより、走行状態が再現される(ステップS117)。 Next, the log combining unit 1236 generates a combined log by combining multiple normal logs including the interpolation log and the abnormal log. As a result, the running state is reproduced (step S117).

そして、異常検知装置1230aのログ解析部1232は、その再現された走行状態、すなわち結合ログを解析することによって、例えば、異常ログが発生した原因を特定して表示する(ステップS109)。 Then, the log analysis unit 1232 of the abnormality detection device 1230a identifies and displays, for example, the cause of the occurrence of the abnormality log by analyzing the reproduced running state, that is, the combined log (step S109).

図10は、実施の形態2における正常ログのダウンサンプリングの例を説明するための図である。 FIG. 10 is a diagram for explaining an example of normal log downsampling according to the second embodiment.

本実施の形態における監視装置3200aの走行状態取得部3203は、実施の形態1と同様、CANコマンドを取得するごとに、そのCANコマンドによって示される走行速度と、その走行速度が現れた時刻とを対応付けることによってログを生成する。 Every time a CAN command is acquired, the running state acquisition unit 3203 of the monitoring device 3200a in the present embodiment acquires the running speed indicated by the CAN command and the time when the running speed appears, as in the first embodiment. Generate logs by mapping.

監視装置3200aの異常判定部3205は、例えば5つのログによって示される走行速度うち、時刻「3」の走行速度「80」が異常であると判定し、時刻「1、2、4、5」のそれぞれの走行速度「10、20、40、50」が正常であると判定する。そして、異常判定部3205は、時刻「3」の走行速度「80」を示すログを異常ログとして監視装置3200の記憶部3204に一時的に格納する。さらに、異常判定部3205は、時刻「1」の走行速度「10」を示すログ、時刻「2」の走行速度「20」を示すログ、時刻「4」の走行速度「40」を示すログ、および時刻「5」の走行速度「50」を示すログをそれぞれ、正常ログとして監視装置3200aの記憶部3204に一時的に格納する。 The abnormality determination unit 3205 of the monitoring device 3200a determines that the running speed "80" at time "3" is abnormal among the running speeds indicated by the five logs, for example, and determines that the running speed "80" at time "3" is abnormal. It is determined that each traveling speed "10, 20, 40, 50" is normal. Then, the abnormality determination unit 3205 temporarily stores the log indicating the traveling speed "80" at the time "3" in the storage unit 3204 of the monitoring device 3200 as an abnormality log. Furthermore, the abnormality determination unit 3205 determines a log indicating a traveling speed of “10” at time “1”, a log indicating a traveling speed of “20” at time “2”, a log indicating a traveling speed of “40” at time “4”, and a log indicating running speed "50" at time "5" are temporarily stored as normal logs in storage unit 3204 of monitoring device 3200a.

監視装置3200aの正常ログダウンサンプリング部3208は、記憶部3204に格納されている正常ログの数が閾値を超えている場合に、その正常ログをダウンサンプリングする。例えば、閾値が3の場合、正常ログダウンサンプリング部3208は、時刻「1」の走行速度「10」を示す正常ログ、時刻「2」の走行速度「20」を示す正常ログ、時刻「4」の走行速度「40」を示す正常ログ、および時刻「5」の走行速度「50」を示す正常ログをダウンサンプリングする。その結果、正常ログダウンサンプリング部3208は、ダウンサンプリングされた正常ログとして、例えば、時刻「1」の走行速度「10」を示す正常ログおよび時刻「5」の走行速度「50」を示す正常ログを、記憶部3204に一時的に格納する。 When the number of normal logs stored in the storage unit 3204 exceeds a threshold, the normal log down-sampling unit 3208 of the monitoring device 3200a down-samples the normal logs. For example, when the threshold is 3, the normal log downsampling unit 3208 extracts a normal log indicating a running speed of "10" at time "1", a normal log indicating a running speed of "20" at time "2", a normal log indicating a running speed of "20" at time "4", and a and a normal log indicating a running speed of "50" at time "5". As a result, the normal log down-sampling unit 3208 generates, for example, a normal log indicating a running speed of “10” at time “1” and a normal log indicating a running speed of “50” at time “5” as down-sampled normal logs. is temporarily stored in the storage unit 3204 .

監視装置3200aの送信処理部3206は、記憶部3204に格納されている異常ログを車両3000の送信部3120に出力する。そして、送信処理部3206は、その異常ログの第2のサーバ1200への送信を、その送信部3120に実行させる。これにより、記憶部3204に格納されている異常ログ、すなわち時刻「3」の走行速度「80」を示す異常ログが、第2のサーバ1200の異常ログ記憶部1210に格納される。 Transmission processing unit 3206 of monitoring device 3200 a outputs the abnormality log stored in storage unit 3204 to transmission unit 3120 of vehicle 3000 . Then, the transmission processing unit 3206 causes the transmission unit 3120 to transmit the error log to the second server 1200 . As a result, the error log stored in the storage unit 3204 , that is, the error log indicating the travel speed “80” at the time “3” is stored in the error log storage unit 1210 of the second server 1200 .

さらに、監視装置3200aの送信処理部3206は、記憶部3204に格納されているダウンサンプリングされた正常ログを車両3000の送信部3120に出力する。そして、送信処理部3206は、そのダウンサンプリングされた正常ログの第1のサーバ1100への送信を、その送信部3120に実行させる。これにより、記憶部3204に格納されているダウンサンプリングされた正常ログが、第1のサーバ1100の正常ログ記憶部1110に格納される。つまり、時刻「1」の走行速度「10」を示す正常ログおよび時刻「5」の走行速度「50」を示す正常ログが、正常ログ記憶部1110に格納される。 Furthermore, the transmission processing unit 3206 of the monitoring device 3200 a outputs the down-sampled normal log stored in the storage unit 3204 to the transmission unit 3120 of the vehicle 3000 . Then, the transmission processing unit 3206 causes the transmission unit 3120 to transmit the downsampled normal log to the first server 1100 . As a result, the down-sampled normal log stored in the storage unit 3204 is stored in the normal log storage unit 1110 of the first server 1100 . In other words, the normal log storage unit 1110 stores a normal log indicating the travel speed “10” at the time “1” and a normal log indicating the travel speed “50” at the time “5”.

図11は、実施の形態2における正常ログのアップサンプリングの例を説明するための図である。 FIG. 11 is a diagram for explaining an example of normal log upsampling according to the second embodiment.

異常検知装置1230aの異常ログ取得部1235は、異常ログ記憶部1210に格納されている異常ログを取得し、その異常ログを記憶部1234に一時的に保存する。その異常ログは、時刻「3」の走行速度「80」を示すログである。 The error log acquisition unit 1235 of the error detection device 1230 a acquires the error log stored in the error log storage unit 1210 and temporarily stores the error log in the storage unit 1234 . The anomaly log is a log indicating a running speed of "80" at time "3".

さらに、異常検知装置1230aの正常ログ取得部1233は、正常ログ記憶部1110に格納されているダウンサンプリングされた2つの正常ログを取得し、その2つの正常ログを記憶部1234に一時的に保存する。その2つの正常ログは、時刻「1」の走行速度「10」を示す正常ログおよび時刻「5」の走行速度「50」を示す正常ログである。 Furthermore, the normal log acquisition unit 1233 of the anomaly detection device 1230a acquires the two down-sampled normal logs stored in the normal log storage unit 1110, and temporarily stores the two normal logs in the storage unit 1234. do. The two normal logs are a normal log indicating a running speed of "10" at time "1" and a normal log indicating a running speed of "50" at time "5".

ここで、本実施の形態における異常検知装置1230aの正常ログアップサンプリング部1238は、記憶部1234に保存されているダウンサンプリングされた2つの正常ログをアップサンプリングする。これにより、3つの補間ログが生成される。これらの3つの補間ログは、時刻「2」の走行速度「20」を示す補間ログ、時刻「3」の走行速度「30」を示す補間ログ、および時刻「4」の走行速度「40」を示す補間ログである。これらの補間ログは、車両3000の監視装置3200aにおいて実際に取得された複数の正常ログのうち、ダウンサンプリングによって第1のサーバ1100に送信されなかった正常ログの代わりとして扱われる。したがって、上述のアップサンプリングによって、5つの正常ログが記憶部1234に格納される。これらの5つの正常ログは、時刻「1」の走行速度「10」を示す正常ログ、時刻「2」の走行速度「20」を示す正常ログ、時刻「3」の走行速度「30」を示す正常ログ、時刻「4」の走行速度「40」を示すログ、および時刻「5」の走行速度「50」を示すログである。 Here, the normal log up-sampling unit 1238 of the anomaly detection device 1230 a according to the present embodiment up-samples the two down-sampled normal logs stored in the storage unit 1234 . This produces three interpolation logs. These three interpolation logs are an interpolation log indicating a running speed of "20" at time "2", an interpolation log indicating a running speed of "30" at time "3", and a running speed of "40" at time "4". is the interpolation log shown. These interpolated logs are treated as substitutes for the normal logs that were not transmitted to the first server 1100 by downsampling, among the multiple normal logs actually acquired by the monitoring device 3200a of the vehicle 3000. FIG. Therefore, five normal logs are stored in the storage unit 1234 by the upsampling described above. These five normal logs are a normal log indicating a running speed of "10" at time "1", a normal log indicating a running speed of "20" at time "2", and a running speed of "30" at time "3". A normal log, a log indicating a running speed of "40" at time "4", and a log indicating a running speed of "50" at time "5".

異常検知装置1230aのログ結合部1236は、5つの正常ログと異常ログとを結合する。つまり、ログ結合部1236は、5つの正常ログと異常ログとを、それぞれのログによって示される時刻の順に配列することによって結合ログを生成する。ここで、5つの正常ログに含まれる補間ログの時刻と、異常ログの時刻とが一致する場合がある。この場合には、ログ結合部1236は、補間ログを、時刻が一致する異常ログに置き換える。例えば、時刻「3」の走行速度「30」を示す補間ログと、時刻「3」の走行速度「80」を示す異常ログとは、時刻が一致する。この場合、ログ結合部1236は、5つの正常ログのうち、異常ログと時刻が一致する補間ログ、すなわち時刻「3」の走行速度「30」を示す補間ログを、時刻「3」の走行速度「80」を示す異常ログに置き換える。これにより、車両3000の走行状態が再現される。 The log combiner 1236 of the anomaly detection device 1230a combines the five normal logs and the anomaly logs. That is, the log combiner 1236 generates a combined log by arranging the five normal logs and the five error logs in order of time indicated by each log. Here, the times of the interpolation logs included in the five normal logs may coincide with the times of the error logs. In this case, the log combining unit 1236 replaces the interpolation log with an error log with the same time. For example, the interpolation log indicating the travel speed "30" at the time "3" and the abnormality log indicating the travel speed "80" at the time "3" coincide in time. In this case, of the five normal logs, the log combining unit 1236 selects the interpolation log whose time coincides with the time of the error log, that is, the interpolation log indicating the running speed of time “3” and the running speed of time “3”. Replace with an error log indicating "80". As a result, the running state of vehicle 3000 is reproduced.

以上のように、本実施の形態では、車両3000において、正常と判定されたログである正常ログがダウンサンプリングされ、そのダウンサンプリングによって得られた正常ログが第1のサーバ1100に送信されて、正常ログ記憶部1110に格納される。したがって、車両3000から第1のサーバ1100に送信される正常ログのデータ量を抑えることができる。さらに、第1のサーバ1100の正常ログ記憶部1110のストレージ容量をさらに削減することができる。また、正常ログがダウンサンプリングされても、異常検知装置1230aでは、その正常ログがアップサンプリングされる。したがって、正常ログの不足によって車両3000の異常の解析が困難になってしまうことを抑えることができる。 As described above, in the present embodiment, in vehicle 3000, the normal log, which is the log determined to be normal, is down-sampled, and the normal log obtained by the down-sampling is transmitted to first server 1100, It is stored in the normal log storage unit 1110 . Therefore, the amount of normal log data transmitted from vehicle 3000 to first server 1100 can be reduced. Furthermore, the storage capacity of the normal log storage unit 1110 of the first server 1100 can be further reduced. Moreover, even if the normal log is down-sampled, the normal log is up-sampled in the anomaly detection device 1230a. Therefore, it is possible to prevent difficulty in analyzing an abnormality of vehicle 3000 due to lack of normality logs.

また、本実施の形態では、正常ログ記憶部1110に格納される正常ログは、ダウンサンプリングによって得られた正常ログであるため、正常ログ記憶部1110に格納される正常ログ間の時間は長い。例えば、実施の形態1では、車両3000において1秒間に約50個の正常ログが生成されて、それらの正常ログが正常ログ記憶部1110に格納されるため、その正常ログ間の時間は約20msである。しかし、本実施の形態では、ダウンサンプリングによって、例えば1秒間に約1個の正常ログが正常ログ記憶部1110に格納されるため、その正常ログ間の時間は約1秒である。このように、本実施の形態では、正常ログ記憶部1110に格納される正常ログは疎らであるが、サービス提供部1150は、約20msごとの正常ログを必要とすることなく、約1秒ごとの正常ログで適切にサービスを車両3000に提供することができる。 Further, in the present embodiment, the normal logs stored in normal log storage unit 1110 are normal logs obtained by downsampling, so the time between normal logs stored in normal log storage unit 1110 is long. For example, in Embodiment 1, vehicle 3000 generates about 50 normal logs per second, and since these normal logs are stored in normal log storage unit 1110, the time between normal logs is about 20 ms. is. However, in this embodiment, by downsampling, for example, about one normal log is stored in the normal log storage unit 1110 per second, so the time between normal logs is about one second. As described above, in this embodiment, the normal logs stored in the normal log storage unit 1110 are sparse, but the service providing unit 1150 does not require the normal logs to be generated approximately every 20 ms, and service can be appropriately provided to the vehicle 3000 with a normal log of .

(実施の形態3)
実施の形態1および2の車両監視システム10では、全ての異常ログが車両3000から第2のサーバ1200に送信される。しかし、正常ログと同様に、ダウンサンプリングおよびアップサンプリングを用いれば、状況に応じて全ての異常ログを第2のサーバ1200に送信しなくてもよい場合がある。そこで、本実施の形態では、状況に応じて、異常ログが、車両3000においてダウンサンプリングされ、第2のサーバ1200においてアップサンプリングされる。
(Embodiment 3)
In vehicle monitoring systems 10 of the first and second embodiments, all anomaly logs are transmitted from vehicle 3000 to second server 1200 . However, as with normal logs, if downsampling and upsampling are used, depending on the situation, it may not be necessary to send all the error logs to the second server 1200 . Therefore, in the present embodiment, the abnormality log is down-sampled in vehicle 3000 and up-sampled in second server 1200 depending on the situation.

本実施の形態における車両監視システム10は、図1に示す構成を有するが、異常検知装置1230および監視装置3200の代わりに、異常検知装置1230bおよび監視装置3200bを備える。 Vehicle monitoring system 10 in the present embodiment has the configuration shown in FIG.

[監視装置]
図12は、実施の形態3における監視装置3200bのブロック図である。なお、図12に示す各構成要素のうち、実施の形態1の構成要素と同一のものに対しては、実施の形態1と同一の符号を付し、詳細な説明を省略する。
[Monitoring device]
FIG. 12 is a block diagram of monitoring device 3200b according to the third embodiment. 12 that are the same as those in the first embodiment are assigned the same reference numerals as those in the first embodiment, and detailed description thereof will be omitted.

本実施の形態における監視装置3200bは、実施の形態1の監視装置3200と同様に、制御部3201と、送信先判定部3202と、走行状態取得部3203と、記憶部3204と、異常判定部3205と、送信処理部3206と、通知部3207とを備える。ここで、さらに、本実施の形態における監視装置3200bは、状況判断部3209と、ログダウンサンプリング部3208bとを備える。 Monitoring device 3200b in the present embodiment includes control unit 3201, transmission destination determination unit 3202, running state acquisition unit 3203, storage unit 3204, and abnormality determination unit 3205, similarly to monitoring device 3200 in the first embodiment. , a transmission processing unit 3206 and a notification unit 3207 . Here, monitoring device 3200b in the present embodiment further includes situation determination section 3209 and log downsampling section 3208b.

状況判断部3209は、異常ログがダウンサンプリング可能な状況か否かを判断する。具体的には、状況判断部3209は、例えば、(i)異常ログによって示される車両3000の状態の種別、(ii)異常ログの緊急性の有無、および、(iii)異常ログが現れる周期性の有無のうちの、少なくとも1つに基づいて、異常ログがダウンサンプリング可能な状況か否かを判断する。より具体的には、異常ログによって示される車両3000の状態の種別が、車両3000の重要な動作(例えば、走る、曲がる、および止まるなど)である場合、状況判断部3209は、その異常ログがダウンサンプリング可能な状況ではないと判断する。一方、異常ログによって示される車両3000の状態の種別が、車両3000の重要な動作でない場合、例えば、ワイパーの動作などである場合、状況判断部3209は、その異常ログがダウンサンプリング可能な状況であると判断する。あるいは、状況判断部3209は、異常ログが緊急性を有する場合には、その異常ログがダウンサンプリング可能な状況でないと判断し、逆に、異常ログが緊急性を有しない場合には、その異常ログがダウンサンプリング可能な状況であると判断する。例えば、車両3000の制動に関する異常ログは、緊急性を有し、車両3000のエアコンまたはオーディオなどに関する異常ログは、緊急性を有しない。あるいは、状況判断部3209は、異常ログが周期性を有する場合には、その異常ログがダウンサンプリング可能な状況であると判断し、逆に、異常ログが周期性を有しない場合には、その異常ログがダウンサンプリング可能な状況でないと判断する。例えば、車両3000のワイパーが左右に振れ動く動作の異常ログは、周期性を有し、車両3000の急ブレーキの異常ログは、周期性を有しない。 The status determination unit 3209 determines whether downsampling of the error log is possible. Specifically, the situation determination unit 3209 determines, for example, (i) the type of the state of the vehicle 3000 indicated by the error log, (ii) whether or not the error log is urgent, and (iii) the periodicity with which the error log appears. Based on at least one of the presence or absence of, it is determined whether or not the error log can be down-sampled. More specifically, if the type of state of vehicle 3000 indicated by the abnormality log is an important operation of vehicle 3000 (for example, running, turning, stopping, etc.), situation determination unit 3209 determines that the abnormality log is It is determined that downsampling is not possible. On the other hand, if the type of state of vehicle 3000 indicated by the abnormality log is not an important operation of vehicle 3000, for example, if the wiper operation is performed, situation determination unit 3209 determines that the abnormality log can be down-sampled. judge there is. Alternatively, the situation determination unit 3209 determines that downsampling of the error log is not possible when the error log has urgency, and conversely, when the error log does not have urgency, the error log Determine that the log is in a situation where downsampling is possible. For example, an abnormality log related to braking of vehicle 3000 has urgency, and an abnormality log related to the air conditioner or audio of vehicle 3000 does not have urgency. Alternatively, if the error log has periodicity, the status determination unit 3209 determines that the error log is in a situation where downsampling is possible. Determine that the error log is not in a situation where downsampling is possible. For example, the abnormality log of the operation of the wiper of the vehicle 3000 swaying left and right has periodicity, and the abnormality log of the sudden braking of the vehicle 3000 does not have the periodicity.

ログダウンサンプリング部3208bは、実施の形態2の正常ログダウンサンプリング部3208と同様に、記憶部3204に一時的に保存されている複数のログのうちの正常ログをダウンサンプリングする。さらに、ログダウンサンプリング部3208bは、状況判断部3209によって判断された状況に応じて、記憶部3204に一時的に保存されている複数のログのうちの異常ログをダウンサンプリングする。つまり、ログダウンサンプリング部3208bは、状況判断部3209によって異常ログがダウンサンプリング可能な状況であると判断されると、異常ログをダウンサンプリングする。一方、ログダウンサンプリング部3208bは、状況判断部3209によって異常ログがダウンサンプリング可能な状況でないと判断されると、異常ログをダウンサンプリングしない。この異常ログのダウンサンプリングでは、正常ログのダウンサンプリングと同様、記憶部3204に一時的に保存されている全ての異常ログが取得されることなく、予め定められたサンプリング周期にしたがって、一部の異常ログのみが取得される。 The log down-sampling unit 3208b down-samples normal logs out of a plurality of logs temporarily stored in the storage unit 3204, like the normal log down-sampling unit 3208 of the second embodiment. Furthermore, the log down-sampling unit 3208b down-samples the abnormal logs among the plurality of logs temporarily stored in the storage unit 3204 according to the situation determined by the situation determination unit 3209. FIG. In other words, the log down-sampling unit 3208b down-samples the error log when the situation determination unit 3209 determines that down-sampling of the error log is possible. On the other hand, the log down-sampling unit 3208b does not down-sample the error log when the situation determination unit 3209 determines that down-sampling of the error log is not possible. In this error log downsampling, as in the normal log downsampling, all the error logs temporarily stored in the storage unit 3204 are not acquired, and some of the error logs are sampled according to a predetermined sampling period. Only anomaly logs are retrieved.

また、本実施の形態における送信処理部3206は、正常ログの送信では、ダウンサンプリングによって得られた正常ログを第1のサーバ1100に送信する。さらに、状況判断部3209によって異常ログがダウンサンプリング可能な状況であると判断された場合には、送信処理部3206は、その異常ログの送信では、ダウンサンプリングによって得られた異常ログを第2のサーバ1200に送信する。つまり、異常ログがダウンサンプリングされない場合には、送信処理部3206は、記憶部3204に異常ログが保存されるたびに、その異常ログを、車両3000の送信部3120を用いて第2のサーバ1200に送信する。しかし、異常ログがダウンサンプリングされる場合には、送信処理部3206は、記憶部3204に異常ログが保存されるたびに、その異常ログを送信することは行わない。この場合には、送信処理部3206は、ログダウンサンプリング部3208bによってサンプリングされた一部の異常ログのみを、車両3000の送信部3120を用いて第2のサーバ1200に送信する。 Further, the transmission processing unit 3206 according to the present embodiment transmits the normal log obtained by downsampling to the first server 1100 when transmitting the normal log. Furthermore, when the status determination unit 3209 determines that downsampling of the error log is possible, the transmission processing unit 3206 sends the error log obtained by the downsampling to the second Send to server 1200 . That is, when the error log is not down-sampled, every time an error log is saved in the storage unit 3204, the transmission processing unit 3206 sends the error log to the second server 1200 using the transmission unit 3120 of the vehicle 3000. Send to However, when the error log is down-sampled, the transmission processing unit 3206 does not send the error log each time it is saved in the storage unit 3204 . In this case, the transmission processing unit 3206 transmits only part of the error logs sampled by the log downsampling unit 3208 b to the second server 1200 using the transmission unit 3120 of the vehicle 3000 .

[異常検知装置]
図13は、実施の形態3における異常検知装置1230bのブロック図である。なお、図13に示す各構成要素のうち、実施の形態1の構成要素と同一のものに対しては、実施の形態1と同一の符号を付し、詳細な説明を省略する。
[Abnormality detection device]
FIG. 13 is a block diagram of an abnormality detection device 1230b according to the third embodiment. 13 that are the same as those in the first embodiment are assigned the same reference numerals as those in the first embodiment, and detailed description thereof will be omitted.

本実施の形態における異常検知装置1230bは、実施の形態1の異常検知装置1230と同様に、制御部1231と、ログ解析部1232と、正常ログ取得部1233と、記憶部1234と、異常ログ取得部1235と、ログ結合部1236と、表示部1237とを備える。さらに、本実施の形態における異常検知装置1230bは、ログアップサンプリング部1238bを備える。 Similar to the anomaly detection device 1230 of the first embodiment, the anomaly detection device 1230b in the present embodiment includes a control unit 1231, a log analysis unit 1232, a normal log acquisition unit 1233, a storage unit 1234, an anomaly log acquisition A unit 1235 , a log combining unit 1236 , and a display unit 1237 are provided. Furthermore, the anomaly detection device 1230b in the present embodiment includes a log-up sampling section 1238b.

ログアップサンプリング部1238bは、実施の形態2の正常ログアップサンプリング部1238と同様に、記憶部1234に一時的に保存されている正常ログをアップサンプリングする。 The log up-sampling unit 1238b up-samples normal logs temporarily stored in the storage unit 1234 in the same manner as the normal log up-sampling unit 1238 of the second embodiment.

さらに、監視装置3200bの状況判断部3209によって異常ログがダウンサンプリング可能な状況であると判断された場合には、ログアップサンプリング部1238bは、異常ログ取得部1235によって取得された異常ログをアップサンプリングすることによって、その異常ログを含む複数の異常ログを生成する。 Furthermore, when the status determination unit 3209 of the monitoring device 3200b determines that downsampling of the error log is possible, the log upsampling unit 1238b performs upsampling of the error log acquired by the error log acquisition unit 1235. to generate multiple error logs including that error log.

つまり、監視装置3200bによって異常ログのダウンサンプリングが行われる場合には、ログアップサンプリング部1238bは、記憶部1234に一時的に保存されている異常ログをアップサンプリングする。言い換えれば、ログアップサンプリング部1238bは、記憶部1234に保存されている異常ログから、その異常ログの時刻と異なる時刻の他の異常ログ(補間ログともいう)を推定することによって、その補間ログを生成する。この補間ログは、記憶部1234に保存されている異常ログに基づいて例えば線形補間などによって生成される。これによって、記憶部1234に保存されている異常ログと、生成された補間ログとを含む、新たな複数の異常ログが生成される。 That is, when the monitoring device 3200b down-samples the error log, the log up-sampling unit 1238b up-samples the error log temporarily stored in the storage unit 1234. FIG. In other words, the log up-sampling unit 1238b estimates another error log (also referred to as an interpolation log) at a time different from the time of the error log from the error log saved in the storage unit 1234, thereby extracting the interpolation log. to generate This interpolation log is generated by, for example, linear interpolation based on the abnormality log saved in the storage unit 1234 . As a result, a plurality of new error logs are generated including the error log saved in the storage unit 1234 and the generated interpolation log.

なお、ログアップサンプリング部1238bは、異常ログが監視装置3200bにおいてダウンサンプリングされているか否かを、予め定められた規則にしたがって判断してもよく、監視装置3200bの通知部3207からの通知に基づいて判断してもよい。 Note that the log upsampling unit 1238b may determine whether or not the error log has been downsampled in the monitoring device 3200b according to a predetermined rule, based on the notification from the notification unit 3207 of the monitoring device 3200b. You can judge

また、本実施の形態におけるログ結合部1236は、監視装置3200bの状況判断部3209によって異常ログがダウンサンプリング可能な状況であると判断された場合には、ログアップサンプリング部1238bによって生成された複数の正常ログと複数の異常ログとを結合することによって、結合ログを生成する。つまり、監視装置3200bによって正常ログだけでなく異常ログのダウンサンプリングも行われる場合には、ログ結合部1236は、アップサンプリングによって生成された複数の正常ログと複数の異常ログとを結合する。したがって、異常ログのダウンサンプリングも行われる場合には、本実施の形態におけるログ解析部1232は、ログアップサンプリング部1238bによって生成された複数の正常ログと複数の異常ログとを解析する。一方、監視装置3200bによって正常ログだけがダウンサンプリングされる場合には、ログ結合部1236は、アップサンプリングによって生成された複数の正常ログと、異常ログとを結合する。 In addition, when the status determination unit 3209 of the monitoring device 3200b determines that downsampling of the error log is possible, the log combining unit 1236 in the present embodiment A combined log is generated by combining the normal log and a plurality of error logs. That is, when the monitoring device 3200b down-samples not only normal logs but also abnormal logs, the log combining unit 1236 combines multiple normal logs and multiple abnormal logs generated by up-sampling. Therefore, when error logs are also down-sampled, the log analysis unit 1232 in this embodiment analyzes the multiple normal logs and the multiple error logs generated by the log up-sampling unit 1238b. On the other hand, when only the normal logs are down-sampled by the monitoring device 3200b, the log combiner 1236 combines multiple normal logs generated by up-sampling and the error log.

[処理動作]
図14は、実施の形態3における車両監視システム10の処理動作の一部を示すシーケンス図である。具体的には、図14は、監視装置3200bと、第1のサーバ1100と、第2のサーバ1200との間の処理動作を示すシーケンス図である。
[Processing operation]
FIG. 14 is a sequence diagram showing part of the processing operation of the vehicle monitoring system 10 according to the third embodiment. Specifically, FIG. 14 is a sequence diagram showing processing operations among the monitoring device 3200b, the first server 1100, and the second server 1200. As shown in FIG.

本実施の形態における車両監視システム10は、実施の形態2の車両監視システム10による図8に示すステップS101、S102、およびS111~S114と同様の処理を実行する。 The vehicle monitoring system 10 according to the present embodiment executes the same processes as steps S101, S102, and S111 to S114 shown in FIG. 8 by the vehicle monitoring system 10 according to the second embodiment.

つまり、監視装置3200bの走行状態取得部3203は、ECU3001~3003の何れかからデータとしてCANコマンドを受信する(ステップS101)。そして、監視装置3200bの異常判定部3205は、そのCANコマンドによって示される走行状態が正常であるか否かを判定する(ステップS102)。 That is, the running state acquisition unit 3203 of the monitoring device 3200b receives a CAN command as data from any of the ECUs 3001 to 3003 (step S101). Then, the abnormality determination unit 3205 of the monitoring device 3200b determines whether or not the running state indicated by the CAN command is normal (step S102).

ここで、その走行状態が正常であると判定されると(ステップS102のYes)、監視装置3200bの走行状態取得部3203は、その正常と判定された走行状態を示すログを正常ログとして記憶部3204に一時的に保存する(ステップS111)。 Here, when it is determined that the running state is normal (Yes in step S102), the running state acquisition unit 3203 of the monitoring device 3200b stores the log indicating the running state determined to be normal as a normal log. 3204 temporarily (step S111).

次に、ログダウンサンプリング部3208bは、記憶部3204に格納されている正常ログの数が、予め定められた閾値よりも多いか否かを判定する(ステップS112)。ここで、ログダウンサンプリング部3208bによって、正常ログの数が閾値以下であると判定すると(ステップS112のNo)、監視装置3200bは、ステップS101からの処理を繰り返し実行する。一方、ログダウンサンプリング部3208bは、正常ログの数が閾値よりも多いと判定すると(ステップS112のYes)、記憶部3204に格納されている正常ログをダウンサンプリングする。そして、監視装置3200bの送信処理部3206は、ログダウンサンプリング部3208bによってダウンサンプリングされた少なくとも1つの正常ログを出力する。つまり、送信処理部3206は、ダウンサンプリングされた少なくとも1つの正常ログの第1のサーバ1100への送信を、車両3000の送信部3120に実行させる(ステップS113)。これにより、そのダウンサンプリングされた少なくとも1つの正常ログが第1のサーバ1100の正常ログ記憶部1110に送信される。 Next, the log downsampling unit 3208b determines whether or not the number of normal logs stored in the storage unit 3204 is greater than a predetermined threshold (step S112). Here, when the log downsampling unit 3208b determines that the number of normal logs is equal to or less than the threshold (No in step S112), the monitoring device 3200b repeats the processing from step S101. On the other hand, when the log downsampling unit 3208b determines that the number of normal logs is greater than the threshold (Yes in step S112), it downsamples the normal logs stored in the storage unit 3204. FIG. Then, the transmission processing unit 3206 of the monitoring device 3200b outputs at least one normal log downsampled by the log downsampling unit 3208b. That is, the transmission processing unit 3206 causes the transmission unit 3120 of the vehicle 3000 to transmit at least one downsampled normal log to the first server 1100 (step S113). As a result, at least one down-sampled normal log is transmitted to the normal log storage unit 1110 of the first server 1100 .

第1のサーバ1100は、ステップS113で送信された、ダウンサンプリングされた少なくとも1つの正常ログを受信し、その少なくとも1つの正常ログを正常ログ記憶部1110に格納する(ステップS114)。 The first server 1100 receives at least one downsampled normal log transmitted in step S113, and stores the at least one normal log in the normal log storage unit 1110 (step S114).

一方、ステップS102において走行状態が異常であると判定されると(ステップS102のNo)、監視装置3200bの状況判断部3209は、例えば、異常と判定された走行状態を示すログである異常ログが緊急性を有するか否かを判断する(ステップS121)。ここで、状況判断部3209によって緊急性があると判断されると(ステップS121のYes)、監視装置3200bの送信処理部3206は、車両3000の送信部3120に対して、その緊急性を有する異常ログを第2のサーバ1200に送信させる(ステップS125)。これにより、その緊急性を有する異常ログが第2のサーバ1200の異常ログ記憶部1210に送信される。 On the other hand, when it is determined that the driving state is abnormal in step S102 (No in step S102), the situation determination unit 3209 of the monitoring device 3200b, for example, stores an abnormality log, which is a log indicating the driving state determined to be abnormal. It is determined whether or not there is urgency (step S121). Here, when the situation determination unit 3209 determines that there is an emergency (Yes in step S121), the transmission processing unit 3206 of the monitoring device 3200b notifies the transmission unit 3120 of the vehicle 3000 of an abnormality having that urgency. The log is transmitted to the second server 1200 (step S125). As a result, the error log having that urgency is sent to the error log storage unit 1210 of the second server 1200 .

また、状況判断部3209によって緊急性がないと判断されると(ステップS121のNo)、状況判断部3209は、その異常ログを記憶部3204に一時的に保存する(ステップS122)。 If the situation judgment unit 3209 judges that there is no urgency (No in step S121), the situation judgment unit 3209 temporarily saves the error log in the storage unit 3204 (step S122).

次に、ログダウンサンプリング部3208bは、記憶部3204に格納されている異常ログの数が、予め定められた閾値よりも多いか否かを判定する(ステップS123)。ここで、ログダウンサンプリング部3208bによって、異常ログの数が閾値以下であると判定すると(ステップS123のNo)、監視装置3200bは、ステップS101からの処理を繰り返し実行する。一方、ログダウンサンプリング部3208bは、異常ログの数が閾値よりも多いと判定すると(ステップS123のYes)、記憶部3204に格納されている異常ログをダウンサンプリングする(ステップS124)。そして、監視装置3200bの送信処理部3206は、ログダウンサンプリング部3208bによってダウンサンプリングされた少なくとも1つの異常ログを出力する。つまり、送信処理部3206は、ダウンサンプリングされた少なくとも1つの異常ログの第2のサーバ1200への送信を、車両3000の送信部3120に実行させる(ステップS125)。これにより、そのダウンサンプリングされた少なくとも1つの異常ログが第2のサーバ1200の異常ログ記憶部1210に送信される。 Next, the log downsampling unit 3208b determines whether or not the number of error logs stored in the storage unit 3204 is greater than a predetermined threshold (step S123). Here, when the log downsampling unit 3208b determines that the number of error logs is equal to or less than the threshold (No in step S123), the monitoring device 3200b repeats the process from step S101. On the other hand, when the log down-sampling unit 3208b determines that the number of error logs is greater than the threshold (Yes in step S123), it down-samples the error logs stored in the storage unit 3204 (step S124). Then, the transmission processing unit 3206 of the monitoring device 3200b outputs at least one error log down-sampled by the log down-sampling unit 3208b. That is, the transmission processing unit 3206 causes the transmission unit 3120 of the vehicle 3000 to transmit at least one down-sampled error log to the second server 1200 (step S125). As a result, at least one down-sampled error log is transmitted to the error log storage unit 1210 of the second server 1200 .

第2のサーバ1200は、ステップS125で送信された異常ログを受信し、その異常ログを異常ログ記憶部1210に格納する(ステップS126)。 The second server 1200 receives the error log transmitted in step S125, and stores the error log in the error log storage unit 1210 (step S126).

図15は、実施の形態3における車両監視システム10の処理動作の他の一部を示すシーケンス図である。具体的には、図15は、異常検知装置1230bと、正常ログ記憶部1110と、異常ログ記憶部1210との間の処理動作を示すシーケンス図である。 FIG. 15 is a sequence diagram showing another part of the processing operation of the vehicle monitoring system 10 according to the third embodiment. Specifically, FIG. 15 is a sequence diagram showing processing operations among the anomaly detection device 1230b, the normal log storage unit 1110, and the anomaly log storage unit 1210. As shown in FIG.

異常検知装置1230bは、車両3000の監視装置3200bから異常通知を受信すると(ステップS107)、その異常通知をトリガーに、走行状態の再現を開始する。すなわち、異常検知装置1230bの異常ログ取得部1235は、第2のサーバ1200の異常ログ記憶部1210から異常ログを取得する(ステップS127)。この取得された異常ログが、監視装置3200bにおいてダウンサンプリングされた少なくとも1つの異常ログである場合には、異常検知装置1230bのログアップサンプリング部1238bは、その少なくとも1つの異常ログをアップサンプリングする。これにより、補間ログが生成される。この補間ログは、車両3000の監視装置3200bにおいて実際に取得された複数の異常ログのうち、ダウンサンプリングによって第2のサーバ1200に送信されなかった異常ログの代わりとして扱われる。一方、ステップS127で取得された異常ログが、監視装置3200bにおいてダウンサンプリングされた少なくとも1つの異常ログではない場合には、異常検知装置1230bのログアップサンプリング部1238bは、異常ログのアップサンプリングを行わない。 When the abnormality detection device 1230b receives the abnormality notification from the monitoring device 3200b of the vehicle 3000 (step S107), the abnormality detection device 1230b uses the abnormality notification as a trigger to start reproducing the running state. That is, the error log acquisition unit 1235 of the error detection device 1230b acquires the error log from the error log storage unit 1210 of the second server 1200 (step S127). If the acquired error log is at least one error log down-sampled by the monitoring device 3200b, the log up-sampling unit 1238b of the error detection device 1230b up-samples the at least one error log. This produces an interpolation log. This interpolation log is treated as a substitute for the error log that was not transmitted to the second server 1200 by downsampling, among the plurality of error logs actually acquired by the monitoring device 3200b of the vehicle 3000. FIG. On the other hand, if the error log acquired in step S127 is not at least one error log down-sampled by the monitoring device 3200b, the log up-sampling unit 1238b of the error detection device 1230b performs up-sampling of the error log. do not have.

次に、異常検知装置1230bの正常ログ取得部1233は、第1のサーバ1100の正常ログ記憶部1110から、ダウンサンプリングされた少なくとも1つの正常ログを取得する。そして、ログアップサンプリング部1238bは、その少なくとも1つの正常ログをアップサンプリングする(ステップS116)。これにより、補間ログが生成される。補間ログは、車両3000の監視装置3200aにおいて実際に取得された複数の正常ログのうち、ダウンサンプリングによって第1のサーバ1100に送信されなかった正常ログの代わりとして扱われる。 Next, the normal log acquisition unit 1233 of the anomaly detection device 1230 b acquires at least one down-sampled normal log from the normal log storage unit 1110 of the first server 1100 . Then, the log upsampling unit 1238b upsamples the at least one normal log (step S116). This produces an interpolation log. The interpolation log is treated as a substitute for the normal log that has not been transmitted to the first server 1100 by downsampling, among the multiple normal logs actually acquired by the monitoring device 3200a of the vehicle 3000. FIG.

次に、ログ結合部1236は、異常ログがアップサンプリングされていない場合には、補間ログを含む複数の正常ログと、異常ログとを結合することによって、結合ログを生成する。また、ログ結合部1236は、異常ログアップサンプリングされた場合には、補間ログを含む複数の正常ログと、補間ログを含む複数の異常ログとを結合することによって、結合ログを生成する。これにより、走行状態が再現される(ステップS128)。 Next, the log combiner 1236 generates a combined log by combining a plurality of normal logs including the interpolation log and the error log when the error log is not upsampled. Further, when error log up-sampling is performed, the log combining unit 1236 generates a combined log by combining a plurality of normal logs including an interpolation log and a plurality of error logs including an interpolation log. As a result, the running state is reproduced (step S128).

そして、異常検知装置1230bのログ解析部1232は、その再現された走行状態、すなわち結合ログを解析することによって、例えば、異常ログが発生した原因を特定して表示する(ステップS109)。 Then, the log analysis unit 1232 of the abnormality detection device 1230b identifies and displays, for example, the cause of the occurrence of the abnormality log by analyzing the reproduced running state, that is, the combined log (step S109).

以上のように、本実施の形態では、車両3000において、状況に応じて、異常と判定されたログである異常ログもダウンサンプリングされる。そして、そのダウンサンプリングによって得られた異常ログが第2のサーバ1200に送信されて、第2のサーバ1200の異常ログ記憶部1210に格納される。したがって、車両3000から第2のサーバ1200に送信される異常ログのデータ量を抑えることができる。さらに、第2のサーバ1200の異常ログ記憶部1210のストレージ容量をさらに削減することができる。また、異常ログがダウンサンプリングされても、異常検知装置1230bでは、その異常ログがアップサンプリングされる。したがって、異常ログの不足によって車両の異常の解析が困難になってしまうことを抑えることができる。 As described above, in the present embodiment, in vehicle 3000, an abnormality log, which is a log determined to be abnormal, is also down-sampled depending on the situation. Then, the error log obtained by the downsampling is transmitted to the second server 1200 and stored in the error log storage unit 1210 of the second server 1200 . Therefore, the amount of error log data transmitted from vehicle 3000 to second server 1200 can be reduced. Furthermore, the storage capacity of the error log storage unit 1210 of the second server 1200 can be further reduced. Even if the error log is down-sampled, the error detection device 1230b up-samples the error log. Therefore, it is possible to prevent difficulty in analyzing the abnormality of the vehicle due to the shortage of the abnormality log.

(変形例)
上記各実施の形態では、サーバシステム1000は、第1のサーバ1100および第2のサーバ1200からなる。しかし、サーバシステムを構成するサーバの数は1つでもよく、3つ以上であってもよい。本変形例に係るサーバシステムは1つのサーバからなる。
(Modification)
In each embodiment described above, the server system 1000 consists of a first server 1100 and a second server 1200 . However, the number of servers constituting the server system may be one, or three or more. The server system according to this modification consists of one server.

図16は、本変形例に係る車両監視システムの構成を示す図である。なお、図16に示す各構成要素のうち、実施の形態1の構成要素と同一のものに対しては、実施の形態1と同一の符号を付し、詳細な説明を省略する。 FIG. 16 is a diagram showing the configuration of a vehicle monitoring system according to this modification. 16 that are the same as those in the first embodiment are assigned the same reference numerals as those in the first embodiment, and detailed description thereof will be omitted.

本変形例に係る車両監視システム20は、サーバシステム1000cと、車両3000に搭載された車載ネットワークとを有する。サーバシステム1000cは、1つのサーバ1300からなる。このサーバ1300は、正常ログ記憶部1110と、異常ログ記憶部1210と、受信部1121と、サービス提供部1150と、異常検知装置1230とを備える。受信部1121は、実施の形態1の図1に示す受信部1120および受信部1220のそれぞれの機能を有する。 A vehicle monitoring system 20 according to this modification includes a server system 1000 c and an in-vehicle network mounted on a vehicle 3000 . The server system 1000 c consists of one server 1300 . This server 1300 includes a normal log storage unit 1110 , an error log storage unit 1210 , a reception unit 1121 , a service provision unit 1150 and an error detection device 1230 . Receiving section 1121 has the functions of receiving section 1120 and receiving section 1220 shown in FIG. 1 of Embodiment 1, respectively.

このように、サーバシステム1000cが1つのサーバ1300から構成されていても、本変形例に係る車両監視システム20では、上記実施の形態1と同様の作用効果を奏することができる。 In this way, even if the server system 1000c is composed of a single server 1300, the vehicle monitoring system 20 according to this modification can achieve the same effects as those of the first embodiment.

なお、車両監視システム20は、異常検知装置1230および監視装置3200の代わりに、実施の形態2の異常検知装置1230aおよび監視装置3200a、または、実施の形態3の異常検知装置1230bおよび監視装置3200bを備えていてもよい。車両監視システム20が異常検知装置1230aおよび監視装置3200aを備えている場合には、車両監視システム20では、上記実施の形態2と同様の作用効果を奏することができる。また、車両監視システム20が異常検知装置1230bおよび監視装置3200bを備えている場合には、車両監視システム20では、上記実施の形態3と同様の作用効果を奏することができる。 Vehicle monitoring system 20 includes abnormality detection device 1230a and monitoring device 3200a of Embodiment 2, or abnormality detection device 1230b and monitoring device 3200b of Embodiment 3, instead of abnormality detection device 1230 and monitoring device 3200. may be provided. When vehicle monitoring system 20 includes abnormality detection device 1230a and monitoring device 3200a, vehicle monitoring system 20 can achieve the same effects as those of the second embodiment. Further, when vehicle monitoring system 20 includes abnormality detection device 1230b and monitoring device 3200b, vehicle monitoring system 20 can achieve the same effects as those of the third embodiment.

また、サーバシステム1000cが1つのサーバ1300から構成されている場合には、正常ログ記憶部1110および異常ログ記憶部1210は、互いに独立した2つの記憶部ではなく、1つの記憶部から構成されていてもよい。つまり、1つの記憶部に、正常ログおよび異常ログが格納されてもよい。このような場合でも、監視装置3200の送信処理部3206からネットワーク2000を介して送信される正常ログおよび異常ログがそれぞれ識別可能な状態で1つの記憶部に格納されればよい。例えば、1つの記憶部の記憶領域を2つの領域に分け、一方の領域に正常ログを格納し、他方の領域に異常ログを格納することによって、正常ログおよび異常ログをそれぞれ識別可能な状態で1つの記憶部に格納してもよい。あるいは、正常ログに対して0を示すフラグを付し、異常ログに対して1を示すフラグを付すことによって、正常ログおよび異常ログをそれぞれ識別可能な状態で1つの記憶部に格納してもよい。このように、正常ログ記憶部1110および異常ログ記憶部1210が1つの記憶部から構成されていても、正常ログおよび異常ログがそれぞれ識別可能な状態で1つの記憶部に格納されれば、上記各実施の形態と同様の作用効果を奏することができる。 Further, when the server system 1000c is composed of one server 1300, the normal log storage unit 1110 and the error log storage unit 1210 are composed of one storage unit instead of two independent storage units. may In other words, the normal log and the error log may be stored in one storage unit. Even in such a case, the normal log and the abnormal log transmitted from the transmission processing unit 3206 of the monitoring device 3200 via the network 2000 may be stored in one storage unit in an identifiable state. For example, by dividing the storage area of one storage unit into two areas, normal logs are stored in one area, and error logs are stored in the other area, the normal logs and the error logs can be distinguished from each other. You may store in one memory|storage part. Alternatively, by attaching a flag indicating 0 to the normal log and attaching a flag indicating 1 to the error log, the normal log and the error log may be stored in a single storage unit in a identifiable state. good. In this way, even if the normal log storage unit 1110 and the error log storage unit 1210 are composed of one storage unit, if the normal log and the error log are stored in one storage unit in an identifiable state, the above The same effect as each embodiment can be produced.

なお、本開示では、異常ログは、サーバシステム1000にネットワーク2000を介して正常ログと異なる態様で送信される。つまり、サーバシステム1000が第1のサーバ1100および第2のサーバ1200からなる場合には、監視装置の送信処理部3206は、正常ログを第1のサーバ1100に送信し、異常ログを第2のサーバ1200に送信する。一方、サーバシステム1000cが1つのサーバ1300から構成される場合には、監視装置の送信処理部3206は、例えば、正常ログに、0を示すフラグを付し、異常ログに、1を示すフラグを付して、これらのログをサーバ1300に送信する。このような場合でも、異常ログは正常ログと異なる態様で送信される。このように、正常ログと異常ログとがそれぞれ互いに異なる態様でサーバシステムに送信されるため、サーバシステムでは、これらの正常ログと異常ログとを識別可能な状態で記憶部に格納することができる。なお、正常ログと異常ログとを識別可能な状態で記憶部に格納することができれば、送信処理部3206は、正常ログおよび異常ログをどのような態様で送信してもよい。 In addition, in the present disclosure, the error log is transmitted to the server system 1000 via the network 2000 in a manner different from that of the normal log. That is, when the server system 1000 consists of the first server 1100 and the second server 1200, the transmission processing unit 3206 of the monitoring device transmits the normal log to the first server 1100 and the abnormal log to the second server. Send to server 1200 . On the other hand, when the server system 1000c is composed of one server 1300, the transmission processing unit 3206 of the monitoring apparatus, for example, adds a flag indicating 0 to the normal log and flags 1 to the abnormal log. and send these logs to the server 1300 . Even in such a case, the abnormal log is transmitted in a manner different from that of the normal log. Since the normal log and the abnormal log are transmitted to the server system in different manners, the server system can store the normal log and the abnormal log in a identifiable state in the storage unit. . Note that the transmission processing unit 3206 may transmit the normal log and the abnormal log in any manner as long as the normal log and the abnormal log can be stored in the storage unit in an identifiable state.

(その他の変形例)
以上、一つまたは複数の態様に係る車両監視システム、サーバシステム、および監視装置について、各実施の形態および変形例に基づいて説明したが、本開示は、これらの実施の形態および変形例に限定されるものではない。本開示の趣旨を逸脱しない限り、当業者が思いつく各種変形を上記各実施の形態および変形例に施したものや、異なる実施の形態における構成要素を組み合わせて構築される形態も、本開示の範囲内に含まれてもよい。
(Other modifications)
The vehicle monitoring system, server system, and monitoring device according to one or more aspects have been described above based on the respective embodiments and modifications, but the present disclosure is limited to these embodiments and modifications. not to be As long as it does not deviate from the spirit of the present disclosure, various modifications that a person skilled in the art can think of are applied to the above embodiments and modifications, and forms constructed by combining the components of different embodiments are also within the scope of the present disclosure. may be included within

例えば、上記各実施の形態および変形例では、異常判定部3205は、車両3000の状態が正常か異常かを判定するが、正常か異常かの2種類の分類だけでなく、正常と異常の中間的な分類も含めた3種類の分類のうちの何れかを判定してもよい。なお、正常を白と称し、異常を黒と称する場合、上述の中間的な分類は、グレーと称される。グレーは、正常とも異常とも断定されない分類である。つまり、異常判定部3205は、車両3000の状態がグレーであるかを判定してもよい。 For example, in each of the above-described embodiments and modifications, abnormality determination unit 3205 determines whether the state of vehicle 3000 is normal or abnormal. Any one of the three types of classification including the typical classification may be determined. Note that if normal is called white and abnormal is called black, the above intermediate classification is called gray. Gray is a classification that is neither conclusively normal nor abnormal. In other words, the abnormality determination unit 3205 may determine whether the state of the vehicle 3000 is gray.

異常判定部3205によって車両3000の状態がグレーと判定され場合、例えば、送信先判定部3202は、その状態を示すグレーのログの送信先を、第1のサーバ1100と第2のサーバ1200とに決定してもよい。これにより、グレーのログであっても、異常ログではないため、サービス提供部1150のサービスに使用することができる。あるいは、送信先判定部3202は、グレーのログの送信先を、異常ログの送信先と同様、第2のサーバ1200に決定してもよい。これにより、グレーのログがサービス提供部1150のサービスに使用されることを抑え、車両3000への誤ったサービスの提供をより適切に抑制することができる。 When the abnormality determination unit 3205 determines that the state of the vehicle 3000 is gray, for example, the transmission destination determination unit 3202 selects the first server 1100 and the second server 1200 as the transmission destinations of the gray log indicating the state. may decide. As a result, even a gray log can be used for the service of the service providing unit 1150 because it is not an error log. Alternatively, the transmission destination determination unit 3202 may determine the transmission destination of the gray log to be the second server 1200 in the same manner as the transmission destination of the error log. As a result, the use of the gray log for the service of service providing unit 1150 can be suppressed, and erroneous service provision to vehicle 3000 can be suppressed more appropriately.

また、上記各実施の形態および変形例では、ログ解析部1232は、正常ログと異常ログとを結合することによって生成された結合ログを解析するが、これに限らず、結合されていない正常ログと異常ログとを解析してもよい。この場合であっても、上記各実施の形態および変形例と同様の作用効果を奏することができる。 In each of the above-described embodiments and modifications, the log analysis unit 1232 analyzes the combined log generated by combining the normal log and the abnormal log. and anomaly logs may be analyzed. Even in this case, the same advantages as those of the above-described embodiments and modifications can be obtained.

また、上記実施の形態2および3では、正常ログをダウンサンプリングし、状況に応じて異常ログをダウンサンプリングするが、異常判定部3205によってグレーが判定される場合には、グレーのログのダウンサンプリングを禁止してもよい。つまり、正常ログダウンサンプリング部3208またはログダウンサンプリング部3208bは、常に、そのグレーのログをダウンサンプリングすることなく、送信処理部3206は、全てのグレーのログをサーバシステム1000に送信する。これにより、グレーのログが異常か否かを異常検知装置によって正確に判定することができる。 In the above-described second and third embodiments, the normal log is down-sampled, and the abnormal log is down-sampled depending on the situation. may be prohibited. In other words, the normal log downsampling unit 3208 or the log downsampling unit 3208b never downsamples the gray log, and the transmission processing unit 3206 transmits all gray logs to the server system 1000. FIG. This allows the anomaly detection device to accurately determine whether or not the gray log is anomalous.

また、実施の形態2および3では、正常ログをダウンサンプリングするが、そのダウンサンプリングのサンプリング周期を変更してもよい。例えば、図8のステップS102において、監視装置3200aの異常判定部3205によって、CANコマンドによって示される走行状態が異常であると判定されると、正常ログダウンサンプリング部3208は、サンプリング周期を短くする。つまり、正常ログダウンサンプリング部3208は、その異常と判定された走行状態のログの前と後に正常と判定されたログのサンプリング周期を短くする。具体的には、正常ログダウンサンプリング部3208は、異常と判定された時点から、予め定められた時間だけ遡った時刻までの期間において正常と判定されたログのサンプリング周期を短くする。さらに、正常ログダウンサンプリング部3208は、異常と判定された時点から、予め定められた時間だけ経過した時刻までの期間において正常と判定されたログのサンプリング周期を短くする。 Also, in the second and third embodiments, the normal log is down-sampled, but the sampling period of the down-sampling may be changed. For example, in step S102 of FIG. 8, when the abnormality determination unit 3205 of the monitoring device 3200a determines that the running state indicated by the CAN command is abnormal, the normal log down-sampling unit 3208 shortens the sampling period. That is, the normal log down-sampling unit 3208 shortens the sampling period of the log determined to be normal before and after the log of the driving state determined to be abnormal. Specifically, the normal log down-sampling unit 3208 shortens the sampling cycle of the log determined to be normal during the period from the time when it was determined to be abnormal to the time before the predetermined time. Further, the normal log down-sampling unit 3208 shortens the sampling cycle of logs determined to be normal during the period from the time when it is determined to be abnormal until the time when a predetermined time has passed.

これにより、通常では、正常ログのサンプリング周期を長くし、異常が生じた場合に、その正常ログのサンプリング周期を短くすることができる。したがって、正常ログのデータ量の削減と、異常の解析の容易化とを両立することができる。 As a result, normally, the sampling period of the normal log can be lengthened, and when an abnormality occurs, the sampling period of the normal log can be shortened. Therefore, it is possible to both reduce the amount of normal log data and facilitate analysis of anomalies.

なお、上記各実施の形態において、各構成要素は、専用のハードウェアで構成されるか、各構成要素に適したソフトウェアプログラムを実行することによって実現されてもよい。各構成要素は、CPUまたはプロセッサなどのプログラム実行部が、ハードディスクまたは半導体メモリなどの記録媒体に記録されたソフトウェアプログラムを読み出して実行することによって実現されてもよい。ここで、上記各実施の形態の車両監視システム、サーバシステム、および監視装置などを実現するソフトウェアは、図4、図8、図9、図14および図15によって示される各処理をコンピュータに実行させる。 In each of the above-described embodiments, each component may be configured by dedicated hardware, or realized by executing a software program suitable for each component. Each component may be realized by reading and executing a software program recorded in a recording medium such as a hard disk or a semiconductor memory by a program execution unit such as a CPU or processor. Here, the software that implements the vehicle monitoring system, server system, monitoring device, etc. of each of the above embodiments causes a computer to execute each process shown in FIGS. .

また、以下のような場合も本開示に含まれる。 In addition, the following cases are also included in the present disclosure.

(1)上記の各装置は、具体的には、マイクロプロセッサ、ROM、RAM、ハードディスクユニット、ディスプレイユニット、キーボード、マウスなどから構成されるコンピュータシステムである。前記RAMまたはハードディスクユニットには、コンピュータプログラムが記憶されている。前記マイクロプロセッサが、前記コンピュータプログラムにしたがって動作することにより、各装置は、その機能を達成する。ここでコンピュータプログラムは、所定の機能を達成するために、コンピュータに対する指令を示す命令コードが複数個組み合わされて構成されたものである。 (1) Each of the above devices is specifically a computer system comprising a microprocessor, ROM, RAM, hard disk unit, display unit, keyboard, mouse, and the like. A computer program is stored in the RAM or hard disk unit. Each device achieves its function by the microprocessor operating according to the computer program. Here, the computer program is constructed by combining a plurality of instruction codes indicating instructions to the computer in order to achieve a predetermined function.

(2)上記の各装置を構成する構成要素の一部または全部は、1個のシステムLSI(Large Scale Integration:大規模集積回路)から構成されているとしてもよい。システムLSIは、複数の構成部を1個のチップ上に集積して製造された超多機能LSIであり、具体的には、マイクロプロセッサ、ROM、RAMなどを含んで構成されるコンピュータシステムである。前記RAMには、コンピュータプログラムが記憶されている。前記マイクロプロセッサが、前記コンピュータプログラムにしたがって動作することにより、システムLSIは、その機能を達成する。 (2) A part or all of the components constituting each of the above devices may be configured from one system LSI (Large Scale Integration). A system LSI is an ultra-multifunctional LSI manufactured by integrating multiple components on a single chip. Specifically, it is a computer system that includes a microprocessor, ROM, RAM, etc. . A computer program is stored in the RAM. The system LSI achieves its functions by the microprocessor operating according to the computer program.

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

(4)本開示は、上記に示す方法であるとしてもよい。また、これらの方法をコンピュータにより実現するコンピュータプログラムであるとしてもよいし、前記コンピュータプログラムからなるデジタル信号であるとしてもよい。 (4) The present disclosure may be the method shown above. Moreover, it may be a computer program for realizing these methods by a computer, or it may be a digital signal composed of the computer program.

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

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

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

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

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

本開示は、車両の車載ネットワークを用いたシステム等において利用可能である。 INDUSTRIAL APPLICABILITY The present disclosure can be used in a system or the like using an in-vehicle network of a vehicle.

10、20 車両監視システム
1000、1000c サーバシステム
1100 第1のサーバ
1110 正常ログ記憶部
1120、1220、1121 受信部
1130 走行支援部
1140 経路探索部
1150 サービス提供部
1200 第2のサーバ
1210 異常ログ記憶部
1230、1230a、1230b 異常検知装置
1231 制御部
1232 ログ解析部
1233 正常ログ取得部
1234 記憶部
1235 異常ログ取得部
1236 ログ結合部
1237 表示部
1238 正常ログアップサンプリング部
1238b ログアップサンプリング部
1300 サーバ
2000 ネットワーク
3000 車両
3001~3003 ECU
3120 送信部
3200、3200a、3200b 監視装置
3201 制御部
3202 送信先判定部
3203 走行状態取得部
3204 記憶部
3205 異常判定部
3206 送信処理部
3207 通知部
3208 正常ログダウンサンプリング部
3208b ログダウンサンプリング部
3209 状況判断部
10, 20 Vehicle monitoring system 1000, 1000c Server system 1100 First server 1110 Normal log storage unit 1120, 1220, 1121 Receiving unit 1130 Driving support unit 1140 Route search unit 1150 Service providing unit 1200 Second server 1210 Abnormal log storage unit 1230, 1230a, 1230b anomaly detection device 1231 control unit 1232 log analysis unit 1233 normal log acquisition unit 1234 storage unit 1235 anomaly log acquisition unit 1236 log coupling unit 1237 display unit 1238 normal log up-sampling unit 1238b log up-sampling unit 1300 server 2000 network 3000 vehicle 3001-3003 ECU
3120 transmission unit 3200, 3200a, 3200b monitoring device 3201 control unit 3202 transmission destination determination unit 3203 running state acquisition unit 3204 storage unit 3205 abnormality determination unit 3206 transmission processing unit 3207 notification unit 3208 normal log down sampling unit 3208b log down sampling unit 3209 status Judging part

Claims (6)

車両に搭載されて前記車両の状態を監視する監視装置にネットワークを介して接続されており、前記ネットワークを介して前記監視装置から送信されるログを格納する記憶部を備えた、少なくとも1つのサーバからなるサーバシステムにおいて実行される異常解析方法であって、
前記記憶部には、前記監視装置によって正常と判定された前記車両の状態を示す正常ログと、前記監視装置において異常と判定された前記車両の状態を示す異常ログとが、それぞれ識別可能な状態で格納されており、
前記監視装置からの異常検知の信号を受信すると、前記監視装置から受信して前記記憶部に格納されている前記正常ログと前記異常ログとを取得し、
取得した前記正常ログと前記異常ログとを結合することで、前記車両の走行状態を再現し、
再現された前記車両の走行状態に基づいて前記異常ログが発生した原因を特定し、前記原因を表示装置上に表示させる、
異常解析方法。
At least one server connected via a network to a monitoring device mounted on a vehicle to monitor the state of the vehicle, and comprising a storage unit for storing logs transmitted from the monitoring device via the network. An abnormality analysis method executed in a server system consisting of
In the storage unit, a normal log indicating the state of the vehicle determined to be normal by the monitoring device and an abnormality log indicating the state of the vehicle determined to be abnormal by the monitoring device are in identifiable states. is stored in
when receiving an abnormality detection signal from the monitoring device, acquiring the normal log and the abnormality log received from the monitoring device and stored in the storage unit;
Reproducing the running state of the vehicle by combining the acquired normal log and the abnormal log,
identifying the cause of the occurrence of the error log based on the reproduced running state of the vehicle, and displaying the cause on a display device;
Anomaly analysis method.
前記記憶部には、前記監視装置によって正常と判定された前記車両の状態を示す正常ログのうち、一定周期ごとにサンプリングされた一部の正常ログと、前記監視装置において異常と判定された前記車両の状態を示す異常ログとが、それぞれ識別可能な状態で格納されており、
前記監視装置からの異常検知の信号を受信すると、前記一部の正常ログと前記異常ログとを取得するとともに、前記一部の正常ログから推定される補間正常ログを生成し、前記一部の正常ログと、前記補間正常ログと、前記異常ログとを結合することで、前記車両の走行状態を再現する、
請求項1に記載の異常解析方法。
Of the normal logs indicating the state of the vehicle determined to be normal by the monitoring device, part of the normal logs sampled at regular intervals and the normal logs determined to be abnormal by the monitoring device are stored in the storage unit. Anomaly logs indicating vehicle conditions are stored in an identifiable state,
When receiving an anomaly detection signal from the monitoring device, acquiring the part of the normal log and the anomaly log, generating an interpolated normal log estimated from the part of the normal log, reproducing the running state of the vehicle by combining the normal log, the interpolated normal log, and the abnormal log;
The abnormality analysis method according to claim 1.
前記補間正常ログは、前記一部の正常ログに含まれる時刻情報に基づいて生成される、
請求項2に記載の異常解析方法。
The interpolated normal log is generated based on time information included in the partial normal log,
The abnormality analysis method according to claim 2.
前記サーバシステムは複数のサーバからなり、前記正常ログおよび前記異常ログは、それぞれ異なるサーバにおける記憶部に格納されている、
請求項1からのいずれか1項に記載の異常解析方法。
The server system comprises a plurality of servers, and the normal log and the abnormal log are stored in storage units in different servers, respectively.
The abnormality analysis method according to any one of claims 1 to 3 .
前記正常ログを用いて前記車両の運転に関するサービスを、前記ネットワークを介して前記車両に提供する、
請求項1からのいずれか1項に記載の異常解析方法。
providing a service related to driving the vehicle to the vehicle via the network using the normal log;
The abnormality analysis method according to any one of claims 1 to 4 .
請求項1からの何れか1項に記載の異常解析方法をコンピュータに実行させるプログラム。 A program that causes a computer to execute the abnormality analysis method according to any one of claims 1 to 5 .
JP2018003238A 2018-01-12 2018-01-12 Anomaly analysis method and program Active JP7162189B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018003238A JP7162189B2 (en) 2018-01-12 2018-01-12 Anomaly analysis method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018003238A JP7162189B2 (en) 2018-01-12 2018-01-12 Anomaly analysis method and program

Publications (2)

Publication Number Publication Date
JP2019125004A JP2019125004A (en) 2019-07-25
JP7162189B2 true JP7162189B2 (en) 2022-10-28

Family

ID=67398697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018003238A Active JP7162189B2 (en) 2018-01-12 2018-01-12 Anomaly analysis method and program

Country Status (1)

Country Link
JP (1) JP7162189B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001273172A (en) 2000-03-24 2001-10-05 Hitachi Information Systems Ltd Computer operation data recording system and recording medium used for the system
JP2006270544A (en) 2005-03-24 2006-10-05 Honda Motor Co Ltd Apparatus and method for logging vehicle radio data
JP2006315427A (en) 2005-05-10 2006-11-24 Fujitsu Ten Ltd Communication system for vehicle
JP2008090829A (en) 2006-09-05 2008-04-17 Xanavi Informatics Corp Traffic information collecting/distributing method, traffic information collecting/distributing system, center device and onboard terminal device
JP2015121838A (en) 2013-12-20 2015-07-02 本田技研工業株式会社 Program and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154318B (en) * 2006-09-05 2010-09-22 株式会社查纳位资讯情报 System and method for collecting and distributing traffic information, center device and vehicle carried terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001273172A (en) 2000-03-24 2001-10-05 Hitachi Information Systems Ltd Computer operation data recording system and recording medium used for the system
JP2006270544A (en) 2005-03-24 2006-10-05 Honda Motor Co Ltd Apparatus and method for logging vehicle radio data
JP2006315427A (en) 2005-05-10 2006-11-24 Fujitsu Ten Ltd Communication system for vehicle
JP2008090829A (en) 2006-09-05 2008-04-17 Xanavi Informatics Corp Traffic information collecting/distributing method, traffic information collecting/distributing system, center device and onboard terminal device
JP2015121838A (en) 2013-12-20 2015-07-02 本田技研工業株式会社 Program and server

Also Published As

Publication number Publication date
JP2019125004A (en) 2019-07-25

Similar Documents

Publication Publication Date Title
JP7410223B2 (en) Fraud detection server and method
US11469921B2 (en) Security device, network system, and fraud detection method
JP7030046B2 (en) Fraudulent communication detection method, fraudulent communication detection system and program
JP7045288B2 (en) Data analysis device, data analysis method and program
JP5637190B2 (en) Communication system and communication method
CN112437056B (en) Security processing method and server
JP7231559B2 (en) Anomaly detection electronic control unit, in-vehicle network system and anomaly detection method
CN109005678B (en) Illegal communication detection method, illegal communication detection system, and recording medium
JP2008236408A (en) Multiplex communication apparatus for vehicle
CN109076016B9 (en) Illegal communication detection criterion determining method, illegal communication detection criterion determining system, and recording medium
JP2007312193A (en) Abnormality monitoring unit
US11829472B2 (en) Anomalous vehicle detection server and anomalous vehicle detection method
KR101593571B1 (en) Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof
JPWO2020137743A1 (en) Electronic control devices, electronic control systems and programs
JP2006349429A (en) Trouble diagnosing device
JP7241281B2 (en) Information processing device, control method and program
CN105635241A (en) Method, system and computer-readable recording medium for managing abnormal state of vehicle
JP7162189B2 (en) Anomaly analysis method and program
JP2010167834A (en) Relay device, vehicle information recording system, and vehicle information recording method
JP2019146145A (en) Communication device, communication method, and program
CN114450683A (en) Abnormality detection method, program, and abnormality detection system
JP2019209945A (en) On-vehicle control device, control program and control method
JP7496431B2 (en) Information processing device, method for controlling information processing device, and program
JP4177154B2 (en) Moving object abnormality detection system
EP4160417A1 (en) Anomaly detection system and anomaly detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220411

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221003

R151 Written notification of patent or utility model registration

Ref document number: 7162189

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

SZ03 Written request for cancellation of trust registration

Free format text: JAPANESE INTERMEDIATE CODE: R313Z03