Vehicle log sending device, vehicle log analysis server, vehicle log analysis system, and vehicle log sending and receiving method

By using ID to divide the vehicle logs and judging the consistency of identifiers in the vehicle log sending device, the problem of large amount of data communications of vehicle logs is solved, and effective reduction of data volume and improvement of network security is achieved.

CN112789600BActive Publication Date: 2024-12-06PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA

Patent Information

Application Number
CN201980064391.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-11-30
Filing Date
2019-09-09
Publication Date
2024-12-06
Estimated Expiration
2039-09-09

AI Technical Summary

Technical Problem

In vehicle networks, it is difficult for the prior art to effectively reduce the amount of vehicle log communication data sent from vehicles to external servers, especially when the log data is dynamically updated due to changes in the vehicle state, resulting in low data consistency and it is difficult to significantly reduce communications. Data volume.

Method used

Through the vehicle log sending device, the ID in the log is used to divide, generate the first split log and the second split log, and determine the consistency based on the existing identifier list, and only the identifier corresponding to the existing identifier list is sent. Reduce unnecessary data transmission.

Benefits of technology

It effectively reduces the amount of vehicle log communication data between the vehicle and the external server, improves data consistency, reduces the demand for communication resources, and enhances the security of the vehicle network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112789600B_ABST
    Figure CN112789600B_ABST
Patent Text Reader

Abstract

The vehicle log sending device (10) comprises: a vehicle log obtaining unit (110) for obtaining a vehicle log; a vehicle log segmentation processing unit (120) for segmenting the obtained vehicle log using an ID included in the vehicle log, thereby generating one or more segmented logs; an existing identifier storage unit (150) for storing a list of identifiers corresponding to existing segmented logs generated by segmenting an existing vehicle log shared by the vehicle log sending device (10) and a vehicle log analysis server using an ID included in the existing vehicle log, i.e., an existing identifier list; a vehicle log sending necessity determination unit (140) for generating identifiers for each of the one or more segmented logs, determining a segmented log corresponding to an identifier in the existing identifier list among the generated identifiers as a first segmented log, and determining a segmented log corresponding to an identifier not included in the existing identifier list as a second segmented log; and a vehicle side communication unit (170) for sending the identifier corresponding to the first segmented log to the vehicle log analysis server, and sending the second segmented log to the vehicle log analysis server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a vehicle log sending device, a vehicle log analysis server, a vehicle log analysis system, and a vehicle log sending and receiving method. Background Art

[0002] In recent years, multiple devices called electronic control units (ECUs) have been installed in automobile systems. The network connecting these ECUs is called an in-vehicle network. There are multiple standards for in-vehicle networks. One of the most mainstream in-vehicle networks is the CAN (Controller Area Network) standard specified by ISO11898-1.

[0003] In CAN, the communication route is composed of two buses, and the ECUs connected to the buses are called nodes. Each node connected to the bus sends and receives messages called frames. In CAN, there are no identifiers indicating the destination node and the source node. The sending node assigns an ID called a message ID to each frame and sends it. Each receiving node only receives frames assigned a predetermined message ID.

[0004] Therefore, there is a threat that the CAN bus is connected to the ECU, and a frame including abnormal control instructions is sent by disguising as a regular ECU, thereby being able to improperly control the car.

[0005] To address this threat, there is a method disclosed in Patent Document 1, for example, for detecting the intrusion of unauthorized data, that is, abnormal control commands, in an in-vehicle network or the like.

[0006] However, when a server system outside the vehicle monitors data of the in-vehicle network system, a large amount of data may be transmitted from the in-vehicle network system to the external server system. It is not easy to prepare resources for processing such a large amount of data.

[0007] Patent document 2 discloses a method for reducing the amount of communication data by dividing the large amount of data into each specified data size, comparing each divided data with the data stored in the server, only sending the hash value of the divided data when the data is consistent, and sending the divided data when the data is inconsistent to the server.

[0008] (Prior art literature)

[0009] (Patent Document)

[0010] Patent Document 1: Japanese Patent Application Publication No. 2014-146868

[0011] Patent Document 2: Japanese Patent Application Publication No. 2012-79044

[0012] However, the in-vehicle network log includes data that changes depending on the state of the car and time data. Therefore, in the conventional method of dividing the log according to each predetermined data size, the probability that the divided data of the log currently obtained is consistent with the divided data of the log obtained in the past and stored in the server is low. Therefore, there is a problem that a large amount of divided data needs to be sent to the server, and it is difficult to significantly reduce the amount of communication data compared to the case of sending the log in a state of not dividing it. Summary of the invention

[0013] Therefore, the present disclosure provides a vehicle log transmitting device and the like that can effectively reduce the amount of communication data of a vehicle log transmitted from a vehicle to a server outside the vehicle.

[0014] In order to solve the above problem, a vehicle log sending device of the present disclosure sends a vehicle log including a plurality of data to a vehicle log analysis server, wherein the plurality of data respectively correspond to IDs indicating the types of data, and the vehicle log sending device comprises: a vehicle log obtaining unit for obtaining the vehicle log; a vehicle log segmentation processing unit for segmenting the obtained vehicle log using the IDs included in the vehicle log, thereby generating one or more segmented logs; an existing identifier storage unit for storing an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, wherein the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using the IDs included in the existing vehicle log; a vehicle log sending necessity determination unit for generating identifiers for the one or more segmented logs, respectively, determining a segmented log corresponding to an identifier present in the existing identifier list among the generated identifiers as a first segmented log, and determining a segmented log corresponding to an identifier not present in the existing identifier list as a second segmented log; and a vehicle-side communication unit for transmitting the identifier corresponding to the first segmented log to the vehicle log analysis server, and transmitting the second segmented log to the vehicle log analysis server.

[0015] Moreover, their general or specific forms may also be implemented by systems, methods, integrated circuits, computer programs, or recording media such as computer-readable CD-ROMs, or by any combination of systems, methods, integrated circuits, computer programs, and recording media.

[0016] The vehicle log transmission device and the like involved in one aspect of the present disclosure can effectively reduce the amount of communication data of the vehicle log transmitted between the vehicle and the server outside the vehicle. As a result, the vehicle log can be transmitted to the external server without preparing resources capable of communicating a large amount of vehicle logs, and the intrusion of improper data into the vehicle network can be detected by using the external server of the vehicle, which can contribute to the safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is an overall configuration diagram of a vehicle log analysis system according to Embodiment 1 of the present disclosure.

[0018] Figure 2 This is a configuration diagram of a vehicle log transmitting device according to Embodiment 1 of the present disclosure.

[0019] Figure 3 This is a structural diagram of a vehicle log analysis server according to Embodiment 1 of the present disclosure.

[0020] Figure 4 This is a diagram showing an example of a vehicle log according to the first embodiment of the present disclosure.

[0021] Figure 5 This is a diagram showing an example of a vehicle log definition table according to the first embodiment of the present disclosure.

[0022] Figure 6 This is a diagram showing an example of a vehicle log division and processing rule according to the first embodiment of the present disclosure.

[0023] Figure 7 This is a diagram showing an example of a divided processing log according to the first embodiment of the present disclosure.

[0024] Figure 8 This is a diagram showing an example of an identifier of a divided processing log according to the first embodiment of the present disclosure.

[0025] Fig. 9 This is a diagram showing an example of an existing identifier list according to Embodiment 1 of the present disclosure.

[0026] Fig.10 This is a diagram showing an example of a conventional divided log list according to the first embodiment of the present disclosure.

[0027] Fig.11 It is a diagram showing a sequence of vehicle log transmission processing according to the first embodiment of the present disclosure.

[0028] Fig.12 It is a diagram showing a sequence of vehicle log receiving processing according to the first embodiment of the present disclosure.

[0029] Fig.13It is a diagram showing the sequence of abnormality log detection processing in Embodiment 1 of the present disclosure.

[0030] Fig.14 This is a flowchart of the vehicle log division processing according to the first embodiment of the present disclosure.

[0031] Fig.15 This is a flowchart of the divided processing log transmission process according to the first embodiment of the present disclosure.

[0032] Fig.16 This is a flowchart of the vehicle log restoration process according to the first embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] The vehicle log sending device of the present disclosure sends a vehicle log including a plurality of data to a vehicle log analysis server, wherein the plurality of data respectively correspond to IDs indicating the types of data, and the vehicle log sending device comprises: a vehicle log obtaining unit for obtaining the vehicle log; a vehicle log segmentation processing unit for segmenting the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; an existing identifier storage unit for storing an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, wherein the existing segmented logs are logs generated by segmenting existing vehicle logs shared by the vehicle log sending device and the vehicle log analysis server using the IDs included in the existing vehicle logs; a vehicle log sending necessity determination unit for generating identifiers for the one or more segmented logs, respectively, determining a segmented log corresponding to an identifier in the existing identifier list among the generated identifiers as a first segmented log, and determining a segmented log corresponding to an identifier not in the existing identifier list as a second segmented log; and a vehicle-side communication unit for transmitting the identifier corresponding to the first segmented log to the vehicle log analysis server, and transmitting the second segmented log to the vehicle log analysis server.

[0034] According to this, in the vehicle log, when data such as the working result of a specific system or the sending result of a specific message corresponds to an ID, the vehicle log is divided by the ID, so that the vehicle log can be divided according to the type of data, and the probability that the divided log is consistent with the existing divided log becomes higher than the case where the division is performed simply according to the data size regardless of the type of data. Therefore, there are many identifiers corresponding to the first divided log that are consistent with the identifier corresponding to the existing divided log, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log with a small data size. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server (vehicle log analysis server) outside the vehicle can be effectively reduced.

[0035] Furthermore, it may also be that the vehicle log segmentation processing unit segments the obtained vehicle log according to each ID included in the vehicle log, thereby generating the one or more segmented logs, and the existing identifier storage unit stores the existing identifier list, which is a list corresponding to the existing segmented logs, and the existing segmented log is a log generated by segmenting the existing vehicle log according to each ID included in the existing vehicle log.

[0036] Thus, the vehicle log is divided for each ID, and thus, the vehicle log can be divided for each type of data, and the probability that the divided log is consistent with the existing divided log becomes higher. Therefore, the identifiers corresponding to the first divided log that are consistent with the identifiers corresponding to the existing divided log are more, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0037] Furthermore, it may also be that the vehicle log includes the multiple data in which multiple IDs starting from a specified ID are set as a cycle and are arranged in a manner of periodically repeating the multiple IDs, the vehicle log segmentation processing unit segments the obtained vehicle log according to the multiple IDs starting from the specified ID included in the vehicle log, thereby generating the one or more segmented logs, and the existing identifier storage unit stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs, and the existing segmented log is a log generated by segmenting the existing vehicle log according to the multiple IDs starting from the specified ID included in the existing vehicle log.

[0038] Accordingly, in the vehicle log, when data such as the result of the operation of a specific system for each ID or the result of sending a specific message for each ID are arranged in a manner that multiple IDs starting from a specified ID are set as one cycle and the multiple IDs are repeatedly arranged in a periodic manner, the vehicle log is divided in a manner that each of the divided logs starts from the specified ID, and accordingly, the ID of one cycle included in the divided log is likely to be the same as the ID of one cycle included in the existing divided log. Therefore, the probability that the divided log is consistent with the existing divided log becomes higher, and the identifier corresponding to the first divided log that is consistent with the identifier corresponding to the existing divided log is more, making it difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0039] Furthermore, it may also be that the vehicle log includes the multiple data corresponding to the time information respectively, the vehicle log segmentation processing unit further performs the processing of replacing the time information included in the one or more segmented logs with the time index information, the existing identifier storage unit further stores the existing identifier list, the existing identifier list is a list of identifiers corresponding to the existing segmented logs after the time information is replaced with the time index information, and the vehicle-side communication unit further sends a time list showing the correspondence between the time information and the time index information to the vehicle log analysis server.

[0040] The time information is information that is definitely different between the split log and the existing split log, and is also information that is the main reason that prevents the split log from being consistent with the existing split log. In this regard, the time information of the split log and the existing split log is replaced with the time index information, so that the time information can be excluded from the judgment of the consistency between the split log and the existing split log, thereby increasing the probability that the split log is consistent with the existing split log. Therefore, there are more identifiers corresponding to the first split log that are consistent with the identifier corresponding to the existing split log, making it difficult to send the second split log, and it is easy to send the identifier corresponding to the first split log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0041] Furthermore, it may also be that the vehicle log segmentation processing unit further performs processing of rearranging the one or more segmented logs according to the size of the ID value or the data value included in the one or more segmented logs, and the existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs rearranged according to the ID value or the data value.

[0042] Accordingly, when the segmented log and the existing segmented log include variable value data, the segmented log and the existing segmented log are rearranged in the order of the larger or smaller values ​​of the variable value data, thereby increasing the probability that the segmented log is consistent with the existing segmented log. Therefore, the identifiers corresponding to the first segmented log that are consistent with the identifiers corresponding to the existing segmented log are more, making it difficult to send the second segmented log, and it is easy to send the identifiers corresponding to the first segmented log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0043] Furthermore, it may be that the vehicle log segmentation processing unit further performs a replacement process of replacing the value of the data included in the one or more segmented logs with a specified value or a zero-number process of rounding the value of the data, and the existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs on which the replacement process or the zero-number process has been performed.

[0044] According to this, data that changes according to the working time and working frequency of a specific function of the vehicle, such as counters and checksums, and data that are not related to the control of the vehicle, or small values ​​of sensors, etc., can be excluded from the judgment of the consistency between the divided log and the existing divided log, thereby increasing the probability that the divided log is consistent with the existing divided log. Therefore, more identifiers corresponding to the first divided log that are consistent with the identifier corresponding to the existing divided log are more, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0045] Furthermore, the vehicle log transmission device may further include an existing identifier registration unit that registers, in the existing identifier list, an identifier corresponding to the divided log determined as the second divided log by the vehicle log transmission necessity determination unit.

[0046] Accordingly, there is no need for the vehicle log sending device and the vehicle log analysis server to pre-share the segmented logs, and there is no need to pre-build existing segmented logs, which can reduce development costs. In addition, the more concentrated the vehicle logs are on the vehicle log analysis server, the more types of existing segmented logs there are, and the probability that the segmented logs are consistent with the existing segmented logs becomes higher. Therefore, there are more identifiers corresponding to the first segmented log that are consistent with the identifiers corresponding to the existing segmented logs, making it difficult to send the second segmented log, and it is easy to send the identifiers corresponding to the first segmented log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0047] Furthermore, the vehicle log analysis server of the present disclosure receives a vehicle log including a plurality of data from a vehicle log sending device, the plurality of data respectively corresponding to an ID indicating the type of data, and the vehicle log analysis server comprises: a server-side communication unit, which receives from the vehicle log sending device an identifier corresponding to a first split log among one or more split logs, and a second split log other than the first split log among the one or more split logs, wherein the one or more split logs are logs generated by splitting the vehicle log using the ID included in the vehicle log; an existing split log storage unit, which stores an existing split log list, wherein the existing split log list is a list of existing split logs and identifiers corresponding to the existing split logs, wherein the existing split log is a log generated by splitting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using the ID included in the existing vehicle log; a vehicle log restoration unit, which, when receiving the identifier corresponding to the first split log, refers to the existing split log list, obtains the existing split log corresponding to the identifier in the existing split log list, and restores the vehicle log by combining the second split log with the existing split log; and a vehicle log storage unit, which stores the restored vehicle log.

[0048] According to this, in the vehicle log, when data such as the result of a specific system operation or the result of sending a specific message corresponds to an ID, the vehicle log can be divided by the ID, so that the vehicle log can be divided according to the type of data, and the probability that the divided log is consistent with the existing divided log becomes higher than the case where the division is performed simply according to the data size regardless of the type of data. Therefore, there are many identifiers corresponding to the first divided log that are consistent with the identifier corresponding to the existing divided log, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log with a small data size. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0049] Furthermore, it may also be that the server-side communication unit receives, from the vehicle log sending device, an identifier corresponding to the first split log among the one or more split logs, and the second split log among the one or more split logs, wherein the one or more split logs are logs generated by splitting the vehicle log according to each ID included in the vehicle log, and the existing split log storage unit stores the existing split log list, which is a list of the existing split logs and identifiers corresponding to the existing split logs, and the existing split log is a log generated by splitting the existing vehicle log according to each ID included in the existing vehicle log.

[0050] Thus, the vehicle log is divided for each ID, and thus, the vehicle log can be divided for each type of data, and the probability that the divided log is consistent with the existing divided log becomes higher. Therefore, the identifiers corresponding to the first divided log that are consistent with the identifiers corresponding to the existing divided log are more, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0051] Furthermore, it may also be that the vehicle log includes the multiple data in which multiple IDs starting from a specified ID are set as a cycle and are arranged in a manner that the multiple IDs are periodically repeated, the server-side communication unit receives from the vehicle log sending device an identifier corresponding to the first split log among the one or more split logs and the second split log among the one or more split logs, the one or more split logs are logs generated by splitting the vehicle log according to the multiple IDs starting from the specified ID included in the vehicle log, and the existing split log storage unit stores the existing split log list, the existing split log list is a list of the existing split logs and the identifiers corresponding to the existing split logs, the existing split log is a log generated by splitting the existing vehicle log according to the multiple IDs starting from the specified ID included in the existing vehicle log.

[0052] Accordingly, in the vehicle log, when data such as the result of the operation of a specific system for each ID or the result of sending a specific message for each ID are arranged in a manner that multiple IDs starting from a specified ID are set as one cycle and the multiple IDs are repeatedly arranged in a periodic manner, the vehicle log is divided in a manner that each of the divided logs starts from the specified ID, and accordingly, the ID of one cycle included in the divided log is likely to be the same as the ID of one cycle included in the existing divided log. Therefore, the probability that the divided log is consistent with the existing divided log becomes higher, and the identifier corresponding to the first divided log that is consistent with the identifier corresponding to the existing divided log is more, making it difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0053] Furthermore, the vehicle log analysis server may further include: an abnormal log detection unit that monitors the restored vehicle log and detects the vehicle log as an abnormal log when the vehicle log contains traces of an attack; and an abnormality notification unit that notifies a predetermined notification destination of the vehicle abnormality.

[0054] According to this, when a safety abnormality is detected in the restored vehicle log, the abnormality of the vehicle can be notified to a predetermined notification destination.

[0055] Furthermore, it may also be that the abnormal log detection unit further maintains an abnormal identifier list, and in a case where the server-side communication unit receives an identifier corresponding to the first segmented log, detects it as an abnormality when the identifier is included in the abnormal identifier list; and in a case where the server-side communication unit receives the second segmented log, detects the second segmented log as an abnormal log when the second segmented log includes traces of an attack, and registers the abnormal segmented log generated by segmenting the abnormal log using the ID included in the abnormal log into the abnormal identifier list, the abnormal identifier list is a list of identifiers corresponding to the abnormal segmented logs, and the abnormal segmented log is a log generated by segmenting a vehicle log that was previously judged to be abnormal using the ID included in the vehicle log.

[0056] Thus, the identifier of the abnormal segmented log is stored in advance, and the abnormality can be detected only based on the identifier of the segmented log without restoring the entire vehicle log. Therefore, the time from receiving the vehicle log to detecting the abnormality is shortened, and measures for the abnormality can be taken as soon as possible.

[0057] Furthermore, it may also be that the vehicle log includes the multiple data corresponding to the time information respectively, the server-side communication unit receives from the vehicle log sending device the identifier corresponding to the first split log among the one or more split logs after the time information is replaced with the time index information, the second split log among the one or more split logs, and a time list showing the correspondence between the time information and the time index information, the existing split log storage unit further stores the existing split log list, the existing split log list is the existing split log after the time information is replaced with the time index information, and a list of identifiers corresponding to the existing split logs, and the vehicle log restoration unit, when receiving the identifier corresponding to the first split log, refers to the existing split log list to obtain the existing split log corresponding to the identifier in the existing split log list, refers to the time list to replace the time index information included in the existing split log with the time information, and restores the vehicle log in combination with the second split log and the existing split log.

[0058] The time information is information that is definitely different between the split log and the existing split log, and is also information that is the main reason that prevents the split log from being consistent with the existing split log. In this regard, the time information of the split log and the existing split log is replaced with the time index information, so that the time information can be excluded from the judgment of the consistency between the split log and the existing split log, thereby increasing the probability that the split log is consistent with the existing split log. Therefore, there are more identifiers corresponding to the first split log that are consistent with the identifier corresponding to the existing split log, making it difficult to send the second split log, and it is easy to send the identifier corresponding to the first split log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0059] Furthermore, it may also be that the server-side communication unit receives an identifier corresponding to the first split log among the one or more split logs, and the second split log among the one or more split logs, wherein the one or more split logs are logs rearranged according to the size of the ID value or the data value, and the existing split log storage unit further stores the existing split log list, which is the existing split logs rearranged according to the size of the ID value or the data value, and a list of identifiers corresponding to the existing split logs; the vehicle log recovery unit, when receiving the identifier corresponding to the first split log, refers to the existing split log list to obtain the existing split log corresponding to the identifier in the existing split log list, replaces the time index information of the existing split log with the time information with reference to the time list, rearranges the existing split logs in order from early to late with reference to the replaced time information, and restores the vehicle log in combination with the second split log and the existing split log.

[0060] Accordingly, when the segmented log and the existing segmented log include variable value data, the segmented log and the existing segmented log are rearranged in the order of the larger or smaller values ​​of the variable value data, thereby increasing the probability that the segmented log is consistent with the existing segmented log. Therefore, the identifiers corresponding to the first segmented log that are consistent with the identifiers corresponding to the existing segmented log are more, making it difficult to send the second segmented log, and it is easy to send the identifiers corresponding to the first segmented log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0061] Furthermore, it may also be that the server-side communication unit receives an identifier corresponding to the first split log among the one or more split logs, and the second split log among the one or more split logs, wherein the one or more split logs are logs on which a replacement process of replacing the value of data with a specified value or a zero process of rounding the value of the data is performed, and the existing split log storage unit further stores the existing split log list, which is a list of the existing split logs on which the replacement process or the zero process is performed, and the identifiers corresponding to the existing split logs.

[0062] According to this, data that changes according to the working time and working frequency of a specific function of the vehicle, such as counters and checksums, and data that are not related to the control of the vehicle, or small values ​​of sensors, etc., can be excluded from the judgment of the consistency between the divided log and the existing divided log, thereby increasing the probability that the divided log is consistent with the existing divided log. Therefore, more identifiers corresponding to the first divided log that are consistent with the identifier corresponding to the existing divided log are more, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0063] Furthermore, the vehicle log analysis server may further include an existing divided log registration unit, which, upon receiving the second divided log, generates an identifier corresponding to the second divided log and registers the second divided log and the identifier in the existing divided log list.

[0064] Accordingly, there is no need for the vehicle log sending device to share the segmented logs with the vehicle log analysis server in advance, and there is no need to pre-build existing segmented logs, which can reduce development costs. In addition, the more concentrated the vehicle logs are on the vehicle log analysis server, the more types of existing segmented logs there are, and the probability that the segmented logs are consistent with the existing segmented logs becomes higher. Therefore, there are more identifiers corresponding to the first segmented log that are consistent with the identifiers corresponding to the existing segmented logs, making it difficult to send the second segmented log, and it is easy to send the identifiers corresponding to the first segmented log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0065] In addition, the vehicle log analysis system is composed of a vehicle log sending device and a vehicle log analysis server, and a vehicle log including a plurality of data corresponding to IDs indicating the types of data is sent from the vehicle log sending device to the vehicle log analysis server, wherein the vehicle log sending device comprises: a vehicle log obtaining unit for obtaining the vehicle log; a vehicle log segmentation processing unit for segmenting the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; an existing identifier storage unit for storing an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, and the existing segmented log is a log generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using the ID included in the existing vehicle log; and a vehicle log sending necessity judgment unit for generating identifiers for the one or more segmented logs, respectively, and sending the segmented logs corresponding to the identifiers in the generated identifiers to the segmented logs. The log is judged to be a first segmented log, and the segmented log corresponding to the identifier that does not exist in the existing identifier list is judged to be a second segmented log; and the vehicle-side communication unit sends the identifier corresponding to the first segmented log to the vehicle log analysis server, and sends the second segmented log to the vehicle log analysis server, the vehicle log analysis server comprising: a server-side communication unit, receiving the identifier corresponding to the first segmented log and the second segmented log sent from the vehicle-side communication unit; an existing segmented log storage unit, storing an existing segmented log list, the existing segmented log list is a list of the existing segmented logs and the identifiers corresponding to the existing segmented logs; a vehicle log restoration unit, when receiving the identifier corresponding to the first segmented log, refers to the existing segmented log list, obtains the existing segmented log corresponding to the identifier in the existing segmented log list, and restores the vehicle log by combining the second segmented log and the existing segmented log; and a vehicle log storage unit, storing the restored vehicle log.

[0066] According to this, in the vehicle log, when data such as the result of a specific system operation or the result of sending a specific message corresponds to an ID, the vehicle log can be divided by the ID, so that the vehicle log can be divided according to the type of data, and the probability that the divided log is consistent with the existing divided log becomes higher than the case where the division is performed simply according to the data size regardless of the type of data. Therefore, there are many identifiers corresponding to the first divided log that are consistent with the identifier corresponding to the existing divided log, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log with a small data size. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0067] Furthermore, it may also be that the vehicle log segmentation processing unit segments the obtained vehicle log according to each ID included in the vehicle log, thereby generating the one or more segmented logs, the existing identifier storage unit stores the existing identifier list, the existing identifier list is a list corresponding to the existing segmented logs, and the existing segmented log is a log generated by segmenting the existing vehicle log according to each ID included in the existing vehicle log, the server-side communication unit receives the identifier corresponding to the first segmented log among the one or more segmented logs and the second segmented log among the one or more segmented logs sent from the vehicle-side communication unit, and the existing segmented log storage unit stores the existing segmented log list, the existing segmented log list is a list of the existing segmented logs and the identifiers corresponding to the existing segmented logs, and the existing segmented log is a log generated by segmenting the existing vehicle log according to each ID included in the existing vehicle log.

[0068] Thus, the vehicle log is divided for each ID, and thus, the vehicle log can be divided for each type of data, and the probability that the divided log is consistent with the existing divided log becomes higher. Therefore, the identifiers corresponding to the first divided log that are consistent with the identifiers corresponding to the existing divided log are more, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0069] Furthermore, the vehicle log may include the plurality of data in which a plurality of IDs starting from a predetermined ID are set as one cycle and are arranged in a manner that the plurality of IDs are periodically repeated; the vehicle log segmentation processing unit segments the obtained vehicle log according to the plurality of IDs starting from the predetermined ID included in the vehicle log, thereby generating the one or more segmented logs; the existing identifier storage unit stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs, and the existing segmented logs are logs generated by segmenting the existing vehicle log according to the plurality of IDs starting from the predetermined ID included in the existing vehicle log; the server-side communication unit receives the identifier corresponding to the first segmented log among the one or more segmented logs and the second segmented log among the one or more segmented logs, which are sent from the vehicle-side communication unit; and the existing segmented log storage unit stores the existing segmented log list, which is a list of the existing segmented logs and the identifiers corresponding to the existing segmented logs, and the existing segmented logs are logs generated by segmenting the existing vehicle log according to each ID included in the existing vehicle log.

[0070] Accordingly, in the vehicle log, when data such as the result of the operation of a specific system for each ID or the result of sending a specific message for each ID are arranged in a manner that multiple IDs starting from a specified ID are set as one cycle and the multiple IDs are repeatedly arranged in a periodic manner, the vehicle log is divided in a manner that each of the divided logs starts from the specified ID, and accordingly, the ID of one cycle included in the divided log is likely to be the same as the ID of one cycle included in the existing divided log. Therefore, the probability that the divided log is consistent with the existing divided log becomes higher, and the identifier corresponding to the first divided log that is consistent with the identifier corresponding to the existing divided log is more, making it difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0071] Furthermore, it may also be that the vehicle log includes the plurality of data respectively corresponding to the time information, the vehicle log segmentation processing unit further performs processing to replace the time information included in the one or more segmented logs with the time index information, the existing identifier storage unit further stores the existing identifier list, the existing identifier list is a list of identifiers corresponding to the existing segmented logs after the time information is replaced with the time index information, the vehicle-side communication unit further sends a time list showing the correspondence between the time information and the time index information to the vehicle log analysis server, and the server-side communication unit further receives the time index information from the vehicle-side communication unit The present segmented log storage unit receives the time list, further stores the present segmented log list, the present segmented log list is the present segmented log after replacing the time information with the time index information, and a list of identifiers corresponding to the present segmented logs, the vehicle log recovery unit, upon receiving the identifier corresponding to the first segmented log, refers to the present segmented log list, obtains the present segmented log corresponding to the identifier in the present segmented log list, refers to the time list, replaces the time index information included in the present segmented log with the time information, and recovers the vehicle log in combination with the second segmented log and the present segmented log.

[0072] The time information is information that is definitely different between the split log and the existing split log, and is also information that is the main reason that prevents the split log from being consistent with the existing split log. In this regard, the time information of the split log and the existing split log is replaced with the time index information, so that the time information can be excluded from the judgment of the consistency between the split log and the existing split log, thereby increasing the probability that the split log is consistent with the existing split log. Therefore, there are more identifiers corresponding to the first split log that are consistent with the identifier corresponding to the existing split log, making it difficult to send the second split log, and it is easy to send the identifier corresponding to the first split log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0073] Furthermore, it may also be that the vehicle log segmentation processing unit further performs processing to rearrange the one or more segmented logs according to the size of the ID value or the data value included in the one or more segmented logs, the existing identifier storage unit further stores the existing identifier list, the existing identifier list is a list of identifiers corresponding to the existing segmented logs rearranged according to the size of the ID value or the data value, the server-side communication unit receives the identifier corresponding to the first segmented log among the one or more segmented logs, and the second segmented log among the one or more segmented logs, the one or more segmented logs are logs rearranged according to the size of the ID value or the data value, and the existing There is a segmented log storage unit, which further stores the existing segmented log list, which is the existing segmented logs rearranged according to the size of the ID value or the data value, and a list of identifiers corresponding to the existing segmented logs. The vehicle log recovery unit, when receiving the identifier corresponding to the first segmented log, refers to the existing segmented log list, obtains the existing segmented log corresponding to the identifier in the existing segmented log list, replaces the time index information of the existing segmented log with the time information with reference to the time list, rearranges the existing segmented logs in order from early to late with reference to the replaced time information, and restores the vehicle log in combination with the second segmented log and the existing segmented log.

[0074] Accordingly, when the segmented log and the existing segmented log include variable value data, the segmented log and the existing segmented log are rearranged in the order of the larger or smaller values ​​of the variable value data, thereby increasing the probability that the segmented log is consistent with the existing segmented log. Therefore, the identifiers corresponding to the first segmented log that are consistent with the identifiers corresponding to the existing segmented log are more, making it difficult to send the second segmented log, and it is easy to send the identifiers corresponding to the first segmented log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0075] Furthermore, it may also be that the vehicle log segmentation processing unit further performs a replacement process of replacing the value of the data included in the one or more segmented logs with a specified value or a zero-number process of rounding the value of the data, and the existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs on which the replacement process or the zero-number process has been performed, and the server-side communication unit receives the identifier corresponding to the first segmented log among the one or more segmented logs, and the second segmented log among the one or more segmented logs, and the one or more segmented logs are logs on which the replacement process or the zero-number process has been performed, and the existing segmented log storage unit further stores the existing segmented log list, which is the existing segmented log on which the replacement process or the zero-number process has been performed, and a list of identifiers corresponding to the existing segmented logs.

[0076] According to this, data that changes according to the working time and working frequency of a specific function of the vehicle, such as counters and checksums, and data that are not related to the control of the vehicle, or small values ​​of sensors, etc., can be excluded from the judgment of the consistency between the divided log and the existing divided log, thereby increasing the probability that the divided log is consistent with the existing divided log. Therefore, more identifiers corresponding to the first divided log that are consistent with the identifier corresponding to the existing divided log are more, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0077] Furthermore, the vehicle log analysis server may further include: an abnormal log detection unit that monitors the restored vehicle log and detects the vehicle log as an abnormal log when the vehicle log contains traces of an attack; and an abnormality notification unit that notifies a predetermined notification destination of the vehicle abnormality.

[0078] According to this, when a safety abnormality is detected in the restored vehicle log, the abnormality of the vehicle can be notified to a predetermined notification destination.

[0079] Furthermore, it may also be that the abnormal log detection unit further maintains an abnormal identifier list, and in a case where the server-side communication unit receives an identifier corresponding to the first segmented log, detects it as an abnormality when the identifier is included in the abnormal identifier list; and in a case where the server-side communication unit receives the second segmented log, detects the second segmented log as an abnormal log when the second segmented log includes traces of an attack, and registers the abnormal segmented log generated by segmenting the abnormal log using the ID included in the abnormal log into the abnormal identifier list, the abnormal identifier list is a list of identifiers corresponding to the abnormal segmented logs, and the abnormal segmented log is a log generated by segmenting a vehicle log that was previously judged to be abnormal using the ID included in the vehicle log.

[0080] Thus, the identifier of the abnormal segmented log is stored in advance, and the abnormality can be detected only based on the identifier of the segmented log without restoring the entire vehicle log. Therefore, the time from receiving the vehicle log to detecting the abnormality is shortened, and measures for the abnormality can be taken as soon as possible.

[0081] Furthermore, it may be that the vehicle log sending device further comprises an existing identifier registration unit, which registers the identifier corresponding to the split log determined as the second split log by the vehicle log sending necessity determination unit into the existing identifier list, and the vehicle log analysis server further comprises an existing split log registration unit, which generates an identifier corresponding to the second split log when receiving the second split log, and registers the second split log and the identifier into the existing split log list.

[0082] Accordingly, there is no need for the vehicle log sending device to share the segmented logs with the vehicle log analysis server in advance, and there is no need to pre-build existing segmented logs, which can reduce development costs. In addition, the more concentrated the vehicle logs are on the vehicle log analysis server, the more types of existing segmented logs there are, and the probability that the segmented logs are consistent with the existing segmented logs becomes higher. Therefore, there are more identifiers corresponding to the first segmented log that are consistent with the identifiers corresponding to the existing segmented logs, making it difficult to send the second segmented log, and it is easy to send the identifiers corresponding to the first segmented log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0083] Furthermore, the vehicle log obtaining unit may obtain at least one of a vehicle log including a vehicle network log based on a CAN or CAN-FD protocol including a frame ID as the ID of the vehicle log, a vehicle network log based on a FlexRay (registered trademark) protocol including a time slot ID as the ID of the vehicle log, a vehicle network log based on an Ethernet (registered trademark) protocol including an IP address as the ID of the vehicle log, and a system work log including a process number as the ID of the vehicle log.

[0084] According to this, logs based on a specific protocol are collected, and according to this, the format of the vehicle log can be unified, and the probability that the split log is consistent with the existing split log becomes higher. Therefore, the identifiers corresponding to the first split log that are consistent with the identifiers corresponding to the existing split log are more, and it is difficult to send the second split log, and it is easy to send the identifier corresponding to the first split log. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0085] The vehicle log sending and receiving method of the present disclosure is composed of a vehicle log sending method of a vehicle log sending device and a vehicle log receiving method of a vehicle log analysis server, wherein a vehicle log including a plurality of data respectively corresponding to an ID indicating the type of data is sent from the vehicle log sending device to the vehicle log analysis server, wherein the vehicle log sending device is provided with an existing identifier storage unit, wherein the existing identifier storage unit stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, wherein the existing segmented log is a log generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using the ID included in the existing vehicle log, wherein the vehicle log analysis server is provided with an existing segmented log storage unit, wherein the existing segmented log storage unit stores an existing segmented log list, which is a list of the existing segmented log and the identifiers corresponding to the existing segmented logs, and wherein the vehicle log sending method comprises: a vehicle log obtaining step of obtaining the vehicle log; a vehicle log segmentation processing step of segmenting the obtained vehicle log using the vehicle log The ID included in the vehicle log is split to generate more than one split log; a vehicle log sending or not judging step, generating identifiers for the more than one split logs respectively, judging the split log corresponding to the identifier in the generated identifiers that exists in the existing identifier list as the first split log, and judging the split log corresponding to the identifier that does not exist in the existing identifier list as the second split log; and a vehicle side communication step, sending the identifier corresponding to the first split log to the vehicle log analysis server, and sending the second split log to the vehicle log analysis server, the vehicle log receiving method comprises: a server side communication step, receiving the identifier corresponding to the first split log and the second split log sent in the vehicle side communication step; a vehicle log restoring step, when receiving the identifier corresponding to the first split log, referring to the existing split log list, obtaining the existing split log corresponding to the identifier in the existing split log list, and restoring the vehicle log by combining the second split log and the existing split log; and a vehicle log saving step, storing the restored vehicle log.

[0086] According to this, in the vehicle log, when data such as the result of a specific system operation or the result of sending a specific message corresponds to an ID, the vehicle log can be divided by the ID, so that the vehicle log can be divided according to the type of data, and the probability that the divided log is consistent with the existing divided log becomes higher than the case where the division is performed simply according to the data size regardless of the type of data. Therefore, there are many identifiers corresponding to the first divided log that are consistent with the identifier corresponding to the existing divided log, and it is difficult to send the second divided log, and it is easy to send the identifier corresponding to the first divided log with a small data size. Therefore, the amount of communication data of the vehicle log sent from the vehicle to the server outside the vehicle can be more effectively reduced.

[0087] Moreover, their general or specific forms may also be implemented by systems, methods, integrated circuits, computer programs, or recording media such as computer-readable CD-ROMs, or by any combination of systems, methods, integrated circuits, computer programs, or recording media.

[0088] Hereinafter, the vehicle log sending device, vehicle log analysis server, vehicle log analysis system and vehicle log sending and receiving method involved in the implementation mode will be described with reference to the accompanying drawings. The implementation modes shown here all show a specific example of the present disclosure. Therefore, the numerical values, constituent elements, configuration positions and connection forms of constituent elements, steps of the elements to be processed, and the order of the steps shown in the following implementation modes are examples and do not limit the purpose of the present disclosure. Among the constituent elements of the following implementation modes, the constituent elements that are not recorded in the implementation mode showing the highest level concept are constituent elements that can be supplemented arbitrarily. In addition, each figure is a schematic diagram and is not necessarily a strictly illustrated figure.

[0089] (Implementation Method 1)

[0090] [Overall structure of the vehicle log analysis system]

[0091] Figure 1 This is an overall configuration diagram of the vehicle log analysis system 100 according to the first embodiment of the present disclosure.

[0092] exist Figure 1 In the embodiment, the vehicle log analysis system 100 is composed of a vehicle log analysis server 20 and a vehicle 200, and the vehicle log analysis server 20 is connected to the vehicle 200 via an external network 50. The external network 50 is, for example, the Internet. The communication method of the external network 50 may be wired or wireless. Furthermore, the wireless communication method may be Wi-Fi (registered trademark) or 3G / LTE (Long Term Evolution) as the prior art.

[0093] The vehicle 200 includes the vehicle log transmission device 10 , an ECU 30 a , an ECU 30 b , an ECU 30 c , a sensor 40 a , an engine 40 b , and a steering gear 40 c .

[0094] The vehicle log transmitting device 10 is connected to the vehicle log analyzing server 20 via an external network 50 .

[0095] In the vehicle 200, the vehicle log transmission device 10, ECU 30a, ECU 30b, and ECU 30c are connected to each other via a vehicle network 60. The vehicle network 60 is, for example, CAN. Moreover, the vehicle network 60 may also be a communication protocol such as CAN-FD, FlexRay, Ethernet, etc.

[0096] The ECU 30a is connected to the sensor 40a, the ECU 30b is connected to the engine 40b, and the ECU 30c is connected to the steering gear 40c.

[0097] The ECUs 30 a , 30 b , and 30 c obtain the status of the devices connected respectively, and periodically transmit messages indicating the obtained status to the vehicle network 60 .

[0098] The ECU 30 a obtains sensor information measured by the sensor 40 a that measures the acceleration of the vehicle 200 , and transmits a message including a data value indicating the sensor information to the vehicle network 60 .

[0099] The ECU 30b obtains the number of revolutions as a state of the engine 40b and transmits a message including a data value indicating the number of revolutions to the vehicle network 60. The ECU 30b controls the number of revolutions of the engine 40b based on the information on the engine 40b obtained from the vehicle network 60.

[0100] The ECU 30c obtains the steering angle of the steering gear 40c and transmits a message including a data value indicating the steering angle to the vehicle network 60. The ECU 30c controls the steering angle of the steering gear 40c based on the information on the steering gear 40c obtained from the vehicle network 60.

[0101] Hereinafter, the ECU 30 a , the ECU 30 b , and the ECU 30 c , the sensor 40 a , the engine 40 b , and the steering gear 40 c connected to the vehicle network 60 are collectively referred to as a vehicle system 300 .

[0102] The vehicle log transmitting device 10 obtains the vehicle log from the ECUs 30a, 30b, and 30c, and transmits the obtained vehicle log to the vehicle log analyzing server 20 via a communication protocol such as HTTPS. The vehicle log will be described in detail later.

[0103] The vehicle log analysis server 20 is a server outside the vehicle 200 that receives the vehicle log from the vehicle log transmitting device 10 , analyzes the received vehicle log, and detects a security threat, that is, detects an abnormality of the vehicle 200 .

[0104] [Structure of vehicle log transmission device]

[0105] Next, the vehicle log transmitting device 10 will be described.

[0106] Figure 2 2 is a block diagram of a vehicle log transmission device 10 according to Embodiment 1 of the present disclosure. The vehicle log transmission device 10 is a device that transmits a vehicle log including a plurality of data corresponding to IDs indicating the types of data to a vehicle log analysis server 20. In FIG. 2, the vehicle log transmission device 10 includes a vehicle log acquisition unit 110, a vehicle log segmentation processing unit 120, a vehicle log segmentation processing rule storage unit 130, a vehicle log transmission necessity determination unit 140, an existing identifier storage unit 150, an existing identifier registration unit 160, and a vehicle-side communication unit 170.

[0107] The vehicle log acquisition unit 110 is connected to the vehicle system 300 via the vehicle network 60. The vehicle log acquisition unit 110 acquires a vehicle log related to the operation of the vehicle 200 (specifically, a vehicle log including a plurality of data corresponding to IDs indicating the types of data), and notifies the vehicle log segmentation processing unit 120 of the acquired vehicle log. In addition, the vehicle log may also include a plurality of data arranged in a manner that a plurality of IDs starting from a predetermined ID are set as a cycle and the plurality of IDs are periodically repeated. In addition, the vehicle log may also include a plurality of data corresponding to time information.

[0108] The vehicle log segmentation processing unit 120 segments the vehicle log obtained by the vehicle log obtaining unit 110 using the ID included in the vehicle log, thereby generating one or more segmented logs. For example, the vehicle log segmentation processing unit 120 may also segment the obtained vehicle log according to each ID included in the vehicle log, thereby generating one or more segmented logs. Also, for example, the vehicle log segmentation processing unit 120 may also segment the obtained vehicle log according to multiple IDs included in the vehicle log starting from a specified ID, thereby generating one or more segmented logs. Also, for example, the vehicle log segmentation processing unit 120 may also further perform a process of replacing the time information included in the one or more segmented logs with the time index information, thereby generating a segmented processed log. Also, for example, the vehicle log segmentation processing unit 120 may also further perform a process of rearranging the one or more segmented logs according to the size of the ID value or the data value included in the one or more segmented logs, thereby generating a segmented processed log. Furthermore, for example, the vehicle log segmentation processing unit 120 may further perform a replacement process of replacing the value of data included in one or more segmented logs with a specified value or a zero-number process of rounding the value of the data to generate a segmented and processed log. The vehicle log segmentation processing unit 120 has a function of segmenting and processing the vehicle log according to the rule to generate the segmented and processed log, and notifying the vehicle log transmission necessity determination unit 140 of the generated segmented and processed log and the segmentation number used when segmenting the vehicle log. The rule used by the vehicle log segmentation processing unit 120 when generating the segmented and processed log is set as the vehicle log segmentation processing rule. The vehicle log segmentation processing rule and the segmentation processing log will be described in detail later.

[0109] The vehicle log division and processing rule storage unit 130 stores the vehicle log division and processing rule used by the vehicle log division and processing unit 120 .

[0110] The existing identifier storage unit 150 stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs generated by segmenting the existing vehicle log shared by the vehicle log transmitting device 10 and the vehicle log analyzing server 20 using the ID included in the existing vehicle log. The identifier is, for example, a hash value. For example, the existing identifier storage unit 150 may also store an existing identifier list, which is a list of identifiers corresponding to existing segmented logs generated by segmenting the existing vehicle log according to each ID included in the existing vehicle log. Also, for example, the existing identifier storage unit 150 may also store an existing identifier list, which is a list of identifiers corresponding to existing segmented logs generated by segmenting the existing vehicle log according to a plurality of IDs included in the existing vehicle log starting from a specified ID. Also, for example, the existing identifier storage unit 150 may further store an existing identifier list, which is a list of identifiers corresponding to the existing segmented logs after replacing the time information with the time index information. Also, for example, the existing identifier storage unit 150 may further store an existing identifier list, which is a list of identifiers corresponding to the existing segmented logs rearranged according to the value of the ID or the size of the data value. In addition, for example, the existing identifier storage unit 150 may further store an existing identifier list which is a list of identifiers corresponding to existing segmented logs that have been replaced or zeroed. The existing identifier list is composed of a set of segment numbers and hash values ​​of the segmented processed logs that the vehicle log sending device 10 has sent to the vehicle log analysis server 20 in the past. The existing identifier list is shared by the vehicle log sending device 10 and the vehicle log analysis server 20.

[0111] The vehicle log transmission necessity determination unit 140 generates identifiers for each of the one or more divided logs, determines the divided log corresponding to the identifier in the generated identifier that is present in the existing identifier list as the first divided log, and determines the divided log corresponding to the identifier that is not present in the existing identifier list as the second divided log. The vehicle log transmission necessity determination unit 140 generates a hash value for the divided and processed log received from the vehicle log division and processing unit 120 as an identifier for each divided number. When the hash value for the generated divided and processed log is included in the existing identifier list stored in the existing identifier storage unit 150, the vehicle log transmission necessity determination unit 140 determines the divided and processed log corresponding to the hash value as the first divided log that does not need to be transmitted. When the hash value for the generated divided and processed log is not included in the existing identifier list stored in the existing identifier storage unit 150, the vehicle log transmission necessity determination unit 140 determines the divided and processed log corresponding to the hash value as the second divided log that needs to be transmitted.

[0112] The existing identifier registration unit 160 registers the identifier corresponding to the divided log (divided processed log) determined as the second divided log by the vehicle log transmission necessity determination unit 140 into the existing identifier list. Specifically, the existing identifier registration unit 160 additionally registers the hash value of the divided processed log determined as the divided processed log to be transmitted by the vehicle log transmission necessity determination unit 140 into the existing identifier list of the existing identifier storage unit 150.

[0113] The vehicle-side communication unit 170 transmits the identifier corresponding to the first split log to the vehicle log analysis server 20, and transmits the second split log to the vehicle log analysis server 20. Specifically, the vehicle-side communication unit 170 transmits the hash value of the split processed log (first split log) determined as unnecessary to be transmitted by the vehicle log transmission necessity determination unit 140 and its split number to the vehicle log analysis server 20, and transmits the split processed log (second split log) determined as necessary to be transmitted by the vehicle log transmission necessity determination unit 140 to the vehicle log analysis server 20. Furthermore, the vehicle-side communication unit 170 transmits the generated vehicle log split processing rule to the vehicle log analysis server 20. For example, the vehicle-side communication unit 170 may also transmit a time list showing the correspondence between time information and time index information to the vehicle log analysis server 20 as the vehicle log split processing rule.

[0114] [Structure of vehicle log analysis server]

[0115] Figure 3 1 is a block diagram of the vehicle log analysis server 20 according to the first embodiment of the present disclosure. The vehicle log analysis server 20 is a device that receives a vehicle log including a plurality of data corresponding to IDs indicating the types of data from the vehicle log transmission device 10. Figure 3 In the embodiment, the vehicle log analysis server 20 includes a server-side communication unit 210, a vehicle log restoration unit 220, an existing segmented log storage unit 230, a vehicle log segmentation processing rule storage unit 240, a vehicle log storage unit 250, an existing segmented log registration unit 260, an abnormal log detection unit 270, and an abnormal notification unit 280.

[0116] The server-side communication unit 210 is connected to the external network 50, and receives, from the vehicle log sending device 10 via the external network 50, an identifier corresponding to a first divided log among one or more divided logs generated by dividing the vehicle log using the ID included in the vehicle log, and a second divided log other than the first divided log among the one or more divided logs. Specifically, the server-side communication unit 210 receives the divided processed log or the hash value of the divided processed log, and its divided number, and notifies the vehicle log restoration unit 220 of the received divided processed log or the hash value of the divided processed log, and its divided number. Furthermore, the server-side communication unit 210 receives the vehicle log dividing processing rule received by the vehicle log sending device 10 from the vehicle log dividing processing rule, and stores it in the vehicle log dividing processing rule storage unit 240. For example, the server-side communication unit 210 may also receive, from the vehicle log sending device 10, an identifier corresponding to a first divided log among one or more divided logs generated by dividing the vehicle log according to each ID included in the vehicle log, and a second divided log among the one or more divided logs. Furthermore, for example, the server-side communication unit 210 may also receive, from the vehicle log transmitting device 10, an identifier corresponding to a first divided log among one or more divided logs generated by dividing the vehicle log according to a plurality of IDs starting from a predetermined ID included in the vehicle log, and a second divided log among one or more divided logs. Furthermore, for example, the server-side communication unit 210 may also receive, from the vehicle log transmitting device 10, an identifier corresponding to a first divided log among one or more divided logs after replacing the time information with the time index information, a second divided log among the one or more divided logs, and a time list showing the correspondence between the time information and the time index information. Furthermore, for example, the server-side communication unit 210 may also receive an identifier corresponding to a first divided log among one or more divided logs rearranged according to the value of the ID or the size of the value of the data, and a second divided log among one or more divided logs. Furthermore, for example, the server-side communication unit 210 may also receive an identifier corresponding to a first divided log among one or more divided logs after performing a replacement process of replacing the value of the data with a predetermined value or a zero-number process of rounding the value of the data, and a second divided log among one or more divided logs.

[0117] The existing split log storage unit 230 stores the existing split logs generated by splitting the existing vehicle log shared by the vehicle log sending device 10 and the vehicle log analysis server 20 using the ID included in the existing vehicle log, and the existing split log list, which is a list of identifiers corresponding to the existing split logs. For example, the existing split log storage unit 230 may also store the existing split logs generated by splitting the existing vehicle log according to each ID included in the existing vehicle log, and the existing split log list, which is a list of identifiers corresponding to the existing split logs. Also, for example, the existing split log storage unit 230 may also store the existing split logs generated by splitting the existing vehicle log according to a plurality of IDs starting from a predetermined ID included in the existing vehicle log, and the existing split log list, which is a list of identifiers corresponding to the existing split logs. Also, for example, the existing split log storage unit 230 may further store the existing split logs after the time information is replaced with the time index information, and the existing split log list, which is a list of identifiers corresponding to the existing split logs. Furthermore, for example, the existing split log storage unit 230 may further store the existing split logs rearranged according to the size of the ID value or the data value, and the list of identifiers corresponding to the existing split logs, i.e., the existing split log list. Furthermore, for example, the existing split log storage unit 230 may further store the existing split logs on which the replacement process or the number processing is performed, and the list of identifiers corresponding to the existing split logs, i.e., the existing split log list.

[0118] The vehicle log restoration unit 220, when receiving the identifier corresponding to the first split log, refers to the existing split log list, obtains the existing split log corresponding to the identifier in the existing split log list, and restores the vehicle log by combining the second split log and the existing split log. Specifically, when the hash value of the split processed log and its split number are notified from the server-side communication unit 210, the vehicle log restoration unit 220 obtains the existing split log that is consistent with the hash value of the split processed log from the existing split log list stored in the existing split log storage unit 230.

[0119] Furthermore, the vehicle log restoration unit 220, when receiving the existing split log, and when notifying the split processing log (second split log) from the server-side communication unit 210, restores the existing split log and the split processing log (second split log) to the vehicle log using the vehicle log split processing rule stored in the vehicle log split processing rule storage unit 240. For example, the vehicle log restoration unit 220 may also, when receiving the identifier corresponding to the first split log, refer to the existing split log list, obtain the existing split log corresponding to the identifier in the existing split log list, refer to the time list, replace the time index information included in the existing split log with the time information, and restore the vehicle log by combining the second split log and the existing split log. And, for example, when receiving the identifier corresponding to the first split log, the vehicle log restoration unit 220 may refer to the existing split log list, obtain the existing split log corresponding to the identifier in the existing split log list, refer to the time list, replace the time index information of the existing split log with the time information, refer to the replaced time information, rearrange the existing split logs in order from the earliest time to the latest time, and restore the vehicle log by combining the second split log and the existing split log. Furthermore, the vehicle log restoring unit 220 records the restored vehicle log in the vehicle log storage unit 250. The method of restoring the vehicle log will be described in detail later.

[0120] The existing split log registration unit 260 generates an identifier corresponding to the second split log when receiving the second split log, and registers the second split log and the identifier in the existing split log list. Specifically, when the split processing log (the second split log) is notified from the server-side communication unit 210, the existing split log registration unit 260 generates a hash value of the split processing log (the second split log), and stores the combination of the split processing log (the second split log) and the hash value of the split processing log (the second split log) in the existing split log list of the existing split log storage unit 230.

[0121] The vehicle log division and processing rule storage unit 240 stores the vehicle log division and processing rule describing the division method and processing method of the vehicle log.

[0122] The vehicle log storage unit 250 stores the restored vehicle log.

[0123] The abnormal log detection unit 270 monitors the restored vehicle log stored in the vehicle log storage unit 250, detects the vehicle log as an abnormal log when the vehicle log contains a trace of an attack, and notifies the abnormal notification unit 280. For example, when the vehicle log contains a log of a vehicle device operating at a timing different from a normal processing sequence and a log of a network communication including a control value outside a normal range, the abnormal log detection unit 270 has a function of assuming that there is a trace of a network attack on the vehicle and detecting it as a threat to security. In addition, for example, the abnormal log detection unit 270 may further maintain a list of identifiers corresponding to abnormal segmented logs generated by segmenting the vehicle log determined to be abnormal in the past using the ID included in the vehicle log, that is, an abnormal identifier list, and when the server-side communication unit 210 receives an identifier corresponding to the first segmented log, detects the abnormality when the identifier is included in the abnormal identifier list, and when the server-side communication unit 210 receives a second segmented log, if the second segmented log contains a trace of an attack, detects the second segmented log as an abnormal log, and registers the abnormal segmented log generated by segmenting the abnormal log using the ID included in the abnormal log in the abnormal identifier list.

[0124] The abnormality notification unit 280 notifies a predetermined notification destination of the abnormality of the vehicle. Specifically, the abnormality notification unit 280 receives the abnormal vehicle log from the abnormality log detection unit 270, and notifies the abnormality to a predetermined notification destination, such as an operator using the vehicle log analysis server 20 and a driver of the vehicle that output the abnormal log.

[0125] [Vehicle Log]

[0126] Figure 4 1 is a diagram showing an example of a vehicle log obtained by the vehicle log obtaining unit 110 according to Embodiment 1 of the present disclosure. The vehicle log includes a plurality of data items corresponding to IDs indicating the types of data items. Figure 4 The vehicle log includes ID1, ID2, ID3 and ID4 as IDs. And, Figure 4 The vehicle log includes multiple data of 8 bytes each. When the 8-byte data is set as one data, the one data corresponds to the ID. And, Figure 4As shown, a plurality of IDs starting from a specified ID are set as a cycle, and a plurality of data are arranged in a manner that the plurality of IDs are repeated periodically. For example, if the specified ID is ID1, then ID1, ID2, ID3, and ID4 starting from ID1 are set as a cycle, and a plurality of data are arranged in a manner that ID1, ID2, ID3, and ID4 are repeated periodically. Moreover, the specified ID is not limited to ID1. For example, if the specified ID is ID2, then ID2, ID3, ID4, and ID1 starting from ID2 are set as a cycle, and a plurality of data are arranged in a manner that ID2, ID3, ID4, and ID1 are repeated periodically. And, as Figure 4 It shows that a plurality of data correspond to time information. For example, the time such as "10:10:10" (10 o'clock, 10 minutes and 10 seconds) is the time information. Figure 4 In the vehicle log, the vehicle log is composed of a set of time, ID, and 8-byte data (eight 1-byte data). The time is the time when the vehicle log is generated.

[0127] ID is an identifier that indicates the type of data, for example, an event or message that identifies the source of the vehicle log. For example, regarding the vehicle log, the ID for an event indicating the system operation of the ECU is the process number, the ID for a message based on the CAN or CAN-FD communication protocol is the frame ID, the ID for a message based on the FlexRay communication protocol is the time slot ID, and the ID for a message based on the Ethernet communication protocol is the IP address.

[0128] Furthermore, each of the plurality of data is, for example, 8-byte data consisting of hexadecimal values ​​ranging from 0x00 to 0xFF per byte. Figure 4 In the hexadecimal notation, 0x is omitted and the data is recorded. For example, Figure 4 As shown in the figure, the first line of the vehicle log is an event or message that occurred at time "10:10:10", the ID is "ID1", "01" is represented in hexadecimal in the first byte, "50" is represented in hexadecimal in the second byte, "40" is represented in hexadecimal in the third byte, "30" is represented in hexadecimal in the fourth byte, "30" is represented in hexadecimal in the fifth byte, "30" is represented in hexadecimal in the sixth byte, "30" is represented in hexadecimal in the seventh byte, and "30" is represented in hexadecimal in the eighth byte.

[0129] For information on what the data value of each byte of the vehicle log indicates, refer to the vehicle log definition table. The vehicle log definition table will be described in detail later.

[0130] And, in Figure 4, the vehicle log with ID "ID1" shows that after the event at time "10:10:10", the event or message also occurs at time "10:20:10", "10:50:10", etc., and the event or message with ID "ID1" occurs periodically.

[0131] And, in Figure 4 , it is shown that the vehicle log with ID "ID2" continues to occur after the event or message with ID "ID1". That is, a plurality of data are arranged in a manner that a plurality of IDs (here, ID1, ID2, ID3, and ID4) are repeated periodically.

[0132] In this way, by referring to the vehicle log, the time and data of the event or message can be confirmed. Therefore, the vehicle log can be used to determine whether the vehicle system 300 is operating at a timing different from the normal processing sequence, or whether network communication including control values ​​outside the normal range is performed, etc., so as to detect security threats.

[0133] [Vehicle log definition table]

[0134] Figure 5 1 is a diagram showing an example of a vehicle log definition table used by the vehicle log segmentation processing unit 120 according to Embodiment 1 of the present disclosure. The vehicle log definition table is a table that defines a data type indicating what a data value of each byte of each ID of the vehicle log indicates.

[0135] exist Figure 5 In the case where the ID is "ID1", the first byte defines a "counter", and the second to eighth bytes define a "vehicle number".

[0136] When the ID is "ID2", the 1st byte defines "counter", the 2nd byte defines "checksum", the 3rd and 4th bytes define "speed", the 5th byte defines "movement", and the 6th to 8th bytes are unused and undefined.

[0137] When the ID is "ID3", the first byte defines "counter", the second byte defines "checksum", the third and fourth bytes define "rudder angle", and the fifth to eighth bytes are unused and undefined.

[0138] When the ID is "ID4", the first byte defines a "counter", the second and third bytes define "position information", and the fourth to eighth bytes are unused and undefined.

[0139] The defined "vehicle number" is a 7-byte value, which takes a fixed value for each vehicle. The defined "speed", "rudder angle" and "position information" are 2 bytes, values ​​from 0000 to FFFF. The defined "checksum" and "counter" are 1 byte, values ​​from 00 to FF. Regarding the defined "move", in the case of a value of "00", it indicates "parking", and in the case of a value of "01", it indicates "driving".

[0140] [Vehicle log segmentation and processing rules]

[0141] Next, the vehicle log segmentation processing rule is described. The vehicle log segmentation processing rule is a rule indicating the rule according to which the vehicle log segmentation processing unit 120 generates a segmentation processing log from a vehicle log. The vehicle log segmentation processing rule is generated when the vehicle log segmentation processing unit 120 generates a segmentation processing log from a vehicle log.

[0142] Figure 6 FIG. 1 is a diagram showing an example of the vehicle log segmentation and processing rule stored in the vehicle log segmentation and processing rule storage unit 130 according to the first embodiment of the present disclosure. Figure 6 In the vehicle log segmentation processing rule, a processing item, whether or not processing is performed, a value before processing, and a value after processing are formed.

[0143] The processing item is any one of "division", "time index", "sort (ascending order)", and "data replacement". The vehicle log division processing rule shows a rule for processing the vehicle log in order from top to bottom.

[0144] "Segmentation" refers to the rules for segmenting vehicle logs. For example, Figure 6 In , segmentation indicates the rule for segmenting the vehicle logs according to each ID.

[0145] "Time index" indicates the rules for replacing the time of the vehicle log with the time index information. Figure 6 In FIG. 1 , the time index shows the rule of assigning a serial number (T11, T12, . . . , T54) to the time of each ID.

[0146] "Sort (ascending)" indicates a rule for processing vehicle logs by rearranging specific bytes, such as the 4th byte, in the same ID in ascending order. Figure 6 In FIG. 1 , “sort (ascending order)” is shown as an example. However, when data of specific bytes in the same ID are rearranged in descending order, “sort (descending order)” is shown.

[0147] “Data replacement” indicates a rule for processing to replace all data areas that match a specific data type (eg, counter and checksum) described in the vehicle log definition table with specific values ​​(eg, 00).

[0148] Next, whether or not processing is performed is either "valid" or "invalid", indicating whether or not the rules of the corresponding processing item are executed. If the rules of the corresponding processing item are executed, whether or not processing is performed is "valid", and if the rules of the corresponding processing item are not executed, whether or not processing is performed is "invalid".

[0149] The value before processing shows the original value of the vehicle log in the corresponding processing item, and the value after processing shows the processed value of the vehicle log in the corresponding processing item (that is, the value of the divided processed log).

[0150] exist Figure 6 In the processing item "division", the processing is "valid". The value "ID1" before processing is set to the value "division number 1" after processing, and the value "ID2" before processing is set to the value "division number 2" after processing. According to this rule, data including the ID recorded in the value before processing is extracted from the vehicle log, and divided into divided logs with the division numbers recorded in the value after processing.

[0151] exist Figure 6 In the processing item "Time Index", the processing status is "Effective". The value "10:10:10" before processing is set to "T11" after processing, and the value "10:10:20" before processing is set to "T12" after processing.

[0152] exist Figure 6 In the processing item "Sort (Ascending)", the processing is "valid". The value before processing and the value after processing are "-", and "-" indicates the rule that the value is not replaced. This is because in "Sort (Ascending)", the data is rearranged, but the value of the data itself is not replaced.

[0153] Furthermore, in the processing item "Data Replacement", the processing status is "Valid", the values ​​before processing show the values ​​of "Counter" and "Checksum", and it indicates the rule to replace the values ​​of "Counter" and "Checksum" after processing with "00".

[0154] The vehicle log segmentation processing unit 120 generates a vehicle log segmentation processing rule when generating a segmentation processing log from the vehicle log, and sends the vehicle log segmentation processing rule when sending the segmentation processing log or the identifier of the segmentation processing log, thereby sharing the vehicle log segmentation processing rule between the vehicle log sending device 10 and the vehicle log analysis server 20. According to this, the segmentation processing log processed by the vehicle log sending device 10 can be restored to the original vehicle log in the vehicle log analysis server 20. Moreover, when the segmentation processing log is generated using a predetermined rule and the existing segmentation log is generated using the predetermined rule, when the predetermined rule is previously possessed by the vehicle log sending device 10 and the vehicle log analysis server 20, at least a time list showing the correspondence between time information and time index information can be sent from the vehicle log sending device 10 to the vehicle log analysis server 20 as the vehicle log segmentation processing rule. This is because the vehicle log analysis server 20 can restore information other than the time information using the predetermined rule.

[0155] [Segmentation Processing Log]

[0156] Figure 7 1 is a diagram showing an example of a divided and processed log generated by the vehicle log divided and processed unit 120 according to the first embodiment of the present disclosure. Figure 7 Yes, according to Figure 6 Vehicle log segmentation processing rules Figure 4 This is an example of a segmented and processed log when segmenting and processing the vehicle log described in . Figure 7 In the processing log, each division number is divided into a group of time, ID, and 8-byte data. Figure 7 FIG. 1 shows an example of a divided processed log generated when a vehicle log is divided for each ID.

[0157] exist Figure 7 In the process of splitting the processing log, Figure 6 The rule of "time index" in the vehicle log segmentation processing rule is replaced by the time index (T11, T12, ..., T54). For example, the time "T11" of the segmentation number "1" is the time index when the time "10:10:10" is replaced.

[0158] And, in Figure 7 In the example, the values ​​of the 4th byte of the rows at the time points "T13", "T23", and "T53" of the segment number "3" are "10", "20", and "30", respectively. Figure 6 According to the "Sort (Ascending)" rule in the vehicle log segmentation processing rule, the data of the 4th byte is sorted in ascending order.

[0159] Regarding the first byte of the split processing log, according to Figure 5 The vehicle log definition table is a "counter" according to Figure 6 According to the "data replacement" rule in the vehicle log segmentation processing rule, all data values ​​are replaced with "00".

[0160] As described above, in the segmented processing log, values ​​that are likely to change every time a vehicle log occurs, such as time, counter, checksum, event occurrence time, etc., are indexed or replaced with "00" etc. In addition, in the segmented processing log, it is also possible to perform zero-number processing such as rounding off small values ​​such as sensors.

[0161] and, Figure 7 An example of a split log (split processing log) when the vehicle log is split according to each ID is shown, but the vehicle log can also be split according to multiple IDs starting from a specified ID. For example, ID1 can be set as the specified ID, and the vehicle log can be split according to multiple IDs (ID1, ID2, ID3, and ID4) starting from ID1. Moreover, the specified ID is not limited to ID1. For example, when the specified ID is set to ID2, the vehicle log can also be split according to multiple IDs (ID2, ID3, ID4, and ID1) starting from ID2.

[0162] Furthermore, the conventional divided log described later may also be divided according to a plurality of IDs starting from a predetermined ID.

[0163] [Identifier for splitting processing log]

[0164] Next, the identifier for dividing the processing log will be described.

[0165] Figure 8 FIG. 1 is a diagram showing an example of a divided processing log identifier generated by the vehicle log transmission necessity determination unit 140 according to the first embodiment of the present disclosure. Figure 8 In the above, the identifier of the divided processed log is composed of the division number and the identifier. The vehicle log transmission necessity determination unit 140 generates a hash value of the divided processed log using a hash function for each divided processed log, and sets the hash value as the identifier.

[0166] Here, the hash function has a characteristic of outputting the same hash value if the data is the same, and algorithms such as MD5 and SHA256 are used.

[0167] exist Figure 8 For example, the identifier for the segment number "1" is "11223344".

[0168] [List of existing identifiers]

[0169] Next, the existing identifier list is described.

[0170] Fig. 9 FIG. 1 is a diagram showing an example of an existing identifier list stored in the existing identifier storage unit 150 according to the first embodiment of the present disclosure. Fig. 9 In the existing identifier list, the existing identifier list is composed of a number and an identifier group. The number indicates the order of registration in the existing identifier list, and the identifier indicates the hash value corresponding to the segmented processing log (existing segmented log) sent to the vehicle log analysis server 20.

[0171] exist Fig. 9 For example, the identifier of number "1" is "11223344".

[0172] [List of existing split logs]

[0173] Next, the existing divided log list will be described. Fig.10 FIG. 2 is a diagram showing an example of an existing divided log list stored in the existing divided log storage unit 230 according to the first embodiment of the present disclosure. Fig.10 In the existing segmented log list, a number, an identifier, a file path, and a combination of an abnormality are formed. The number indicates the order of registration in the existing segmented log list, the identifier indicates the hash value corresponding to the existing segmented log, the file path indicates the location where the existing segmented log is stored, and the abnormality detection result of the existing segmented log is indicated as "yes" or "no" in the abnormality. The abnormality list (abnormality identifier list) is a list of identifiers corresponding to abnormal segmented logs (for example, existing segmented logs corresponding to number 2 or 6) generated by segmenting a vehicle log that was previously determined to be abnormal using the ID included in the vehicle log.

[0174] exist Fig.10 For example, the identifier of number "1" is "11223344", the file path of the existing split log is " / log / 20180101A.log", and the presence or absence of abnormality in the existing split log is "none".

[0175] The vehicle log restoration unit 220 compares the hash value sent from the vehicle log sending device 10 to the vehicle log analysis server 20 and the hash value included in the existing identifier list. The existing segmented log is stored in the file path of the consistent hash value, so the existing segmented log is used to restore the vehicle log.

[0176] [Sequence of the vehicle log transmission process]

[0177] Next, the vehicle log transmission process of the vehicle log transmission device 10 will be described.

[0178] Fig.11 The following shows a processing sequence in which the vehicle log transmitting device 10 according to the first embodiment of the present disclosure transmits a vehicle log.

[0179] ( S1101 ) The vehicle log acquisition unit 110 of the vehicle log transmission device 10 acquires a vehicle log and notifies the vehicle log division processing unit 120 of the vehicle log.

[0180] (S1102) The vehicle log segmentation processing unit 120 obtains the vehicle log, and generates a segmentation processing log from the vehicle log using the vehicle log definition table. The rule used when generating the segmentation processing log is set as the vehicle log segmentation processing rule.

[0181] (S1103) The vehicle log segmentation processing unit 120 notifies the vehicle log transmission necessity determination unit 140 of the segmentation processing of the log. At this time, although not shown in the figure, the vehicle log segmentation processing unit 120 stores the vehicle log segmentation processing rule in the vehicle log segmentation processing rule storage unit 130, and notifies the vehicle log segmentation processing rule to the vehicle side communication unit 170.

[0182] (S1104) The vehicle log transmission necessity determination unit 140 obtains the divided and processed log, and generates a hash value of the divided and processed log.

[0183] (S1105) The vehicle log sending necessity determination unit 140 notifies the vehicle side communication unit 170 of the hash value (identifier corresponding to the first split log) and the split number of the split processing log when the generated hash value is included in the existing identifier list stored in the existing identifier storage unit 150.

[0184] (S1106) The vehicle-side communication unit 170 receives the obtained hash value and division number.

[0185] (S1107) The vehicle log sending determination unit 140, when the generated hash value is not included in the existing identifier list stored in the existing identifier storage unit 150, notifies the vehicle side communication unit 170 of the split processing log (second split log) and notifies the existing identifier registration unit 160 of the hash value of the split processing log (second split log).

[0186] (S1108) The existing identifier registration unit 160 additionally registers the received hash value to the existing identifier list of the existing identifier storage unit 150. The received hash value is Fig.12 In step S1205 , the vehicle log analysis server 20 also registers the vehicle log and shares the vehicle log transmission device 10 with the vehicle log analysis server 20 .

[0187] ( S1109 ) The vehicle-side communication unit 170 obtains the divided processing log (second divided log).

[0188] ( S1110 ) The vehicle-side communication unit 170 transmits the obtained hash value of the divided and processed log (first divided log), the division number, and the vehicle log division and processing rule to the vehicle log analysis server 20 .

[0189] ( S1111 ) The vehicle-side communication unit 170 transmits the obtained divided and processed log (second divided log) and the vehicle log divided and processed rule to the vehicle log analysis server 20 .

[0190] [Sequence of vehicle log receiving process]

[0191] Next, the vehicle log receiving process of the vehicle log analysis server 20 will be described.

[0192] Fig.12 The following is a processing sequence in which the vehicle log analysis server 20 according to Embodiment 1 of the present disclosure receives a vehicle log.

[0193] (S1201) The server-side communication unit 210 receives the hash value, the segmentation number, and the vehicle log segmentation rule of the segmented log (first segmented log) from the vehicle log transmission device 10, and notifies the hash value, the segmentation number, and the vehicle log segmentation rule of the segmented log (first segmented log) to the vehicle log restoration unit 220. In addition, although not shown in the figure, the server-side communication unit 210 notifies the abnormal log detection unit 270 of the hash value of the segmented log (first segmented log).

[0194] (S1202) The vehicle log restoration unit 220 obtains the hash value, segmentation number and vehicle log segmentation processing rule of the segmented processing log (first segmented log), obtains the file path of the existing segmented log having the same hash value as the hash value of the segmented processing log (first segmented log) from the existing segmented log list stored in the existing segmented log storage unit 230, and obtains the existing segmented log from the file path.

[0195] ( S1203 ) The server-side communication unit 210 receives the divided and processed log (second divided log) and the vehicle log divided and processed rule, and notifies the divided and processed log (second divided log) and the vehicle log divided and processed rule to the vehicle log restoration unit 220 .

[0196] (S1204) The vehicle log restoration unit 220 receives the divided log (second divided log), the divided number, and the vehicle log divided rule.

[0197] (S1205) The existing split log registration unit 260 obtains the split processing log (second split log), generates a hash value of the split processing log (second split log), and registers the file path storing the split processing log (second split log) and the generated hash value in the existing split log list of the existing split log storage unit 230. The split processing log (second split log) received by the server-side communication unit 210 this time becomes the existing split log in the future.

[0198] ( S1206 ) The vehicle log restoration unit 220 restores the vehicle log using the existing divided log having the same hash value as the hash value of the first divided log, the divided and processed log (the second divided log), and the vehicle log divided and processed rule.

[0199] [Sequence of abnormal log detection processing]

[0200] Next, the abnormal log detection process of the vehicle log analysis server 20 will be described.

[0201] Fig.13 The following is a processing sequence for detecting an abnormal log by the vehicle log analysis server 20 according to the first embodiment of the present disclosure.

[0202] (S1301) The abnormal log detection unit 270 determines the hash value of the split processing log (the first split log), and the row that is consistent with the hash value of the item of the identifier of the existing split log list stored in the existing split log storage unit 230. If the abnormality is "yes", it is judged as an abnormality and the abnormality is notified to the abnormal notification unit 280.

[0203] (S1302) The abnormality notification unit 280 notifies a predetermined notification destination, such as a user of the vehicle log analysis server 20 or a driver of a vehicle in the vehicle log in which the abnormality has occurred, of the abnormality.

[0204] ( S1303 ) When the divided processed log (second divided log) contains a trace of the attack, the abnormal log detection unit 270 determines that it is abnormal, and notifies the abnormality notification unit 280 of the abnormality.

[0205] (S1304) The abnormality notification unit 280 notifies a predetermined notification destination, for example, a user of the vehicle log analysis server 20 or a driver of a vehicle in the vehicle log in which the abnormality has occurred, of the abnormality.

[0206] (S1305) The abnormality log detection unit 270 updates and registers the detected abnormality in the existing split log list of the existing split log storage unit 230. Specifically, the abnormality log detection unit 270 associates the file path storing the split processing log (the second split log) and the generated hash value with "yes" indicating the presence or absence of the abnormality, and updates the existing split log list.

[0207] [Flowchart of the segmentation processing log generation process]

[0208] Next, the process of generating a divided and processed log from a vehicle log according to a rule by the vehicle log dividing and processing unit 120 will be described. The rule is set by, for example, a user of the vehicle log analysis system 100 or a user of the vehicle 200.

[0209] Fig.14 A flowchart showing a divided and processed log generation process performed by the vehicle log divided and processed unit 120 according to the first embodiment of the present disclosure is shown.

[0210] ( S1401 ) The vehicle log division processing unit 120 obtains the vehicle log from the vehicle log obtaining unit 110 .

[0211] (S1402) The vehicle log segmentation processing unit 120 determines whether to segment the vehicle log for each ID based on the rule. When the vehicle log segmentation processing unit 120 determines that the vehicle log is to be segmented for each ID (in the case of "Yes"), it sets the processing item "segmentation" and whether the processing is "valid" to generate a vehicle log segmentation processing rule. The vehicle log segmentation processing unit 120 sets the ID of the vehicle log to the value before processing and the serial number as the segmentation number to the value after processing to form a list. Next, the vehicle log segmentation processing unit 120 performs the processing of step S1403. When the vehicle log segmentation processing unit 120 determines that the vehicle log is not to be segmented for each ID (in the case of "No"), it sets the processing item "segmentation" and whether the processing is "invalid" to generate a vehicle log segmentation processing rule. Next, the vehicle log segmentation processing unit 120 performs the processing of step S1404.

[0212] The vehicle log segmentation processing unit 120 determines that the vehicle log is segmented for each ID, which means, for example, that the rule is a rule (setting) for segmenting the vehicle log for each ID. Also, the vehicle log segmentation processing unit 120 determines that the vehicle log is not segmented for each ID, which means, for example, that the rule is a rule (setting) for not segmenting the vehicle log for each ID. The vehicle log segmentation processing rule generated after the determination in step S1402 is the same as Figure 6 The "split" lines correspond to.

[0213] (S1403) The vehicle log division processing unit 120 divides the vehicle log for each ID, and generates a divided log for each division number.

[0214] (S1404) The vehicle log segmentation processing unit 120 determines whether to process the "time" of the vehicle log according to the rule. When the vehicle log segmentation processing unit 120 determines to process the "time" of the vehicle log (in the case of "Yes"), it executes the processing of S1405. When the vehicle log segmentation processing unit 120 determines not to process the "time" of the vehicle log (in the case of "No"), it sets the processing item "time index" and the processing presence or absence to "invalid" and generates a vehicle log segmentation processing rule. Next, the vehicle log segmentation processing unit 120 executes the processing of step S1407.

[0215] (S1405) The vehicle log segmentation processing unit 120 sets the processing item "time index" and whether the processing is "valid", sets the time of the vehicle log to the value before processing, sets the serial number of the time index to the value after processing, and generates a time list.

[0216] The vehicle log segmentation processing unit 120 determines that the "time" of the vehicle log is to be processed, which means, for example, that the rule is a rule (setting) for processing the "time" of the vehicle log. Also, the vehicle log segmentation processing unit 120 determines that the "time" of the vehicle log is not to be processed, which means, for example, that the rule is a rule (setting) for not processing the "time" of the vehicle log. The vehicle log segmentation processing rule generated in step S1405 is the same as Figure 6 The vehicle log segmentation processing rule corresponds to the row of "time index", and is an example of a time list showing the correspondence between time information and time index information. According to the time list, for example, the time "10:10:10" corresponds to the time index "T11".

[0217] ( S1406 ) The vehicle log division processing unit 120 refers to the value before processing and the value after processing in the time list, and replaces the time of the vehicle log with the serial number that is the time index of the value after processing.

[0218] (S1407) The vehicle log segmentation processing unit 120 determines whether to sort the "data" of the vehicle log in ascending order according to the rule. When the vehicle log segmentation processing unit 120 determines that the "data" of the vehicle log is to be sorted ("Yes" case), the processing item "sort (ascending order)", whether the processing is "valid", the value before processing "-", and the value after processing "-" are set to generate a vehicle log segmentation processing rule. Next, the vehicle log segmentation processing unit 120 executes the processing of step S1408. When the vehicle log segmentation processing unit 120 determines that the "data" of the vehicle log is not to be sorted ("No" case), the processing item "sort (ascending order)", whether the processing is "invalid", and the vehicle log segmentation processing rule is generated. Next, the vehicle log segmentation processing unit 120 executes the processing of step S1411.

[0219] The vehicle log segmentation processing unit 120 determines that the "data" of the vehicle log is to be sorted, which means, for example, that the rule is a rule (setting) for sorting the "data" of the vehicle log. Also, the vehicle log segmentation processing unit 120 determines that the "data" of the vehicle log is not to be sorted, which means, for example, that the rule is a rule (setting) for not sorting the "data" of the vehicle log. The vehicle log segmentation processing rule generated after the determination of step S1407 is the same as Figure 6 The row corresponding to "Sort (Ascending)" of .

[0220] (S1408) The vehicle log division processing unit 120 rearranges the vehicle log data in ascending order.

[0221] (S1409) The vehicle log segmentation processing unit 120 determines whether to process the specified "data" of the vehicle log according to the rule. When the vehicle log segmentation processing unit 120 determines that the specified "data" of the vehicle log is to be processed (in the case of "Yes"), it sets the processing item "data replacement", whether the processing is "valid", the value before processing "counter", the value after processing "00", the value before processing "checksum", and the value after processing "00", and generates a vehicle log segmentation processing rule. Then, the vehicle log segmentation processing unit 120 performs the processing of step S1410. When the vehicle log segmentation processing unit 120 determines that the specified "data" is not to be processed (in the case of "No"), it sets the processing item "data replacement", whether the processing is "invalid", and generates a vehicle log segmentation processing rule. Then, the vehicle log segmentation processing unit 120 performs the processing of step S1411.

[0222] The vehicle log segmentation processing unit 120 determines that the specified "data" of the vehicle log is to be processed, which means, for example, that the rule is a rule (setting) for processing the specified "data" of the vehicle log. Also, the vehicle log segmentation processing unit 120 determines that the specified "data" of the vehicle log is not to be processed, which means, for example, that the rule is a rule (setting) for not processing the specified "data" of the vehicle log. The vehicle log segmentation processing rule generated after the determination in step S1409 is the same as Figure 6 The "Data Replacement" line corresponds to.

[0223] (S1410) The vehicle log division processing unit 120 replaces the counter value of the vehicle log with "00" and replaces the checksum value with "00".

[0224] (S1411) The vehicle log dividing and processing unit 120 stores the divided and processed log after the vehicle log is divided and processed.

[0225] [Flowchart of the split processing log sending process]

[0226] Next, the process of determining whether or not to transmit the divided and processed log by the vehicle log transmission necessity determination unit 140 will be described.

[0227] Fig.15 A flowchart showing the divided and processed log transmission process performed by the vehicle log transmission necessity determination unit 140 according to the first embodiment of the present disclosure.

[0228] (S1501) The vehicle log transmission necessity determination unit 140 obtains a segmentation log for each segmentation number from the vehicle log segmentation unit 120, and sets the obtained segmentation log as segmentation log [i]. Here, i represents the segmentation number, which is an integer from 1 to N, and N represents the number of segmentations of the vehicle log.

[0229] ( S1502 ) The vehicle log transmission necessity determination unit 140 sets i to 1.

[0230] (S1503) The vehicle log transmission necessity determination unit 140 generates a hash value of the divided and processed log [i].

[0231] (S1504) The vehicle log transmission necessity determination unit 140 determines whether the generated hash value is consistent with the identifier (hash value) of the existing identifier list of the existing identifier storage unit 150. In other words, the vehicle log transmission necessity determination unit 140 determines whether the generated hash value exists in the existing identifier list. The vehicle log transmission necessity determination unit 140 performs the processing of step S1505 when the generated hash value exists in the existing identifier list (in the case of "Yes"), and performs the processing of step S1507 when the generated hash value does not exist in the existing identifier list (in the case of "No").

[0232] ( S1505 ) The vehicle log transmission necessity determination unit 140 determines that the target divided and processed log [i] is the first divided log that does not need to be transmitted to the vehicle log analysis server 20 .

[0233] ( S1506 ) The vehicle log transmission necessity determination unit 140 generates a hash value corresponding to the target divided processed log [i], and notifies the vehicle-side communication unit 170 of the generated hash value being transmitted to the vehicle log analysis server 20 .

[0234] ( S1507 ) The vehicle log transmission necessity determination unit 140 determines that the target divided and processed log [i] is the second divided log that needs to be transmitted to the vehicle log analysis server 20 .

[0235] ( S1508 ) The vehicle log transmission necessity determination unit 140 notifies the vehicle-side communication unit 170 to transmit the target divided and processed log [i] to the vehicle log analysis server 20 .

[0236] (S1509) The vehicle log transmission necessity determination unit 140 determines whether i is N. If i is N (in the case of "Yes"), the processing is terminated. If i is not N (in the case of "No"), the processing of step S1510 is executed.

[0237] (S1510) The vehicle log transmission necessity determination unit 140 adds i to 1. Steps S1509 and S1510 allow the processing of steps S1503 to S1508 to be performed according to the number of divisions of the vehicle log.

[0238] [Flowchart of vehicle log restoration process]

[0239] Next, the process of restoring the received divided and processed log (second divided log) or hash value (identifier corresponding to the first divided log) to the vehicle log by the vehicle log restoring unit 220 will be described.

[0240] Fig.16The flowchart of the vehicle log restoration process of the vehicle log restoration unit 220 according to the first embodiment of the present disclosure is shown. The divided and processed log obtained from the vehicle log transmission device 10 is referred to as divided and processed log [i]. Here, i represents the division number, which is an integer from 1 to N, and N represents the number of divisions of the vehicle log.

[0241] ( S1601 ) The vehicle log restoration unit 220 obtains N divided and processed logs [i] or the hash value of the divided and processed log [i] from the server-side communication unit 210 .

[0242] (S1602) The vehicle log restoration unit 220 sets i to 1.

[0243] (S1603) The vehicle log restoration unit 220 determines whether a hash value has been obtained. If the hash value of the segmented processed log [i] has been obtained (in the case of "Yes"), the vehicle log restoration unit 220 performs the processing of step S1604. If the hash value of the segmented processed log [i] has not been obtained, that is, if the segmented processed log [i] has been obtained (in the case of "No"), the vehicle log restoration unit 220 performs the processing of step S1605.

[0244] (S1604) The vehicle log restoration unit 220 searches for an identifier that matches the hash value of the divided processed log [i] from the existing divided log list of the existing divided log storage unit 230, and obtains the existing divided log [i] from the file path corresponding to the identifier.

[0245] (S1605) The vehicle log restoration unit 220 determines whether the processing item "time index" of the vehicle log segmentation processing rule stored in the vehicle log segmentation processing rule storage unit 240 is "valid". If the vehicle log restoration unit 220 determines that it is "valid" (if "yes"), it executes the processing of step S1606, and if it does not determine that it is "valid" (if "no"), it executes the processing of step S1608.

[0246] (S1606) The vehicle log restoration unit 220, regarding the time (time index) of the split processing log [i] or the existing split log [i], if the processed value of the processing item "time index" of the vehicle log split processing rule is consistent, then the time of the split processing log [i] or the existing split log [i] is replaced with the pre-processed value of the processing item "time index" of the vehicle log split processing rule.

[0247] (S1607) The vehicle log restoration unit 220 rearranges the divided processed log [i] or the existing divided log [i] in order from the earliest time to the latest time. By steps S1606 and S1607, the divided processed log [i] or the existing divided log [i] is returned to the divided log [i] before being processed by the vehicle log division processing unit 120 of the vehicle log transmitting device 10, that is, after being divided using the ID.

[0248] (S1608) The vehicle log restoration unit 220 stores the divided and processed log [i] after the processing of step S1606 and step S1607 as divided log [i].

[0249] (S1609) The vehicle log restoration unit 220 determines whether i is N. If i is N ("Yes"), the vehicle log restoration unit 220 executes the process of S1611, and if i is not N ("No"), the vehicle log restoration unit 220 executes the process of S1610.

[0250] (S1610) The vehicle log restoration unit 220 adds i to 1. Steps S1609 and S1610 allow the processing of steps S1603 to S1608 to be performed according to the number of divisions of the vehicle log.

[0251] (S1611) The vehicle log restoration unit 220 combines the N divided logs [i] in order from the smallest to the largest division number i, and rearranges them in order from the earliest to the latest time.

[0252] (S1612) The vehicle log restoration unit 220 stores the N divided logs [i] after the processing of step S1611 as a vehicle log.

[0253] (Other Embodiments)

[0254] As described above, the embodiment 1 is described as an example of the technology involved in the present disclosure. However, the technology involved in the present disclosure is not limited to this, and can also be applied to the embodiments that are appropriately changed, replaced, supplemented, omitted, etc. For example, the following modified examples are also included in one embodiment of the present disclosure.

[0255] (1) In the above embodiments, safety measures for vehicles such as automobiles are described, but the scope of application of the present disclosure is not limited thereto. The present disclosure is not limited to automobiles, but can also be applied to mobile objects such as construction machinery, agricultural machinery, ships, railways, and airplanes.

[0256] (2) In the above embodiment, the vehicle log sending device 10 is described as being installed in the vehicle. However, the vehicle log sending device 10 may be an edge server that sends a plurality of vehicle logs at a time, or a cloud server that collects vehicle logs.

[0257] (3) In the above embodiment, it is described that the vehicle log analysis server 20 includes the abnormal log detection unit 270 and the abnormality notification unit 280, but the abnormal log detection unit 270 and the abnormality notification unit 280 are not essential components. In the case where the vehicle log analysis server 20 does not include the abnormal log detection unit 270 and the abnormality notification unit 280, for example, the collected vehicle logs can be analyzed manually, and if there are traces of an attack, it is detected as abnormal.

[0258] (4) In the above embodiment, it is described that the vehicle log is a system operation log of the ECU or a network log based on CAN, CAN-FD, Ethernet, or FlexRay. However, the ECU may be an IVI (In-Vehicle Infotaiment System) or a sensor device, and the network may be LIN or MOST, or a combination thereof.

[0259] (5) In the above embodiment, the vehicle log segmentation processing rule is shared in advance by the vehicle log sending device 10 and the vehicle log analysis server 20. However, the vehicle log segmentation processing rule may be updated every time the vehicle log sending device 10 sends a vehicle log, or the vehicle log analysis server 20 may periodically update the vehicle log segmentation processing rule. In this case, the existing segmented log storage unit 230 may also store the vehicle number of the vehicle equipped with the vehicle log sending device 10 and the vehicle log segmentation processing rule that varies according to the vehicle model.

[0260] (6) The above embodiment describes that, for the existing identifier storage unit 150, the vehicle log sending device 10 and the vehicle log analysis server 20 share the existing identifier list in advance. However, the vehicle log segmentation processing rules may be updated each time the vehicle log sending device 10 sends the vehicle log, or the vehicle log analysis server 20 may periodically update the vehicle log segmentation processing rules.

[0261] (7) In the above embodiment, the vehicle-side communication unit 170 sends a segmented processing log or a hash value of a segmented processing log, but may also send data compressed using a compression algorithm such as LHA, ZIP, 7z, RAR, AFA, CAB, GCA, DGCA, StuffIt, Compact Pro, pack, compress, bzip, bzip2, or Zstandard.

[0262] (8) In the above embodiment, the vehicle log transmission necessity determination unit 140 refers to the existing identifier list stored in the vehicle log transmission device 10 to determine whether the split log needs to be transmitted. However, the vehicle log analysis server 20 may store the existing identifier list. In this case, the vehicle log transmission necessity determination unit 140 transmits the identifier of the split processed log to the vehicle log analysis server 20. If the identifier matches any of the identifiers of the existing split logs stored in the vehicle log analysis server 20, it is determined that the split processed log does not need to be transmitted. The vehicle log transmission necessity determination unit 140 responds to the vehicle log transmission necessity determination unit 140 to transmit the identifier of the split processed log. If the identifier does not match the identifier of the existing split log, it is determined that the split processed log needs to be transmitted. The vehicle log transmission necessity determination unit 140 responds to the vehicle log transmission necessity determination unit 140 to transmit the split processed log. Furthermore, the vehicle log analysis server 20 may store the existing log list of a plurality of vehicles for each vehicle category. In this way, the possibility that the split processed log matches the existing split log can be further increased.

[0263] (9) In the above embodiment, it is described that the hash value is used as the identifier of the divided processing log, but multiple hash functions may be used to set a combination of multiple hash values ​​as the identifier, or a combination of a hash value and a data size may be used as the identifier. In this way, even if one hash value of different logs is the same, the identifier can be associated with the log.

[0264] (10) In the above embodiment, even when the divided processing log does not match the existing identifier list, the time information is replaced with the time index information, sorted, and data replacement is performed. However, this does not necessarily need to be performed.

[0265] (11) In the above embodiment, it is described that the segmented processing log includes the time or time index, and the data is replaced with a specified value. However, it can also be limited to the information required by the abnormal log detection unit 270 to detect abnormal logs. For example, in the case where the abnormal log detection unit 270 detects an abnormality when the value of a specific data area is greater than a specified value, the time information and detailed data are not required, and the segmented processing log is processed by deleting the time information or rounding the data. In addition, when the abnormal log detection unit 270 uses machine learning to detect abnormalities, feature quantities such as differential information of the time series used for machine learning can also be set as data of the segmented processing log.

[0266] (12) In the above embodiment, the abnormality notification unit 280 notifies the user or driver of the vehicle log analysis server 20 of the abnormality, but the notification destination may also be the police, the Ministry of Transportation, or an organization that shares vulnerability information.

[0267] (13) In the above embodiment, it is described that the vehicle log segmentation processing rule is created when the vehicle log segmentation processing unit 120 generates a segmentation processing log from the vehicle log, and is shared by the vehicle log sending device 10 and the vehicle log analysis server 20. However, in the vehicle log segmentation processing rule, the processing items of "segmentation", sorting (ascending order)", "data replacement", "processing", "pre-processing value" and "post-processing value" are not shared when the segmentation processing log is generated, but in advance. However, the "pre-processing value" and "post-processing value" of the processing item "time index" cannot be shared in advance, so they need to be created when the vehicle log segmentation processing unit 120 generates the segmentation processing log and dynamically shared by the vehicle log analysis server 20.

[0268] (14) A part or all of the components of each device of the above-mentioned embodiment may also be constituted by a system LSI (Large Scale Integration). System LSI is a super-multifunctional LSI manufactured by integrating multiple components on a single chip, specifically, a computer system composed of a microprocessor, ROM, RAM, etc. Computer programs are recorded in RAM. The microprocessor works according to the computer program, and the system LSI realizes its functions accordingly. In addition, each part of the components constituting each device may be individually monolithic, or may be monolithic in a manner that includes a part or all. In addition, here, it is set as system LSI, but there may be cases where it is called IC, LSI, super LSI, and super LSI depending on the degree of integration. In addition, the method of integrated circuitization is not limited to LSI, and it can also be realized by a dedicated circuit or a general-purpose processor. It is also possible to use an FPGA (Field Programmable Gate Array) that can be programmed after the LSI is manufactured, or a reconfigurable processor that can reconfigure the connection and settings of the circuit units inside the LSI. Furthermore, if integrated circuit technology that replaces LSI emerges due to the advancement of semiconductor technology or other derived technologies, it is natural that the technology can also be used to integrate functional blocks. There is the possibility of applying biotechnology, etc.

[0269] (15) A part or all of the components constituting each of the above-mentioned devices may also be constituted by an IC card or a single module that can be loaded and unloaded from each device. The IC card or module is a computer system composed of a microprocessor, ROM, RAM, etc. The IC card or module may also include the ultra-multifunctional LSI. The microprocessor operates according to the computer program, and accordingly, the IC card or module realizes its function. The IC card or module may also have tamper-proof properties.

[0270] (16) Furthermore, the present disclosure can be implemented not only as a vehicle log sending device 10, a vehicle log analysis server 20, and a vehicle log analysis system 100, but also as a vehicle log sending and receiving method including steps of processing performed by each element constituting the vehicle log analysis system 100.

[0271] Specifically, the invention is composed of a vehicle log sending method of a vehicle log sending device 10 and a vehicle log receiving method of a vehicle log analysis server 20, wherein a vehicle log including a plurality of data respectively corresponding to IDs indicating the types of data is sent from the vehicle log sending device 10 to the vehicle log analysis server 20, wherein the vehicle log sending device 10 includes an existing identifier storage unit 150 storing an existing identifier list, wherein the existing identifier list is a list of identifiers corresponding to existing segmented logs, wherein the existing segmented log is a log generated by segmenting an existing vehicle log shared by the vehicle log sending device 10 and the vehicle log analysis server 20 using the IDs included in the existing vehicle log, and the vehicle log analysis server 20 includes an existing segmented log storage unit 230 storing an existing segmented log list, wherein the existing segmented log list is a list of existing segmented logs and identifiers corresponding to the existing segmented logs, such as Fig.11 As shown, a vehicle log sending method includes: a vehicle log obtaining step (step S1101), obtaining a vehicle log; a vehicle log segmentation processing step (step S1102), for the obtained vehicle log, segmenting the vehicle log using the ID included in the vehicle log, thereby generating more than one segmented log; a vehicle log sending whether to judge step (steps S1104, S1105, S1107), respectively generating identifiers for more than one segmented log, judging the segmented log corresponding to the identifier existing in the existing identifier list among the generated identifiers as the first segmented log, and judging the segmented log corresponding to the identifier not existing in the existing identifier list as the second segmented log; and a vehicle side communication step (steps S1110, S1111), sending the identifier corresponding to the first segmented log to the vehicle log analysis server, and sending the second segmented log to the vehicle log analysis server, such as Fig.12It is shown that the vehicle log receiving method includes: a server-side communication step (steps S1201, S1203), receiving the identifier corresponding to the first segmented log and the second segmented log sent in the vehicle-side communication step; a vehicle log restoration step (steps S1202, S1204, S1206), when receiving the identifier corresponding to the first segmented log, referring to the existing segmented log list, obtaining the existing segmented log corresponding to the identifier in the existing segmented log list, and restoring the vehicle log by combining the second segmented log and the existing segmented log; and a vehicle log saving step (step S1206) for storing the restored vehicle log.

[0272] (17) As one aspect of the present disclosure, the vehicle log sending and receiving method may be a program (computer program) implemented by a computer, or a digital signal composed of a computer program. Furthermore, as one aspect of the present disclosure, the computer program or digital signal may be recorded on a computer-readable recording medium, such as a floppy disk, a hard disk, a CD-ROM, an MO, a DVD, a DVD-ROM, a DVD-RAM, a BD (Blu-ray (registered trademark) Disc), a semiconductor memory, etc. Furthermore, it may be a digital signal recorded on these recording media. Furthermore, as one aspect of the present disclosure, the computer program or digital signal may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, data broadcasting, etc. Furthermore, as one aspect of the present disclosure, a computer system having a microprocessor and a memory, the memory storing the computer program, and the microprocessor operating according to the computer program. Furthermore, the program or digital signal may be recorded on a recording medium for transmission, or the program or digital signal may be transmitted via a network, etc., so that it can be executed by another independent computer system.

[0273] (18) Any combination of the components and functions described in the above-described embodiment and the above-described modification examples is also within the scope of the present disclosure.

[0274] According to the vehicle log analysis system of the vehicle network system disclosed in the present invention, the amount of vehicle log data sent between the vehicle and the server outside the vehicle can be reduced. As a result, the vehicle log can be sent to the external server without preparing resources capable of communicating a large amount of vehicle logs, and the intrusion of improper data into the vehicle network can be detected by using the external server of the vehicle, which can contribute to the safety of the vehicle.

[0275] Explanation of symbols

[0276] 10 Vehicle log sending device

[0277] 20 Vehicle Log Analysis Server

[0278] 30a, 30b, 30c ECU

[0279] 40a Sensor

[0280] 40b Engine

[0281] 40c steering gear

[0282] 50 External Network

[0283] 60 Vehicle Network

[0284] 100 Vehicle Log Analysis System

[0285] 110 Vehicle Log Acquisition Department

[0286] 120 Vehicle log splitting and processing department

[0287] 130, 240 Vehicle log segmentation and processing rule storage unit

[0288] 140 Vehicle log transmission judgment unit

[0289] 150 Existing identifier storage unit

[0290] 160 Existing Identifier Registration Department

[0291] 170 Vehicle-side communication unit

[0292] 200 vehicles

[0293] 210 Server-side communication unit

[0294] 220 Vehicle Log Recovery Department

[0295] 230 Existing segmented log storage unit

[0296] 250 Vehicle Log Storage Department

[0297] 260 Existing split log registration department

[0298] 270 Abnormal Log Detection Department

[0299] 280 Abnormal Notification Department

[0300] 300 Vehicle Systems

Claims

1. A vehicle log sending device that sends a vehicle log including a plurality of data to a vehicle log analysis server, wherein the plurality of data respectively correspond to IDs indicating the types of the data, the vehicle log sending device comprising: A vehicle log obtaining unit, which obtains the vehicle log; a vehicle log segmentation processing unit that segments the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; An existing identifier storage unit stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, and the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log transmission necessity determination unit, generating identifiers for each of the one or more divided logs, determining a divided log corresponding to an identifier existing in the existing identifier list among the generated identifiers as a first divided log, and determining a divided log corresponding to an identifier not existing in the existing identifier list as a second divided log; as well as The vehicle-side communication unit sends an identifier corresponding to the first divided log to the vehicle log analysis server, and sends the second divided log to the vehicle log analysis server, The vehicle log includes the plurality of data in which a plurality of IDs starting from a predetermined ID are set as one cycle and the plurality of IDs are arranged in a manner that they are repeated periodically. The vehicle log segmentation processing unit segments the obtained vehicle log according to a plurality of IDs included in the vehicle log and starting from the predetermined ID, thereby generating the one or more segmented logs. The existing identifier storage unit stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented log. The existing segmented log is a log generated by segmenting the existing vehicle log according to multiple IDs included in the existing vehicle log with the specified ID as the starting point.

2. A vehicle log sending device that sends a vehicle log including a plurality of data to a vehicle log analysis server, wherein the plurality of data respectively correspond to IDs indicating the types of the data, the vehicle log sending device comprising: A vehicle log obtaining unit, which obtains the vehicle log; a vehicle log segmentation processing unit that segments the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; An existing identifier storage unit stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, and the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log transmission necessity determination unit, generating identifiers for each of the one or more divided logs, determining a divided log corresponding to an identifier existing in the existing identifier list among the generated identifiers as a first divided log, and determining a divided log corresponding to an identifier not existing in the existing identifier list as a second divided log; as well as The vehicle-side communication unit sends an identifier corresponding to the first divided log to the vehicle log analysis server, and sends the second divided log to the vehicle log analysis server, The vehicle log includes the plurality of data corresponding to the time information respectively. The vehicle log segmentation processing unit further performs a process of replacing the time information included in the one or more segmented logs with the time index information. The existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs after replacing the time information with the time index information. The vehicle-side communication unit further sends a time list showing a correspondence between time information and time index information to the vehicle log analysis server.

3. A vehicle log sending device that sends a vehicle log including a plurality of data to a vehicle log analysis server, the plurality of data corresponding to IDs indicating the types of the data, the vehicle log sending device comprising: A vehicle log obtaining unit, which obtains the vehicle log; a vehicle log segmentation processing unit that segments the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; An existing identifier storage unit stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, and the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log transmission necessity determination unit, generating identifiers for each of the one or more divided logs, determining a divided log corresponding to an identifier existing in the existing identifier list among the generated identifiers as a first divided log, and determining a divided log corresponding to an identifier not existing in the existing identifier list as a second divided log; as well as The vehicle-side communication unit sends an identifier corresponding to the first divided log to the vehicle log analysis server, and sends the second divided log to the vehicle log analysis server, The vehicle log segmentation processing unit further performs a replacement process of replacing the value of the data included in the one or more segmented logs with a predetermined value or a process of rounding the value of the data to zero. The existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing divided logs on which the replacement process or the zero process has been executed.

4. The vehicle log transmitting device according to any one of claims 1 to 3, The vehicle log segmentation processing unit segments the obtained vehicle log for each ID included in the vehicle log, thereby generating the one or more segmented logs. The existing identifier storage unit stores the existing identifier list, which is a list corresponding to the existing divided log, and the existing divided log is a log generated by dividing the existing vehicle log according to each ID included in the existing vehicle log.

5. The vehicle log sending device according to claim 2, The vehicle log segmentation processing unit further performs a process of rearranging the one or more divided logs according to the size of the ID value or the data value included in the one or more divided logs. The existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing divided logs rearranged according to the size of ID values ​​or data values.

6. The vehicle log transmitting device according to any one of claims 1 to 3 and 5, The vehicle log transmission device further includes an existing identifier registration unit that registers, in the existing identifier list, an identifier corresponding to the divided log determined as the second divided log by the vehicle log transmission necessity determination unit.

7. A vehicle log analysis server, receiving a vehicle log including a plurality of data from a vehicle log sending device, the plurality of data respectively corresponding to an ID indicating a type of the data, the vehicle log analysis server comprising: The server-side communication unit receives, from the vehicle log sending device, an identifier corresponding to a first split log among one or more split logs, and a second split log other than the first split log among the one or more split logs, wherein the one or more split logs are logs generated by splitting the vehicle log using the ID included in the vehicle log; an existing segmented log storage unit storing an existing segmented log list, wherein the existing segmented log list is a list of existing segmented logs and identifiers corresponding to the existing segmented logs, wherein the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log restoration unit, when receiving the identifier corresponding to the first divided log, referring to the existing divided log list, obtaining the existing divided log corresponding to the identifier in the existing divided log list, and restoring the vehicle log by combining the second divided log with the existing divided log; as well as a vehicle log storage unit for storing the restored vehicle log; The vehicle log includes the plurality of data in which a plurality of IDs starting from a predetermined ID are set as one cycle and the plurality of IDs are arranged in a manner that they are repeated periodically. The server-side communication unit receives, from the vehicle log sending device, an identifier corresponding to the first divided log among the one or more divided logs and the second divided log among the one or more divided logs, wherein the one or more divided logs are logs generated by dividing the vehicle log according to a plurality of IDs included in the vehicle log and starting from the specified ID, The existing segmented log storage unit stores the existing segmented log list, which is a list of the existing segmented logs and identifiers corresponding to the existing segmented logs. The existing segmented log is a log generated by segmenting the existing vehicle log according to multiple IDs included in the existing vehicle log with the specified ID as the starting point.

8. A vehicle log analysis server, receiving a vehicle log including a plurality of data from a vehicle log sending device, the plurality of data corresponding to IDs indicating types of the data, the vehicle log analysis server comprising: The server-side communication unit receives, from the vehicle log sending device, an identifier corresponding to a first split log among one or more split logs, and a second split log other than the first split log among the one or more split logs, wherein the one or more split logs are logs generated by splitting the vehicle log using the ID included in the vehicle log; an existing segmented log storage unit storing an existing segmented log list, wherein the existing segmented log list is a list of existing segmented logs and identifiers corresponding to the existing segmented logs, wherein the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log restoration unit, when receiving the identifier corresponding to the first divided log, referring to the existing divided log list, obtaining the existing divided log corresponding to the identifier in the existing divided log list, and restoring the vehicle log by combining the second divided log with the existing divided log; and a vehicle log storage unit for storing the restored vehicle log; The vehicle log analysis server further comprises: an abnormal log detection unit that monitors the restored vehicle log and detects the restored vehicle log as an abnormal log when the vehicle log contains traces of an attack; and The abnormality notification unit notifies a predetermined notification destination of the abnormality of the vehicle. The abnormal log detection unit further maintains an abnormal identifier list. When the server-side communication unit receives an identifier corresponding to the first segmented log, it is detected as an abnormality when the identifier is included in the abnormal identifier list. When the server-side communication unit receives the second segmented log, the second segmented log is detected as an abnormal log when traces of an attack are included in the second segmented log, and the abnormal segmented log generated by segmenting the abnormal log using the ID included in the abnormal log is registered in the abnormal identifier list. The abnormal identifier list is a list of identifiers corresponding to the abnormal segmented logs, and the abnormal segmented log is a log generated by segmenting a vehicle log that was judged to be abnormal in the past using the ID included in the vehicle log.

9. A vehicle log analysis server, receiving a vehicle log including a plurality of data from a vehicle log sending device, the plurality of data corresponding to IDs indicating types of the data, the vehicle log analysis server comprising: The server-side communication unit receives, from the vehicle log sending device, an identifier corresponding to a first split log among one or more split logs, and a second split log other than the first split log among the one or more split logs, wherein the one or more split logs are logs generated by splitting the vehicle log using the ID included in the vehicle log; an existing segmented log storage unit storing an existing segmented log list, wherein the existing segmented log list is a list of existing segmented logs and identifiers corresponding to the existing segmented logs, wherein the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log restoration unit, when receiving the identifier corresponding to the first divided log, referring to the existing divided log list, obtaining the existing divided log corresponding to the identifier in the existing divided log list, and restoring the vehicle log by combining the second divided log with the existing divided log; as well as a vehicle log storage unit for storing the restored vehicle log; The vehicle log includes the plurality of data corresponding to the time information respectively. The server-side communication unit receives, from the vehicle log sending device, an identifier corresponding to the first divided log among the one or more divided logs after the time information is replaced with the time index information, the second divided log among the one or more divided logs, and a time list showing the correspondence between the time information and the time index information, The existing segmented log storage unit further stores the existing segmented log list, which is a list of the existing segmented logs after replacing the time information with the time index information, and identifiers corresponding to the existing segmented logs. When receiving the identifier corresponding to the first segmented log, the vehicle log restoration unit refers to the existing segmented log list to obtain the existing segmented log corresponding to the identifier in the existing segmented log list, refers to the time list, replaces the time index information included in the existing segmented log with the time information, and restores the vehicle log in combination with the second segmented log and the existing segmented log.

10. A vehicle log analysis server, receiving a vehicle log including a plurality of data from a vehicle log sending device, the plurality of data respectively corresponding to an ID indicating a type of the data, the vehicle log analysis server comprising: The server-side communication unit receives, from the vehicle log sending device, an identifier corresponding to a first split log among one or more split logs, and a second split log other than the first split log among the one or more split logs, wherein the one or more split logs are logs generated by splitting the vehicle log using the ID included in the vehicle log; an existing segmented log storage unit storing an existing segmented log list, wherein the existing segmented log list is a list of existing segmented logs and identifiers corresponding to the existing segmented logs, wherein the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log restoration unit, when receiving the identifier corresponding to the first divided log, referring to the existing divided log list, obtaining the existing divided log corresponding to the identifier in the existing divided log list, and restoring the vehicle log by combining the second divided log with the existing divided log; as well as a vehicle log storage unit for storing the restored vehicle log; The server-side communication unit receives an identifier corresponding to the first split log among the one or more split logs and the second split log among the one or more split logs, wherein the one or more split logs are logs in which a replacement process of replacing a value of data with a prescribed value or a zero-number process of rounding the value of the data is performed, The existing divided log storage unit further stores the existing divided log list, which is a list of the existing divided logs on which the replacement process or the zero process has been executed and identifiers corresponding to the existing divided logs.

11. The vehicle log analysis server according to any one of claims 7 to 10, The server-side communication unit receives, from the vehicle log sending device, an identifier corresponding to the first split log among the one or more split logs, and the second split log among the one or more split logs, wherein the one or more split logs are logs generated by splitting the vehicle log according to each ID included in the vehicle log, The existing segmented log storage unit stores the existing segmented log list, which is a list of the existing segmented logs and identifiers corresponding to the existing segmented logs. The existing segmented log is a log generated by segmenting the existing vehicle log according to each ID included in the existing vehicle log.

12. The vehicle log analysis server according to claim 9, The server-side communication unit receives an identifier corresponding to the first divided log among the one or more divided logs and the second divided log among the one or more divided logs, wherein the one or more divided logs are logs rearranged according to the size of the ID value or the data value, The existing segmented log storage unit further stores the existing segmented log list, which is a list of the existing segmented logs rearranged according to the size of the ID value or the data value, and the identifiers corresponding to the existing segmented logs. The vehicle log restoration unit, when receiving an identifier corresponding to the first segmented log, refers to the existing segmented log list to obtain the existing segmented log corresponding to the identifier in the existing segmented log list, replaces the time index information of the existing segmented log with the time information with reference to the time list, rearranges the existing segmented logs in order from early to late with reference to the replaced time information, and restores the vehicle log by combining the second segmented log and the existing segmented log.

13. The vehicle log analysis server according to any one of claims 7 to 10 and 12, The vehicle log analysis server further includes an existing divided log registration unit that, upon receiving the second divided log, generates an identifier corresponding to the second divided log and registers the second divided log and the identifier in the existing divided log list.

14. A vehicle log analysis system, comprising a vehicle log sending device and a vehicle log analysis server, wherein a vehicle log including a plurality of data corresponding to IDs indicating types of data is sent from the vehicle log sending device to the vehicle log analysis server, The vehicle log sending device comprises: A vehicle log obtaining unit, which obtains the vehicle log; a vehicle log segmentation processing unit that segments the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; An existing identifier storage unit stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, and the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log transmission necessity determination unit, generating identifiers for each of the one or more divided logs, determining a divided log corresponding to an identifier existing in the existing identifier list among the generated identifiers as a first divided log, and determining a divided log corresponding to an identifier not existing in the existing identifier list as a second divided log; as well as The vehicle-side communication unit sends an identifier corresponding to the first divided log to the vehicle log analysis server, and sends the second divided log to the vehicle log analysis server, The vehicle log analysis server comprises: a server-side communication unit that receives the identifier corresponding to the first divided log and the second divided log sent from the vehicle-side communication unit; an existing divided log storage unit that stores an existing divided log list, wherein the existing divided log list is a list of the existing divided logs and identifiers corresponding to the existing divided logs; a vehicle log restoration unit, when receiving the identifier corresponding to the first divided log, referring to the existing divided log list, obtaining the existing divided log corresponding to the identifier in the existing divided log list, and restoring the vehicle log by combining the second divided log with the existing divided log; as well as The vehicle log storage unit stores the restored vehicle log. The vehicle log includes the plurality of data in which a plurality of IDs starting from a predetermined ID are set as one cycle and the plurality of IDs are arranged in a manner that they are repeated periodically. The vehicle log segmentation processing unit segments the obtained vehicle log according to a plurality of IDs included in the vehicle log and starting from the predetermined ID, thereby generating the one or more segmented logs. The existing identifier storage unit stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented log, and the existing segmented log is a log generated by segmenting the existing vehicle log according to a plurality of IDs included in the existing vehicle log and starting from the specified ID. the server-side communication unit receiving an identifier corresponding to the first divided log among the one or more divided logs and the second divided log among the one or more divided logs transmitted from the vehicle-side communication unit, The existing identifier storage unit, The existing segmented log list is stored, wherein the existing segmented log list is a list of the existing segmented logs and identifiers corresponding to the existing segmented logs, and the existing segmented log is a log generated by segmenting the existing vehicle log according to multiple IDs included in the existing vehicle log with the specified ID as the starting point.

15. A vehicle log analysis system, comprising a vehicle log sending device and a vehicle log analysis server, wherein a vehicle log including a plurality of data corresponding to IDs indicating types of data is sent from the vehicle log sending device to the vehicle log analysis server, The vehicle log sending device comprises: A vehicle log obtaining unit, which obtains the vehicle log; a vehicle log segmentation processing unit that segments the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; An existing identifier storage unit stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, and the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log transmission necessity determination unit, generating identifiers for each of the one or more divided logs, determining a divided log corresponding to an identifier existing in the existing identifier list among the generated identifiers as a first divided log, and determining a divided log corresponding to an identifier not existing in the existing identifier list as a second divided log; as well as The vehicle-side communication unit sends an identifier corresponding to the first divided log to the vehicle log analysis server, and sends the second divided log to the vehicle log analysis server, The vehicle log analysis server comprises: a server-side communication unit that receives the identifier corresponding to the first divided log and the second divided log sent from the vehicle-side communication unit; an existing divided log storage unit that stores an existing divided log list, wherein the existing divided log list is a list of the existing divided logs and identifiers corresponding to the existing divided logs; a vehicle log restoration unit, when receiving the identifier corresponding to the first divided log, referring to the existing divided log list, obtaining the existing divided log corresponding to the identifier in the existing divided log list, and restoring the vehicle log by combining the second divided log with the existing divided log; as well as The vehicle log storage unit stores the restored vehicle log. The vehicle log includes the plurality of data corresponding to the time information respectively. The vehicle log segmentation processing unit further performs a process of replacing the time information included in the one or more segmented logs with the time index information. The existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs after replacing the time information with the time index information. The vehicle-side communication unit further sends a time list showing a correspondence between time information and time index information to the vehicle log analysis server, The server-side communication unit further receives the time list from the vehicle-side communication unit. The existing segmented log storage unit further stores the existing segmented log list, which is a list of the existing segmented logs after replacing the time information with the time index information, and identifiers corresponding to the existing segmented logs. When receiving the identifier corresponding to the first segmented log, the vehicle log restoration unit refers to the existing segmented log list to obtain the existing segmented log corresponding to the identifier in the existing segmented log list, refers to the time list, replaces the time index information included in the existing segmented log with the time information, and restores the vehicle log in combination with the second segmented log and the existing segmented log.

16. A vehicle log analysis system, comprising a vehicle log sending device and a vehicle log analysis server, wherein a vehicle log including a plurality of data corresponding to IDs indicating types of data is sent from the vehicle log sending device to the vehicle log analysis server, The vehicle log sending device comprises: A vehicle log obtaining unit, which obtains the vehicle log; a vehicle log segmentation processing unit that segments the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; An existing identifier storage unit stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, and the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log transmission necessity determination unit, generating identifiers for each of the one or more divided logs, determining a divided log corresponding to an identifier existing in the existing identifier list among the generated identifiers as a first divided log, and determining a divided log corresponding to an identifier not existing in the existing identifier list as a second divided log; as well as The vehicle-side communication unit sends an identifier corresponding to the first divided log to the vehicle log analysis server, and sends the second divided log to the vehicle log analysis server, The vehicle log analysis server comprises: a server-side communication unit that receives the identifier corresponding to the first divided log and the second divided log sent from the vehicle-side communication unit; an existing divided log storage unit that stores an existing divided log list, wherein the existing divided log list is a list of the existing divided logs and identifiers corresponding to the existing divided logs; a vehicle log restoration unit, when receiving the identifier corresponding to the first divided log, referring to the existing divided log list, obtaining the existing divided log corresponding to the identifier in the existing divided log list, and restoring the vehicle log by combining the second divided log with the existing divided log; as well as The vehicle log storage unit stores the restored vehicle log. The vehicle log segmentation processing unit further performs a replacement process of replacing the value of the data included in the one or more segmented logs with a predetermined value or a process of rounding the value of the data to zero. The existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing divided logs on which the replacement process or the zero process has been executed. The server-side communication unit receives an identifier corresponding to the first divided log among the one or more divided logs and the second divided log among the one or more divided logs, wherein the one or more divided logs are logs on which the replacement process or the zero process is performed, The existing divided log storage unit further stores the existing divided log list, which is a list of the existing divided logs on which the replacement process or the zero process has been executed and identifiers corresponding to the existing divided logs.

17. A vehicle log analysis system, comprising a vehicle log sending device and a vehicle log analysis server, wherein a vehicle log including a plurality of data corresponding to IDs indicating types of data is sent from the vehicle log sending device to the vehicle log analysis server, The vehicle log sending device comprises: A vehicle log obtaining unit, which obtains the vehicle log; a vehicle log segmentation processing unit that segments the obtained vehicle log using the ID included in the vehicle log, thereby generating one or more segmented logs; An existing identifier storage unit stores an existing identifier list, which is a list of identifiers corresponding to existing segmented logs, and the existing segmented logs are logs generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log; a vehicle log transmission necessity determination unit, generating identifiers for each of the one or more divided logs, determining a divided log corresponding to an identifier existing in the existing identifier list among the generated identifiers as a first divided log, and determining a divided log corresponding to an identifier not existing in the existing identifier list as a second divided log; as well as The vehicle-side communication unit sends an identifier corresponding to the first divided log to the vehicle log analysis server, and sends the second divided log to the vehicle log analysis server, The vehicle log analysis server comprises: a server-side communication unit that receives the identifier corresponding to the first divided log and the second divided log sent from the vehicle-side communication unit; an existing divided log storage unit that stores an existing divided log list, wherein the existing divided log list is a list of the existing divided logs and identifiers corresponding to the existing divided logs; a vehicle log restoration unit, when receiving the identifier corresponding to the first divided log, referring to the existing divided log list, obtaining the existing divided log corresponding to the identifier in the existing divided log list, and restoring the vehicle log by combining the second divided log with the existing divided log; and The vehicle log storage unit stores the restored vehicle log. The vehicle log analysis server further comprises: an abnormal log detection unit that monitors the restored vehicle log and detects the restored vehicle log as an abnormal log when the vehicle log contains traces of an attack; and The abnormality notification unit notifies a predetermined notification destination of the abnormality of the vehicle. The abnormal log detection unit further maintains an abnormal identifier list. When the server-side communication unit receives an identifier corresponding to the first segmented log, it is detected as an abnormality when the identifier is included in the abnormal identifier list. When the server-side communication unit receives the second segmented log, the second segmented log is detected as an abnormal log when traces of an attack are included in the second segmented log, and the abnormal segmented log generated by segmenting the abnormal log using the ID included in the abnormal log is registered in the abnormal identifier list. The abnormal identifier list is a list of identifiers corresponding to the abnormal segmented logs, and the abnormal segmented log is a log generated by segmenting a vehicle log that was judged to be abnormal in the past using the ID included in the vehicle log.

18. The vehicle log analysis system according to any one of claims 14 to 17, The vehicle log segmentation processing unit segments the obtained vehicle log for each ID included in the vehicle log, thereby generating the one or more segmented logs. The existing identifier storage unit stores the existing identifier list, which is a list corresponding to the existing segmented log, and the existing segmented log is a log generated by segmenting the existing vehicle log according to each ID included in the existing vehicle log. the server-side communication unit receiving an identifier corresponding to the first divided log among the one or more divided logs and the second divided log among the one or more divided logs transmitted from the vehicle-side communication unit, The existing segmented log storage unit stores the existing segmented log list, which is a list of the existing segmented logs and identifiers corresponding to the existing segmented logs. The existing segmented log is a log generated by segmenting the existing vehicle log according to each ID included in the existing vehicle log.

19. The vehicle log analysis system according to claim 15, The vehicle log segmentation processing unit further performs a process of rearranging the one or more divided logs according to the size of the ID value or the data value included in the one or more divided logs. The existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs rearranged according to the size of the ID value or the data value. The server-side communication unit receives an identifier corresponding to the first divided log among the one or more divided logs and the second divided log among the one or more divided logs, wherein the one or more divided logs are logs rearranged according to the size of the ID value or the data value, The existing segmented log storage unit further stores the existing segmented log list, which is a list of the existing segmented logs rearranged according to the size of the ID value or the data value, and the identifiers corresponding to the existing segmented logs. The vehicle log restoration unit, when receiving an identifier corresponding to the first segmented log, refers to the existing segmented log list to obtain the existing segmented log corresponding to the identifier in the existing segmented log list, replaces the time index information of the existing segmented log with the time information with reference to the time list, rearranges the existing segmented logs in order from early to late with reference to the replaced time information, and restores the vehicle log by combining the second segmented log and the existing segmented log.

20. The vehicle log analysis system according to any one of claims 14 to 17, The vehicle log transmission device further includes an existing identifier registration unit, which registers an identifier corresponding to the divided log determined as the second divided log by the vehicle log transmission necessity determination unit in the existing identifier list. The vehicle log analysis server further includes an existing divided log registration unit that, upon receiving the second divided log, generates an identifier corresponding to the second divided log and registers the second divided log and the identifier in the existing divided log list.

21. The vehicle log analysis system according to any one of claims 14 to 17 and 19, The vehicle log acquisition unit obtains at least one of the vehicle logs including a vehicle network log based on the CAN or CAN-FD protocol including a frame ID as the ID of the vehicle log, a vehicle network log based on the registered trademark FlexRay protocol including a time slot ID as the ID of the vehicle log, a vehicle network log based on the registered trademark Ethernet protocol including an IP address as the ID of the vehicle log, and a system work log including a process number as the ID of the vehicle log.

22. A vehicle log sending and receiving method, comprising a vehicle log sending method of a vehicle log sending device and a vehicle log receiving method of a vehicle log analysis server, wherein a vehicle log including a plurality of data respectively corresponding to IDs indicating types of data is sent from the vehicle log sending device to the vehicle log analysis server, The vehicle log sending device includes an existing identifier storage unit, the existing identifier storage unit storing an existing identifier list, the existing identifier list being a list of identifiers corresponding to existing segmented logs, the existing segmented log being a log generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log, The vehicle log analysis server includes an existing divided log storage unit. The existing divided log storage unit stores an existing divided log list, the existing divided log list being a list of the existing divided logs and identifiers corresponding to the existing divided logs. The vehicle log sending method comprises: A vehicle log obtaining step, obtaining the vehicle log; A vehicle log segmentation processing step, for the obtained vehicle log, segmenting the vehicle log using the ID included in the vehicle log, thereby generating more than one segmented log; a vehicle log transmission necessity determination step, generating identifiers for the one or more segmented logs respectively, determining the segmented log corresponding to the identifier existing in the existing identifier list among the generated identifiers as the first segmented log, and determining the segmented log corresponding to the identifier not existing in the existing identifier list as the second segmented log; as well as a vehicle-side communication step of sending an identifier corresponding to the first segmented log to the vehicle log analysis server, and sending the second segmented log to the vehicle log analysis server, The vehicle log receiving method comprises: A server-side communication step of receiving the identifier corresponding to the first segmented log and the second segmented log sent in the vehicle-side communication step; a vehicle log recovery step, in the case of receiving the identifier corresponding to the first segmented log, referring to the existing segmented log list, obtaining the existing segmented log corresponding to the identifier in the existing segmented log list, and restoring the vehicle log by combining the second segmented log with the existing segmented log; and a vehicle log storage step, storing the restored vehicle log, The vehicle log includes the plurality of data in which a plurality of IDs starting from a predetermined ID are set as one cycle and the plurality of IDs are arranged in a manner that they are repeated periodically. In the vehicle log segmentation processing step, the obtained vehicle log is segmented according to a plurality of IDs included in the vehicle log and starting from the predetermined ID, thereby generating the one or more segmented logs. The existing identifier storage unit stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented log, and the existing segmented log is a log generated by segmenting the existing vehicle log according to a plurality of IDs included in the existing vehicle log and starting from the specified ID. receiving, in the server-side communication step, the identifier corresponding to the first divided log among the one or more divided logs and the second divided log among the one or more divided logs sent in the vehicle-side communication step, The existing identifier storage unit, The existing segmented log list is stored, wherein the existing segmented log list is a list of the existing segmented logs and identifiers corresponding to the existing segmented logs, and the existing segmented log is a log generated by segmenting the existing vehicle log according to multiple IDs included in the existing vehicle log with the specified ID as the starting point.

23. A vehicle log sending and receiving method, comprising a vehicle log sending method of a vehicle log sending device and a vehicle log receiving method of a vehicle log analysis server, wherein a vehicle log including a plurality of data respectively corresponding to IDs indicating types of data is sent from the vehicle log sending device to the vehicle log analysis server, The vehicle log sending device includes an existing identifier storage unit, the existing identifier storage unit storing an existing identifier list, the existing identifier list being a list of identifiers corresponding to existing segmented logs, the existing segmented log being a log generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log, The vehicle log analysis server includes an existing divided log storage unit. The existing divided log storage unit stores an existing divided log list, the existing divided log list being a list of the existing divided logs and identifiers corresponding to the existing divided logs. The vehicle log sending method comprises: A vehicle log obtaining step, obtaining the vehicle log; A vehicle log segmentation processing step, for the obtained vehicle log, segmenting the vehicle log using the ID included in the vehicle log, thereby generating more than one segmented log; a vehicle log transmission necessity determination step, generating identifiers for the one or more segmented logs respectively, determining the segmented log corresponding to the identifier existing in the existing identifier list among the generated identifiers as the first segmented log, and determining the segmented log corresponding to the identifier not existing in the existing identifier list as the second segmented log; as well as a vehicle-side communication step of sending an identifier corresponding to the first segmented log to the vehicle log analysis server, and sending the second segmented log to the vehicle log analysis server, The vehicle log receiving method comprises: A server-side communication step of receiving the identifier corresponding to the first segmented log and the second segmented log sent in the vehicle-side communication step; a vehicle log recovery step, in the case of receiving the identifier corresponding to the first segmented log, referring to the existing segmented log list, obtaining the existing segmented log corresponding to the identifier in the existing segmented log list, and restoring the vehicle log by combining the second segmented log with the existing segmented log; and a vehicle log storage step, storing the restored vehicle log, The vehicle log includes the plurality of data corresponding to the time information respectively. In the vehicle log segmentation processing step, further, a process of replacing the time information included in the one or more segmented logs with the time index information is executed. The existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing segmented logs after replacing the time information with the time index information. In the vehicle-side communication step, further, a time list showing the correspondence between time information and time index information is sent to the vehicle log analysis server, In the server-side communication step, further, receiving the time list sent in the vehicle-side communication step, The existing segmented log storage unit further stores the existing segmented log list, which is a list of the existing segmented logs after replacing the time information with the time index information, and identifiers corresponding to the existing segmented logs. In the vehicle log restoration step, when receiving the identifier corresponding to the first segmented log, refer to the existing segmented log list to obtain the existing segmented log corresponding to the identifier in the existing segmented log list, refer to the time list, replace the time index information included in the existing segmented log with the time information, and restore the vehicle log by combining the second segmented log and the existing segmented log.

24. A vehicle log sending and receiving method, comprising a vehicle log sending method of a vehicle log sending device and a vehicle log receiving method of a vehicle log analysis server, wherein a vehicle log including a plurality of data respectively corresponding to IDs indicating types of data is sent from the vehicle log sending device to the vehicle log analysis server, The vehicle log sending device includes an existing identifier storage unit, the existing identifier storage unit storing an existing identifier list, the existing identifier list being a list of identifiers corresponding to existing segmented logs, the existing segmented log being a log generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log, The vehicle log analysis server includes an existing divided log storage unit. The existing divided log storage unit stores an existing divided log list, the existing divided log list being a list of the existing divided logs and identifiers corresponding to the existing divided logs. The vehicle log sending method comprises: A vehicle log obtaining step, obtaining the vehicle log; A vehicle log segmentation processing step, for the obtained vehicle log, segmenting the vehicle log using the ID included in the vehicle log, thereby generating more than one segmented log; a vehicle log transmission necessity determination step, generating identifiers for the one or more segmented logs respectively, determining the segmented log corresponding to the identifier existing in the existing identifier list among the generated identifiers as the first segmented log, and determining the segmented log corresponding to the identifier not existing in the existing identifier list as the second segmented log; as well as a vehicle-side communication step of sending an identifier corresponding to the first segmented log to the vehicle log analysis server, and sending the second segmented log to the vehicle log analysis server, The vehicle log receiving method comprises: A server-side communication step of receiving the identifier corresponding to the first segmented log and the second segmented log sent in the vehicle-side communication step; a vehicle log recovery step, in the case of receiving the identifier corresponding to the first segmented log, referring to the existing segmented log list, obtaining the existing segmented log corresponding to the identifier in the existing segmented log list, and restoring the vehicle log by combining the second segmented log with the existing segmented log; and a vehicle log storage step, storing the restored vehicle log, In the vehicle log segmentation processing step, further, a replacement process of replacing the values ​​of the data included in the one or more segmented logs with a predetermined value or a process of rounding the values ​​of the data to zero is performed. The existing identifier storage unit further stores the existing identifier list, which is a list of identifiers corresponding to the existing divided logs on which the replacement process or the zero process has been executed. In the server-side communication step, an identifier corresponding to the first split log among the one or more split logs and the second split log among the one or more split logs are received, wherein the one or more split logs are logs on which the replacement process or the zero process is performed, The existing divided log storage unit further stores the existing divided log list, which is a list of the existing divided logs on which the replacement process or the zero process has been executed and identifiers corresponding to the existing divided logs.

25. A vehicle log sending and receiving method, comprising a vehicle log sending method of a vehicle log sending device and a vehicle log receiving method of a vehicle log analysis server, wherein a vehicle log including a plurality of data respectively corresponding to IDs indicating types of data is sent from the vehicle log sending device to the vehicle log analysis server, The vehicle log sending device includes an existing identifier storage unit, the existing identifier storage unit storing an existing identifier list, the existing identifier list being a list of identifiers corresponding to existing segmented logs, the existing segmented log being a log generated by segmenting an existing vehicle log shared by the vehicle log sending device and the vehicle log analysis server using an ID included in the existing vehicle log, The vehicle log analysis server includes an existing divided log storage unit. The existing divided log storage unit stores an existing divided log list, the existing divided log list being a list of the existing divided logs and identifiers corresponding to the existing divided logs. The vehicle log sending method comprises: A vehicle log obtaining step, obtaining the vehicle log; A vehicle log segmentation processing step, for the obtained vehicle log, segmenting the vehicle log using the ID included in the vehicle log, thereby generating more than one segmented log; a vehicle log transmission necessity determination step, generating identifiers for the one or more segmented logs respectively, determining the segmented log corresponding to the identifier existing in the existing identifier list among the generated identifiers as the first segmented log, and determining the segmented log corresponding to the identifier not existing in the existing identifier list as the second segmented log; as well as a vehicle-side communication step of sending an identifier corresponding to the first segmented log to the vehicle log analysis server, and sending the second segmented log to the vehicle log analysis server, The vehicle log receiving method comprises: A server-side communication step of receiving the identifier corresponding to the first segmented log and the second segmented log sent in the vehicle-side communication step; a vehicle log recovery step, in the case of receiving the identifier corresponding to the first segmented log, referring to the existing segmented log list, obtaining the existing segmented log corresponding to the identifier in the existing segmented log list, and restoring the vehicle log by combining the second segmented log with the existing segmented log; and a vehicle log storage step, storing the restored vehicle log, The vehicle log analysis server further comprises: an abnormal log detection unit that monitors the restored vehicle log and detects the restored vehicle log as an abnormal log when the vehicle log contains traces of an attack; and The abnormality notification unit notifies a predetermined notification destination of the abnormality of the vehicle. The abnormal log detection unit further maintains an abnormal identifier list. When an identifier corresponding to the first segmented log is received in the server-side communication step, it is detected as an abnormality when the identifier is included in the abnormal identifier list. When the second segmented log is received in the server-side communication step, the second segmented log is detected as an abnormal log when traces of an attack are included in the second segmented log, and the abnormal segmented log generated by segmenting the abnormal log using the ID included in the abnormal log is registered in the abnormal identifier list. The abnormal identifier list is a list of identifiers corresponding to the abnormal segmented logs, and the abnormal segmented log is a log generated by segmenting a vehicle log that was judged to be abnormal in the past using the ID included in the vehicle log.

Citation Information

Patent Citations

  • File transmission / reception system, terminal device, storage server, file transmission / reception method and program

    JP2012079044A

  • Network device and data transmission reception system

    JP2014146868A

  • Data collecting device and data transmission method

    JP2002163180A

  • Message management system, monitored device, monitoring device, message management method and program therefor

    JP2010097417A

  • Security processing method and server

    JP2017111796A

Cited By

  • Data management device for vehicle, vehicle, analysis system, storage medium, and data management method for vehicle

    US20250252790A1