The invention discloses a
network security protection method and
system, and relates to the technical field of
network security, and the protection method comprises the following specific steps: S100, multi-
modal data fusion: collecting network flow data and log files, and integrating multi-
source data including DNS query records, user behavior logs and
social media information, thereby forming a multi-
modal data set, the data fusion technology is utilized, feature level and
decision level fusion strategies are combined, the dimensionality and precision of
threat recognition are comprehensively improved, the characteristics of network threats are comprehensively captured from multiple dimensionalities and levels, deep understanding and precise recognition of a
complex network behavior mode are achieved, and through a self-attention mechanism and a graph neural network technology, the network
threat recognition precision is improved. The complex relevance between the features and the complementarity of the cross-
modal features are effectively captured, the accuracy and dimensionality of
threat identification are improved, the probability of occurrence of security events is effectively reduced, and the security and stability of network resources are guaranteed.