HTM-based vehicle-mounted CAN network anomaly detection method and system
A technology for network anomalies and detection methods, applied in bus networks, transmission systems, digital transmission systems, etc., can solve the problems of poor applicability and sensitivity, failure to ensure the security of the vehicle CAN network, and the lightness and sensitivity of the detection model Insufficient and other problems, to achieve the effect of improving sensitivity and accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] The invention detects the abnormal message in the vehicle CAN network based on the HTM model, so as to detect the attack on the vehicle system. Specifically, obtain the ID sequence of the CAN message during the driving process of the vehicle, construct the HTM model, train the HTM model after encoding the ID sequence of the CAN message generated under the normal driving of the vehicle, and use the trained HTM model to detect whether the vehicle is actually driving. Whether there is abnormal behavior, and then determine whether there is an attack. The HTM algorithm-based vehicle CAN network anomaly detection method of the present invention can detect attacks keenly as long as there are few abnormal changes in the vehicle CAN network data flow, and usually the proportion of abnormal messages is less than 5%.
[0039] The present invention provides a kind of CAN network anomaly detection method based on HTM algorithm, comprising:
[0040] Step 1, collecting data, wherein ...
Embodiment 2
[0064] Embodiment 2 is a preferred example of Embodiment 1.
[0065] Such as figure 1 , is an overall structural diagram of an HTM-based vehicle CAN network anomaly detection system provided by an embodiment of the present invention, including:
[0066] The data collection unit is used to collect CAN messages generated during vehicle driving, and extract ID information in the messages to form an ID sequence.
[0067] The data preprocessing unit is used to convert the obtained message ID sequence data into a binary vector of uniform format and length, which is used as the input of the anomaly detection unit.
[0068] The anomaly detection unit builds and trains the HTM model, uses the model to predict the ID input data, calculates the abnormal value, and then evaluates the security of the CAN network.
[0069] As another optional mode in the examples of the present invention, the abnormality detection unit includes:
[0070] The sparse coding module is used to perform sparse...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


