Automobile data transmission monitoring method and system

By deploying a data transmission monitoring system on the vehicle end and the platform end, and using neural network models to classify and analyze data packets, the problem that traditional technology is difficult to monitor and analyze data transmission in real time on the vehicle end is solved, and effective identification and early warning of abnormal transmission of data packets is achieved.

CN119363857BActive Publication Date: 2025-04-11AUTOMOTIVE DATA OF CHINA (TIANJIN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411886465.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-11
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

Traditional data transmission monitoring technology is difficult to monitor and evaluate data transmission in real time on the vehicle side, and the vehicle side data may not be directly transmitted through the enterprise computer room exit gateway, resulting in the monitoring equipment deployed on the gateway being unable to capture and analyze this data.

Method used

A method of automotive data transmission monitoring is designed to scan and analyze data packets in real time through the vehicle-side data transmission monitoring system, extract the behavioral characteristics of automotive data transmission, and use neural network models to classify and analyze data packets. The system includes two parts: the vehicle end and the platform end. By passing data and markings to each other, it realizes identification and early warning of abnormal transmission of data packets.

Benefits of technology

Real-time monitoring and analysis of vehicle-side data transmission can be realized, and abnormal transmission behavior of data packets can be effectively identified and warned, improving data transmission security and compliance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363857B_ABST
    Figure CN119363857B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for monitoring automobile data transmission, and belongs to the field of automobile data transmission monitoring. The method comprises: scanning data packets transmitted by a vehicle to the outside in real time through a vehicle-side data transmission monitoring system, analyzing the data packets to obtain automobile data transmission behavior characteristics, and obtaining a first classification result according to the automobile data transmission behavior characteristics; according to the first classification result, sending the data packets to a platform-side data transmission monitoring system, and the platform-side data transmission monitoring system analyzing the data packets to determine whether the data packets are abnormal transmission data packets; the present invention can improve the accuracy of identifying data packets transmitted by the vehicle to the outside.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of automobile data transmission monitoring, and in particular relates to an automobile data transmission monitoring method and system. Background Art

[0002] There are two main traditional data transmission monitoring technologies. One is to test the data transmission equipment to verify the communication mode, transmission destination, data scale, usage scenario, data transmission protocol, encryption measures, etc. of the data transmission to ensure the security and compliance of the data during the transmission process; the other is to deploy transmission monitoring equipment on the enterprise computer room egress gateway to analyze and log the data packets, identify the data flow, transmission content and its compliance of the transmission through real-time monitoring of network traffic, record and analyze the log information of data transmission behavior, audit and manage the transmission, and alarm and block abnormal behavior. Both methods have great shortcomings in the scenario of vehicle-side data transmission monitoring. For the first method, a large amount of real-time data will be generated during the operation of the vehicle, and it often involves complex communication protocols and encryption technologies. The traditional equipment testing method may not be able to monitor and evaluate the data transmission situation in real time, and it is difficult to deeply analyze and verify. For the second method, the vehicle-side data may be directly transmitted without passing through the enterprise computer room egress gateway (such as through the vehicle-mounted satellite communication system), making it impossible for the monitoring equipment deployed on the gateway to capture and analyze these data. Summary of the invention

[0003] Based on the above problems, the present invention proposes a method for monitoring automobile data transmission, which specifically includes the following steps:

[0004] S1. The vehicle-side data transmission monitoring system scans the data packets transmitted by the vehicle to the outside in real time;

[0005] S2. The vehicle-side data transmission monitoring system parses each data packet scanned in real time to form a first parsed data packet for each data packet;

[0006] S3. The vehicle-side data transmission monitoring system extracts the first analytical data from the vehicle data transmission behavior characteristics;

[0007] S4. The vehicle-side data transmission monitoring system determines the type of data packet corresponding to the first parsed data according to the characteristics of the vehicle data transmission behavior;

[0008] When the type of the data packet is a first type data packet, discarding the data packet;

[0009] When the type of the data packet is a second type data packet, executing step S5;

[0010] When the type of the data packet is a third type data packet, the first classification result of the data packet is set as an abnormal transmission data packet, and the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet are sent to the platform-side data transmission monitoring system, and step S6 is executed;

[0011] S5. Input the vehicle data transmission behavior characteristics corresponding to the data packet into the vehicle-side feature model to obtain the first classification result of the data packet;

[0012] Among them, the vehicle-side feature model is a neural network model;

[0013] The first classification result includes: suspected abnormal transmission data packets, abnormal transmission data packets;

[0014] Sending the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet to the platform-side data transmission monitoring system;

[0015] Execute step S6;

[0016] S6. The platform-side data transmission monitoring system inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the platform-side feature model to obtain the second classification result of the data packet, and the platform-side data transmission monitoring system sends the second classification result of the data packet to the vehicle-side data transmission monitoring system;

[0017] Among them, the platform-side feature model is a neural network model;

[0018] The second classification result includes: a non-abnormal transmission data packet and an abnormal transmission data packet;

[0019] When the second classification result of the data packet is a non-abnormal transmission data packet, executing step S7;

[0020] When the second classification result of the data packet is an abnormal transmission data packet, executing step S8;

[0021] S7. When the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the vehicle data transmission behavior characteristics corresponding to the data packet as negative samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the vehicle data transmission behavior characteristics corresponding to the data packet as negative samples. Both the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system store the data packet, the vehicle data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet;

[0022] When the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples; the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet;

[0023] The platform-side data transmission monitoring system shows no abnormal results for the data packet in the display interface;

[0024] S8. When the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the vehicle data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the vehicle data transmission behavior characteristics corresponding to the data packet as escape samples; the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the vehicle data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet;

[0025] When the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior feature corresponding to the data packet as a positive sample, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior feature corresponding to the data packet as a positive sample. The platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior feature corresponding to the data packet, and the mark corresponding to the data packet;

[0026] The platform-side data transmission monitoring system displays the data packet information of the abnormal transmission data packets in the second classification result in the form of a list in the interface.

[0027] The present invention also provides an automobile data transmission monitoring system, the system comprising a vehicle-side data transmission monitoring system and a platform-side data transmission monitoring system;

[0028] The vehicle-side data transmission monitoring system scans the data packets transmitted by the vehicle to the outside in real time;

[0029] The vehicle-side data transmission monitoring system analyzes each data packet scanned in real time to form first analysis data for each data packet;

[0030] The vehicle-side data transmission monitoring system extracts the vehicle data transmission behavior characteristics in the first parsed data;

[0031] The vehicle-side data transmission monitoring system determines the type of the data packet corresponding to the first parsed data according to the vehicle data transmission behavior characteristics;

[0032] When the type of the data packet is a first type data packet, discarding the data packet;

[0033] When the type of the data packet is a second type data packet, the automobile data transmission behavior characteristics corresponding to the data packet are input into the vehicle-side feature model to obtain a first classification result of the data packet; the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet are sent to the platform-side data transmission monitoring system; wherein the vehicle-side feature model is a neural network model; the first classification result includes: suspected abnormal transmission data packet, abnormal transmission data packet;

[0034] When the type of the data packet is a third type data packet, the first classification result of the data packet is set as an abnormal transmission data packet, and the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet are sent to the platform-side data transmission monitoring system;

[0035] The platform-side data transmission monitoring system inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the platform-side feature model to obtain the second classification result of the data packet, and the platform-side data transmission monitoring system sends the second classification result of the data packet to the vehicle-side data transmission monitoring system;

[0036] Among them, the platform-side feature model is a neural network model;

[0037] The second classification result includes: a non-abnormal transmission data packet and an abnormal transmission data packet;

[0038] When the second classification result of the data packet is a non-abnormal transmission data packet: when the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as negative samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as negative samples, and both the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; when the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples; both the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; the platform-side data transmission monitoring system displays that there is no abnormal result for the data packet in the display interface;

[0039] When the second classification result of the data packet is an abnormal transmission data packet: when the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples; the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; when the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as positive samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as positive samples, and the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; the platform-side data transmission monitoring system displays the data packet information whose second classification result is an abnormal transmission data packet in a list form in the interface.

[0040] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above description and other purposes, features and advantages of the present invention more obvious and easy to understand, the preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0042] Figure 1 This is the structural diagram of the automobile data transmission monitoring system. DETAILED DESCRIPTION

[0043] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0044] In the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be connected, detachably connected, or integrated; it can be mechanically connected or electrically connected; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0045] Example 1

[0046] The present invention provides a method for monitoring automobile data transmission, the method comprising the following steps:

[0047] S1. The vehicle-side data transmission monitoring system scans the data packets transmitted by the vehicle to the outside in real time;

[0048] S2. The vehicle-side data transmission monitoring system parses each data packet scanned in real time to form a first parsed data packet for each data packet;

[0049] S3. The vehicle-side data transmission monitoring system extracts the first analytical data from the vehicle data transmission behavior characteristics;

[0050] S4. The vehicle-side data transmission monitoring system determines the type of data packet corresponding to the first parsed data according to the characteristics of the vehicle data transmission behavior;

[0051] When the type of the data packet is a first type data packet, discarding the data packet;

[0052] When the type of the data packet is a second type data packet, executing step S5;

[0053] When the type of the data packet is a third type data packet, the first classification result of the data packet is set as an abnormal transmission data packet, and the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet are sent to the platform-side data transmission monitoring system, and step S6 is executed;

[0054] S5. Input the vehicle data transmission behavior characteristics corresponding to the data packet into the vehicle-side feature model to obtain the first classification result of the data packet;

[0055] Among them, the vehicle-side feature model is a neural network model;

[0056] The first classification result includes: suspected abnormal transmission data packets, abnormal transmission data packets;

[0057] Sending the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet to the platform-side data transmission monitoring system;

[0058] Execute step S6;

[0059] S6. The platform-side data transmission monitoring system inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the platform-side feature model to obtain the second classification result of the data packet, and the platform-side data transmission monitoring system sends the second classification result of the data packet to the vehicle-side data transmission monitoring system;

[0060] Among them, the platform-side feature model is a neural network model;

[0061] The second classification result includes: a non-abnormal transmission data packet and an abnormal transmission data packet;

[0062] When the second classification result of the data packet is a non-abnormal transmission data packet, executing step S7;

[0063] When the second classification result of the data packet is an abnormal transmission data packet, executing step S8;

[0064] S7. When the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the vehicle data transmission behavior characteristics corresponding to the data packet as negative samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the vehicle data transmission behavior characteristics corresponding to the data packet as negative samples. Both the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system store the data packet, the vehicle data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet;

[0065] When the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples; the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet;

[0066] The platform-side data transmission monitoring system shows no abnormal results for the data packet in the display interface;

[0067] S8. When the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the vehicle data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the vehicle data transmission behavior characteristics corresponding to the data packet as escape samples; the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the vehicle data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet;

[0068] When the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior feature corresponding to the data packet as a positive sample, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior feature corresponding to the data packet as a positive sample. The platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior feature corresponding to the data packet, and the mark corresponding to the data packet;

[0069] The platform-side data transmission monitoring system displays the data packet information of the abnormal transmission data packets in the second classification result in the form of a list in the interface.

[0070] Furthermore, the first parsed data in step S2 includes: {{data type X1, data volume L1, data source Y1}, {data type X2, data volume L2, data source Y2}...{data type X n , data volume L n ,Data source:Y n}, data transmission destination M, data transmission protocol C, current time T, total data volume Z, vehicle model};

[0071] Among them, {data type X n , data volume L n ,Data source:Y n} is the nth data type X in the first parsed data n corresponding to all data information; n is the total number of data types contained in the first parsed data; when the first parsed data corresponding to the data packet does not contain the data type, set the data type, data volume, and data source to empty; data type X1 is the name of the data; data volume L1 is the data volume of data type X1 in the data packet; data source Y1 is the source component or acquisition terminal name of data type X1 in the data packet; data transmission destination M is the destination to which the data packet is transmitted; data transmission protocol C is the name of the protocol used for the data packet to be transmitted; current time T is the time when the vehicle transmits the data packet to the outside, and the total data volume is the data volume of the data packet corresponding to the first parsed data;

[0072] Among them, the data type can be divided into: a first data type and a second data type;

[0073] The first data type is private data, and the second data type is non-private data.

[0074] Furthermore, the step S3 specifically includes the following steps:

[0075] S31. The vehicle-side data transmission monitoring system determines the category of each data type in the first parsed data, and calculates the proportion r of the first data type in the first parsed data;

[0076] The categories of the data types include: first data type and second data type;

[0077]

[0078] S33. The vehicle-side data transmission monitoring system counts the sum of the data types g of the first data type, and calculates the sum of the data g and the proportion f of the total data volume Z in the first parsed data;

[0079]

[0080] S34. The vehicle-side data transmission monitoring system determines whether the data transmission protocol C in the first parsed data exists in the first transmission protocol list. If so, the data transmission protocol flag b is set to a non-abnormal transmission protocol; if not, the data transmission protocol flag is set to an abnormal transmission protocol;

[0081] The data transmission protocol flag b includes: abnormal transmission protocol and non-abnormal transmission protocol; the first transmission protocol list is stored in the vehicle-side data transmission monitoring system; the first transmission protocol list stores all non-abnormal transmission protocol names;

[0082] S35. The vehicle-side data transmission monitoring system obtains the first N data packets of the data packet corresponding to the first parsed data, and obtains the current time sequence {T1, T2, ..., T1} corresponding to the first N data packets, and the sum g of the data volume of the first data type corresponding to each data packet in the first N data packets, and obtains the data volume sequence {g1, g1, ..., g m};

[0083] Among them, T N is the current time corresponding to the previous data packet of the data packet corresponding to the first parsed data; T1 is the current time corresponding to the Nth data packet before the data packet corresponding to the first parsed data;

[0084] g Nis the sum of the data volumes of the first data type corresponding to the previous data packet of the data packet corresponding to the first parsed data; g1 is the sum of the data volumes of the first data type corresponding to the Nth data packet before the data packet corresponding to the first parsed data;

[0085] S36. Calculate the average time difference T' in the current time sequence;

[0086]

[0087] S37. The first parsed data is classified into the proportion r of the first data type, the sum of the data volume g of the first data type, the proportion f, the data transmission protocol flag b, the current time sequence {T1, T2..., T N}, the data amount sequence of the first data type {g1, g2…, g N}, time difference average value T′, and data transmission destination M are used as the automobile data transmission behavior characteristics in the first parsed data.

[0088] Furthermore, the step S4 specifically includes the following steps:

[0089] S41. When the data transmission destination M does not exist in the first data transmission destination list, and the proportion r of the first data type is greater than the preset threshold r σ When the data packet is set to the third type of data packet;

[0090] Alternatively, when the data transmission destination M does not exist in the first data transmission destination list, and the sum g of the data amount of the first data type is greater than the preset threshold g σ When the data packet is set to the third type of data packet;

[0091] Alternatively, when the data transmission destination M does not exist in the first data transmission destination list, and the proportion f is greater than the preset threshold f σ When the data packet is set to the third type of data packet;

[0092] Wherein, the first data transmission destination list is stored in the vehicle-side data transmission monitoring system, and the first data transmission destination list stores a plurality of non-abnormal data transmission destinations;

[0093] S42. When the data transmission destination M exists in the first data transmission destination list, and the data transmission protocol flag b is an abnormal transmission protocol, the type of the data packet is set to the second type of data packet;

[0094] Alternatively, when the data transmission destination M exists in the first data transmission destination list and the time difference average value T′ is less than the preset threshold value T σ', set the type of the data packet to the second type of data packet;

[0095] Or, with the current time sequence {T1, T2…, T N} are the horizontal coordinates, with the data amount sequence of the first data type {g1, g2…, g N} are the vertical coordinates, with {(T1, g1), (T2, g2)…, (T N , g N )} is a coordinate point in a two-dimensional coordinate system, and a coordinate point {(T1, g1), (T2, g2)…, (T N , g N )}, and use the curve S as the curve corresponding to the data packet;

[0096] Get the curves corresponding to all positive samples in the vehicle-side data transmission monitoring system (S1, S2…S K ), and the Pearson correlation coefficient algorithm is used to calculate S and (S1, S2…S K ) similarity, and obtain K similarity values ​​(D1, D2…D K );

[0097] When the data transmission destination M exists in the first data transmission destination list, and the K similarity values ​​(D1, D2 . . . D K ) has any similarity value greater than the preset threshold D′ σ When the data packet is set to the second type of data packet;

[0098] S43. When the data packet is not set as a third type data packet or a second type data packet, set the data packet as a first type data packet.

[0099] Furthermore, in step S6, before the platform-side data transmission monitoring system inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the classification result corresponding to the data packet into the platform-side feature model, the platform-side data transmission monitoring system further performs the following steps:

[0100] S601. The platform-side data transmission monitoring system selects all positive samples with the same vehicle model from the positive samples stored in the platform-side data transmission monitoring system according to the vehicle model in the data packet;

[0101] S602. Obtain the data transmission destination M in the automobile data transmission behavior characteristics corresponding to the data packet, the proportion r of the first data type in the first parsed data, and the average time difference T′;

[0102] S603. Filter out all positive samples with the same data transmission destination M as the vehicle model obtained in step S601;

[0103] S604. Obtain the automobile data transmission behavior feature corresponding to each positive sample in all positive samples with the same data transmission destination M as the step S602 in step S603, and extract the proportion of the first data type and the average time difference in the automobile data transmission behavior feature;

[0104] S605. Calculate the similarity γ between the data packet and the positive sample;

[0105] in,

[0106]

[0107] Among them, r 正 and T′ 正 are respectively the proportion of the first data type in the first parsed data in the automobile data transmission behavior characteristics corresponding to the positive sample and the average time difference; τ1 and τ2 are respectively the first weight value and the second weight value;

[0108] S606. For all positive samples in step S603, step S605 is executed to obtain the similarity between the data packet and each positive sample, and the maximum value of the similarity is obtained;

[0109] When the maximum value of the similarity is greater than the preset threshold γ σ When the data transmission monitoring system on the platform side inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the first platform side feature model;

[0110] When the maximum value of the similarity is less than or equal to the preset threshold γ σ When the data transmission monitoring system on the platform side inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the second platform side feature model;

[0111] The first platform-side feature model is a neural network model corresponding to the vehicle model in the data packet;

[0112] The second platform-side feature model is a neural network model corresponding to all vehicle models;

[0113] Among them, the platform-side feature model in the platform-side data transmission monitoring system includes V first platform-side feature models and 1 second platform-side feature model;

[0114] V is the total number of vehicle models included in the platform-side data transmission monitoring system.

[0115] Furthermore, the vehicle-side feature model is composed of a data packet collected at the vehicle-side and a vehicle data transmission behavior feature corresponding to the data packet to form a training sample, the training sample is divided into a positive sample and a negative sample, and the vehicle-side feature model is obtained by training the multiple positive samples and the multiple negative samples;

[0116] The first platform-side feature model is obtained by training a plurality of positive samples and negative samples corresponding to a vehicle model on the platform side; the positive samples and negative samples both contain a data packet corresponding to the vehicle model and a vehicle data transmission behavior feature corresponding to the data packet;

[0117] The second platform-side feature model is obtained by training multiple positive samples and negative samples of all vehicle models on the platform side; the positive samples and negative samples both contain a data packet corresponding to the vehicle model and a vehicle data transmission behavior feature corresponding to the data packet.

[0118] Furthermore, the step S8 further includes:

[0119] The vehicle-side data transmission monitoring system updates the vehicle-side feature model using the escape sample at fixed intervals;

[0120] The platform-side data transmission monitoring system uses the escape sample to update the first platform-side feature model and the second platform-side feature model at fixed intervals.

[0121] Embodiment 2

[0122] The present invention provides an automobile data transmission monitoring system, the system comprising a vehicle-side data transmission monitoring system and a platform-side data transmission monitoring system;

[0123] The vehicle-side data transmission monitoring system scans the data packets transmitted by the vehicle to the outside in real time;

[0124] The vehicle-side data transmission monitoring system analyzes each data packet scanned in real time to form first analysis data for each data packet;

[0125] The vehicle-side data transmission monitoring system extracts the vehicle data transmission behavior characteristics in the first parsed data;

[0126] The vehicle-side data transmission monitoring system determines the type of the data packet corresponding to the first parsed data according to the vehicle data transmission behavior characteristics;

[0127] When the type of the data packet is a first type data packet, discarding the data packet;

[0128] When the type of the data packet is a second type data packet, the automobile data transmission behavior characteristics corresponding to the data packet are input into the vehicle-side feature model to obtain a first classification result of the data packet; the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet are sent to the platform-side data transmission monitoring system; wherein the vehicle-side feature model is a neural network model; the first classification result includes: suspected abnormal transmission data packet, abnormal transmission data packet;

[0129] When the type of the data packet is a third type data packet, the first classification result of the data packet is set as an abnormal transmission data packet, and the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet are sent to the platform-side data transmission monitoring system;

[0130] The platform-side data transmission monitoring system inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the platform-side feature model to obtain the second classification result of the data packet, and the platform-side data transmission monitoring system sends the second classification result of the data packet to the vehicle-side data transmission monitoring system;

[0131] Among them, the platform-side feature model is a neural network model;

[0132] The second classification result includes: a non-abnormal transmission data packet and an abnormal transmission data packet;

[0133] When the second classification result of the data packet is a non-abnormal transmission data packet: when the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as negative samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as negative samples, and both the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; when the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples; both the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; the platform-side data transmission monitoring system displays that there is no abnormal result for the data packet in the display interface;

[0134] When the second classification result of the data packet is an abnormal transmission data packet: when the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples; the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; when the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as positive samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as positive samples, and the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; the platform-side data transmission monitoring system displays the data packet information whose second classification result is an abnormal transmission data packet in a list form in the interface.

[0135] The vehicle data transmission monitoring system executes a vehicle data transmission monitoring method in the first embodiment.

[0136] The beneficial effects of the present invention are as follows:

[0137] 1) The present invention monitors and analyzes data packets transmitted from the vehicle end to the outside by setting up a vehicle-end data transmission monitoring system and a platform-end data transmission monitoring system, thereby realizing effective identification and early warning of abnormal data packet transmission.

[0138] 2) In the vehicle-side data transmission monitoring system, the present invention extracts the characteristics of automobile data transmission behavior from data packets, and adopts a method of first classifying the data packets and then performing neural network model classification operations on the data packets to make a preliminary judgment on the abnormal situation of the data packets, thereby improving the accuracy of judging the abnormal transmission behavior of the data packets;

[0139] 3) The present invention uses the current time sequence {T1, T2..., T N}, the data amount sequence of the first data type {g1, g2…, g N} as horizontal and vertical coordinates respectively, and the Pearson correlation coefficient algorithm is used for calculation, which improves the accuracy of data packet classification;

[0140] 4) In the platform data transmission monitoring system of the present invention, the same vehicle model similarity calculation method and the first platform-side feature model and the second platform-side feature model are used to analyze and calculate the abnormal transmission of data packets, thereby improving the accuracy of judging the data packet transmission behavior.

[0141] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for monitoring automobile data transmission, characterized in that: The method comprises the following steps: S1. The vehicle-side data transmission monitoring system scans the data packets transmitted by the vehicle to the outside in real time; S2. The vehicle-side data transmission monitoring system parses each data packet scanned in real time to form a first parsed data packet for each data packet; S3. The vehicle-side data transmission monitoring system extracts the first analytical data from the vehicle data transmission behavior characteristics; S4. The vehicle-side data transmission monitoring system determines the type of data packet corresponding to the first parsed data according to the characteristics of the vehicle data transmission behavior; When the type of the data packet is a first type data packet, discarding the data packet; When the type of the data packet is a second type data packet, executing step S5; When the type of the data packet is a third type data packet, the first classification result of the data packet is set as an abnormal transmission data packet, and the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet are sent to the platform-side data transmission monitoring system, and step S6 is executed; S5. Inputting the vehicle data transmission behavior characteristics corresponding to the data packet into the vehicle-side feature model to obtain the first classification result of the data packet; Among them, the vehicle-side feature model is a neural network model; The first classification result includes: suspected abnormal transmission data packets, abnormal transmission data packets; Sending the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the first classification result corresponding to the data packet to the platform-side data transmission monitoring system; Execute step S6; S6. The platform-side data transmission monitoring system inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the platform-side feature model to obtain the second classification result of the data packet, and the platform-side data transmission monitoring system sends the second classification result of the data packet to the vehicle-side data transmission monitoring system; Among them, the platform-side feature model is a neural network model; The second classification result includes: a non-abnormal transmission data packet, an abnormal transmission data packet; When the second classification result of the data packet is a non-abnormal transmission data packet, executing step S7; When the second classification result of the data packet is an abnormal transmission data packet, executing step S8; S7. When the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the vehicle data transmission behavior feature corresponding to the data packet as a negative sample, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the vehicle data transmission behavior feature corresponding to the data packet as a negative sample. Both the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system store the data packet, the vehicle data transmission behavior feature corresponding to the data packet, and the mark corresponding to the data packet; When the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples; the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; The platform-side data transmission monitoring system shows no abnormal results for the data packet in the display interface; S8. When the first classification result of the data packet is a suspected abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior characteristics corresponding to the data packet as escape samples; the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system both store the data packet, the automobile data transmission behavior characteristics corresponding to the data packet, and the mark corresponding to the data packet; When the first classification result of the data packet is an abnormal transmission data packet, the platform-side data transmission monitoring system marks the data packet and the automobile data transmission behavior feature corresponding to the data packet as a positive sample, and notifies the vehicle-side data transmission monitoring system to mark the data packet and the automobile data transmission behavior feature corresponding to the data packet as a positive sample, and both the platform-side data transmission monitoring system and the vehicle-side data transmission monitoring system store the data packet, the automobile data transmission behavior feature corresponding to the data packet, and the mark corresponding to the data packet; The platform-side data transmission monitoring system displays the data packet information of the abnormal transmission data packets in the second classification result in the form of a list in the interface.

2. The method according to claim 1, characterized in that The first parsed data in step S2 includes: {{data type ,Data volume ,Data Source }, {Data type ,Data volume ,Data Source } …{data type ,Data volume ,Data Source }, data transmission destination M, data transmission protocol C, current time T, total data volume Z, vehicle model}; Among them, {data type ,Data volume ,Data Source } is the nth data type in the first parsed data corresponding to all data information; n is the total number of data types contained in the first parsed data; when the first parsed data corresponding to the data packet does not contain the data type, the data type, data volume, and data source are set to empty; data type is the name of the data; the amount of data The data type in the data packet Amount of data; Data source The data type in the data packet The source component or collection terminal name of the data packet; the data transmission destination M is the destination to which the data packet is transmitted; the data transmission protocol C is the name of the protocol used to transmit the data packet; the current time T is the time when the vehicle transmits the data packet to the outside, and the total data volume is the data volume of the data packet corresponding to the first parsed data; Among them, the data type is divided into: a first data type and a second data type.

3. The method according to claim 2, characterized in that The step S3 specifically includes the following steps: S31. The vehicle-side data transmission monitoring system determines the category of each data type in the first parsed data, and calculates the proportion r of the first data type in the first parsed data; The categories of the data types include: first data type and second data type; r= ; S33. The vehicle-side data transmission monitoring system counts the sum of the data volume of the first data type , and calculate the sum of the data volume The proportion f of the total data volume Z in the first parsed data; f= ; S34. The vehicle-side data transmission monitoring system determines whether the data transmission protocol C in the first parsed data exists in the first transmission protocol list. If so, the data transmission protocol flag b is set to a non-abnormal transmission protocol; if not, the data transmission protocol flag is set to an abnormal transmission protocol; The data transmission protocol flag b includes: abnormal transmission protocol and non-abnormal transmission protocol; the first transmission protocol list is stored in the vehicle-side data transmission monitoring system; the first transmission protocol list stores all non-abnormal transmission protocol names; S35. The vehicle-side data transmission monitoring system obtains the first N packets of the data packet corresponding to the first parsed data, and obtains the current time sequence corresponding to the first N packets { …, }, and the sum g of the data volume of the first data type corresponding to each data packet in the first N data packets, to obtain the first data type data volume sequence { …, }; in, The current time corresponding to the previous data packet corresponding to the first parsed data; The current time corresponding to the Nth data packet before the data packet corresponding to the first parsed data; The sum of the data amounts of the first data type corresponding to the previous data packet corresponding to the first parsed data; The sum of the data amounts of the first data type corresponding to the Nth data packet before the data packet corresponding to the first parsed data; S36. Calculate the average time difference in the current time sequence ; ; S37. The sum of the proportion r of the first data type in the first parsed data and the amount of data of the first data type , percentage f, data transmission protocol flag b, current time sequence { …, }、Data quantity sequence of the first data type { …, }、Time difference average , the data transmission destination M is used as the automobile data transmission behavior feature in the first parsed data.

4. The method according to claim 3, characterized in that The step S4 specifically includes the following steps: S41. When the data transmission destination M does not exist in the first data transmission destination list, and the proportion r of the first data type is greater than a preset threshold When the data packet is set to be a third type data packet; Alternatively, when the data transmission destination M does not exist in the first data transmission destination list, and the category is the sum of the data amounts of the first data type Greater than the preset threshold When the data packet is set to be a third type data packet; Alternatively, when the data transmission destination M does not exist in the first data transmission destination list, and the proportion f is greater than a preset threshold When the data packet is set to be a third type data packet; Wherein, the first data transmission destination list is stored in the vehicle-side data transmission monitoring system, and the first data transmission destination list stores a plurality of non-abnormal data transmission destinations; S42. When the data transmission destination M exists in the first data transmission destination list, and the data transmission protocol flag b is an abnormal transmission protocol, the type of the data packet is set to the second type of data packet; Alternatively, when the data transmission destination M exists in the first data transmission destination list and the average time difference Less than the preset threshold When the data packet is set to be a second type data packet; Or, with the current time sequence { …, } are the horizontal coordinates, with the data amount sequence of the first data type { …, } are the vertical coordinates, with {( , ),( , )…,( , )} is a coordinate point in a two-dimensional coordinate system, and a coordinate point {( , ),( , )…,( , )}, and taking the curve S as the curve corresponding to the data packet; Get the curves corresponding to all positive samples in the vehicle-side data transmission monitoring system ( … ), Pearson correlation coefficient algorithm was used to calculate S and ( …, ) similarity, and obtain K similarity values ​​( … ); When the data transmission destination M exists in the first data transmission destination list, and the K similarity values ​​( … ) has any similarity value greater than the preset threshold When the data packet is set to be a second type data packet; S43. When the data packet is not set as a third type data packet or a second type data packet, set the data packet as a first type data packet.

5. The method according to claim 4, characterized in that In step S6, before the platform-side data transmission monitoring system inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the classification result corresponding to the data packet into the platform-side feature model, the platform-side data transmission monitoring system further performs the following steps: S601. The platform-side data transmission monitoring system selects all positive samples with the same vehicle model from the positive samples stored in the platform-side data transmission monitoring system according to the vehicle model in the data packet; S602. Obtain the data transmission destination M in the vehicle data transmission behavior characteristics corresponding to the data packet, the proportion r of the first data type in the first parsed data, and the average time difference ; S603. Filter out all positive samples with the same data transmission destination M in step S602 from all positive samples with the same vehicle model obtained in step S601; S604. Obtain the automobile data transmission behavior feature corresponding to each positive sample in all positive samples with the same data transmission destination M as the step S602 in step S603, and extract the proportion of the first data type and the average time difference in the automobile data transmission behavior feature; S605. Calculate the similarity between the data packet and the positive sample ; in, ;in, and are respectively the proportion of the first data type in the first parsed data in the automobile data transmission behavior characteristics corresponding to the positive samples and the average time difference; , are the first weight value and the second weight value respectively; S606. For all positive samples in step S603, step S605 is executed to obtain the similarity between the data packet and each positive sample, and the maximum value of the similarity is obtained; When the maximum value of the similarity is greater than the preset threshold When the platform-side data transmission monitoring system inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the first platform-side feature model; When the maximum value of the similarity is less than or equal to the preset threshold When the data transmission monitoring system on the platform side inputs the automobile data transmission behavior characteristics corresponding to the received data packet and the first classification result corresponding to the data packet into the second platform side feature model; The first platform-side feature model is a neural network model corresponding to the vehicle model in the data packet; The second platform-side feature model is a neural network model corresponding to all vehicle models; Among them, the platform-side feature model in the platform-side data transmission monitoring system includes V first platform-side feature models and 1 second platform-side feature model; V is the total number of vehicle models included in the platform-side data transmission monitoring system.

6. The method according to claim 5, characterized in that The vehicle-side feature model is composed of a data packet collected at the vehicle-side and a vehicle data transmission behavior feature corresponding to the data packet, forming a training sample. The training sample is divided into positive samples and negative samples. The vehicle-side feature model is obtained by training multiple positive samples and multiple negative samples. The first platform-side feature model is obtained by training a plurality of positive samples and negative samples corresponding to a vehicle model on the platform side; the positive samples and negative samples both contain a data packet corresponding to the vehicle model and a vehicle data transmission behavior feature corresponding to the data packet; The second platform-side feature model is obtained by training multiple positive samples and negative samples of all vehicle models on the platform side; the positive samples and negative samples both contain data packets corresponding to the vehicle model and automobile data transmission behavior characteristics corresponding to the data packets.

7. The method according to claim 5, characterized in that The step S8 further comprises: The vehicle-side data transmission monitoring system updates the vehicle-side feature model using the escape sample at fixed intervals; The platform-side data transmission monitoring system uses the escape sample to update the first platform-side feature model and the second platform-side feature model at fixed intervals.

8. An automobile data transmission monitoring system, characterized in that: The system executes a vehicle data transmission monitoring method as described in any one of claims 1 to 7; specifically, the system includes a vehicle-side data transmission monitoring system and a platform-side data transmission monitoring system; The vehicle-side data transmission monitoring system scans the data packets transmitted by the vehicle to the outside in real time; The vehicle-side data transmission monitoring system analyzes each data packet scanned in real time to form first analysis data for each data packet; The vehicle-side data transmission monitoring system extracts the vehicle data transmission behavior characteristics in the first parsed data; The vehicle-side data transmission monitoring system determines the type of data packet corresponding to the first parsed data based on the vehicle data transmission behavior characteristics.

Citation Information

Patent Citations

  • Networked automobile communication data abnormal transmission behavior detection method and system

    CN113938295A