Intelligent network intrusion detection system and method

By using methods such as spectral clustering, dynamic behavior analysis, random forest, deep Q network, genetic algorithm and graph embedding technology in the intelligent network intrusion detection system, the efficiency and accuracy problems of traditional systems in complex network environments are solved and achieved It improves the effect of real-time monitoring and cross-domain detection, and improves the adaptability of defense strategies and model performance.

CN118413406BActive Publication Date: 2024-09-17NANTONG HUADUO INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410883197.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-17
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Traditional intelligent network intrusion detection systems rely on simple algorithms and technologies, which are difficult to effectively handle complex network environments. They lack dynamic behavior analysis and time change tracking capabilities, resulting in increased risks of missed and false positives, and are difficult to cope with complex and ever-changing network security. Threats, lack of adaptive and optimized defense strategies, and insufficient data labels in cross-domain detection affect model applicability and accuracy.

Method used

Spectral clustering algorithm is used for data grouping, dynamic behavior analysis and time series analysis are combined to identify dynamic changes in network behavior, random forest model is used for abnormal behavior identification, deep Q network algorithm is used for defense strategy learning, genetic algorithm optimizes defense strategy, and graph embedding Technology extracts network structure information, and domain adaptive network technology solves the problem of data label scarcity in cross-domain detection.

Benefits of technology

It improves the recognition ability of natural clustering and potential abnormal patterns, monitors network behavior changes in real time, enhances the classification and identification accuracy of abnormal behaviors, promotes the adaptability and accuracy of defense strategies, and effectively solves the problem of data labeling in cross-domain detection. Scarcity challenge improves the performance of the model in the differentiated domain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118413406B
    Figure CN118413406B
Patent Text Reader

Abstract

The present invention relates to the field of network security technology, specifically to an intelligent network intrusion detection system and method, wherein the system includes a data clustering module, a dynamic monitoring module, an anomaly identification module, a learning and matching module, a strategy optimization module, a feature representation extraction module, and a cross-domain detection module. In the present invention, a spectral clustering algorithm is used to accurately mine data distribution, optimize group division, improve clustering and abnormal pattern recognition, combine dynamic behavior and time series analysis, conduct real-time monitoring and evaluation of network behavior, and mine abnormal patterns. A random forest model enhances classification and recognition accuracy, a deep Q network algorithm improves interactive learning efficiency, and promotes the adaptability of defense strategies. A genetic algorithm optimizes defense strategies by simulating natural selection and improves matching capabilities. Graph embedding technology strengthens network structure information capture. Regional adaptive technology solves the problem of cross-domain data label scarcity and improves model cross-domain performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to an intelligent network intrusion detection system and method. Background Art

[0002] The field of network security technology focuses on protecting computer networks and their accessible resources from unauthorized access, theft, damage or other forms of malicious behavior. Network security technology covers everything from basic firewalls and encryption technologies to advanced intrusion detection and prevention systems. With the increasing complexity of network environments and the continuous advancement of attack technologies, traditional rule-based and signature-based security mechanisms have gradually shown their limitations. Intelligent network intrusion detection systems have emerged, using advanced technologies such as machine learning, artificial intelligence and big data analysis to identify and respond to security threats in a more flexible and efficient way, thereby improving the overall security performance of the network.

[0003] Among them, the intelligent network intrusion detection system is a security technology that uses artificial intelligence technology, especially machine learning and deep learning algorithms, to monitor network traffic and user behavior, identify, prevent and respond to network attacks or abnormal behaviors. The main purpose of this type of system is to improve the ability to detect unknown threats and automate responses, reduce reliance on human intervention, thereby speeding up response time and reducing potential damage. By intelligently analyzing patterns of network behavior, these systems can identify attack behaviors that are similar to known security threats or completely new, achieve early warnings and active defense, and achieve the effect of improving network security defense capabilities and protecting key information assets.

[0004] Traditional intelligent network intrusion detection systems rely on relatively simple algorithms and technologies, such as basic clustering methods and static rule matching, which limits the efficiency and accuracy in dealing with complex network environments. The lack of dynamic behavior analysis and time change tracking capabilities makes it impossible to effectively monitor and evaluate real-time changes in network behavior, increasing the risk of missed reports and false alarms. The accuracy and generalization capabilities of traditional anomaly identification methods are limited, making it difficult to cope with complex and changing network security threats. The lack of adaptive and optimized defense strategies makes defense measures slow to respond to new threats and ineffective. In terms of cross-domain detection, traditional systems cannot overcome the problem of insufficient data labels, which affects the applicability and accuracy of the model. Summary of the invention

[0005] This application provides an intelligent network intrusion detection system and method to solve the problem that traditional intelligent network intrusion detection systems rely on relatively simple algorithms and technologies, such as basic clustering methods and static rule matching, which limits the efficiency and accuracy in dealing with complex network environments. The lack of dynamic behavior analysis and time change tracking capabilities makes it impossible to effectively monitor and evaluate real-time changes in network behavior, increasing the risk of missed reports and false alarms. The accuracy and generalization capabilities of traditional anomaly identification methods are limited, making it difficult to cope with complex and changing network security threats. The lack of adaptive and optimized defense strategies causes defense measures to be slow to respond and ineffective when facing new threats. In terms of cross-domain detection, traditional systems cannot overcome the problem of insufficient data labels, which affects the applicability and accuracy of the model.

[0006] In view of the above problems, the present application provides an intelligent network intrusion detection system and method.

[0007] The present application provides an intelligent network intrusion detection system, wherein the system comprises:

[0008] The data clustering module uses the spectral clustering algorithm based on network traffic data. By constructing a similarity matrix of data points and calculating the Laplace matrix, it mines the natural distribution of data and divides it into multiple groups. It uses the characteristics of the groups to identify natural clusters and potential abnormal patterns in network behavior and generate cluster labels.

[0009] The dynamic monitoring module uses a dynamic behavior analysis method based on the cluster labels to monitor the tracking of behavior patterns in the clusters over time by applying time series analysis, combines change point detection to identify sudden changes in behavior patterns, monitors and evaluates dynamic changes in behaviors within the clusters, and generates anomaly candidate sets;

[0010] The anomaly identification module classifies and identifies abnormal behaviors based on the abnormal candidate set and uses a random forest model to construct multiple decision trees and optimize the results, processes abnormal behaviors in the data set, and generates abnormal behavior indicators;

[0011] The learning and matching module uses a deep Q-network algorithm based on the abnormal behavior indicators through continuous interaction with the network environment, combines deep learning to encode the state space and Q learning to evaluate the value of the action, and learns and takes defensive measures through the network environment interaction process to generate an adaptive strategy;

[0012] The strategy optimization module optimizes the defense strategy based on the adaptive strategy by simulating attack scenarios and applying genetic algorithms to simulate crossover, mutation and selection operations in the natural selection process, captures the best strategy in the simulated attack scenario, and generates an optimized defense strategy;

[0013] The feature representation extraction module uses graph embedding technology to embed nodes based on the optimized defense strategy. By optimizing the neighborhood structure retention of network nodes and the structural similarity between nodes, the entities in the network traffic data are mapped into a finite-dimensional vector space, the information in the network structure is captured, and a representation vector is generated.

[0014] The cross-domain detection module is based on the representation vector and adopts domain adaptive network technology. Through the difference in data distribution between the source domain and the target domain, the knowledge learned in the source domain is used to improve the performance of the model in the target domain, detect network security threats in the domain, and generate cross-domain threat indicators in the face of the challenge of scarce data labels.

[0015] Preferably, the clustering labels include natural clustering identification of network behaviors and recognition of potential abnormal patterns, the abnormal candidate sets include behavioral patterns for time change tracking and mutation indicators of behavioral patterns, the abnormal behavior indicators include abnormal classification labels and abnormal degree assessments, the adaptive strategies include adjustment plans for defense measures and updates for behavioral strategies, the optimized defense strategies include optimal strategies and strategy adjustment plans under simulated attack scenarios, the representation vectors include vector representations of network entities and structural similarity metrics, and the cross-domain threat indicators include improved target domain performance indicators and knowledge transfer effects from source domains to target domains.

[0016] Preferably, the data grouping module includes:

[0017] The spectral clustering submodule uses the spectral clustering algorithm based on network traffic data. The spectral clustering method is used to set the similarity calculation method of the adjacency matrix to the Gaussian kernel function, calculate the similarity between data points, and generate a similarity matrix;

[0018] The feature analysis submodule uses a matrix operation method to perform degree matrix subtraction on the matrix based on the similarity matrix, constructs a matrix by subtracting the degree of the node, reveals the connection relationship of the data points and the distribution characteristics in the graph, and generates a Laplace matrix;

[0019] The pattern mining submodule performs the key steps of spectral clustering based on the Laplace matrix, clusters the feature vectors using the k-means clustering method, and automatically selects the number of clusters k through the silhouette coefficient method. The feature vectors are used as input to perform k-means clustering to identify natural groups of data and generate cluster labels.

[0020] Preferably, the dynamic monitoring module includes:

[0021] The behavior change analysis submodule adopts the time series analysis method based on the cluster labels, uses the autoregressive integrated sliding average model for modeling, and automatically selects the model parameters according to the data. By analyzing the correlation of the time series data, the changes in the behavior patterns in the clusters are tracked to generate the time series analysis results;

[0022] The statistical evaluation submodule performs change point detection based on the time series analysis results, adopts a change point analysis method, sets the minimum information criterion to the Bayesian information criterion to determine the change point, identifies the change of the behavior pattern by analyzing the change of statistical characteristics in the time series data, and generates a change point detection result;

[0023] The candidate set generation submodule screens the abnormal candidate set based on the change point detection results, uses a custom threshold method to determine the abnormal score, and calculates the abnormal score based on the statistical difference in the change point detection results. The analysis results identify potential abnormal behavior patterns and generate an abnormal candidate set.

[0024] Preferably, the abnormality identification module includes:

[0025] The model training submodule uses a random forest model based on the abnormal candidate set, constructs an ensemble learning method of decision trees, sets random seed parameters, and combines the prediction results of multiple decision trees to improve the accuracy of abnormal behavior recognition on the data set, thereby generating a trained random forest model;

[0026] The behavior classification submodule classifies abnormal behaviors based on the trained random forest model, classifies and predicts data using a classification prediction method, inputs the data into the model, and determines the abnormality of the data points based on the model training, and determines based on the voting results of the model on multiple decision trees to generate abnormal behavior classification results;

[0027] The indicator generation submodule is based on the abnormal behavior classification result and adopts a performance evaluation indicator. By calculating the recall rate of the model, it is calculated based on the number of true positive examples, false positive examples, true negative examples and false negative examples to quantify the performance of the model in the abnormal behavior identification task and generate an abnormal behavior indicator.

[0028] Preferably, the learning and matching module includes:

[0029] The reinforcement learning submodule implements the deep Q network algorithm based on the abnormal behavior indicator, defines the network structure, including the input layer corresponding to the network state, encodes the environment state by using deep learning technology by setting the optimization algorithm to adaptive momentum, updates the Q value by interacting with the environment, and generates a preliminary deep Q network model;

[0030] The interactive learning submodule performs interactive learning with the network environment based on the preliminary deep Q network model, uses the experience replay mechanism to store state transfer, optimizes algorithm parameters, and generates an optimized deep Q network model by testing the effects of differentiated defense measures under differentiated network states and adjusting the model through feedback;

[0031] The strategy generation submodule generates defense strategies based on the optimized deep Q network model, determines defense actions by evaluating the network status, and selects actions with expected returns as response strategies, matches dynamic defense strategies for real-time network security threats, and generates adaptive strategies.

[0032] Preferably, the strategy optimization module includes:

[0033] The scenario simulation submodule performs network attack scenario simulation based on the adaptive strategy, customizes multiple network configurations by using network simulation methods, simulates differentiated attack scenarios, and generates simulated attack data sets by adjusting network topology and traffic;

[0034] The rule adjustment submodule implements genetic algorithm optimization based on the simulated attack data set, implements genetic algorithm optimization, uses evolutionary computing methods, encodes defense strategies as chromosomes, performs selection, crossover and mutation operations, and generates evolving defense strategies;

[0035] The parameter configuration submodule adjusts defense parameters based on the evolving defense strategy, optimizes firewall rule sets and intrusion detection parameters according to genetic algorithm results, adjusts priority and sensitivity settings of rules, and generates an optimized defense strategy.

[0036] Preferably, the feature representation extraction module includes:

[0037] The graph embedding submodule executes the node embedding algorithm to embed the graph based on the optimized defense strategy, sets the random walk length, sets the return parameters and the included parameters to the default values, analyzes the neighborhood structure of the entities in the network traffic data, captures the structural similarity between nodes through random walks, and generates a node embedding vector;

[0038] The modular learning submodule uses the principal component analysis method to reduce the dimension based on the node embedding vector, selects to retain the first several principal components, optimizes the storage and calculation efficiency of the vector, processes the multi-dimensional embedding vector, and generates a reduced dimension vector;

[0039] The vector integration submodule integrates the graph embedding vectors from different sources based on the dimension reduction vector, performs a vector merging operation, creates a comprehensive network representation vector, captures information about key entities and relationships in the network, and generates a comprehensive representation vector.

[0040] Preferably, the cross-domain detection module includes:

[0041] The knowledge transfer submodule performs domain matching based on the comprehensive representation vector using a deep adaptive network technology, builds a model using a deep learning framework, adjusts the mean difference parameter between the source domain and the target domain, optimizes the performance of the model in the target domain through the knowledge learned in the source domain, and generates a preliminary domain matching model;

[0042] The domain matching submodule fine-tunes and optimizes the preliminary domain matching model based on the preliminary domain matching model, optimizes network weights and biases, matches the feature distribution of the target domain, and generates an optimized domain matching model by gradually reducing the difference in data distribution between the source domain and the target domain.

[0043] The threat identification submodule performs security threat detection on the network traffic in the target domain based on the optimized domain matching model, evaluates the data using the model, identifies unknown malware and potential security threats, identifies and marks abnormal behaviors and attack activities in the target domain through the predictive ability of the model, and generates cross-domain threat indicators.

[0044] Based on the intelligent network intrusion detection method, the intelligent network intrusion detection method is executed based on the above-mentioned intelligent network intrusion detection system, including the following steps:

[0045] S1: Based on network traffic data, a spectral clustering algorithm is used to construct a similarity matrix. The distance between data points is converted into similarity through the Gaussian kernel function, the optimal number of groups is determined, and the Laplace matrix is ​​constructed. The eigenvalue decomposition method is used to select eigenvectors for data point clustering. The groups are divided according to the natural distribution characteristics of the data, and cluster labels are generated.

[0046] S2: Based on the cluster labels, dynamic behavior analysis is performed, time series data is processed using a time series analysis method, a time series prediction model is used to predict the time series trend of the behavior pattern, and a numerical calculation method is combined to perform calculations to identify the mutation points of the behavior pattern. A change point detection algorithm, including a cumulative and control chart algorithm, is used to determine the change location, monitor the changes of the behavior pattern in the cluster over time, and generate an abnormal candidate set;

[0047] S3: Based on the abnormal candidate set, a random forest model is applied to construct a random forest classifier, and information gain rate is used as a splitting criterion to randomly sample features, train multiple decision trees, use differentiated data subsets and feature subsets for each tree, aggregate the prediction results of the decision trees, and improve the accuracy and generalization ability of the model through a voting mechanism to generate abnormal behavior indicators;

[0048] S4: Based on the abnormal behavior indicators, a deep Q network algorithm is used to define the deep neural network model structure, and the loss function is set to mean square error. By adjusting the Q value of the behavior strategy, the network is trained to predict the expected return of the action, and the optimal defense measures are learned in the network environment to generate an adaptive strategy.

[0049] S5: Based on the adaptive strategy, apply the genetic algorithm, define individuals as defense strategy parameters, including network configuration and response mechanism, set the matching function to evaluate the strategy effect, analyze the strategy space through crossover and mutation operations, iteratively optimize the defense strategy, improve the defense capability of network attacks, and generate an optimized defense strategy;

[0050] S6: Based on the above-mentioned optimized defense strategy, the graph embedding technology is adopted to capture the local and global structural information of network nodes through the random walk strategy, and the vector representation of nodes is learned by the embedding learning method, the neighborhood relationship between nodes is retained, and the network structure is mapped into a finite-dimensional vector space, so as to capture and encode the key structural features in the network traffic data and generate a representation vector;

[0051] S7: Based on the representation vector, cross-domain detection is performed, domain adaptive network technology is adopted, a multi-layer neural network is designed to capture the feature distribution of source domain and target domain data, a neighborhood matching layer is set to reduce the distribution difference between domains, and the feature representation learned by the model in the source domain is matched with the target domain through adversarial training method, so as to improve the generalization ability of the model in a differentiated network environment and generate cross-domain threat indicators;

[0052] S8: Based on the cross-domain threat indicators, integration and performance evaluation are performed. A comprehensive evaluation method is used to calculate the accuracy and recall of the model. Simulation tests are performed in combination with network attack scenarios, including the sensitivity of the defense strategy and the threshold of the detection algorithm. Through feedback loops and performance tuning, intelligent identification of network intrusion detection results is generated.

[0053] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0054] The spectral clustering algorithm optimizes the group division by accurately mining the natural distribution of data, and improves the ability to identify natural clustering and potential abnormal patterns. The combination of dynamic behavior analysis and time series analysis enables the system to monitor and evaluate the dynamic changes of network behavior in real time and mine abnormal behavior patterns in a timely manner. The application of the random forest model enhances the classification and recognition accuracy of abnormal behavior. The introduction of the deep Q network algorithm promotes the learning efficiency based on network environment interaction, making the defense strategy more adaptive and accurate. The application of genetic algorithms in strategy optimization effectively improves the matching ability and effect of defense strategies by simulating the natural selection process. The use of graph embedding technology enhances the ability to capture network structure information, and the application of domain adaptive network technology effectively solves the challenge of scarce data labels in cross-domain detection and improves the performance of the model in differentiated domains.

[0055] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 The module diagram of the intelligent network intrusion detection system is proposed for the present invention;

[0057] Figure 2 The framework diagram of the intelligent network intrusion detection system is proposed for the present invention;

[0058] Figure 3 The present invention proposes a specific flow chart of a data grouping module based on an intelligent network intrusion detection system;

[0059] Figure 4 The present invention proposes a specific flow chart of a dynamic monitoring module based on an intelligent network intrusion detection system;

[0060] Figure 5 The present invention proposes a specific flow chart of an abnormality identification module based on an intelligent network intrusion detection system;

[0061] Figure 6 The present invention proposes a specific flow chart of the learning and matching module based on the intelligent network intrusion detection system;

[0062] Figure 7 The present invention proposes a specific flow chart of a strategy optimization module based on an intelligent network intrusion detection system;

[0063] Figure 8 The present invention proposes a specific flow chart of a feature representation extraction module based on an intelligent network intrusion detection system;

[0064] Fig. 9 The present invention proposes a specific flow chart of a cross-domain detection module based on an intelligent network intrusion detection system;

[0065] Fig.10 The present invention proposes a flow chart based on an intelligent network intrusion detection method. DETAILED DESCRIPTION

[0066] This application provides an intelligent network intrusion detection system and method to solve the problem that traditional intelligent network intrusion detection systems rely on relatively simple algorithms and technologies, such as basic clustering methods and static rule matching, which limits the efficiency and accuracy in dealing with complex network environments. The lack of dynamic behavior analysis and time change tracking capabilities makes it impossible to effectively monitor and evaluate real-time changes in network behavior, increasing the risk of missed reports and false alarms. The accuracy and generalization capabilities of traditional anomaly identification methods are limited, making it difficult to cope with complex and changing network security threats. The lack of adaptive and optimized defense strategies causes defense measures to be slow to respond and ineffective when facing new threats. In terms of cross-domain detection, traditional systems cannot overcome the problem of insufficient data labels, which affects the applicability and accuracy of the model.

[0067] Application Overview: Traditional intelligent network intrusion detection systems rely on relatively simple algorithms and technologies, such as basic clustering methods and static rule matching, which limits the efficiency and accuracy in dealing with complex network environments. The lack of dynamic behavior analysis and time change tracking capabilities makes it impossible to effectively monitor and evaluate real-time changes in network behavior, increasing the risk of missed reports and false alarms. The accuracy and generalization capabilities of traditional anomaly identification methods are limited, making it difficult to cope with complex and changing network security threats. The lack of adaptive and optimized defense strategies causes defense measures to be slow to respond to new threats and have poor results. In terms of cross-domain detection, traditional systems cannot overcome the problem of insufficient data labels, which affects the technical issues of model applicability and accuracy.

[0068] In response to the above technical problems, the overall idea of ​​the technical solution provided by this application is as follows:

[0069] like Figure 1 , Figure 2 As shown, the present application provides an intelligent network intrusion detection system, wherein the system includes:

[0070] The data clustering module uses the spectral clustering algorithm based on network traffic data. By constructing a similarity matrix of data points and calculating the Laplace matrix, it mines the natural distribution of data and divides it into multiple groups. It uses the characteristics of the groups to identify natural clusters and potential abnormal patterns in network behavior and generate cluster labels.

[0071] The dynamic monitoring module uses dynamic behavior analysis methods based on cluster labels. It monitors the behavior patterns in clusters over time by applying time series analysis, combines change point detection to identify sudden changes in behavior patterns, monitors and evaluates the dynamic changes in behaviors within clusters, and generates anomaly candidate sets.

[0072] The anomaly identification module is based on the anomaly candidate set and uses the random forest model to classify and identify abnormal behaviors by building multiple decision trees and optimizing the results, processing abnormal behaviors in the data set and generating abnormal behavior indicators;

[0073] The learning and matching module is based on abnormal behavior indicators and uses a deep Q-network algorithm through continuous interaction with the network environment. It combines deep learning to encode the state space and Q learning to evaluate the value of actions. It also learns and takes defensive measures through the interactive process of the network environment to generate adaptive strategies.

[0074] The strategy optimization module is based on adaptive strategies. It simulates attack scenarios and applies genetic algorithms to optimize defense strategies by simulating crossover, mutation, and selection operations in the natural selection process. It captures the best strategy in the simulated attack scenario and generates an optimized defense strategy.

[0075] The feature representation extraction module uses graph embedding technology to embed nodes based on the optimized defense strategy. By optimizing the neighborhood structure preservation of network nodes and the structural similarity between nodes, the entities in the network traffic data are mapped into a finite-dimensional vector space, capturing the information in the network structure and generating a representation vector.

[0076] The cross-domain detection module is based on representation vectors and adopts domain adaptive network technology. It uses the difference in data distribution between the source domain and the target domain and the knowledge learned in the source domain to improve the performance of the model in the target domain, detect network security threats in the domain, and generate cross-domain threat indicators in the face of the challenge of scarce data labels.

[0077] Cluster labels include natural cluster identification of network behaviors and recognition of potential abnormal patterns. Abnormal candidate sets include behavioral patterns tracked over time and mutation indicators of behavioral patterns. Abnormal behavior indicators include abnormal classification labels and abnormal degree assessments. Adaptive strategies include adjustment plans for defense measures and updates for behavioral strategies. Optimized defense strategies include optimal strategies and strategy adjustment plans under simulated attack scenarios. Representation vectors include vector representations of network entities and structural similarity metrics. Cross-domain threat indicators include improved target domain performance indicators and knowledge transfer effects from source domains to target domains.

[0078] Specifically, if Figure 2 , Figure 3 As shown, the data clustering module includes:

[0079] The spectral clustering submodule uses the spectral clustering algorithm based on network traffic data. The spectral clustering method is used to set the similarity calculation method of the adjacency matrix to the Gaussian kernel function, calculate the similarity between data points, and generate the similarity matrix. The execution process is as follows;

[0080] The spectral clustering submodule is based on network traffic data and adopts the spectral clustering algorithm. The spectral clustering method is used to set the similarity calculation method of the adjacency matrix to the Gaussian kernel function. The network traffic data is converted into nodes and the initial adjacency matrix is ​​constructed, where each data point represents a node. The similarity between nodes is calculated by the Gaussian kernel function. The form of the Gaussian kernel function is as follows:

[0081] ;

[0082] in, represents the similarity between node i and node i, is the kernel width parameter, which is determined by choosing an appropriate The value can ensure that the similarity matrix reflects the real node relationship. After completing the similarity calculation, the similarity matrix is ​​generated.

[0083] The feature analysis submodule is based on the similarity matrix. It uses the matrix operation method to perform degree matrix subtraction on the matrix. By subtracting the degree of the node, the matrix is ​​constructed to reveal the connection relationship of the data points and the distribution characteristics in the graph. The execution process of generating the Laplace matrix is ​​as follows;

[0084] The feature analysis submodule is based on the similarity matrix and uses matrix operation methods to perform degree matrix subtraction operations on the matrix. By calculating the degree of each node , and construct the degree matrix D, where the degree matrix is ​​a diagonal matrix with elements , then subtract the degree matrix from the similarity matrix to get the Laplace matrix L, using the following formula:

[0085] ;

[0086] Among them, L represents the Laplace matrix, which reveals the connection relationship of data points and the distribution characteristics in the graph to generate the Laplace matrix.

[0087] The pattern mining submodule performs the key steps of spectral clustering based on the Laplace matrix. It uses the k-means clustering method to cluster the feature vectors. The number of clusters k is automatically selected by the silhouette coefficient method. The feature vectors are used as input to perform k-means clustering to identify the natural groups of the data. The execution process of generating cluster labels is as follows;

[0088] The pattern mining submodule performs the key steps of spectral clustering based on the Laplace matrix. It calculates the eigenvalues ​​and eigenvectors of the Laplace matrix, selects the eigenvectors corresponding to the first k smallest eigenvalues, constructs the eigenvector matrix, and uses these eigenvectors as the input of k-means clustering. The number of clusters k is automatically selected by the silhouette coefficient method. The silhouette coefficient is defined using the following formula:

[0089] ;

[0090] Among them, S(k) represents the silhouette coefficient of cluster number k, a(i) is the average distance between the ith data point and other data points in the same cluster, and b(i) is the average distance between the ith data point and the nearest data point in a different cluster. The optimal k value is selected by maximizing the silhouette coefficient, and then the k-means clustering method is used to cluster the feature vectors to generate cluster labels.

[0091] Specifically, if Figure 2 , Figure 4 As shown, the dynamic monitoring module includes:

[0092] The behavior change analysis submodule is based on cluster labels and adopts the time series analysis method. It uses the autoregressive integrated moving average model for modeling. The model parameters are automatically selected according to the data. By analyzing the correlation of time series data, the changes in the behavior patterns in the clusters are tracked. The execution process of generating the time series analysis results is as follows;

[0093] The behavior change analysis submodule is based on cluster labels, adopts time series analysis method, and uses autoregressive integrated moving average model for modeling. First, the cluster label data is converted into time series form, and the order parameters of the model are set. , and Represents the autoregressive order, the number of differences and the sliding average order, respectively, to test the stability of the time series data. The model order is determined by the autocorrelation function (ACF) and the partial autocorrelation function (PACF), and then the least squares method is used to estimate the model parameters. The model expression is:

[0094] ;

[0095] in, Represents the current value of the time series data, is a constant term, and are the autoregressive coefficient and the moving average coefficient, respectively. is the error term. By analyzing the correlation of time series data, we can track the changes in behavioral patterns in clusters and generate time series analysis results.

[0096] The statistical evaluation submodule performs change point detection based on the time series analysis results. It uses the change point analysis method and sets the minimum information criterion to the Bayesian information criterion to determine the change point. It identifies the change in the behavior pattern by analyzing the statistical characteristic changes in the time series data. The execution process of generating the change point detection results is as follows;

[0097] The statistical evaluation submodule performs change point detection based on the time series analysis results. It uses the change point analysis method to calculate the statistical characteristics of the time series data at different time points, sets the minimum information criterion to the Bayesian information criterion, and determines the change point position. The formula used by the Bayesian information criterion is:

[0098] ;

[0099] in, is the sample size, is the residual sum of squares, is the number of model parameters. By analyzing the changes in statistical characteristics in time series data, we can identify changes in behavior patterns and generate change point detection results.

[0100] The candidate set generation submodule screens the abnormal candidate set based on the change point detection results and uses a custom threshold method to determine the abnormal score. The abnormal score is calculated based on the statistical difference in the change point detection results. The analysis results identify potential abnormal behavior patterns. The execution process of generating abnormal candidate sets is as follows;

[0101] The candidate set generation submodule screens the abnormal candidate set based on the change point detection results, and uses a custom threshold method to determine the abnormal score. The abnormal score is calculated based on the statistical difference in the change point detection results. In the specific operation, the time series data is segmented to calculate the mean and variance of each segment. The formula for defining the abnormal score is:

[0102] ;

[0103] in, is the anomaly score, and is the mean of two adjacent segments, and The variance of two adjacent segments is used to identify potential abnormal behavior patterns and generate anomaly candidate sets by comparing the anomaly score with the set threshold.

[0104] Specifically, if Figure 2 , Figure 5 As shown, the abnormality identification module includes:

[0105] The model training submodule uses a random forest model based on the abnormal candidate set. By constructing an ensemble learning method of decision trees, setting random seed parameters, and merging the prediction results of multiple decision trees, the accuracy of abnormal behavior recognition on the data set is improved. The execution process of generating a trained random forest model is as follows;

[0106] The model training submodule is based on the abnormal candidate set and adopts the random forest model. By constructing an ensemble learning method of decision trees, samples are first randomly extracted from the abnormal candidate set, and random seed parameters are set to ensure the repeatability of the results. Then, multiple decision tree models are generated. Each decision tree is trained on a different sample subset. Each decision tree is constructed by recursively splitting the training data, where each node selects the best split point based on information gain or Gini coefficient, and the prediction results of multiple decision trees are merged. The predictions of each decision tree are summarized through a voting mechanism to improve the accuracy of abnormal behavior recognition on the data set and generate a trained random forest model. The specific calculation formula of the voting mechanism is as follows:

[0107] ;

[0108] in, is the comprehensive prediction probability, is the number of decision trees, For the The prediction probability of a decision tree is significantly improved through this integrated learning method.

[0109] The behavior classification submodule classifies abnormal behaviors based on the trained random forest model, classifies and predicts data using the classification prediction method, inputs the data into the model, and judges the abnormality of the data points based on the model training. The model makes a judgment based on the voting results of multiple decision trees, and the execution process of generating abnormal behavior classification results is as follows;

[0110] The behavior classification submodule classifies abnormal behaviors based on the trained random forest model. It uses the classification prediction method to classify and predict the data. The data is input into the model, and each data point is input into all the trained decision trees. The decision tree is used to make judgments. Each decision tree outputs its classification results. Then, the model is judged based on the voting results on multiple decision trees. The voting results determine the final classification label through majority voting and generate the abnormal behavior classification results. The specific voting calculation formula is:

[0111] ;

[0112] in, is the final classification label, is the number of decision trees, is an indicative function, when the decision tree The classification result is hour , otherwise 0.

[0113] The indicator generation submodule adopts the performance evaluation indicator based on the abnormal behavior classification results. The recall rate of the model is calculated based on the number of true positive examples, false positive examples, true negative examples and false negative examples to quantify the performance of the model on the abnormal behavior identification task. The execution process of generating abnormal behavior indicators is as follows;

[0114] The indicator generation submodule uses performance evaluation indicators based on the abnormal behavior classification results. The recall rate of the model is calculated based on the number of true positive examples, false positive examples, true negative examples, and false negative examples. The number of true positive examples (TP), false positive examples (FP), true negative examples (TN), and false negative examples (FN) in the classification results is counted, and then the recall rate is calculated. The calculation formula of the recall rate is:

[0115] ;

[0116] in, is the recall rate, is the number of true positive examples, The recall rate is used to quantify the performance of the model on the abnormal behavior identification task and generate an abnormal behavior indicator.

[0117] Specifically, if Figure 2 , Figure 6 As shown, the learning and matching module includes:

[0118] The reinforcement learning submodule implements the deep Q network algorithm based on the abnormal behavior indicators, defines the network structure, including the input layer corresponding to the network state, and uses deep learning technology to encode the environment state by setting the optimization algorithm to adaptive momentum. The Q value is updated through interaction with the environment, and the execution process of generating a preliminary deep Q network model is as follows;

[0119] In the reinforcement learning submodule, the network structure is first defined: the input layer is set to directly correspond to the network state, which is represented by a numerical array N=[n1, n2, …, nk], where k is the number of states. Then, the adaptive momentum method is introduced to set the weight update step size. , initialized to 0.001, during the iterative update process The weight adjustment is gradually adjusted according to the direction of the previous step to improve learning efficiency. By specifically calculating the entropy value of each step state , according to the set entropy threshold T, starting from the average entropy, the network is gradually optimized. In the process, deep learning technology is used to encode the environment state. The initial encoding uses a simple linear transformation ,in and The encoding parameters are initially set to 1 and 0, and the Q value is continuously adjusted through the interaction between the network state and the environment to generate a preliminary deep Q network model.

[0120] The interactive learning submodule is based on the preliminary deep Q network model, performs interactive learning with the network environment, uses the experience replay mechanism to store state transfer, optimizes algorithm parameters, and tests the effects of differentiated defense measures under differentiated network states. The feedback adjustment model generates the optimized deep Q network model. The execution process is as follows;

[0121] In the interactive learning submodule, based on the preliminary deep Q network model generated above, the experience replay mechanism is used to store the transition of each state in the memory bank D. The storage format in D is {(s, a, r, s)}, where s is the current state, a is the action taken, and r is the reward obtained. By testing in different network states, such as state S = [s1, s2, ..., s_m], where m represents the number of test states, differentiated defense measures are taken and their effects are evaluated. The measures are weighted To distinguish them, the formula is as follows:

[0122] ;

[0123] in, is the effectiveness score of defense measure i, and T is the temperature parameter used to control the distribution width of the selection probability. Finally, the model is adjusted through these experimental feedback to generate an optimized deep Q network model.

[0124] The strategy generation submodule generates defense strategies based on the optimized deep Q network model, determines defense actions by evaluating the network status, and selects actions with expected returns as response strategies, matching dynamic defense strategies for real-time network security threats. The execution process of generating adaptive strategies is as follows;

[0125] In the strategy generation submodule, the defense strategy is generated based on the optimized deep Q network model. Potential Threat Level , the defensive action is determined by the following formula :

[0126] ;

[0127] in, Indicates in status Next Action Expected return, From the state To status The transition probability, Action for a Cause From the status Transfer to state Get immediate rewards, is the learning rate, is the discount factor, taking into account future returns. In this way, a dynamic defense strategy that matches the real-time network security threats is generated to form the final adaptive strategy.

[0128] Specifically, if Figure 2 , Figure 7 As shown, the strategy optimization module includes:

[0129] The scenario simulation submodule performs network attack scenario simulation based on adaptive strategies. It customizes various network configurations using network simulation methods to simulate differentiated attack scenarios. By adjusting the network topology and traffic, the execution process of generating simulated attack data sets is as follows;

[0130] In the scenario simulation submodule, the network simulation environment is first set up: a specific network topology model is selected, and specific attack model parameters are set for different types of network attacks, such as DDoS or phishing attacks, by defining the number of network nodes N and the connection method, such as using a star or ring structure, and the number of connections c for each node. Parameters include the attack traffic size T and the attack frequency F. Through simulation software, such as the Python-based Mininet tool, the network scenario is automatically configured to adjust the network topology and traffic distribution to simulate the real attack environment. Each data set contains information such as the attack type, occurrence time, affected nodes, and response time. The generated simulated attack data set uses the following formula:

[0131] ;

[0132] Where D represents the simulated attack dataset, Represents the number of network nodes, Represents the attack traffic size of the node, Represents the attack frequency of the node.

[0133] The rule adjustment submodule implements genetic algorithm optimization based on the simulated attack data set, implements genetic algorithm optimization, uses evolutionary computing methods, encodes defense strategies as chromosomes, performs selection, crossover and mutation operations, and generates the execution process of evolving defense strategies as follows;

[0134] In the rule adjustment submodule, a genetic algorithm is used to optimize the defense strategy. Each defense strategy is encoded as a chromosome in the form of an array of defense parameters. By setting the initial population size P, for example, P=100, each individual represents a defense configuration. The core steps of the genetic algorithm are executed: selection, crossover, and mutation. The selection operation is based on individual fitness evaluation, which is determined by its performance in the simulated attack data set. The roulette wheel selection method is used for parent selection. The crossover operation uses a single-point crossover to randomly select a point on the chromosome for cutting and recombination. The mutation operation makes slight adjustments to the parameters at the randomly selected chromosome position, such as a change of ±5%, to introduce new genetic diversity. Through multiple generations of iterations, an optimized and evolved defense strategy set is finally generated, using the following formula:

[0135] ;

[0136] in, represents the fitness of the defense strategy, represents the number of individuals in the population, Represents the performance score of an individual in a simulated environment.

[0137] The parameter configuration submodule adjusts the defense parameters based on the evolving defense strategy, optimizes the firewall rule set and intrusion detection parameters according to the genetic algorithm results, adjusts the priority and sensitivity settings of the rules, and generates the execution process of the optimized defense strategy as follows;

[0138] In the parameter configuration submodule, based on the defense strategy obtained through genetic algorithm optimization, specific defense parameters are adjusted. First, the results of the genetic algorithm are analyzed to determine the optimal firewall rule set and intrusion detection system parameters. By defining the priority P and sensitivity S of the rule, for example, P ranges from 1 to 10, and S is the detection threshold, which is set from low to high. The parameters are adjusted according to the actual needs of network security and the output of the genetic algorithm to achieve the best defense effect. Through adjustment, a complete and optimized defense strategy is generated, which can effectively respond to various network threats and improve the overall security of the system. Parameter adjustment formula for optimizing defense strategy for:

[0139] ;

[0140] in, Represents the parameter adjustment of the defense strategy, Represents the priority of the firewall rule. Represents the sensitivity of the intrusion detection system.

[0141] Specifically, if Figure 2 , Figure 8 As shown, the feature representation extraction module includes:

[0142] The graph embedding submodule is based on the optimized defense strategy, executes the node embedding algorithm to embed the graph, sets the random walk length, sets the return parameters and the included parameters to the default values, analyzes the neighborhood structure of the entities in the network traffic data, captures the structural similarity between nodes through random walks, and generates the node embedding vector. The execution process is as follows;

[0143] In the graph embedding submodule, first set the parameters of the random walk algorithm, including the walk length The walk length is set to the default value, usually 10 steps, to ensure that the local structure of the node can be effectively explored. The return parameter and the inclusion parameter of the random walk are both set to 1 to maintain the balance of the walk. The neighborhood structure of the entity is analyzed through network traffic data, and the structural similarity between nodes is captured by random walks. Finally, the structural information is converted into a node embedding vector using an embedding algorithm. , using the following formula:

[0144] ;

[0145] in, represents the node embedding vector, Represents the total number of nodes in the network, and Respectively represent the return parameters and included parameters of the node, is the length of the random walk.

[0146] The modular learning submodule uses the principal component analysis method to reduce the dimension based on the node embedding vector, selects to retain the first several principal components, optimizes the storage and calculation efficiency of the vector, processes the multi-dimensional embedding vector, and generates the reduced dimension vector. The execution process is as follows;

[0147] In the modular learning submodule, the principal component analysis (PCA) method is used to reduce the dimension based on the obtained node embedding vectors. principal components, optimizing the storage and computational efficiency of vectors, involving calculating the covariance matrix of the data, extracting its eigenvalues ​​and eigenvectors, and generating a reduced-dimensional vector , used for more efficient data processing and analysis, the dimension reduction vector formula generated by principal component analysis is as follows:

[0148] ;

[0149] in, represents the dimension-reduced vector, Indicates the front of the extraction The eigenvector matrix of the principal components, is the original node embedding vector, Represents a matrix transpose operation.

[0150] The vector integration submodule integrates the graph embedding vectors from different sources based on the dimension reduction vector, performs vector merging operations, creates a comprehensive network representation vector, captures the information of key entities and relationships in the network, and the execution process of generating the comprehensive representation vector is as follows;

[0151] In the vector integration submodule, the graph embedding vectors from different data sources are integrated based on the obtained dimension reduction vectors. The vector merging operation is performed to capture the information of key entities and relationships in the network through weighted averaging or simple vector addition, and finally a comprehensive representation vector representing the entire network state is generated. , the comprehensive network representation vector adopts the formula:

[0152] ;

[0153] in, represents the comprehensive network representation vector, Represents the number of different data sources, Representative The weight of the data source vector, is the corresponding reduced dimension vector.

[0154] Specifically, if Figure 2 , Fig. 9 As shown, the cross-domain detection module includes:

[0155] The knowledge transfer submodule performs domain matching based on the comprehensive representation vector, executes deep adaptive network technology, builds the model using the deep learning framework, adjusts the mean difference parameter between the source domain and the target domain, and optimizes the performance of the model in the target domain through the knowledge learned in the source domain. The execution process of generating the preliminary domain matching model is as follows;

[0156] In the knowledge transfer submodule, we first use the comprehensive representation vector , performs deep adaptive network technology for domain matching. By using a deep learning framework, a model is built to adjust the source domain and target domain The mean difference parameter The knowledge learned in the source domain is used to optimize the performance of the model in the target domain. A preliminary domain matching model is generated by calculating the mean of the source and target domain data and adjusting the difference. , using the following formula:

[0157] ;

[0158] in, is a preliminary domain matching model. Indicates the calculation source domain With the target domain The difference in the data means.

[0159] The domain matching submodule fine-tunes and optimizes the preliminary domain matching model based on the preliminary domain matching model. By gradually reducing the difference in data distribution between the source domain and the target domain, the network weights and biases are optimized to match the feature distribution of the target domain. The execution process of generating the optimized domain matching model is as follows;

[0160] In the domain matching submodule, based on the preliminary domain matching model, the model is fine-tuned and optimized, which involves gradually reducing the difference in data distribution between the source domain and the target domain, and optimizing the network weights. and bias To match the feature distribution of the target domain, the adjustment is achieved by minimizing the distribution distance between the source domain and the target domain data, and finally generating an optimized domain matching model , using the following formula:

[0161] ;

[0162] in, is the optimized domain matching model, is the learning rate, and They are The weights and biases of the features, It is the source domain feature.

[0163] The threat identification submodule performs security threat detection on the network traffic in the target domain based on the optimized domain matching model, uses the model to evaluate the data, identifies unknown malware and potential security threats, and identifies and marks abnormal behaviors and attack activities in the target domain through the prediction ability of the model. The execution process of generating cross-domain threat indicators is as follows;

[0164] In the threat identification submodule, based on the optimized domain matching model , to detect security threats on network traffic in the target domain. The model is used to evaluate the target domain data and identify potential security threats from unknown malware and advanced persistent threats (APT). The model analyzes network traffic and user behavior patterns, identifies and marks abnormal behaviors and attack activities, and generates cross-domain threat indicators. , using the following formula:

[0165] ;

[0166] in, It is a cross-domain threat indicator. represents the total number of time steps in the time window, It's in time The model evaluation results are is the activation function used to convert the model output into threat probability, is the normalization factor.

[0167] Specifically, if Fig.10 As shown, the intelligent network intrusion detection method is based on the intelligent network intrusion detection system, and includes the following steps:

[0168] S1: Based on network traffic data, a spectral clustering algorithm is used to construct a similarity matrix. The distance between data points is converted into similarity through the Gaussian kernel function, the optimal number of groups is determined, and the Laplace matrix is ​​constructed. The eigenvalue decomposition method is used to select eigenvectors for data point clustering. The groups are divided according to the natural distribution characteristics of the data, and cluster labels are generated.

[0169] S2: Based on cluster labels, dynamic behavior analysis is performed, time series analysis methods are used to process time series data, time series prediction models are used to predict the time series trend of behavior patterns, and numerical calculation methods are combined to perform calculations to identify mutation points in behavior patterns. Change point detection algorithms, including cumulative and control chart algorithms, are used to determine the location of changes, monitor changes in behavior patterns in clusters over time, and generate abnormal candidate sets;

[0170] S3: Based on the abnormal candidate set, the random forest model is applied to build a random forest classifier, the information gain rate is used as the splitting criterion, the features are randomly sampled, multiple decision trees are trained, and differentiated data subsets and feature subsets are used for each tree. The prediction results of the decision trees are aggregated, and the accuracy and generalization ability of the model are improved through the voting mechanism to generate abnormal behavior indicators;

[0171] S4: Based on abnormal behavior indicators, a deep Q network algorithm is used to define the deep neural network model structure, and the loss function is set to mean square error. By adjusting the Q value of the behavior strategy, the network is trained to predict the expected return of the action, learn to take optimal defense measures in the network environment, and generate adaptive strategies;

[0172] S5: Based on the adaptive strategy, apply the genetic algorithm, define individuals as defense strategy parameters, including network configuration and response mechanism, set the matching function to evaluate the strategy effect, analyze the strategy space through crossover and mutation operations, iteratively optimize the defense strategy, improve the defense capability of network attacks, and generate the optimized defense strategy;

[0173] S6: Based on the optimization defense strategy, the graph embedding technology is used to capture the local and global structural information of network nodes through the random walk strategy, and the vector representation of nodes is learned using the embedding learning method to retain the neighborhood relationship between nodes, map the network structure into a finite-dimensional vector space, capture and encode the key structural features in the network traffic data, and generate a representation vector;

[0174] S7: Based on the representation vector, cross-domain detection is performed. Domain adaptive network technology is used to design a multi-layer neural network to capture the feature distribution of source domain and target domain data. A neighborhood matching layer is set to reduce the distribution difference between domains. The feature representation learned by the model in the source domain is matched with the target domain through adversarial training methods, which improves the generalization ability of the model in differentiated network environments and generates cross-domain threat indicators.

[0175] S8: Based on cross-domain threat indicators, integration and performance evaluation are carried out. A comprehensive evaluation method is used to calculate the accuracy and recall of the model. Simulation tests are carried out in combination with network attack scenarios, including the sensitivity of the defense strategy and the threshold of the detection algorithm. Through feedback loops and performance tuning, intelligent identification of network intrusion detection results is generated.

[0176] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.

Claims

1. Based on intelligent network intrusion detection system, It is characterized in that The system comprises: The data clustering module uses the spectral clustering algorithm based on network traffic data. By constructing a similarity matrix of data points and calculating the Laplace matrix, it mines the natural distribution of data and divides it into multiple groups. It uses the characteristics of the groups to identify natural clusters and potential abnormal patterns in network behavior and generate cluster labels. The dynamic monitoring module uses a dynamic behavior analysis method based on the cluster labels to monitor the tracking of behavior patterns in the clusters over time by applying time series analysis, combines change point detection to identify sudden changes in behavior patterns, monitors and evaluates dynamic changes in behaviors within the clusters, and generates anomaly candidate sets; The anomaly identification module classifies and identifies abnormal behaviors based on the abnormal candidate set and uses a random forest model to construct multiple decision trees and optimize the results, processes abnormal behaviors in the data set, and generates abnormal behavior indicators; The learning and matching module uses a deep Q network algorithm based on the abnormal behavior indicators through continuous interaction with the network environment, encodes the state space by using deep learning, and uses Q learning to evaluate the value of the behavior, and learns and takes defensive measures through the network environment interaction process to generate an adaptive strategy; The strategy optimization module optimizes the defense strategy based on the adaptive strategy by simulating attack scenarios and applying genetic algorithms to simulate crossover, mutation and selection operations in the natural selection process, captures the best strategy in the simulated attack scenario, and generates an optimized defense strategy; The feature representation extraction module uses graph embedding technology to embed nodes based on the optimized defense strategy. By optimizing the neighborhood structure retention of network nodes and the structural similarity between nodes, the entities in the network traffic data are mapped into a finite-dimensional vector space, the information in the network structure is captured, and a representation vector is generated. The cross-domain detection module is based on the representation vector and adopts domain adaptive network technology. Through the difference in data distribution between the source domain and the target domain, the knowledge learned in the source domain is used to improve the performance of the model in the target domain, detect network security threats in the domain, and generate cross-domain threat indicators in the face of the challenge of scarce data labels.

2. According to the intelligent network intrusion detection system of claim 1, It is characterized in that The clustering labels include natural clustering identification of network behaviors and recognition of potential abnormal patterns, the abnormal candidate sets include behavioral patterns for time-varying tracking and mutation indicators of behavioral patterns, the abnormal behavior indicators include abnormal classification labels and abnormal degree assessments, the adaptive strategies include adjustment plans for defense measures and updates for behavioral strategies, the optimized defense strategies include optimal strategies and strategy adjustment plans under simulated attack scenarios, the representation vectors include vector representations of network entities and structural similarity metrics, and the cross-domain threat indicators include improved target domain performance indicators and knowledge transfer effects from source domains to target domains.

3. According to the intelligent network intrusion detection system of claim 1, It is characterized in that The data grouping module comprises: The spectral clustering submodule uses the spectral clustering algorithm based on network traffic data. The spectral clustering method is used to set the similarity calculation method of the adjacency matrix to the Gaussian kernel function, calculate the similarity between data points, and generate a similarity matrix; The feature analysis submodule uses a matrix operation method to perform degree matrix subtraction on the matrix based on the similarity matrix, constructs a matrix by subtracting the degree of the node, reveals the connection relationship of the data points and the distribution characteristics in the graph, and generates a Laplace matrix; The pattern mining submodule performs the key steps of spectral clustering based on the Laplace matrix, clusters the feature vectors using the k-means clustering method, and automatically selects the number of clusters k through the silhouette coefficient method. The feature vectors are used as input to perform k-means clustering to identify natural groups of data and generate cluster labels.

4. The intelligent network intrusion detection system according to claim 1, It is characterized in that The dynamic monitoring module includes: The behavior change analysis submodule adopts the time series analysis method based on the cluster labels, uses the autoregressive integrated sliding average model for modeling, and automatically selects the model parameters according to the data. By analyzing the correlation of the time series data, the changes in the behavior patterns in the clusters are tracked to generate the time series analysis results; The statistical evaluation submodule performs change point detection based on the time series analysis results, adopts a change point analysis method, sets the minimum information criterion to the Bayesian information criterion to determine the change point, identifies the change of the behavior pattern by analyzing the change of statistical characteristics in the time series data, and generates a change point detection result; The candidate set generation submodule screens the abnormal candidate set based on the change point detection results, uses a custom threshold method to determine the abnormal score, and calculates the abnormal score based on the statistical difference in the change point detection results. The analysis results identify potential abnormal behavior patterns and generate an abnormal candidate set.

5. The intelligent network intrusion detection system according to claim 1, It is characterized in that The abnormality identification module comprises: The model training submodule uses a random forest model based on the abnormal candidate set, constructs an ensemble learning method of decision trees, sets random seed parameters, and combines the prediction results of multiple decision trees to improve the accuracy of abnormal behavior recognition on the data set, thereby generating a trained random forest model; The behavior classification submodule classifies abnormal behaviors based on the trained random forest model, classifies and predicts data using a classification prediction method, inputs the data into the model, and determines the abnormality of the data points based on the model training, and determines based on the voting results of the model on multiple decision trees to generate abnormal behavior classification results; The indicator generation submodule is based on the abnormal behavior classification result and adopts a performance evaluation indicator. By calculating the recall rate of the model, it is calculated based on the number of true positive examples, false positive examples, true negative examples and false negative examples to quantify the performance of the model in the abnormal behavior identification task and generate an abnormal behavior indicator.

6. The intelligent network intrusion detection system according to claim 1, It is characterized in that The learning and matching module includes: The reinforcement learning submodule implements the deep Q network algorithm based on the abnormal behavior indicator, defines the network structure, including the input layer corresponding to the network state, encodes the environment state by using deep learning technology by setting the optimization algorithm to adaptive momentum, updates the Q value by interacting with the environment, and generates a preliminary deep Q network model; The interactive learning submodule performs interactive learning with the network environment based on the preliminary deep Q network model, uses the experience replay mechanism to store state transfer, optimizes algorithm parameters, and generates an optimized deep Q network model by testing the effects of differentiated defense measures under differentiated network states and adjusting the model through feedback; The strategy generation submodule generates defense strategies based on the optimized deep Q network model, determines defense actions by evaluating the network status, and selects actions with expected returns as response strategies, matches dynamic defense strategies for real-time network security threats, and generates adaptive strategies.

7. The intelligent network intrusion detection system according to claim 1, It is characterized in that The strategy optimization module includes: The scenario simulation submodule performs network attack scenario simulation based on the adaptive strategy, customizes multiple network configurations by using network simulation methods, simulates differentiated attack scenarios, and generates simulated attack data sets by adjusting network topology and traffic; The rule adjustment submodule implements genetic algorithm optimization based on the simulated attack data set, uses evolutionary computing methods, encodes defense strategies as chromosomes, performs selection, crossover and mutation operations, and generates evolving defense strategies; The parameter configuration submodule adjusts defense parameters based on the evolving defense strategy, optimizes firewall rule sets and intrusion detection parameters according to genetic algorithm results, adjusts priority and sensitivity settings of rules, and generates an optimized defense strategy.

8. The intelligent network intrusion detection system according to claim 1, It is characterized in that The feature representation extraction module comprises: The graph embedding submodule executes the node embedding algorithm to embed the graph based on the optimized defense strategy, sets the random walk length, sets the return parameters and the included parameters to the default values, analyzes the neighborhood structure of the entities in the network traffic data, captures the structural similarity between nodes through random walks, and generates a node embedding vector; The modular learning submodule uses the principal component analysis method to reduce the dimension based on the node embedding vector, selects to retain the first several principal components, optimizes the storage and calculation efficiency of the vector, processes the multi-dimensional embedding vector, and generates a reduced dimension vector; The vector integration submodule integrates the graph embedding vectors from different sources based on the dimension reduction vector, performs a vector merging operation, creates a comprehensive network representation vector, captures the information of key entities and relationships in the network, and generates a representation vector.

9. The intelligent network intrusion detection system according to claim 1, It is characterized in that The cross-domain detection module includes: The knowledge transfer submodule performs domain matching based on the representation vector using a deep adaptive network technology, builds a model using a deep learning framework, adjusts the mean difference parameter between the source domain and the target domain, optimizes the performance of the model in the target domain through the knowledge learned in the source domain, and generates a preliminary domain matching model; The domain matching submodule fine-tunes and optimizes the preliminary domain matching model based on the preliminary domain matching model, optimizes network weights and biases, matches the feature distribution of the target domain, and generates an optimized domain matching model by gradually reducing the difference in data distribution between the source domain and the target domain. The threat identification submodule performs security threat detection on the network traffic in the target domain based on the optimized domain matching model, evaluates the data using the model, identifies unknown malware and potential security threats, identifies and marks abnormal behaviors and attack activities in the target domain through the predictive ability of the model, and generates cross-domain threat indicators.

10. Based on intelligent network intrusion detection method, It is characterized in that According to any one of claims 1 to 9, the intelligent network intrusion detection system is implemented, comprising the following steps: Based on network traffic data, a spectral clustering algorithm is used to construct a similarity matrix. The distance between data points is converted into similarity through the Gaussian kernel function, the optimal number of groups is determined, and a Laplace matrix is ​​constructed. The eigenvalue decomposition method is used to select eigenvectors for data point clustering. The groups are divided according to the natural distribution characteristics of the data, and cluster labels are generated. Based on the cluster labels, dynamic behavior analysis is performed, time series data is processed using a time series analysis method, a time series prediction model is used to predict the time series trend of the behavior pattern, and a numerical calculation method is combined to perform calculations to identify the mutation points of the behavior pattern, and a change point detection algorithm, including a cumulative and control chart algorithm, is used to determine the change location, monitor the changes of the behavior pattern in the cluster over time, and generate anomaly candidate sets; Based on the abnormal candidate set, a random forest model is applied to construct a random forest classifier, and information gain rate is used as a splitting criterion to randomly sample features, train multiple decision trees, use differentiated data subsets and feature subsets for each tree, aggregate the prediction results of the decision trees, and improve the accuracy and generalization ability of the model through a voting mechanism to generate abnormal behavior indicators; Based on the abnormal behavior indicators, a deep Q network algorithm is used to define the deep neural network model structure, and the loss function is set to mean square error. By adjusting the Q value of the behavior strategy, the network is trained to predict the expected return of the action, learn to take optimal defense measures in the network environment, and generate an adaptive strategy; Based on the adaptive strategy, a genetic algorithm is applied to define individuals as defense strategy parameters, including network configuration and response mechanism, set a matching function to evaluate the strategy effect, analyze the strategy space through crossover and mutation operations, iteratively optimize the defense strategy, improve the defense capability of network attacks, and generate an optimized defense strategy; Based on the above-mentioned optimized defense strategy, the graph embedding technology is adopted to capture the local and global structural information of network nodes through the random walk strategy, and the vector representation of nodes is learned by the embedding learning method, the neighborhood relationship between nodes is retained, the network structure is mapped into a finite-dimensional vector space, the key structural features in the network traffic data are captured and encoded, and the representation vector is generated; Based on the representation vector, cross-domain detection is performed, domain adaptive network technology is adopted, a multi-layer neural network is designed to capture the feature distribution of source domain and target domain data, a neighborhood matching layer is set to reduce the distribution difference between domains, and the feature representation learned by the model in the source domain is matched with the target domain through adversarial training method, so as to improve the generalization ability of the model in a differentiated network environment and generate cross-domain threat indicators; Based on the cross-domain threat indicators, integration and performance evaluation are carried out. A comprehensive evaluation method is adopted to calculate the accuracy and recall rate of the model. Simulation tests are carried out in combination with network attack scenarios, including the sensitivity of the defense strategy and the threshold of the detection algorithm. Through feedback loops and performance tuning, intelligent identification of network intrusion detection results are generated.