Information processing device and information processing method

By designing an information processing device on the vehicle and using the cooperation of the acquirer and the output device to periodically send sampling logs with a small amount of data and complete logs with a large amount of data in case of abnormalities, the excessive amount of monitoring data in the vehicle system is solved. problems, maintaining the monitoring level and reducing the amount of data.

CN113542304BActive Publication Date: 2024-08-23PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110900070.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-10-12
Filing Date
2017-11-13
Publication Date
2024-08-23
Estimated Expiration
2037-11-13

AI Technical Summary

Technical Problem

It is difficult for the in-vehicle system to maintain an appropriate level of monitoring. At the same time, when the vehicle's external system monitors the in-vehicle system data, the amount of data is too large, resulting in insufficient resources to process it.

Method used

An information processing device is designed, which obtains the abnormal detection results of communication data from the vehicle's in-vehicle network through an acquirer, and outputs a complete log sending instruction under abnormal circumstances, and sends the complete log with a large amount of data to the server device. Under normal circumstances, sampling logs with a small amount of data are sent periodically.

Benefits of technology

The monitoring level is effectively maintained, the amount of monitoring target data sent from the in-vehicle system is reduced, and the processing power of the server device is utilized for detailed analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113542304B_ABST
    Figure CN113542304B_ABST
Patent Text Reader

Abstract

The present disclosure provides an information processing device and an information processing method. The information processing device comprises: an acquirer that acquires an abnormality detection result indicating whether communication data in a vehicle-mounted network of a vehicle contains an abnormality from an abnormality detector; and an outputter that outputs a sampling log sending instruction that causes a sampling log to be periodically sent from a transmitter mounted on the vehicle to a server device disposed outside the vehicle, and the outputter further outputs a complete log sending instruction that causes a complete log to be sent from the transmitter to the server device when the acquirer acquires an abnormality detection result indicating that the communication data contains an abnormality.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the patent application with application number 201780022304.X and name “Information Processing Device and Information Processing Method” filed on November 13, 2017. Technical Field

[0002] The present disclosure relates to an information processing device and the like mounted on a vehicle. Background Art

[0003] Patent Document 1 discloses a technology for detecting intrusion of illegal data in an in-vehicle network or the like.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Publication No. 2014-146868 Summary of the invention

[0007] Problems to be solved by the invention

[0008] However, it is difficult to maintain an appropriate monitoring level by each vehicle's vehicle-mounted system alone to appropriately monitor the data in the vehicle-mounted system. On the other hand, when a system outside the vehicle monitors the data in the vehicle-mounted system, there is a possibility that a large amount of monitoring target data will be sent from the vehicle-mounted system to the external system. It is not easy to prepare resources for processing such a large amount of monitoring target data.

[0009] In view of the above, an object of the present disclosure is to provide an information processing device that can maintain an appropriate monitoring level and can reduce the amount of monitoring target data transmitted from an in-vehicle system.

[0010] Technical solutions to solve problems

[0011] An information processing device according to a technical solution of the present invention is an information processing device mounted on a vehicle, comprising: an acquirer, which acquires an anomaly detection result indicating whether communication data in an on-board network of the vehicle contains an anomaly from an anomaly detector; and an outputter, which outputs a sampling log sending instruction, wherein the sampling log sending instruction causes a sampling log to be periodically sent from a transmitter mounted on the vehicle to a server device disposed outside the vehicle, wherein the sampling log is a log of two types of logs of the communication data and has a smaller amount of data generated per unit time than the other log, and wherein the outputter further outputs a complete log sending instruction when the acquirer acquires the anomaly detection result indicating that the communication data contains an anomaly, wherein the complete log sending instruction causes a complete log to be sent from the transmitter to the server device, wherein the complete log is a log of the two types of logs and has a larger amount of data generated per unit time than the sampling log.

[0012] In addition, these general or specific technical solutions can be implemented through systems, devices, methods, integrated circuits, computer programs, or non-transitory recording media such as computer-readable CD-ROMs, or through any combination of systems, devices, methods, integrated circuits, computer programs, and recording media.

[0013] Effects of the Invention

[0014] An information processing device or the like according to one aspect of the present disclosure can reduce the amount of monitoring target data transmitted from an in-vehicle system while maintaining an appropriate monitoring level. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a block diagram showing the configuration of a security system in the embodiment.

[0016] Figure 2 It is a schematic diagram showing the sampling period in the embodiment.

[0017] Figure 3 is a comparison diagram of a sample log and a complete log in an implementation manner.

[0018] Figure 4 This is a data structure diagram showing the log format in the embodiment.

[0019] Figure 5 It is a graph showing the relationship between the sampling interval and the amount of data.

[0020] Figure 6 This is a graph showing the comparison of data size before and after compression.

[0021] Figure 7 This is a block diagram showing the basic configuration of the safety ECU in the embodiment.

[0022] Figure 8 This is a block diagram showing the basic structure of a server device in the embodiment.

[0023] Fig. 9 This is a block diagram showing the configuration of a security system in a specific example.

[0024] Fig.10 This is a block diagram showing a modified structure of a security system in a specific example.

[0025] Fig.11 It is a block diagram showing the configuration of a safety ECU in a specific example.

[0026] Fig.12 This is a block diagram showing the structure of a security gateway device in a specific example.

[0027] Fig.13 It is a block diagram showing the configuration of a server device in a specific example.

[0028] Fig.14 This is a sequence diagram showing operations related to transmission of sampling logs in a specific example.

[0029] Fig.15 This is a sequence diagram showing operations related to abnormality detection processing performed in a server device in a specific example.

[0030] Fig.16 This is a timing chart showing operations related to abnormality detection processing performed by the safety ECU in a specific example.

[0031] Fig.17 This is a flowchart showing the operation of the safety ECU in a specific example.

[0032] Fig.18 This is a flowchart showing a first technical solution of a log recording process performed by a safety ECU in a specific example.

[0033] Fig.19 This is a flowchart showing a second technical solution of a log recording process performed by a safety ECU in a specific example.

[0034] Fig. 20 1 is a flowchart showing an abnormality detection process performed by the safety ECU in a specific example.

[0035] Fig.21 This is a flowchart showing a first technical solution of a log transmission process performed by a safety ECU in a specific example.

[0036] Fig. 22 This is a flowchart showing a second technical solution of a log transmission process performed by a safety ECU in a specific example.

[0037] Fig.23 This is a flowchart showing a third technical solution of a log transmission process performed by a safety ECU in a specific example.

[0038] Fig.24 This is a flowchart of a first technical solution showing the operation of a server device in a specific example.

[0039] Fig.25 It is a flowchart of the second technical solution showing the operation of the server device in a specific example.

[0040] Fig.26 This is a flowchart showing a first technical solution of a sampling interval update process performed by a server device and a safety ECU in a specific example.

[0041] Fig. 27 This is a flowchart showing a second technical solution of the sampling interval update process performed by the server device and the safety ECU in a specific example. DETAILED DESCRIPTION

[0042] (Insights that form the basis of this disclosure)

[0043] In recent years, connected cars that are connected to external networks have become increasingly popular. For example, the number of cars connected to the Internet is expected to reach 250 million by 2020.

[0044] On the other hand, the possibility of illegal control of vehicles has also begun to be pointed out. In particular, the possibility of illegal data invading CAN (Controller Area Network), which is widely used as a communication standard for vehicle networks, has been pointed out. In addition, there is a possibility of illegal control of vehicles through illegal data. Therefore, technology to protect vehicles from illegal data control is being studied to avoid illegal control of vehicles through illegal data.

[0045] For example, the vehicle-mounted system installed in each vehicle can monitor the data in the vehicle-mounted system in order to protect the vehicle from being controlled by illegal data. However, the vehicle-mounted system may not have sufficient processing power because it is installed in the vehicle. Therefore, it may be difficult for the vehicle-mounted system to properly monitor the data in the vehicle-mounted system alone and maintain an appropriate monitoring level.

[0046] In addition, for example, a system outside the vehicle may monitor data in the vehicle-mounted system. However, in this case, a large amount of monitoring target data may be sent from the vehicle-mounted system to the external system. It is not easy to prepare resources for processing such a large amount of monitoring target data.

[0047] In view of this, an information processing device of a technical solution of the present invention is an information processing device mounted on a vehicle, comprising: an acquirer, which acquires an anomaly detection result of whether the communication data in the vehicle-mounted network of the vehicle contains an anomaly from an anomaly detector; and an outputter, which outputs a sampling log sending instruction, the sampling log sending instruction causes the sampling log to be periodically sent from the transmitter mounted on the vehicle to a server device arranged outside the vehicle, the sampling log being a log of two types of logs of the communication data, the amount of data generated per unit time being smaller than that of the other log, the outputter further outputs a complete log sending instruction when the acquirer acquires the anomaly detection result indicating that the communication data contains an anomaly, the complete log sending instruction causes the complete log to be sent from the transmitter to the server device, the complete log being a log of the two types of logs, the amount of data generated per unit time being larger than that of the sampling log.

[0048] Thus, a sampling log with a relatively small amount of data is periodically sent from the transmitter mounted on the vehicle to the server device, and a complete log with a relatively large amount of data is sent in an abnormal situation. In addition, the server device installed outside the vehicle can monitor and analyze the sampling log and the complete log using sufficient processing power that is not restricted by the requirements for vehicle use. Therefore, the information processing device can maintain an appropriate monitoring level and reduce the amount of monitoring object data sent from the vehicle-mounted system.

[0049] For example, the acquisition unit may acquire the abnormality detection result from the abnormality detector included in the server device.

[0050] Thus, the information processing device can obtain the abnormality detection result from the abnormality detector included in the server device as the sending destination of the sampling log. The abnormality detector included in the server device can have sufficient processing capacity that is not restricted by the requirements for vehicle use. In addition, the abnormality detector included in the server device can determine whether an abnormality is included based on the sampling log. Therefore, the information processing device can obtain appropriate abnormality detection results from the abnormality detector included in the server device.

[0051] In addition, for example, the information processing device may further include the abnormality detector, and the abnormality detector may acquire the communication data from the in-vehicle network and determine whether the communication data includes an abnormality.

[0052] Thus, the information processing device can appropriately determine whether the communication data contains anomalies based on the communication data obtained from the vehicle network. In addition, the information processing device can control the transmitter so that the sample log is periodically sent from the vehicle system and the complete log is sent from the vehicle system when an anomaly occurs. Therefore, anomalies determined to be included in the communication data can be appropriately analyzed.

[0053] In addition, for example, the sampling log may be a log of the communication data in multiple sampling periods, the multiple sampling periods are periods in multiple sampling intervals that are respectively included in the multiple sampling intervals and are respectively the second time length, the multiple sampling intervals are respectively periods of the first time length, and the second time length is shorter than the first time length.

[0054] As a result, the amount of data in the sampling log is appropriately reduced. Therefore, the amount of data of the monitored object sent from the vehicle-mounted system is appropriately reduced. In addition, since there is a high possibility that illegal data for illegally controlling the vehicle is continuously sent, the abnormalities and the like contained in the communication data can be appropriately analyzed by using the sampling logs in the multiple sampling periods respectively included in the multiple sampling intervals.

[0055] In addition, for example, the sampling log may also indicate, for each frame among the multiple frames constituting the communication data during the multiple sampling periods, (i) the sampling time of the frame, (ii) whether the frame is the earliest frame among one or more frames that are the same as the frame during the sampling period, and (iii) the data of the frame.

[0056] Thus, for each frame, the sampling time and whether it is the earliest frame in the sampling period are indicated by the sampling log. Furthermore, for example, an abnormality can be appropriately determined based on the difference in sampling time between a frame different from the earliest frame and the sampling time of the preceding frame in the sampling period.

[0057] In addition, for example, the complete log may be a log of the communication data of multiple categories, the sampling log may be a log of the communication data of one or more categories less than the multiple categories, and for each frame among the multiple frames constituting the communication data of the one or more categories during the multiple sampling periods, the log indicates (i) the sampling time of the frame, (ii) whether the frame is the earliest frame among one or more frames with the same category and sampling period as the frame, and (iii) the data of the frame.

[0058] Thus, for each frame, the sampling time and whether it is the earliest frame in the same category and the same sampling period are indicated by the sampling log. Furthermore, for example, an abnormality can be appropriately determined based on the difference in the sampling time of a frame different from the earliest frame in the same category and the same sampling period and the sampling time of the previous frame.

[0059] In addition, for example, the complete log may be a log of a plurality of types of the communication data, and the sampled log may be a log of the communication data of one or more types less than the plurality of types.

[0060] Thus, the amount of data in the sampling log is appropriately reduced. Therefore, the amount of data of the monitoring object sent from the vehicle-mounted system is appropriately reduced. In addition, by reducing multiple categories to one or more categories, for example, the log of communication data of an important category can be applied as a sampling log.

[0061] In addition, for example, the information processing device may also include the transmitter, which sends the sampled log to the server device according to the sampled log sending instruction output from the output device, and sends the complete log to the server device according to the complete log sending instruction output from the output device.

[0062] Thereby, the information processing device can send the sampling log and the complete log to the server device in a timely manner.

[0063] In addition, for example, the transmitter may also losslessly compress the sampling log according to the sampling log sending instruction output from the output device, and send the compressed sampling log to the server device, and losslessly compress the complete log according to the complete log sending instruction output from the output device, and send the compressed complete log to the server device.

[0064] As a result, the sampling log and the complete log are compressed and transmitted. Therefore, the information processing device can reduce the amount of monitoring target data transmitted from the vehicle-mounted system.

[0065] In addition, for example, the complete log and the sampling log may be generated by a log generator mounted on the vehicle, and the outputter may output the sampling log sending instruction for periodically sending the sampling log generated by the log generator from the transmitter to the server device, and when the acquirer obtains the anomaly detection result indicating that the communication data contains an anomaly, the outputter may output the complete log sending instruction for sending the complete log generated by the log generator from the transmitter to the server device.

[0066] Thereby, the information processing device can appropriately control the in-vehicle system so that the sampling log and the complete log generated in the in-vehicle system are transmitted from the in-vehicle system to the server device.

[0067] In addition, for example, the sampling log may be a log of the communication data in multiple sampling periods, the multiple sampling periods are periods in multiple sampling intervals that are respectively included in the multiple sampling intervals and are respectively the second time length, the multiple sampling intervals are respectively periods of a first time length, the second time length is shorter than the first time length, and the outputter also outputs a change indication to the log generator to change the first time length within a range longer than the second time length.

[0068] Thus, the information processing device can change the time length of the sampling interval associated with the sampling log. Therefore, the information processing device can make the sampling log include abnormalities that are not included in the fixed sampling interval.

[0069] In addition, for example, the output device may output the change instruction to the log generator to shorten the first time length within a range longer than the second time length when the acquirer acquires the abnormality detection result indicating that the communication data contains an abnormality.

[0070] Thus, the information processing device can increase the data volume of the sampling log after the abnormality occurs. In addition, the information processing device can include the abnormality that is not included in the long sampling interval in the sampling log.

[0071] Furthermore, for example, when the acquirer does not acquire the abnormality detection result indicating that the communication data includes an abnormality, the output device may output the change instruction to extend the first time length to the log generator.

[0072] Thereby, the information processing device can reduce the data volume of the sampling log when there is no abnormality.

[0073] In addition, for example, the first time length may be determined for each category of a plurality of categories related to the communication data, and the outputter, when the acquirer obtains the anomaly detection result indicating that the communication data contains an anomaly for one category among the plurality of categories, outputs to the log generator the change indication for shortening the first time length for the one category within a range longer than the second time length.

[0074] Thereby, the information processing device can increase the data volume of the sampling log for each category after the abnormality occurs.

[0075] In addition, for example, it may also be that the first time length is determined for each category of a plurality of categories related to the communication data, and the outputter, when the acquirer obtains the anomaly detection result indicating that the communication data contains an anomaly for one of the plurality of categories, outputs to the log generator the change indication for shortening the first time length within a range longer than the second time length for each of the plurality of categories.

[0076] Thus, the information processing device can increase the data volume of the sampling log after the abnormality occurs, regardless of the type. Therefore, the information processing device can include detailed information in the sampling log after the abnormality occurs, regardless of the type.

[0077] Furthermore, for example, when the acquirer does not acquire the abnormality detection result indicating that the communication data includes an abnormality, the output device may output the change instruction to extend the shortened first time length to the log generator.

[0078] Thereby, the information processing device can reduce the increased amount of data without abnormality.

[0079] Furthermore, for example, the output device may output the change instruction to the log generator to randomly change the first time length within a range longer than the second time length.

[0080] As a result, the information processing device can make it difficult to analyze the sampling interval. Therefore, the information processing device can suppress the phenomenon that anomalies due to illegal data are not included in the sampling log.

[0081] Furthermore, for example, the output device may output the change instruction to the log generator to linearly change the first time length within a range longer than the second time length.

[0082] This allows the information processing device to make various changes to the sampling interval. Therefore, the information processing device can appropriately include abnormalities and the like that are not included in the fixed sampling interval in the sampling log.

[0083] In addition, for example, the acquirer may also acquire a change indication of the first time length from the server device as an external indication, and the outputter may output the change indication to the log generator to change the first time length within a range longer than the second time length based on the external indication acquired by the acquirer from the server device.

[0084] As a result, the information processing device can change the sampling interval according to the instruction obtained from the server device. Therefore, centralized control of the sampling interval can be achieved.

[0085] In addition, for example, the complete log may be a log of the communication data of multiple categories, the sampling log may be a log of the communication data of more than one category among the multiple categories, and the outputter may output determination information that determines the more than one category to the log generator.

[0086] Thus, the amount of data in the sampling log is appropriately reduced. Therefore, the amount of data of the monitoring object data sent from the vehicle-mounted system is appropriately reduced. In addition, by reducing multiple categories to more than one category, for example, a log of communication data of an important category can be applied as a sampling log. In addition, the information processing device can specify an appropriate category to be applied to the sampling log.

[0087] In addition, for example, the information processing device may further include the log generator, and the log generator may obtain the communication data from the in-vehicle network and generate the complete log and the sampling log based on the communication data.

[0088] Thereby, the information processing device can appropriately generate a sampling log and a complete log based on the communication data acquired from the in-vehicle network.

[0089] In addition, an information processing method of an embodiment of the present disclosure is an information processing method performed by an information processing device mounted on a vehicle, comprising: an acquisition step, obtaining an anomaly detection result of whether the communication data in the vehicle-mounted network of the vehicle contains an anomaly from an anomaly detector; and an output step, outputting a sampling log sending instruction, the sampling log sending instruction causing a sampling log to be periodically sent from a transmitter mounted on the vehicle to a server device disposed outside the vehicle, the sampling log being a log of two types of logs of the communication data having a smaller amount of data generated per unit time than the other log, and in the output step, further, in a case where the anomaly detection result indicating that the communication data contains an anomaly is obtained in the acquisition step, a complete log sending instruction is output, the complete log sending instruction causing a complete log to be sent from the transmitter to the server device, the complete log being a log of the two types of logs having a larger amount of data generated per unit time than the sampling log.

[0090] Thus, a sampling log with a relatively small amount of data is periodically sent from the transmitter mounted on the vehicle to the server device, and a complete log with a relatively large amount of data is sent in an abnormal situation. In addition, the server device installed outside the vehicle can monitor and analyze the sampling log and the complete log using sufficient processing power that is not restricted by the requirements for vehicle use. Therefore, the information processing device that performs the information processing method can maintain an appropriate monitoring level and can reduce the amount of monitoring object data sent from the vehicle-mounted system.

[0091] Furthermore, these general or specific technical solutions can be implemented through systems, devices, methods, integrated circuits, computer programs, or non-transitory recording media such as computer-readable CD-ROMs, or through any combination of systems, devices, methods, integrated circuits, computer programs, and recording media.

[0092] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. In addition, the embodiments to be described below all represent general or specific examples. The numerical values, shapes, materials, constituent elements, configuration positions of constituent elements, connection methods, steps, order of steps, etc. shown in the following embodiments are examples and are not intended to limit the claims. In addition, the constituent elements in the following embodiments that are not recorded in the independent claims representing the highest concept are described as arbitrary constituent elements.

[0093] (Implementation Method)

[0094] [Multi-layered defense and remote monitoring]

[0095] Figure 1 It is a block diagram showing the configuration of the safety system in this embodiment. Figure 1 The safety system 100 shown includes a server device 300 and an in-vehicle system 410. The in-vehicle system 410 is a system mounted on a vehicle 400 and includes a safety ECU 440 and other ECUs 451 and 452. ECU is an electronic control unit, also called an engine control unit.

[0096] In the vehicle 400, the vehicle system 410 performs 4 layers of multi-layer defense. The first layer is the defense in the external vehicle communication device. The external vehicle communication device authenticates the communication destination and encrypts the communication according to the situation. The external vehicle communication device is a head-up display 421, a telematics communication unit (TCU: Telematics Communication Unit) 422, a V2X module 423, or an OBD (On-Board Diagnostics: vehicle diagnostics) module 424, etc.

[0097] For example, the head-up display 421 communicates with a BLUETOOTH (registered trademark) device or a USB device, etc. The telematics communication unit 422 communicates with an external server, etc. The V2X module 423 communicates with infrastructure, etc. The OBD module 424 communicates with a diagnostic device outside the vehicle, etc.

[0098] In addition, an off-vehicle communication device with sufficient computing resources, such as the head-up display 421, not only performs authentication and encryption, but also confirms the communication data received from outside the vehicle and filters only the pre-approved data to pass, thereby preventing the intrusion of illegal data.

[0099] The second layer is the defense in the gateway device 430. The gateway device 430 is also called a network gateway, and connects the network to which the external communication equipment is connected to the control system network installed in the vehicle 400. The control system network is also called an in-vehicle network, specifically CAN. The gateway device 430 confirms the communication data received from outside the vehicle and filters only the pre-approved data to be forwarded to the control system network, thereby preventing the intrusion of illegal data.

[0100] The third layer is the defense in the safety ECU 440 configured in the control system network. The safety ECU 440 monitors the communication data circulating in the control system network, and determines and invalidates the illegal data based on the format, cycle, and value change of the communication data. For example, the safety ECU 440 can also determine the illegal data by matching the communication data with a whitelist or rule. In addition, the safety ECU 440 can also use the CAN error frame to invalidate the illegal data.

[0101] The fourth layer is the defense in ECU451 and 452. ECU451 and 452 are installed to be tamper-resistant. For example, ECU451 and 452 can check that the software program has not been tampered with by secure boot. In addition, ECU451 and 452 can also prevent tampering of the software program by using a software program generated by secure coding or a software program with obfuscated source code.

[0102] Furthermore, in addition to the multi-layered defense in the vehicle-mounted system 410 , the security system 100 also performs remote monitoring of the vehicle 400 in the server device 300 .

[0103] For example, due to the upgrade of the intrusion method of illegal data, there is a possibility that illegal data can penetrate multiple layers of defense and invade. In view of this, the server device 300 can also detect illegal data that penetrates multiple layers of defense and invades. Moreover, new defense countermeasures can be applied, and warnings can be notified to the driver. In addition, even if illegal data is blocked by multiple layers of defense, detecting illegal access as an abnormality and grasping the trend of illegal access is also useful for preventing the invasion of new illegal data.

[0104] In view of this, for example, the server device 300 collects and analyzes the communication logs, which are logs of communication data in the vehicle network. Furthermore, the server device 300 outside the vehicle 400 can collect and analyze a large number of communication logs from not only one vehicle 400 but multiple vehicles. Furthermore, by obtaining communication logs from various vehicles in various regions, it is possible to uniformly grasp abnormalities of various vehicles. Therefore, it is possible to determine the region, time period, and vehicle model where illegal access is frequently performed.

[0105] In addition, the server device 300 outside the vehicle 400 is not restricted by the requirements for vehicle use and can have abundant computing resources. Therefore, the server device 300 outside the vehicle 400 can perform complex processing such as highly abnormal detection based on machine learning. Therefore, the server device 300 can detect illegal data, illegal access, or their signs, which cannot be detected by the vehicle-mounted system 410.

[0106] The server device 300 outside the vehicle 400 can perform a process corresponding to SIEM (Security Information Event Management) for collecting and analyzing information. This process can also be expressed as AutoSIEM (Automotive SIEM).

[0107] For example, there may be a SOC (Security Operation Center) and an ASIRT (Automotive Security Incident Response Team) as organizations operating the security system 100. The SOC is an organization that monitors the detection results in the server device 300, and the ASIRT is an organization that responds to abnormalities when abnormalities are detected.

[0108] And, for example, when an abnormality that is not detected by the multi-layer defense is detected in the server device 300, the ASIRT creates a new detection rule. And, the created new detection rule can also be distributed to the head-up display 421 and the safety ECU 440 through the server device 300.

[0109] The terminal device 200 connected to the server device 300 is a device that communicates with the server device 300 and is used in the SOC or ASIRT, etc. For example, the terminal device 200 receives an abnormality notification from the server device 300 .

[0110] [Data volume reduction]

[0111] As described above, the communication log is collected and analyzed by the server device 300. Therefore, the vehicle-mounted system 410 in the vehicle 400 uploads the communication log to the server device 300. The server device 300 stores and analyzes the uploaded communication log. In addition, for example, the SOC and ASIRT download the communication log from the server device 300 to the terminal device 200 for detailed analysis and evidence preservation. That is, the terminal device 200 downloads the communication log from the server device 300 according to the instructions of the SOC and ASIRT.

[0112] However, the larger the amount of data in the communication log uploaded to the server device 300 is, the more resources are used for communication, storage, and analysis.

[0113] For example, the bit rate of CAN is about 500Kbps to 1Mbps. Assuming that the bit rate of CAN is 500Kbps, the data volume of the CAN communication log is expected to reach 225MB per hour even if the system overhead such as additional information is removed. Furthermore, assuming that 10,000 vehicles upload communication logs to the server device 300, the data volume of the communication log uploaded to the server device 300 is expected to reach 2250GB per hour.

[0114] Therefore, the safety system 100 in this embodiment has a configuration that can reduce the amount of monitoring target data transmitted from the in-vehicle system 410 to the server device 300 while maintaining an appropriate monitoring level.

[0115] In addition, the operation log of each vehicle-mounted device in the vehicle-mounted system 410 may be sent as monitoring target data from the vehicle-mounted system 410 to the server device 300. In this embodiment, in particular, the communication log of the vehicle network is sent from the vehicle-mounted system 410 to the server device 300 as monitoring target data.

[0116] In the case of illegal access to the vehicle 400, there is a high possibility that illegal data circulates in the vehicle network. Therefore, the communication log is useful for monitoring the control for protecting the vehicle 400 from illegal access. On the other hand, it is expected that the data volume of the communication log of CAN, which is a vehicle network widely used in various vehicles, is large as described above. That is, the communication log is useful for monitoring, and its data volume is large.

[0117] In view of this, the security system 100 of this embodiment particularly reduces the amount of data in the communication log sent from the vehicle-mounted system 410 to the server device 300. In addition, the security system 100 can also reduce the amount of data in the operation log sent from the vehicle-mounted system 410 to the server device 300 using the same method.

[0118] The security system 100 uses three reduction methods for reducing the amount of monitoring target data transmitted from the vehicle-mounted system 410 to the server device 300. Here, the monitoring target data whose amount is reduced is specifically the communication log transmitted from the vehicle-mounted system 410 to the server device 300.

[0119] The first reduction method is category reduction. Specifically, among all categories of data frames circulating in CAN, only data frames of categories with high importance are included in the monitoring target data sent from the vehicle-mounted system 410 to the server device 300. For example, among various types of communication data circulating in CAN, communication data such as acceleration or braking is directly related to the behavior of the car, while communication data such as windows or wipers is not directly related to the behavior of the car.

[0120] In view of this, among various types of communication data circulating in CAN, only the communication data directly related to the behavior of the vehicle is included as the communication data with high importance in the monitoring target data transmitted from the vehicle-mounted system 410 to the server device 300. For example, when only 20 types of data directly related to the behavior of the vehicle are included in the monitoring target data among all 100 types of data circulating in CAN, it is estimated that about 80% of the data among all 100 types of data will be reduced. In addition, in CAN, the category corresponds to the ID included in the data frame.

[0121] The second reduction method is period extraction. Specifically, communication data in a plurality of sampling periods respectively included in a plurality of sampling intervals are included in the monitoring target data transmitted from the in-vehicle system 410 to the server device 300.

[0122] Figure 2 Yes means Figure 1 FIG. 1 is a schematic diagram of a sampling period used in the safety system 100. Figure 2In the example, sampling period T2 is shorter than sampling interval T1. Moreover, the communication data in sampling interval T1 and the communication data in sampling period T2 are included in the monitoring target data transmitted from the vehicle-mounted system 410 to the server device 300. Thus, the data amount is reduced by (1-T2 / T1)×100%.

[0123] The sampling period T2 may also be specified based on the minimum number of data frames used to detect anomalies in the server device 300. For example, when at least K data frames are used for the anomaly detection algorithm in the server device 300, the sampling period T2 is specified so that at least K data frames exist in the sampling period T2.

[0124] Specifically, when the abnormality detection algorithm determines the presence or absence of abnormality for each single data frame, the above K is 1. Therefore, in this case, a period corresponding to one cycle of the same type of data frame periodically circulated in CAN can be defined as the sampling period T2.

[0125] In addition, the sampling interval T1 is set to be shorter than the period during which the invasion of illegal data continues. For example, in CAN, each data frame that circulates once has a small impact on the vehicle 400, while a plurality of data frames that circulate continuously have a large impact on the vehicle 400. That is, a single invasion of illegal data has a small impact on the vehicle 400, while continuous invasion of illegal data has a large impact on the vehicle 400.

[0126] Therefore, for example, when the period of the invasion of illegal data is expected to be continuous for 5 seconds, the sampling interval T1 can be set to be shorter than 5 seconds. As a result, abnormal data circulated in the CAN due to the invasion of illegal data is included in the monitored data. In addition, when the period of the invasion of illegal data is expected to be long, the sampling interval T1 can be set to be long. Therefore, in this case, the effect of reducing the amount of data is large.

[0127] In the case where it is difficult to foresee that the invasion of illegal data continues, the sampling interval T1 can be changed dynamically. The sampling interval T1 can be changed randomly at the acquisition timing of the communication log, and can also be changed according to the vehicle model, region or category. As a result, the possibility that abnormal data circulated in the CAN due to the invasion of illegal data is included in the monitoring object data sent from the vehicle-mounted system 410 to the server device 300 increases.

[0128] Since the sampling interval T1 and the sampling period T2 are appropriately defined, abnormal data circulating in the CAN is included in the monitoring target data transmitted to the server device 300 , and the monitoring target data transmitted to the server device 300 is reduced.

[0129] The third reduction method is data compression. Specifically, the vehicle-mounted system 410 compresses the monitoring target data using a data compression method such as zip, gzip, or 7-Zip, thereby reducing the amount of the monitoring target data sent to the server device 300.

[0130] Regarding data compression, various data compression methods are installed in various software programs for personal computers and are widely used. For example, for binary files, data compression can reduce the amount of data by about 30-60%. For monitoring object data similar to binary files, it is also expected that data compression can reduce the amount of data. In fact, the monitoring object data was compressed and the amount of data was reduced by 69.4%.

[0131] Figure 3 yes Figure 1 FIG. 1 is a comparison diagram of a sampling log and a complete log used in the safety system 100 shown in FIG. The sampling log and the complete log are communication logs of the CAN and are monitoring target data. The above three reduction methods are applied to the sampling log. That is, category reduction, period extraction, and data compression are applied to the sampling log. Only data compression among the above three reduction methods is applied to the complete log.

[0132] The sampling log contains only a part of the communication logs of the entire CAN communication log. Therefore, the data volume of the sampling log is relatively small. In addition, the sampling log can contain the minimum data for detecting anomalies contained in the communication data.

[0133] The complete log basically contains all the communication logs of CAN. Therefore, the data volume of the complete log is relatively large. However, the complete log can contain detailed information related to the communication data of CAN. That is, the complete log can show the anomalies contained in the communication data in detail.

[0134] The security system 100 can appropriately separate and use the two types of monitoring target data, the sampling log and the complete log. In other words, the security system 100 selectively uses the sampling log and the complete log.

[0135] Specifically, the security system 100 generates a sampling log for normal monitoring. Furthermore, the security system 100 periodically sends the sampling log from the vehicle-mounted system 410 to the server device 300. In addition, the security system 100 generates a complete log for detailed analysis and evidence preservation during abnormality detection. Furthermore, the security system 100 sends the complete log from the vehicle-mounted system 410 to the server device 300 during abnormality detection.

[0136] By sending a complete log when anomaly detection is performed, appropriate detailed analysis and evidence preservation can be achieved. On the other hand, since the frequency of abnormality occurrence is expected to be low, the amount of monitoring object data sent from the vehicle-mounted system 410 to the server device 300 can be approximated to the amount of sampling log data. Therefore, the amount of monitoring object data sent from the vehicle-mounted system 410 to the server device 300 is small. As a result, the reduction in monitoring level can be suppressed, and the amount of monitoring object data sent from the vehicle-mounted system 410 to the server device 300 can be reduced.

[0137] Figure 4 It means in Figure 1 The data structure diagram of the log format used in the security system 100 shown in FIG. The sample log and the complete log are Figure 4 The log format shown is sent from the in-vehicle system 410 to the server device 300 .

[0138] Specifically, vehicle ID, timestamp, length, version, and reserved are included in the head portion of the log format, and N groups consisting of flag, reserved, ID, DLC (data long code), timestamp, and data are included in the payload portion of the log format.

[0139] The vehicle ID in the header part is an identifier for identifying the vehicle 400 from a plurality of vehicles. The timestamp in the header part indicates the time when the communication log is sent as a sample log or a complete log. The length in the header part indicates the length of the payload part. The version in the header part indicates the version of the log format. The reserved in the header part is an unused area in the header part.

[0140] The flag in the payload portion indicates whether the data in the group containing the flag is the data of the earliest frame in the sampling period. In other words, the flag indicates whether the previous data is missing. The flag may also indicate whether the data in the group containing the flag is the data of the earliest frame in the same category and the same sampling period.

[0141] The reserved area in the payload part is an unused area in the payload part. The ID in the payload part is the ID in the CAN frame, indicating the type of communication data. The DLC in the payload part is the DLC in the CAN frame, indicating the length of the data in the payload part. The timestamp in the payload part indicates the time when the CAN frame is obtained from the CAN vehicle network, that is, the sampling time. The data in the payload part is the data in the CAN frame.

[0142] The sample log and the complete log may also include an identification mark for identifying the sample log or the complete log. For example, such an identification mark is included in the header part of the log format.

[0143] The inventor evaluated the reduction amount of the monitored object data based on the sampling log and the complete log as described above. Specifically, the data volume of the communication log, the sampling log, and the complete log was measured for the actual communication data of CAN for 1 minute, and the reduction amount was evaluated. The communication log in the evaluation is a log whose data volume has not been reduced, which is the same as the complete log before compression. The data volume of the communication log is 1158KB.

[0144] First, category reduction was applied. Specifically, among the approximately 100 types of communication data in CAN, four types of communication data, namely steering, acceleration, braking, and vehicle speed, which are closely related to vehicle control, were used to generate sampling logs. Moreover, the data volume of the sampling log after category reduction was 200KB. In other words, compared with the data volume of the original communication log, the data volume was reduced by 82.7%.

[0145] Next, in addition to the reduction of categories, the period extraction was applied. At this time, the length of the sampling period was fixed at 72 ms, and the data volume of the communication data sampling log was measured while changing the length of the sampling interval.

[0146] Figure 5 is a graph showing the relationship between the sampling interval and the amount of data in the sampling log. Figure 5 In this way, the sampling interval and the amount of data in the sampling log have a relationship that the longer the sampling interval, the smaller the amount of data in the sampling log. In this evaluation, a sampling interval of 1 second was finally adopted. As a result, the amount of data in the sampling log after the period extraction was applied was 14.4KB. That is, from 200KB to 14.4KB, the amount of data was reduced by 92.8%.

[0147] In addition, data compression was applied. Specifically, seven compression methods, zip, cab, gzip, bzip2, lzh, and 7-Zip, were used to compress the sampled logs, and the amount of data after compression was compared.

[0148] Figure 6 is a comparison chart showing the amount of data before and after compression. Here, the first to fourth types correspond to the four types of steering, acceleration, braking, and vehicle speed. Figure 6 As shown in the figure, the compression method with the highest compression effect is 7-Zip, and the data volume of the sample log after 7-Zip compression is 4.4KB. In other words, the data volume is reduced by 69.4% from 14.4KB to 4.4KB.

[0149] In addition, in the second and fourth types of data, the values ​​of 0 are continuous compared to the first and third types of data. Therefore, it is estimated that a high compression effect is obtained in the second and fourth types of data.

[0150] By reducing the categories, extracting the periods, and compressing them, a sample log of 4.4KB was finally generated, which means that the data volume was reduced by 99.6% from 1158KB to 4.4KB.

[0151] The data volume of the communication log after 7-Zip compression, more specifically, the data volume of the complete log after 7-Zip compression, is 462 KB. That is, the data volume of the complete log is reduced by 60.1% from 1158 KB to 462 KB.

[0152] As described above, the data volume of both the sampling log and the complete log is reduced, and the evaluation result is obtained that the data volume of the sampling log is reduced compared to the complete log. Since the sampling log is usually sent from the vehicle-mounted system 410 to the server device 300, the data volume of the monitoring target data sent from the vehicle-mounted system 410 to the server device 300 is expected to be appropriately reduced.

[0153] [yBasic structure]

[0154] Next, a basic configuration for reducing the amount of monitoring target data transmitted from the in-vehicle system 410 while maintaining an appropriate monitoring level will be described.

[0155] Figure 7 4 is a block diagram showing a basic configuration of the safety ECU 440 in the present embodiment. The safety ECU 440 is an example of an information processing device mounted on the vehicle 400. The safety ECU 440 includes an acquirer 441 and an outputter 442.

[0156] The acquirer 441 acquires information. Specifically, the acquirer 441 acquires the abnormality detection result of whether the communication data in the vehicle network of the vehicle 400 includes abnormality from the abnormality detector 510 .

[0157] The output device 442 outputs information. Specifically, the output device 442 outputs a sampling log transmission instruction for periodically transmitting the sampling log from the transmitter 530 mounted on the vehicle 400 to the server device 300 outside the vehicle 400. In addition, when an abnormality detection result indicating that the communication data contains an abnormality is obtained, the output device 442 outputs a complete log transmission instruction for transmitting the complete log from the transmitter 530 to the server device 300.

[0158] Here, the sampling log is a log of the two types of communication data logs that has a smaller amount of data generated per unit time than the other log, and the complete log is a log of the two types of communication data logs that has a larger amount of data generated per unit time than the sampling log.

[0159] For example, a complete log may be a log of communication data of multiple categories. Furthermore, a sampling log may be a log of communication data of one or more categories less than the multiple categories involved in a complete log.

[0160] In addition, the sampling log may also be a log of communication data contained in a plurality of sampling periods of the plurality of sampling intervals, wherein the plurality of sampling intervals are respectively periods of a first time length, and the plurality of sampling periods are respectively periods of a second time length shorter than the first time length.

[0161] In addition, the sampling log can indicate, for each frame constituting the communication data in multiple sampling periods: (i) the sampling time of the frame; (ii) whether the frame is the earliest frame; and (iii) the data of the frame. Here, whether the frame is the earliest frame refers to, for example, whether the frame is the earliest frame in one or more frames in the same sampling period as the frame.

[0162] In addition, the sampling log may indicate, for each of a plurality of frames constituting communication data of one or more categories during a plurality of sampling periods: (i) the sampling time of the frame; (ii) whether the frame is the earliest frame; and (iii) the data of the frame. Here, whether the frame is the earliest frame refers to, for example, whether the frame is the earliest frame among one or more frames having the same frame category and sampling period.

[0163] In addition, for example, the log generator 520 obtains communication data from the vehicle network and generates a complete log and a sample log based on the communication data. The log generator 520 is not limited to obtaining communication data directly from the vehicle network, and can also obtain communication data indirectly from the vehicle network via other devices. For example, the log generator 520 can obtain communication data from the vehicle network via a memory storing communication data. In addition, the log generator 520 can also be included in the safety ECU 440.

[0164] Furthermore, the output unit 442 may output a sampling log sending instruction for periodically sending the sampling log generated by the log generator 520 from the transmitter 530 to the server device 300. Furthermore, when an abnormality detection result indicating that the communication data contains an abnormality is obtained, the output unit 442 may output a complete log sending instruction for sending the complete log generated by the log generator 520 from the transmitter 530 to the server device 300.

[0165] In addition, the output device 442 may output, to the log generator 520 , a change instruction to change the first time length associated with the sampling interval within a range longer than the second time length associated with the sampling period.

[0166] For example, when an abnormality detection result indicating that the communication data contains an abnormality is obtained, the output device 442 may output a change instruction to shorten the first time length within a range longer than the second time length to the log generator 520. Furthermore, when an abnormality detection result indicating that the communication data contains an abnormality is not obtained, the output device 442 may output a change instruction to extend the first time length to the log generator 520.

[0167] In addition, for example, the first time length may be determined for each of a plurality of categories involved in the communication data. Furthermore, when an abnormality detection result indicating that the communication data contains an abnormality is obtained for one category, the output device 442 may output to the log generator 520 a change instruction for shortening the first time length within a range longer than the second time length for the category.

[0168] Alternatively, when an abnormality detection result indicating that the communication data contains an abnormality for one category is obtained, the output unit 442 may output a change instruction to shorten the first time length within a range longer than the second time length for each of the multiple categories to the log generator 520. That is, in this case, the output unit 442 may output a change instruction to shorten the first time length within a range longer than the second time length for all categories to the log generator 520.

[0169] Furthermore, when the abnormality detection result indicating that the communication data contains an abnormality is not obtained, the output unit 442 may output a change instruction to extend the shortened first time length to the log generator 520 .

[0170] In addition, for example, the output device 442 may also output a change instruction to the log generator 520 to randomly change the first time length within a range longer than the second time length. In addition, the output device 442 may also output a change instruction to the log generator 520 to linearly change the first time length within a range longer than the second time length.

[0171] In addition, for example, the acquirer 441 may acquire a change instruction of the first time length as an external instruction from the server device 300. Furthermore, the outputter 442 may output a change instruction to the log generator 520 to change the first time length within a range longer than the second time length based on the external instruction acquired from the server device 300.

[0172] In addition, for example, the output device 442 may output identification information for identifying one or more categories involved in the sampling log to the log generator 520 .

[0173] In addition, the abnormality detector 510 may be included in the server device 300. Furthermore, the acquirer 441 may acquire the abnormality detection result from the abnormality detector 510 included in the server device 300.

[0174] In addition, the abnormality detector 510 may be included in the safety ECU 440. Furthermore, the abnormality detector 510 may obtain communication data from the vehicle network and determine whether the communication data contains an abnormality. The abnormality detector 510 is not limited to obtaining communication data directly from the vehicle network, and may also obtain communication data indirectly from the vehicle network via other devices. For example, the abnormality detector 510 may obtain a complete log generated based on the communication data of the vehicle network as communication data via the log generator 520.

[0175] For example, the transmitter 530 transmits the sampled log to the server device 300 according to the sampled log transmission instruction output from the output device 442, and transmits the complete log to the server device 300 according to the complete log transmission instruction output from the output device 442. The transmitter 530 may be included in the safety ECU 440.

[0176] In addition, the transmitter 530 may losslessly compress the sampled log according to the sampled log sending instruction output from the output device 442, and send the compressed sampled log to the server device 300. In addition, the transmitter 530 may losslessly compress the complete log according to the complete log sending instruction output from the output device 442, and send the compressed complete log to the server device 300.

[0177] In addition, the output device 442 can periodically send the sampling log from the transmitter 530 to the server device 300 by periodically outputting a sampling log sending instruction for periodically sending the sampling log from the transmitter 530 to the server device 300. Alternatively, the output device 442 can also periodically send the sampling log from the transmitter 530 to the server device 300 by outputting the sampling log sending instruction for periodically sending the sampling log from the transmitter 530 to the server device 300 as a single instruction.

[0178] In addition, for example, when it is determined that the communication data contains an abnormality, the abnormality detector 510 sends an abnormality detection result indicating that the communication data contains an abnormality, and the acquirer 441 can acquire the sent abnormality detection result. In addition, when it is determined that the communication data does not contain an abnormality, the abnormality detector 510 does not send the abnormality detection result, and the acquirer 441 does not acquire the abnormality detection result. Alternatively, in this case, the abnormality detector 510 may also send an abnormality detection result indicating that the communication data does not contain an abnormality, and the acquirer 441 acquires the sent abnormality detection result.

[0179] In addition, the acquirer 441 and the outputter 442 may be dedicated or general circuits. Furthermore, the safety ECU 440, the abnormality detector 510, the log generator 520, the transmitter 530, and the server device 300 may also be composed of circuits. Specifically, these may also be computers.

[0180] As described above, the abnormality detector 510, the log generator 520, and the transmitter 530 may be included in the safety ECU 440. The acquirer 441 may acquire information from a device inside the safety ECU 440, and the outputter 442 may output information to a device inside the safety ECU 440.

[0181] In addition, the anomaly detector 510, the log generator 520, and the transmitter 530 may also be ECUs connected to the vehicle network. Figure 1 The telematics communication unit 422, V2X module 423 or gateway device 430 shown are corresponding devices. The acquirer 441 can acquire information from a device external to the safety ECU 440 via the vehicle network, and the outputter 442 can output information to a device external to the safety ECU 440 via the vehicle network.

[0182] Furthermore, the acquirer 441 may acquire information from a device external to the safety ECU 440 via a network different from the in-vehicle network. Furthermore, the outputter 442 may output information to a device external to the safety ECU 440 via a network different from the in-vehicle network.

[0183] Figure 8 4 is a block diagram showing a basic configuration of a server device 300 in the present embodiment. The server device 300 is an example of an information processing device provided outside the vehicle 400. The server device 300 includes an acquirer 301, a determiner 302, and an outputter 303.

[0184] The acquirer 301 acquires information. Specifically, the acquirer 301 acquires a sampling log from an in-vehicle system 410 of the vehicle 400 .

[0185] The determiner 302 performs determination processing. Specifically, the determiner 302 uses the sampling log to determine whether the communication data contains an abnormality.

[0186] Specifically, when determining that the communication data contains an abnormality, the output device 303 outputs an abnormality detection result indicating that the communication data contains an abnormality to the in-vehicle system 410 as a transmission instruction to transmit the complete log from the in-vehicle system 410 to the server device 300 .

[0187] As described above, the sampling log is a log of the two types of communication data in the vehicle network of the vehicle 400, which has a smaller amount of data generated per unit time than the other log. The complete log is a log of the two types of communication data in the vehicle network, which has a larger amount of data generated per unit time than the sampling log.

[0188] In addition, for example, the complete log may be a log of communication data of multiple categories. Furthermore, the sampling log may be a log of communication data of one or more categories less than the multiple categories involved in the complete log.

[0189] In addition, the sampling log may be a log of communication data in a plurality of sampling periods of the plurality of sampling intervals, respectively, in the plurality of sampling intervals. Here, the plurality of sampling intervals are respectively periods of a first time length. In addition, the plurality of sampling periods are respectively periods of a second time length shorter than the first time length.

[0190] The output device 303 may output a change instruction to change the first time length to a range longer than the second time length to the vehicle-mounted system 410 that generates the above-mentioned sampling log. For example, when it is determined that the communication data contains an abnormality, the output device 303 outputs a change instruction to shorten the first time length to a range longer than the second time length to the vehicle-mounted system 410. In addition, when it is determined that the communication data does not contain an abnormality, the output device 303 may output a change instruction to extend the first time length to the vehicle-mounted system 410.

[0191] In addition, for example, the first time length may be determined for each of a plurality of categories involved in the communication data. Furthermore, when it is determined that the communication data for one category contains an abnormality, the output device 303 may output to the in-vehicle system 410 a change instruction to shorten the first time length for the category within a range longer than the second time length.

[0192] Alternatively, when it is determined that the communication data contains an abnormality for one category, the output device 303 may output a change instruction to shorten the first time length within a range longer than the second time length for each of the plurality of categories to the vehicle-mounted system 410. That is, in this case, the output device 303 may output a change instruction to shorten the first time length within a range longer than the second time length for all categories to the vehicle-mounted system 410.

[0193] Furthermore, when it is determined that the communication data does not contain an abnormality, the output device 303 may output a change instruction to extend the shortened first time length to the in-vehicle system 410 .

[0194] Furthermore, the output device 303 may output the above-mentioned change instructions to a plurality of vehicle-mounted systems of a plurality of vehicles of the same model as the vehicle 400. Furthermore, the output device 303 may output the change instructions to a plurality of vehicle-mounted systems of a plurality of vehicles in the same region as the vehicle 400.

[0195] In addition, the sampling log indicates, for each frame constituting the communication data in a plurality of sampling periods: (i) the sampling time of the frame; (ii) whether the frame is the earliest frame; and (iii) the data of the frame. Here, whether the frame is the earliest frame refers to, for example, whether the frame is the earliest frame in one or more frames in the same sampling period as the frame.

[0196] Furthermore, when the frame is not the earliest frame among one or more frames having the same sampling period as the frame, the determiner 302 may determine whether the communication data contains an abnormality using at least one of a difference in sampling time and a difference in data.

[0197] Here, the difference in sampling time is the difference between the sampling time of the frame before the frame and the sampling time of the frame in one or more frames with the same sampling period as the frame. The difference in data is the difference between the data of the frame before and the data of the frame. Here, the previous frame is, for example, the immediately previous frame.

[0198] In addition, the sampling log indicates, for each of a plurality of frames constituting communication data of one or more categories in a plurality of sampling periods: (i) the sampling time of the frame; (ii) whether the frame is the earliest frame; and (iii) the data of the frame. Here, whether the frame is the earliest frame refers to, for example, whether the frame is the earliest frame among one or more frames having the same frame category and sampling period.

[0199] Furthermore, when the frame is not the earliest frame among one or more frames having the same frame type and sampling period, the determiner 302 may determine whether the communication data contains an abnormality using at least one of a difference in sampling time and a difference in data.

[0200] Here, the sampling time difference is the difference between the sampling time of the frame before the frame and the sampling time of the frame in one or more frames with the same frame type and sampling period. The data difference is the difference between the data of the frame before the frame and the data of the frame.

[0201] In addition, the acquirer 301 may acquire the complete log from the vehicle-mounted system 410 after sending the instruction output. Furthermore, the determiner 302 may also determine whether the communication data contains anomalies using the complete log.

[0202] In addition, when the communication data is determined to contain an abnormality using the sampling log, the output device 303 may output the abnormality detection result to the vehicle-mounted system 410. Furthermore, when the communication data is determined to contain an abnormality using the complete log, the output device 303 may not output the abnormality detection result to the vehicle-mounted system 410. That is, when the communication data is determined to contain an abnormality without obtaining the complete log, the output device 303 outputs the abnormality detection result to the vehicle-mounted system 410.

[0203] Furthermore, when it is determined that the communication data contains an abnormality, the output unit 303 may output the abnormality detection result to the terminal device 200 .

[0204] In addition, the acquirer 301 may acquire the compressed sampling log in the vehicle-mounted system 410 from the vehicle-mounted system 410 and decompress the compressed sampling log. Similarly, the acquirer 301 may acquire the compressed complete log in the vehicle-mounted system 410 from the vehicle-mounted system 410 and decompress the compressed complete log.

[0205] In addition, the acquirer 301, the determiner 302, and the outputter 303 may be dedicated or general-purpose circuits. Furthermore, the terminal device 200, the server device 300, and the vehicle-mounted system 410 may be composed of circuits. Specifically, these may be computers. In addition, the acquirer 301 may acquire information from a device outside the server device 300 via an external network, and the outputter 303 may also output information to a device outside the server device 300 via an external network.

[0206] In addition, for example, the average data volume of the sampled log generated per unit time is smaller than the average data volume of the complete log generated per unit time. The unit time may be 1 second, 1 minute, 1 hour, or the sampling interval involved in the sampled log.

[0207] [Specific example]

[0208] Fig. 9 It is a block diagram showing the configuration of a security system 100 in a specific example of the present embodiment.

[0209] In this specific example, the security system 100 includes a terminal device 200 , a server device 300 , a gateway device 430 , a security ECU 440 , and a plurality of ECUs 450 . Fig. 9 The security system 100, the terminal device 200, the server device 300, the gateway device 430, and the security ECU 440 shown correspond to Figure 1 In addition, Fig. 9 The plurality of ECUs 450 shown correspond to Figure 1 Multiple ECUs 451 and 452 are shown.

[0210] The gateway device 430, the safety ECU 440, and the plurality of ECUs 450 are connected to the vehicle network. The server device 300 is connected to the terminal device 200 and the external network. The server device 300 can be connected to the terminal device 200 via the external network. The external network and the vehicle network are connected to each other via the gateway device 430. The gateway device 430 relays the communication between the vehicle network and the external network.

[0211] For example, the gateway device 430 is connected to the external network via wireless. Figure 1 The telematics communication unit 422 or the V2X module 423 shown is connected to an external network. In addition, the external network can be a wireless communication network or a wired communication network.

[0212] The security ECU 440 , the server device 300 , and the terminal device 200 have a role of protecting the vehicle 400 and the in-vehicle network from unauthorized access.

[0213] The safety ECU 440 directly monitors the communication data in the vehicle network. The server device 300 performs remote monitoring by indirectly monitoring the communication data in the vehicle network. The terminal device 200 obtains the remote monitoring results from the server device 300. The terminal device 200 is used in monitoring organizations such as SOC or ASIRT.

[0214] Fig.10 Yes means Fig. 9 FIG. 1 is a block diagram of a modified structure of the security system 100 shown in FIG. Fig. 9 The gateway device 430 and the safety ECU 440 are integrated. In addition, the safety system 100 includes a safety gateway device 460 that integrates the gateway device 430 and the safety ECU 440 .

[0215] Furthermore, the security gateway device 460 may be the security ECU 440 including the gateway device 430 , or may be the gateway device 430 including the security ECU 440 .

[0216] Fig.11 Yes means Fig. 9 The safety ECU 440 is a block diagram of the structure of the safety ECU 440 shown in FIG. The safety ECU 440 includes a sampling log generator 443, a complete log generator 444, an abnormality detector 445, an abnormal data invalidator 446, a storage 447, and a communicator 448. These components play a role in Figure 7 The functions of the acquirer 441, outputter 442, anomaly detector 510, log generator 520, and transmitter 530 are shown.

[0217] The sampling log generator 443 acquires communication data in the in-vehicle network via the communicator 448 , generates a sampling log of the acquired communication data, and stores the generated sampling log in the storage 447 .

[0218] The complete log generator 444 obtains communication data in the vehicle network via the communicator 448 , generates a complete log of the obtained communication data, and stores the generated complete log in the storage 447 .

[0219] The anomaly detector 445 obtains the communication data in the vehicle network via the communicator 448 and determines whether the obtained communication data contains an anomaly. The anomaly detector 445 can determine whether the communication data contains an anomaly by determining whether the complete log stored in the storage 447 contains an anomaly. Alternatively, the anomaly detector 445 can also simply determine whether the communication data contains an anomaly by determining whether the sampling log stored in the storage 447 contains an anomaly.

[0220] When it is determined that the communication data contains an abnormality, the abnormal data invalidator 446 invalidates the abnormal communication data. Specifically, the abnormal data invalidator 446 may output a CAN error frame to the vehicle network via the communicator 448 to thereby invalidate the abnormal communication data.

[0221] The storage 447 stores the sample log generated by the sample log generator 443 and the complete log generated by the complete log generator 444. For example, the storage 447 is constituted by a memory.

[0222] The communicator 448 acquires information from the in-vehicle network and outputs information to the in-vehicle network, thereby communicating with the plurality of ECUs 450 and the gateway device 430 . The communicator 448 can also communicate with the server device 300 and the like via the gateway device 430 .

[0223] also, Figure 7 The obtainer 441 , the outputter 442 , and the transmitter 530 shown may be included in the communicator 448 . Figure 7 The anomaly detector 510 shown may be included in the anomaly detector 445 . Figure 7 The log generator 520 shown may be composed of a sampling log generator 443 , a complete log generator 444 , and a storage 447 .

[0224] For example, in the communicator 448, the outputter 442 may output a transmission instruction for periodically transmitting the sample log to the transmitter 530. Furthermore, the acquirer 441 included in the communicator 448 may acquire an abnormality detection result of whether the communication data contains an abnormality from the abnormality detector 445. Furthermore, in the communicator 448, when the abnormality detection result indicating that the communication data contains an abnormality is acquired, the outputter 442 may output a transmission instruction for transmitting the complete log to the transmitter 530.

[0225] In addition, for example, the output unit 442 included in the communicator 448 may output an instruction related to the sampling interval or category to the sampling log generator 443 constituting the log generator 520 .

[0226] Figure 7 The components shown and Fig.11 The above relationship between the components shown is an example, and these relationships are not limited to the above example. Figure 7 The acquirer 441 and the outputter 442 shown may also be included in the abnormality detector 445. In the abnormality detector 445, the acquirer 441 may acquire the abnormality detection result of whether the communication data contains abnormality from the abnormality detector 510 that determines whether the communication data contains abnormality.

[0227] Fig.12 Yes means Fig.10 The block diagram of the structure of the security gateway device 460 shown in FIG. The security gateway device 460 includes a sampling log generator 463, a complete log generator 464, an anomaly detector 465, an abnormal data invalidator 466, a storage 467, a forwarding processor 469, an external vehicle communicator 470, and an internal vehicle communicator 471. These components play a role in Figure 7 The functions of the acquirer 441, outputter 442, anomaly detector 510, log generator 520, and transmitter 530 are shown.

[0228] in addition, Fig.12 The sampling log generator 463, the complete log generator 464, the anomaly detector 465, the anomaly data invalidator 466 and the storage 467 are respectively Fig.11 The sampling log generator 443, the complete log generator 444, the anomaly detector 445, the anomaly data invalidator 446 and the storage 447 are the same components.

[0229] The forwarding processor 469 obtains information from the outside of the vehicle 400 via the vehicle exterior communicator 470, and outputs the information via the vehicle interior communicator 471, thereby forwarding the information from the outside to the inside of the vehicle 400. In addition, the forwarding processor 469 obtains information from the inside of the vehicle 400 via the vehicle interior communicator 471, and outputs the information to the outside of the vehicle 400 via the vehicle exterior communicator 470, thereby forwarding the information from the inside of the vehicle 400 to the outside.

[0230] The vehicle exterior communicator 470 communicates with the server device 300 or the like outside the vehicle 400 via an external network, for example. The vehicle interior communicator 471 communicates with the plurality of ECUs 450 or the like inside the vehicle 400 via an in-vehicle network. The vehicle exterior communicator 470 and the vehicle interior communicator 471 play the same role as the communicator 448 of the safety ECU 440.

[0231] In addition, the operations of the safety ECU 440 described below may be performed by the safety gateway device 460 . For example, the operations performed by the communicator 448 of the safety ECU 440 may be performed by the external vehicle communicator 470 or the internal vehicle communicator 471 of the safety gateway device 460 .

[0232] Also, as an example, Figure 7 The obtainer 441 , the outputter 442 , and the transmitter 530 shown may be included in the off-vehicle communicator 470 . Figure 7 The anomaly detector 510 shown may be included in the anomaly detector 465 . Figure 7 The log generator 520 shown may be composed of a sampling log generator 463 , a complete log generator 464 , and a storage 467 .

[0233] Fig.13 Yes means Fig. 9 The server device 300 is a block diagram of the structure of the server device 300 shown in FIG. The server device 300 includes a sampling log processor 343, a complete log processor 344, an anomaly detector 345, an anomaly notifier 346, a storage 347, and a communicator 348. These components play a role in Figure 8 The functions of the acquirer 301, the determiner 302, and the outputter 303 are shown.

[0234] The sampling log processor 343 obtains the sampling log via the communicator 348 , and stores the obtained sampling log in the storage 347 .

[0235] The complete log processor 344 obtains the complete log via the communicator 348 , and stores the obtained complete log in the storage 347 .

[0236] The anomaly detector 345 determines whether the communication data contains an anomaly by determining whether the sampling log or the complete log stored in the storage 347 contains an anomaly.

[0237] When determining that the communication data includes an abnormality, the abnormality notifier 346 transmits an abnormality notification to the terminal device 200 and the safety ECU 440 via the communicator 348 .

[0238] The storage 347 stores the sample log acquired by the sample log processor 343 and the complete log acquired by the complete log processor 344. For example, the storage 347 is constituted by a memory.

[0239] The communicator 348 communicates with the safety ECU 440 and the like via, for example, an external network. In addition, the communicator 348 communicates with the terminal device 200 .

[0240] Furthermore, as an example, Figure 8 The obtainer 301 and the outputter 303 shown may be included in the communicator 348 . Figure 8 The illustrated determiner 302 may be included in an anomaly detector 345 .

[0241] Fig.14 It means Fig. 9 FIG. 1 is a timing diagram of operations associated with sending a sampling log in the security system 100 .

[0242] First, the communicator 448 of the safety ECU 440 obtains communication data from the vehicle network (S101). Next, the sampling log generator 443 of the safety ECU 440 records the sampling log in the storage 447 based on the communication data obtained from the vehicle network (S102). In addition, the complete log generator 444 of the safety ECU 440 records the complete log in the storage 447 based on the communication data obtained from the vehicle network (S103).

[0243] Furthermore, the abnormality detector 445 of the safety ECU 440 performs abnormality detection processing based on the communication data obtained from the in-vehicle network (S104). That is, the abnormality detector 445 of the safety ECU 440 determines whether the communication data obtained from the in-vehicle network contains abnormality.

[0244] When no abnormality is detected, that is, when it is determined that the communication data obtained from the vehicle network does not contain an abnormality, the communicator 448 of the safety ECU 440 periodically sends the sampling log (S105). For example, the communicator 448 of the safety ECU 440 compresses the sampling log recorded in the storage 447 and sends the compressed sampling log to the server device 300.

[0245] The communicator 348 of the server device 300 obtains the sampling log from the safety ECU 440. Furthermore, the sampling log processor 343 of the server device 300 records the sampling log obtained from the safety ECU 440 in the storage 347. For example, the sampling log processor 343 of the server device 300 decompresses the compressed sampling log and records the decompressed sampling log in the storage 347.

[0246] Then, the anomaly detector 345 of the server device 300 performs an anomaly detection process (S106) based on the sampling log recorded in the storage 347. That is, the anomaly detector 345 of the server device 300 determines whether the communication data in the vehicle network contains an anomaly by determining whether the sampling log contains an anomaly.

[0247] Fig.15 It means Fig. 9 , etc. are timing diagrams of operations related to abnormality detection processing performed by the server device 300 shown in FIG.

[0248] When an abnormality is detected in the abnormality detection process (S106) performed by the server device 300, the abnormality notifier 346 of the server device 300 transmits an abnormality notification via the communicator 348. That is, when it is determined from the sampling log that the communication data in the vehicle network contains an abnormality, the abnormality notifier 346 of the server device 300 transmits the abnormality notification via the communicator 348.

[0249] For example, the abnormality notification device 346 of the server device 300 transmits the abnormality notification to the terminal device 200 via the communicator 348 (S107). Then, the terminal device 200 obtains the abnormality notification from the server device 300, and notifies the monitoring organization of the abnormality.

[0250] Furthermore, the abnormality notification device 346 of the server device 300 transmits the abnormality notification to the safety ECU 440 via the communicator 348 (S108). Then, the communicator 448 of the safety ECU 440 acquires the abnormality notification and notifies the driver of the abnormality (S109).

[0251] For example, the communicator 448 of the safety ECU 440 notifies the driver of the abnormality via the notification interface by outputting the abnormality notification to the ECU 450 having a notification interface such as a display or a speaker. Alternatively, if the safety ECU 440 has a notification interface, the safety ECU 440 may notify the driver of the abnormality via the notification interface of the safety ECU 440.

[0252] When receiving the abnormality notification, the communicator 448 of the safety ECU 440 transmits the complete log to the server device 300 ( S110 ). For example, the communicator 448 of the safety ECU 440 compresses the complete log recorded in the storage 447 and transmits the compressed complete log to the server device 300 .

[0253] Furthermore, the communicator 348 of the server device 300 obtains the complete log from the security ECU 440. Furthermore, the complete log processor 344 of the server device 300 records the complete log obtained from the security ECU 440 in the storage 347. For example, the complete log processor 344 of the server device 300 decompresses the compressed complete log and records the decompressed complete log in the storage 347.

[0254] The anomaly detector 345 of the server device 300 performs an anomaly detection process (S111) based on the complete log recorded in the storage 347. That is, the anomaly detector 345 of the server device 300 determines whether the communication data in the vehicle network contains an anomaly by determining whether the complete log contains an anomaly.

[0255] Furthermore, the communicator 348 of the server device 300 transmits the result of the abnormality detection process to the terminal device 200 (S112). The abnormality notifier 346 of the server device 300 may transmit an abnormality notification as the result of the abnormality detection process to the terminal device 200 via the communicator 348. The terminal device 200 obtains the result of the abnormality detection process from the server device 300, and notifies the monitoring organization of the result of the abnormality detection process.

[0256] Furthermore, the terminal device 200 is operated by the monitoring organization to perform detailed analysis related to the abnormality (S113). In addition, the terminal device 200 is operated by the monitoring organization to perform evidence preservation (S114). The terminal device 200 can download the complete log from the server device 300 for detailed analysis and evidence preservation.

[0257] Fig.16 It means Fig. 9 , etc. are timing charts of operations related to abnormality detection processing performed by the safety ECU 440.

[0258] When an abnormality is detected in the abnormality detection process (S104) performed by the safety ECU 440, the communicator 448 of the safety ECU 440 notifies the driver of the abnormality (S131). That is, when it is determined that the communication data obtained from the vehicle network contains an abnormality, the communicator 448 of the safety ECU 440 notifies the driver of the abnormality.

[0259] For example, the communicator 448 of the safety ECU 440 notifies the driver of the abnormality via the notification interface by outputting the abnormality notification to the ECU 450 having the notification interface. Alternatively, if the safety ECU 440 has the notification interface, the safety ECU 440 may notify the driver of the abnormality via the notification interface of the safety ECU 440.

[0260] Then, the communicator 448 of the safety ECU 440 transmits the complete log ( S132 ). For example, the communicator 448 of the safety ECU 440 compresses the complete log recorded in the storage 447 , and transmits the compressed complete log to the server device 300 .

[0261] Furthermore, the communicator 348 of the server device 300 obtains the complete log from the security ECU 440. Furthermore, the complete log processor 344 of the server device 300 records the complete log obtained from the security ECU 440 in the storage 347. For example, the complete log processor 344 of the server device 300 decompresses the compressed complete log and records the decompressed complete log in the storage 347.

[0262] Furthermore, the anomaly detector 345 of the server device 300 performs an anomaly detection process (S133) based on the complete log recorded in the storage 347. That is, the anomaly detector 345 of the server device 300 determines whether the communication data in the vehicle network contains an anomaly by determining whether the complete log contains an anomaly.

[0263] Furthermore, when an abnormality is detected, that is, when it is determined based on the complete log that the communication data in the vehicle network contains an abnormality, the abnormality notifier 346 of the server device 300 sends an abnormality notification via the communicator 348. For example, the abnormality notifier 346 of the server device 300 sends the abnormality notification to the terminal device 200 via the communicator 348 (S134). Then, the terminal device 200 obtains the abnormality notification from the server device 300 and notifies the monitoring organization of the abnormality.

[0264] In addition, the abnormality notifier 346 of the server device 300 sends an abnormality notification to the safety ECU 440 via the communicator 348 (S135). Moreover, the communicator 448 of the safety ECU 440 obtains the abnormality notification and notifies the driver of the abnormality (S136). In addition, when the communicator 448 of the safety ECU 440 obtains the abnormality notification, it sends the complete log to the server device 300 (S137).

[0265] Furthermore, the communicator 348 of the server device 300 obtains the complete log from the safety ECU 440. Furthermore, the complete log processor 344 of the server device 300 records the complete log obtained from the safety ECU 440 in the storage 347. Furthermore, the abnormality detector 345 of the server device 300 performs abnormality detection processing based on the complete log recorded in the storage 347 (S138).

[0266] Furthermore, the communicator 348 of the server device 300 transmits the result of the abnormality detection process to the terminal device 200 (S139). The abnormality notifier 346 of the server device 300 may transmit an abnormality notification as the result of the abnormality detection process to the terminal device 200 via the communicator 348. The terminal device 200 obtains the result of the abnormality detection process from the server device 300 and notifies the monitoring organization of the result of the abnormality detection process.

[0267] The terminal device 200 is operated by the monitoring organization to perform detailed analysis of the abnormality (S140). In addition, the terminal device 200 is operated by the monitoring organization to preserve evidence (S141).

[0268] Fig.16 The processing from sending the abnormality notification to the terminal device 200 (S134) to preserving evidence (S141) is similar to Fig.15 The processing from sending the abnormality notification to the terminal device 200 (S107) to preserving evidence (S114) is the same. In addition, in order to avoid duplication of processing, the processing from sending the abnormality notification to the safety ECU 440 (S135) to sending the abnormality detection processing result to the terminal device 200 (S139) can be omitted.

[0269] Fig.17 Yes means Fig. 9 Flowchart of the operation of the safety ECU 440 shown in FIG.

[0270] The safety ECU 440 performs a log recording process for recording a log of communication data in the vehicle network (S201). In addition, the safety ECU 440 performs an abnormality detection process for detecting an abnormality in the communication data (S202). Furthermore, the safety ECU 440 performs a log sending process for sending the communication log to the server device 300 (S203). The safety ECU 440 repeats these processes (S201 to S203).

[0271] Fig.18 It means by Fig. 9 Flowchart of the first technical solution of the log recording processing performed by the safety ECU 440 shown in FIG.

[0272] First, the communicator 448 receives communication data in the vehicle network to obtain communication data (S301). Specifically, the communicator 448 obtains a CAN frame as communication data.

[0273] Next, the complete log generator 444 records the acquired communication data as a complete log in the storage 447 (S302). Figure 4 The log format of the acquired frame is recorded as a complete log in the storage 447. In addition, for example, when the frame acquired in the past is recorded as a complete log in the storage 447, the complete log generator 444 appends the information of the newly acquired frame to the storage 447. Figure 4 The payload in the log format.

[0274] Next, the sampling log generator 443 determines whether the current time is within the sampling period (S303) by checking, for example, the sampling timer in the sampling log generator 443. If the current time is not within the sampling period (No in S304), the safety ECU 440 ends the log recording process.

[0275] When the current time is within the sampling period (S304 is yes), the sampling log generator 443 determines whether the acquired communication data is communication data of a specific category. Specifically, the sampling log generator 443 determines whether the acquired frame is a frame of a specific category by determining whether the ID included in the acquired frame is a specific ID.

[0276] When it is determined that the acquired communication data is not communication data of a specific type (No in S305 ), the safety ECU 440 ends the log recording process.

[0277] When it is determined that the acquired communication data is communication data of a specific type (Yes in S305 ), the sampling log generator 443 records the acquired communication data in the storage 447 as a sampling log ( S306 ).

[0278] Specifically, the sampling log generator 443 is based on Figure 4 The acquired frame is recorded as a sampling log in the storage 447 in the log format of . In addition, for example, when a frame acquired in the past is recorded as a sampling log in the storage 447, the sampling log generator 443 appends the information of the newly acquired frame to Figure 4 Then, the safety ECU 440 ends the log recording process.

[0279] In addition, the sampling log generator 443 and the complete log generator 444 basically record the sampling log and the complete log in the storage 447 respectively.

[0280] Fig.19 It means by Fig. 9 Flow chart of the second technical solution for log recording processing performed by the safety ECU 440 shown in FIG. Fig.19 In the second technical solution of the log recording process shown in FIG. 1 , the process from obtaining the communication data to recording the communication data as a sampling log (S301 to S306) is the same as Fig.18 The first technical solution for the logging process shown is the same.

[0281] exist Fig.19 In the second technical solution of the log recording process shown, after recording the communication data as the sampling log, the sampling log generator 443 updates the time length of the sampling interval (S307).

[0282] For example, the sampling log generator 443 randomly updates the time length of the sampling interval within a range between a minimum value and a maximum value, wherein the minimum value and the maximum value are respectively predetermined to be values ​​larger than the time length of the sampling period. Alternatively, the sampling log generator 443 may linearly update the time length of the sampling interval within a range between a minimum value and a maximum value.

[0283] Specifically, the sampling log generator 443 may gradually increase the time length of the sampling interval from the minimum value to the maximum value. That is, the sampling log generator 443 may increase the time length of the sampling interval from the minimum value to the maximum value in stages. Moreover, after the time length of the sampling interval reaches the maximum value, the time length of the sampling interval may be gradually reduced from the maximum value to the minimum value. That is, the sampling log generator 443 may reduce the time length of the sampling interval from the maximum value to the minimum value in stages.

[0284] Thus, the safety ECU 440 can make various changes to the length of the sampling interval associated with the sampling log. Therefore, the safety ECU 440 can make the sampling log include anomalies that are not included in the fixed sampling interval. In addition, the safety ECU 440 can make the sampling interval difficult to analyze. Therefore, the safety ECU 440 can suppress the phenomenon that anomalies based on illegal data are not included in the sampling log.

[0285] Furthermore, the sampling log generator 443 may update a specific category associated with the sampling log in addition to or instead of updating the sampling interval.

[0286] In the above-mentioned log recording process, for example, an instruction related to the sampling interval or the specific category is output from the output unit 442 included in the communicator 448 to the log generator 520 composed of the sampling log generator 443. And, according to the instruction related to the sampling interval or the specific category, the sampling interval or the specific category is updated.

[0287] Fig. 20 It means by Fig. 9 Flowchart of abnormality detection processing performed by safety ECU 440 shown in FIG.

[0288] In the abnormality detection process, the abnormality detector 445 performs a matching process between the communication data obtained by the communicator 448 and the abnormality pattern (S401). That is, the abnormality detector 445 determines whether the communication data obtained by the communicator 448 matches the predetermined abnormality pattern. The communication data obtained by the communicator 448 is more specifically one or more data frames obtained by the communicator 448 as communication data.

[0289] Furthermore, when the abnormality detector 445 determines that the communication data obtained by the communicator 448 matches the predetermined abnormality pattern (Yes in S402), it detects an abnormality (S403). In other words, the abnormality detector 445 determines that the communication data contains an abnormality in this case. In further other words, the abnormality detector 445 detects that the communication data obtained by the communicator 448 matches the predetermined abnormality pattern as an abnormality in the communication data.

[0290] Furthermore, the communicator 448 performs an abnormality notification reception process ( S404 ) for receiving an abnormality notification from the server device 300 . Specifically, when an abnormality notification is transmitted from the server device 300 , the communicator 448 receives the abnormality notification transmitted from the server device 300 .

[0291] Furthermore, when the communicator 448 receives an abnormality notification from the server device 300 (Yes in S405), the abnormality detector 445 detects an abnormality (S406). In other words, the abnormality detector 445 determines that the communication data contains an abnormality in this case. In further other words, the abnormality detector 445 detects the fact that the communicator 448 receives an abnormality notification from the server device 300 as an abnormality in the communication data.

[0292] In addition, when it is determined that the communication data acquired by the communicator 448 does not match the predetermined abnormality pattern and the communicator 448 has not received an abnormality notification from the server device 300, the abnormality detector 445 does not detect an abnormality. That is, in this case, the abnormality detector 445 determines that the communication data does not contain an abnormality.

[0293] In the above-mentioned abnormality detection process, the communication data is matched with the abnormal pattern, but the communication data may be matched with the normal pattern. In this case, when it is determined that the communication data does not match the predetermined normal pattern, the abnormality detector 445 detects an abnormality.

[0294] In addition, it is expected that the same type of data frames are circulated in a constant cycle in CAN. Therefore, when the same type of data frames are not circulated in a constant cycle, the abnormality detector 445 can detect the abnormality. Specifically, the abnormality detector 445 can use the time interval of the acquired data frame to determine whether the data frame is circulated in a constant cycle, and detect the abnormality based on the determination result. In addition, the cycle of the same type of data frames circulated in CAN can be included in the abnormal mode or the normal mode.

[0295] In addition, it is expected that multiple data frames of the same type that circulate at a constant cycle have continuity in data content. For example, the anomaly detector 445 can detect a data frame having a data value that deviates greatly from the data value of the previous data frame among multiple data frames of the same type as an anomaly. In addition, the size of the deviation can also be included in the abnormal mode or the normal mode. The size of the deviation can also be expressed as a difference in data values.

[0296] In addition, the timing of the abnormality notification reception process (S404) is not limited to Fig. 20 The communicator 448 receives the abnormality notification transmitted from the server device 300 at the timing when the abnormality notification is transmitted from the server device 300 .

[0297] In addition, the safety ECU 440 may perform only one of the abnormality detection ( S401 to S403 ) performed independently in the safety ECU 440 and the abnormality detection ( S404 to S406 ) performed by the server device 300 .

[0298] The configuration in which the safety ECU 440 performs independent abnormality detection (S401 to S403) corresponds to Figure 7 The abnormality detector 510 shown is included in the structure of the safety ECU 440. The structure of the safety ECU 440 performing abnormality detection (S404 to S406) by the server device 300 corresponds to Figure 7 The illustrated anomaly detector 510 is included in the configuration of the server device 300 .

[0299] The configuration of performing both independent abnormality detection ( S401 to S403 ) and abnormality detection by the server device 300 ( S404 to S406 ) corresponds to the configuration in which the abnormality detector 510 is included in the safety ECU 440 and the server device 300 , respectively.

[0300] Fig.21 It means by Fig. 9 Flowchart of the first technical solution of the log transmission processing performed by the safety ECU 440 shown in FIG.

[0301] In the present technical solution, the abnormality detector 445 determines whether an abnormality of the communication data is detected (S501). And, in the case where it is determined that an abnormality of the communication data is detected, that is, in the case where it is determined that the communication data contains an abnormality, the communicator 448 notifies the driver of the abnormality (S502). For example, the communicator 448 outputs an abnormality notification to the ECU 450 having a notification interface, thereby notifying the driver of the abnormality via the notification interface.

[0302] Furthermore, the communicator 448 compresses the complete log recorded in the storage 447 (S503). For example, the communicator 448 uses a compression method such as 7-Zip to compress the complete log losslessly. Furthermore, the communicator 448 sends the compressed complete log to the server device 300 (S504). The communicator 448 can delete the complete log recorded in the storage 447 from the storage 447 after sending the complete log.

[0303] On the other hand, when it is determined that no abnormality is detected in the communication data, that is, when it is determined that the communication data does not contain an abnormality, the communicator 448 determines whether the current time is the periodic transmission timing by determining the periodic transmission timer (S511). When it is determined that the current time is not the periodic transmission timing (S512 is no), the safety ECU 440 ends the log transmission process.

[0304] When it is determined that the current time is a periodic transmission timing (S512 is yes), the communicator 448 compresses the sampling log recorded in the storage 447 (S513). For example, the communicator 448 uses a compression method such as 7-Zip to losslessly compress the sampling log. In addition, the communicator 448 sends the compressed sampling log to the server device 300 (S514). The communicator 448 can delete the sampling log recorded in the storage 447 from the storage 447 after sending the sampling log.

[0305] Through the above-described log transmission process, a sampling log with a relatively small data volume is periodically transmitted from the safety ECU 440 to the server device 300 , and a complete log with a relatively large data volume is transmitted from the safety ECU 440 to the server device 300 in the event of an abnormality.

[0306] In addition, the periodic transmission timing is, for example, once per minute. Moreover, the communicator 448 can determine that the current moment is the periodic transmission timing when more than 1 minute has passed since the sampling log was previously sent. Thus, the communicator 448 periodically sends the sampling log. Basically, the period at which the sampling log is sent is longer than the sampling interval involved in the recording of the sampling log.

[0307] In addition, for example, the complete log sent to the server device 300 is a complete log in the past specified period. The specified period is, for example, 1 hour. The storage 447 may record a complete log corresponding to the specified period. Therefore, a ring buffer for recording a complete log corresponding to the specified period may be used for recording complete logs. Similarly, a ring buffer for recording a sample log corresponding to the sending period may also be used for recording sample logs.

[0308] In addition, in the above-mentioned log sending process, when an abnormality is detected, the complete log is sent, and the sample log is not sent. However, the sample log may be sent periodically regardless of whether an abnormality is detected.

[0309] In addition, in the above-mentioned log transmission process, for example, the acquisition device 441 included in the communicator 448 acquires the abnormality detection result from the abnormality detector 445. And, in the communicator 448, according to the abnormality detection result, the instruction of sending the sample log or the complete log is output from the output device 442 to the transmitter 530. And, according to the instruction of sending, the sample log or the complete log is sent.

[0310] Fig. 22 It means by Fig. 9 Flow chart of the second technical solution for the log transmission processing performed by the safety ECU 440 shown in FIG. Fig. 22 In the second technical solution of the log sending process shown in FIG. 1 , the processing until the complete log and the sample log are sent (S501 to S504 and S511 to S514) is the same as Fig.21 The first technical solution of the log sending process shown is the same.

[0311] In the present technical solution, after the complete log is sent, the sampling log generator 443 shortens and updates the sampling interval (S505). That is, in the case of detecting an abnormality, the sampling log generator 443 shortens the sampling interval. In addition, after the sampling log is sent, the sampling log generator 443 extends and updates the sampling interval (S515). That is, in the case of no abnormality detected, the sampling log generator 443 extends the sampling interval.

[0312] In the above-mentioned update, the sampling log generator 443 updates the time length of the sampling interval within the range between the minimum value and the maximum value. The sampling log generator 443 can shorten or lengthen the time length of the sampling interval by an amount corresponding to a predetermined fixed length in one update. The sampling log generator 443 can also shorten or lengthen the time length of the sampling interval by an amount corresponding to a random length in one update.

[0313] By updating as described above, the safety ECU 440 can increase the amount of data in the sampling log after an abnormality occurs. Furthermore, the safety ECU 440 can include abnormalities that are not included in the long sampling interval in the sampling log. In addition, the safety ECU 440 can reduce the amount of data in the sampling log when there is no abnormality.

[0314] Furthermore, in the present invention, the sampling interval is updated for all types regardless of the type of communication data in which an abnormality is detected. That is, the sampling interval is updated for all IDs regardless of the ID of the frame in which an abnormality is detected.

[0315] In the above-mentioned update, for example, the output device 442 included in the communicator 448 outputs the instruction related to the sampling interval to the sampling log generator 443 constituting the log generator 520. Then, the sampling interval is updated according to the instruction related to the sampling interval.

[0316] Fig.23 It means by Fig. 9 Flow chart of the third technical solution for the log transmission processing performed by the safety ECU 440 shown in FIG. Fig.23 In the third technical solution of the log sending process shown in FIG. 1 , the processing until the complete log and the sample log are sent (S501 to S504 and S511 to S514) is the same as Fig.21 as well as Fig. 22 The first technical solution and the second technical solution of the log sending process shown are the same.

[0317] In the technical solution, after the complete log is sent, the sampling log generator 443 shortens and updates the sampling interval for the category of the communication data in which the abnormality is detected (S506). In addition, the sampling log generator 443 maintains the sampling interval for other categories. That is, when an abnormality is detected in the communication data of one category, the sampling log generator 443 shortens the time length of the sampling interval for the one category.

[0318] In addition, after the sampling log is sent, the sampling log generator 443 extends and updates the shortened and updated sampling interval (S516). That is, if no abnormality is detected, the sampling log generator 443 returns the time length of the sampling interval to the original time length. Alternatively, in this case, the sampling log generator 443 makes the time length of the sampling interval close to the original time length.

[0319] and Fig. 22Similarly, the sampling log generator 443 updates the time length of the sampling interval within the range between the minimum value and the maximum value. The sampling log generator 443 can shorten or extend the time length of the sampling interval by an amount corresponding to a predetermined fixed length in one update. The sampling log generator 443 can also shorten or extend the time length of the sampling interval by an amount corresponding to a random length in one update.

[0320] By updating as described above, the safety ECU 440 can increase the data volume of the sampling log for each category after an abnormality occurs. In addition, the safety ECU 440 can reduce the increased data volume when there is no abnormality.

[0321] Fig.24 Yes means Fig. 9 Flowchart of a first technical solution for the operation of the server device 300 shown in FIG.

[0322] First, the communicator 348 receives a sampling log or a complete log from the safety ECU 440 (S601). When a sampling log is received (S602: Yes), the sampling log processor 343 records the sampling log in the storage 347. For example, the sampling log processor 343 decompresses the compressed sampling log and records the decompressed sampling log in the storage 347.

[0323] Furthermore, the abnormality detector 345 performs abnormality detection processing (S603) based on the sampling log. For example, the abnormality detector 345 performs matching processing between the communication data and the abnormal pattern in the same manner as the matching processing (S401) performed by the abnormality detector 445 of the safety ECU 440. The abnormality detector 345 uses the communication data represented by the sampling log for matching processing.

[0324] That is, the anomaly detector 345 determines whether the communication data represented by the sampling log matches a predetermined anomaly pattern. More specifically, the anomaly detector 345 determines whether the data frame represented by the sampling log matches a predetermined anomaly pattern.

[0325] Furthermore, the anomaly detector 345 detects an anomaly when it is determined that the communication data represented by the sampling log matches a predetermined anomaly pattern. In other words, the anomaly detector 345 determines that the communication data contains an anomaly in this case. In further other words, the anomaly detector 345 detects that the communication data represented by the sampling log matches a predetermined anomaly pattern as an anomaly in the communication data.

[0326] In receiving the log ( S601 ), if the sample log is not received ( S602 : No), that is, if the complete log is received, the complete log processor 344 records the complete log in the storage 347 . For example, the complete log processor 344 decompresses the compressed complete log and records the decompressed complete log in the storage 347 .

[0327] Furthermore, the anomaly detector 345 performs an anomaly detection process (S604) based on the complete log. For example, the anomaly detector 345 performs a matching process between the communication data and the abnormal pattern in the same manner as the matching process (S401) performed by the anomaly detector 445 of the safety ECU 440. The anomaly detector 345 uses the communication data represented by the complete log for the matching process.

[0328] That is, the anomaly detector 345 determines whether the communication data represented by the complete log matches a predetermined anomaly pattern. More specifically, the anomaly detector 345 determines whether the frame represented by the complete log matches a predetermined anomaly pattern.

[0329] Furthermore, the anomaly detector 345 detects an anomaly when it is determined that the communication data represented by the complete log matches a predetermined anomaly pattern. In other words, the anomaly detector 345 determines that the communication data contains an anomaly in this case. In further other words, the anomaly detector 345 detects that the communication data represented by the complete log matches a predetermined anomaly pattern as an anomaly in the communication data.

[0330] Next, the abnormality detector 345 determines whether an abnormality in the communication data is detected (S605). In addition, if it is determined that an abnormality in the communication data is detected, that is, if it is determined that the communication data contains an abnormality (S605 is yes), the communicator 348 sends an abnormality notification to the terminal device 200 (S606). In the case of receiving a complete log in the log reception (S601) (S607 is yes), the server device 300 ends a series of processing.

[0331] When the complete log is not received during the log reception (S601) (No in S607), that is, when the sample log is received, the communicator 348 sends an abnormality notification to the safety ECU 440 (S608). The communicator 348 sends the abnormality notification to the safety ECU 440, causing the safety ECU 440 to send the complete log to the server device 300. Then, the server device 300 ends a series of processing.

[0332] In addition, although the abnormality detection process (S603) of the sampled log is different from the abnormality detection process (S604) of the complete log, Fig.24Although they are recorded separately in , they can be the same process. That is, the anomaly detector 345 can perform a common anomaly detection process regardless of whether it is a sample log or a complete log.

[0333] In addition, in the above-mentioned abnormality detection processing (S603 and S604), the communication data is matched with the abnormal pattern, but the communication data may be matched with the normal pattern. In this case, when it is determined that the communication data does not match the predetermined normal pattern, the abnormality detector 345 detects an abnormality.

[0334] In addition, a matching process that is more complicated than the matching process (S401) performed in the safety ECU 440 can be performed in the above-mentioned abnormality detection process (S603 and S604). The server device 300 can perform the matching process using sufficient processing power that is not restricted by the requirements for vehicle use. For example, more abnormal patterns can be used in the above-mentioned abnormality detection process (S603 and S604) than the matching process (S401) performed in the safety ECU 440.

[0335] In addition, it is expected that the same type of data frames circulate in a constant cycle in CAN. Therefore, when the same type of data frames do not circulate in a constant cycle, the abnormality detector 345 can detect the abnormality. Specifically, the abnormality detector 345 can use the time interval of the acquired data frame to determine whether the data frame circulates in a constant cycle, and detect the abnormality based on the determination result. In addition, the cycle of the same type of data frames circulated in CAN can also be included in the abnormal mode or the normal mode.

[0336] However, the determination of whether or not the data frame is circulated at a constant cycle is valid when the preceding data frame is not missing, and is invalid when the preceding data frame is missing.

[0337] Therefore, when the data frame included in the sampling log is the earliest data frame during the sampling period, the anomaly detector 345 does not use the determination of whether the data frame circulates at a constant cycle for the detection of anomalies. On the other hand, when the data frame included in the sampling log is not the earliest data frame during the sampling period, the anomaly detector 345 uses the determination of whether the data frame circulates at a constant cycle for the detection of anomalies.

[0338] Specifically, when the data frame included in the sampling log is not the earliest data frame during the sampling period, the anomaly detector 345 uses the difference between the sampling time of the data frame and the sampling time of the previous data frame for anomaly detection. When the difference in the sampling time coincides with the constant cycle interval, the anomaly detector 345 determines that the data frame is normal. On the other hand, when the difference in the sampling time does not coincide with the constant cycle interval, the anomaly detector 345 determines that the data frame is abnormal.

[0339] In addition, since the category is also associated with the period, the difference in sampling time involved in the same type of data frames can also be used for abnormality detection. In other words, in the same sampling period and the same category, the difference between the sampling time of a data frame and the sampling time of the previous data frame can be used for abnormality detection.

[0340] Whether the data frame contained in the sampling log is consistent with the earliest data frame can be verified by Figure 4 The flags of the log format shown are recognized. In addition, since the data frame is not missing in the complete log, the difference in sampling time can be used for abnormality detection for the complete log.

[0341] In addition, it is expected that the same type of data frames circulated at a constant cycle have continuity in data content. Therefore, the difference in data values ​​between a data frame and the previous data frame can be used for abnormality detection in the same way as the difference in sampling time. In this case, the difference in data values ​​can be used for abnormality detection for data frames different from the earliest data frame, similarly to the difference in sampling time.

[0342] Fig.25 Yes means Fig. 9 Flowchart of the second technical solution of the operation of the server device 300 shown in FIG. Fig.25 In the second technical solution shown in FIG. 1 , the processing from receiving the log to sending the abnormality notification (S601 to S608) is the same as Fig.24 The first technical solution shown is the same.

[0343] In the present technical solution, the server device 300 then performs a sampling interval update process (S609). For example, the communicator 348 sends a change instruction to the safety ECU 440 to change the length of the sampling interval. Then, the safety ECU 440 changes the length of the sampling interval. Fig.26 as well as Fig. 27 A more specific aspect of the above-mentioned sampling interval updating process is shown.

[0344] Fig.26 It means in Fig. 9 , etc. are flowcharts of a first aspect of the sampling interval update process performed by the server device 300 and the safety ECU 440.

[0345] In the present technical solution, first, in the server device 300, the communicator 348 determines the model of the vehicle 400, which is the source of the log received in the log reception (S601) (S701). The communicator 348 can determine the model of the vehicle 400 based on the vehicle ID included in the log. Alternatively, the communicator 348 can also determine the model of the vehicle 400 by re-communicating with the safety ECU 440 and the like.

[0346] Next, the communicator 348 obtains the current sampling interval for the determined vehicle type (S702). The current sampling interval may be recorded in the storage 347 for each vehicle type. Furthermore, the communicator 348 may obtain the current sampling interval from the storage 347. Alternatively, the communicator 348 may obtain the current sampling interval by re-communicating with the safety ECU 440 or the like.

[0347] Furthermore, when an abnormality is detected in the abnormality detection process (S603 or S604) (Yes in S703), the communicator 348 shortens and updates the sampling interval (S704). That is, the communicator 348 determines a sampling interval shorter than the current sampling interval.

[0348] On the other hand, when no abnormality is detected in the abnormality detection process (S603 or S604) (No in S703), the communicator 348 extends and updates the sampling interval (S705). That is, the communicator 348 determines a sampling interval longer than the current sampling interval.

[0349] Then, the communicator 348 transmits the updated sampling interval, that is, the newly determined sampling interval, to a plurality of safety ECUs of a plurality of vehicles of the same vehicle type as the determined vehicle type ( S706 ).

[0350] In the safety ECU 440 included in the plurality of safety ECUs that have transmitted the sampling interval, the communicator 448 receives the sampling interval transmitted from the server device 300 (S801). Furthermore, the sampling log generator 443 updates the current sampling interval to the received sampling interval (S802). That is, the communicator 448 receives the instruction to change the sampling interval from the server device 300 as an external instruction, and the sampling log generator 443 updates the sampling interval according to the external instruction.

[0351] Thus, the server device 300 can increase the data volume of the sampling log after the abnormality occurs. Furthermore, the server device 300 can make the sampling log include abnormalities that are not included with a long sampling interval. In addition, the server device 300 can reduce the data volume of the sampling log when there is no abnormality. In addition, the server device 300 can change the time length of the sampling interval associated with the sampling log for multiple vehicle systems of the same vehicle model.

[0352] In addition, the communicator 348 can update the sampling interval for each category. For example, when an abnormality is detected for one category, the communicator 348 can shorten the sampling interval for the one category. Moreover, when no abnormality is detected, the communicator 348 can extend the shortened sampling interval. Moreover, such an update can be performed for the same vehicle model. Thus, the data volume is appropriately adjusted for each vehicle model and each category.

[0353] Alternatively, when an abnormality is detected for one category, the communicator 348 may shorten the sampling interval for all categories regardless of the category. Furthermore, when no abnormality is detected, the communicator 348 may extend the sampling interval for all categories regardless of the category. Thus, the amount of data is appropriately adjusted for each vehicle type regardless of the category.

[0354] Fig. 27 It means in Fig. 9 Flowchart of the second technical solution of the sampling interval update process performed by the server device 300 and the safety ECU 440 shown in FIG.

[0355] In the present technical solution, first, in the server device 300, the communicator 348 determines the region of the vehicle 400, which is the source of the log received in the log reception (S601) (S711). The communicator 348 can determine the region of the vehicle 400 based on the vehicle ID included in the log. Alternatively, the communicator 348 can determine the region of the vehicle 400 by re-communicating with the safety ECU 440 and the like.

[0356] In addition, a large area such as a country is basically assumed to be a region. Such a region can be predetermined for the vehicle 400. However, a more specific region of the vehicle 400 currently traveling may also be used. Such a region can be determined by GPS (Global Positioning System) or the like.

[0357] Next, the communicator 348 obtains the current sampling interval for the determined region (S712). The current sampling interval may be recorded in the storage 347 for each region. Furthermore, the communicator 348 may obtain the current sampling interval from the storage 347. Alternatively, the communicator 348 may obtain the current sampling interval by re-communicating with the safety ECU 440 or the like.

[0358] Furthermore, when an abnormality is detected in the abnormality detection process (S603 or S604) (Yes in S713), the communicator 348 shortens and updates the sampling interval (S714). That is, the communicator 348 determines a sampling interval shorter than the current sampling interval.

[0359] On the other hand, when no abnormality is detected in the abnormality detection process (S603 or S604) (No in S713), the communicator 348 extends and updates the sampling interval (S715). That is, the communicator 348 determines a sampling interval longer than the current sampling interval.

[0360] Then, the communicator 348 transmits the updated sampling interval, that is, the newly determined sampling interval, to the plurality of safety ECUs of the plurality of vehicles in the same area as the determined area ( S716 ).

[0361] Similar to the first technical solution of the sampling interval update processing, in the safety ECU 440 included in the plurality of safety ECUs that have sent the sampling interval, the communicator 448 receives the sampling interval sent from the server device 300 (S801). Furthermore, the sampling log generator 443 updates the current sampling interval to the received sampling interval (S802). That is, the safety ECU 440 receives the sampling interval change instruction as an external instruction, and updates the sampling interval according to the external instruction.

[0362] Thus, the server device 300 can change the time length of the sampling interval associated with the sampling log for a plurality of vehicle-mounted systems in the same area.

[0363] In addition, similarly to the first technical solution of the sampling interval update process, the communicator 348 can change the sampling interval for each category. Thus, the data volume is appropriately adjusted for each region and each category. Alternatively, the communicator 348 can update the sampling interval regardless of the category. Thus, the data volume is appropriately adjusted for each region regardless of the category.

[0364] [Replenish]

[0365] In the above-mentioned embodiment, the CAN protocol is used as the vehicle network, but it is not limited to this. For example, CAN-FD (CAN with Flexible Data Rate), FlexRay, Ethernet, LIN (Local Interconnect Network), MOST (Media Oriented Systems transport), etc. can also be used. Or a network composed of these networks as sub-networks and CAN can be used.

[0366] In addition, in the above-mentioned embodiments, each component can be formed by dedicated hardware, or can be realized by executing a software program suitable for each component. Each component can be realized by a program executor such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. Here, the software that realizes the information processing device and the like of the above-mentioned embodiments is the following program.

[0367] That is, the program causes a computer as an information processing device to execute an information processing method performed by an information processing device mounted on a vehicle, the information processing method comprising: an acquisition step of acquiring an anomaly detection result of whether communication data in the vehicle-mounted network of the vehicle contains an anomaly from an anomaly detector; and an output step of outputting a sampling log sending instruction, the sampling log sending instruction causing a sampling log to be periodically sent from a transmitter mounted on the vehicle to a server device disposed outside the vehicle, the sampling log being a log of two types of logs of the communication data having a smaller amount of data generated per unit time than the other log, and in the output step, when the anomaly detection result indicating that the communication data contains an anomaly is obtained in the acquisition step, a complete log sending instruction is also output, the complete log sending instruction causing a complete log to be sent from the transmitter to the server device, the complete log being a log of the two types of logs having a larger amount of data generated per unit time than the sampling log.

[0368] In addition, the program may be recorded in a non-transitory recording medium such as a CD-ROM. In addition, the information processing device may be implemented via an integrated circuit.

[0369] In addition, in the above-mentioned embodiment, each component may be a circuit. A plurality of components may constitute a circuit as a whole, or may constitute independent circuits respectively. In addition, each circuit may be a general circuit or a dedicated circuit.

[0370] In addition, in the above-mentioned embodiment, the transmission method for transmitting information from the transmission source to the transmission destination may be a transmission method in which the information of the transmission source and the transmission destination is not included in the transmitted information, as long as it is a transmission method such that the information is transmitted from the transmission source to the transmission destination. Specifically, a transmission method such as broadcasting may be used. The same is true for an output method for outputting information from an output source to an output destination. In addition, an acquisition method for acquiring information from an acquisition destination may be an acquisition method such that the information is acquired from the acquisition destination.

[0371] The above is an information processing device for one or more technical solutions, which is described based on an implementation, but the present disclosure is not limited to the implementation. As long as it does not depart from the main purpose of the present disclosure, the implementation obtained by applying various modifications that can be thought of by a person skilled in the art to the present implementation, and the implementation constructed by combining the constituent elements in different implementations can also be included in the scope of one or more technical solutions.

[0372] For example, in the above-described embodiments, the processing performed by the specific component may be performed by another component instead of the specific component. In addition, the order of a plurality of processes may be changed, and a plurality of processes may be performed in parallel.

[0373] Industrial Applicability

[0374] The present disclosure can be utilized in a safety system or the like for monitoring vehicle-related data.

[0375] Description of the label

[0376] 100 safety system; 200 terminal device; 300 server device; 301, 441 acquirer; 302 determiner; 303, 442 output device; 343 sampling log processor; 344 complete log processor; 345, 445, 465, 510 abnormality detector; 346 abnormality notifier; 347, 447, 467 storage; 348, 448 communicator; 400 vehicle; 410 vehicle system; 421 head-up display; 422 telematic communication unit; 423 V2X module; 424 OBD module; 430 gateway device; 440 safety ECU; 443, 463 sampling log generator; 444, 464 complete log generator; 446, 466 abnormal data invalidator; 450, 451, 452 ECU; 460 security gateway device; 469 forwarding processor; 470 off-vehicle communicator; 471 on-vehicle communicator; 520 log generator; 530 transmitter.

Claims

1. An information processing device is an information processing device mounted on a vehicle, comprising: an acquirer that acquires, from the anomaly detector, an anomaly detection result of whether the communication data in the vehicle-mounted network of the vehicle contains an anomaly; and an output device that outputs a first log transmission instruction, the first log transmission instruction causing a first log to be periodically transmitted from a transmitter mounted on the vehicle to a server device disposed outside the vehicle, the first log being a log having a smaller amount of data generated per unit time than the other log of the two types of communication data, and including a portion of communication data among all communication data circulating in the vehicle-mounted network per unit time, The output device further outputs a second log sending instruction when the acquirer obtains the abnormality detection result indicating that the communication data contains an abnormality, wherein the second log sending instruction causes the second log to be sent from the transmitter to the server device, wherein the second log as a complete log is a log of the two types of logs that generates a larger amount of data per unit time than the first log, and includes communication data that is larger than the amount of communication data included in the first log in the total communication data circulating in the vehicle network per unit time, The second log and the first log are generated by a log generator mounted on the vehicle. The output device, outputting the first log transmission instruction for causing the transmitter to periodically transmit the first log generated by the log generator to the server device, outputting the second log transmission instruction for causing the transmitter to transmit the second log generated by the log generator to the server device when the acquirer acquires the abnormality detection result indicating that the communication data contains an abnormality, The output device further outputs, to the log generator, a change instruction for randomly or linearly changing the first time length within a range longer than the second time length.

2. The information processing device according to claim 1, The acquirer acquires the abnormality detection result from the abnormality detector included in the server device.

3. The information processing device according to claim 1, The information processing device further includes the anomaly detector. The abnormality detector obtains the communication data from the in-vehicle network and determines whether the communication data contains an abnormality.

4. The information processing device according to any one of claims 1 to 3, The second log is a log of the communication data of a plurality of categories, The first log is a log of the communication data of one or more categories which is smaller than the plurality of categories.

5. The information processing device according to any one of claims 1 to 3, The information processing device further includes the transmitter. The transmitter transmits the first log to the server device according to the first log transmission instruction output from the output device, and transmits the second log to the server device according to the second log transmission instruction output from the output device.

6. The information processing device according to claim 5, the transmitter, According to the first log transmission instruction outputted from the output device, the first log is losslessly compressed and the compressed first log is transmitted to the server device. The second log is losslessly compressed according to the second log transmission instruction output from the output device, and the compressed second log is transmitted to the server device.

7. The information processing device according to claim 1, The output device outputs the change instruction for increasing the amount of communication data per the unit time to the log generator when the acquirer acquires the abnormality detection result indicating that the communication data includes an abnormality.

8. The information processing device according to claim 1 or 7, The output device outputs the change instruction to reduce the amount of communication data per the unit time to the log generator when the acquirer does not acquire the abnormality detection result indicating that the communication data includes an abnormality.

9. The information processing device according to claim 1 or 7, The second log is a log of the communication data of a plurality of categories, The first log is a log of the communication data of one or more categories among the plurality of categories, The output device outputs identification information for identifying the one or more categories to the log generator.

10. The information processing device according to claim 1 or 7, The information processing device further includes the log generator. The log generator acquires the communication data from the in-vehicle network, and generates the second log and the first log based on the communication data.

11. An information processing method, which is an information processing method performed by an information processing device mounted on a vehicle, comprising: an acquisition step of acquiring, from an anomaly detector, an anomaly detection result of whether the communication data in the vehicle network of the vehicle contains an anomaly; and an output step of outputting a first log sending instruction, wherein the first log sending instruction causes a first log to be periodically sent from a transmitter mounted on the vehicle to a server device disposed outside the vehicle, wherein the first log is a log of the two types of logs of the communication data having a smaller amount of data generated per unit time than the other log, and includes a portion of the communication data of all the communication data circulating in the vehicle network per unit time, In the output step, further, in the case where the abnormality detection result indicating that the communication data contains an abnormality is obtained in the acquisition step, a second log sending instruction is output, the second log sending instruction causes the second log to be sent from the transmitter to the server device, the second log as a complete log being a log of the two logs having a larger amount of data generated per unit time than the first log, and containing communication data of a larger amount than the communication data contained in the first log in all communication data circulating in the vehicle network per unit time, The second log and the first log are generated by a log generator mounted on the vehicle. In the output step, outputting the first log transmission instruction for causing the transmitter to periodically transmit the first log generated by the log generator to the server device, When the abnormality detection result indicating that the communication data contains an abnormality is obtained in the obtaining step, outputting the second log sending instruction for causing the second log generated by the log generator to be sent from the sender to the server device, The output step further outputs a change instruction to the log generator to randomly or linearly change the first time length within a range longer than the second time length.