The invention discloses a
CAN bus abnormal flow detection method based on multi-scale and
frequency domain characteristics, and relates to the technical field of Internet of Vehicles security, and the method comprises the following steps: carrying out the preprocessing of the original message data of a
CAN bus, dividing a continuous message sequence according to a preset time window, and constructing a
time sequence sample; inputting the
time sequence sample into a
feature extraction and fusion model, and sequentially executing multi-scale
time sequence feature extraction, time sequence correlation modeling and
frequency domain feature enhancement
processing to obtain feature representation fusing
time domain correlation information and
frequency domain structure information; and constructing a classification model based on the feature representation, and carrying out
anomaly detection and classification on the
CAN bus flow. According to the CAN
bus abnormal flow detection method based on the multi-scale and frequency domain characteristics, effective fusion of
time domain correlation enhancement and frequency domain
noise suppression is realized, the detection robustness and accuracy in a complex vehicle-mounted
noise environment are improved, and the
false alarm rate in the complex vehicle-mounted
noise environment is reduced.