Intrusion detection method and device based on local and global attention mechanisms, and medium

The invention relates to the field of log detection, in particular to an intrusion detection method and device based on local and global attention mechanisms and a medium, and the method comprises the steps: obtaining a to-be-detected system log; extracting features of the to-be-detected system log;...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG DAOJUAN, QIAN KEXIANG, HAN XIAO, WU HONGBIN, WU TIANQI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the field of log detection, in particular to an intrusion detection method and device based on local and global attention mechanisms and a medium, and the method comprises the steps: obtaining a to-be-detected system log; extracting features of the to-be-detected system log; extracting local attention features of the features by adopting a local feature attention mechanism; extracting global attention features of the features by adopting a global feature attention mechanism; and performing sequence prediction according to the local attention features and the global attention features to obtain an intrusion detection result of the to-be-detected system log. By implementing the method, the local features and the global features are extracted, on one hand, the attention mechanism based on the close-range local features focuses on constructing the system log character-level local features, and on the other hand, the attention mechanism based on the long-distance global features focuses on