A network traffic monitoring and management system and method based on data analysis
Deep learning technology is used to extract and analyze features of campus network traffic and generate classification results, which solves the problem of traditional methods being unable to monitor and warn in real time, and achieves effective management and threat response to complex campus network environments.
Patent Information
- Application Number
- CN202410870744.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Traditional methods cannot effectively deal with the complex and ever-changing campus network environment and new threats, and it is difficult to achieve real-time monitoring and early warning of campus network traffic.
A network traffic monitoring and management system based on deep learning technology is used to collect network traffic data and topology matrices of campus network nodes, perform feature extraction and analysis, and generate classification results to achieve real-time monitoring and early warning.
It realizes real-time monitoring and early warning of the campus network, improves network stability, security and performance, and can more effectively respond to complex and changing network environments and new threats.
Smart Images

Figure CN118400300B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent management of network traffic, and more specifically, to a network traffic monitoring and management system and method based on data analysis. Background Art
[0002] With the continuous expansion of campus network scale and the increase of network nodes, the campus network environment has become more and more complex and changeable. In this context, monitoring and analyzing network traffic has become one of the main means of network management. By monitoring and analyzing network traffic, network managers can understand the operation status of the network in real time, find problems in time and take measures to ensure the security, stability and efficient operation of the network.
[0003] In particular, network managers need to monitor the traffic of key nodes and important devices in the entire campus network, not just a single switching device. In a large campus network, there may be multiple switches, routers, firewalls, servers and other key devices involved. Monitoring the traffic of these devices is crucial to ensuring the stability, security and performance of the network.
[0004] However, traditional methods usually monitor traffic based on rules and thresholds, which cannot effectively cope with complex and changing network environments and new threats.
[0005] Therefore, we are looking forward to a network traffic monitoring and management system and method based on data analysis, which can extract and analyze the characteristics of campus network traffic based on deep learning technology, so as to realize real-time monitoring and early warning of the campus network. Summary of the invention
[0006] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a network traffic monitoring and management system and method based on data analysis, which first collects the network traffic data of each node in the monitored campus network in each time period and the topological matrix between each node as input data, and then uses deep learning technology to extract and analyze these input data to obtain classification results, and the classification results are used to indicate whether there is an abnormality in the monitored campus network. In this way, according to the classification results, it is helpful to realize real-time monitoring and early warning of the campus network.
[0007] According to a first aspect of the present application, a network traffic monitoring and management system based on data analysis is provided, which includes:
[0008] The campus network data collection module is used to collect network traffic data of each node in the monitored campus network in each time period and the topology matrix between each node;
[0009] A campus network feature acquisition module is used to extract and analyze the network traffic data of each node in each time period and the topology matrix between each node to obtain a network traffic comprehensive feature matrix and a node topology feature matrix;
[0010] A campus network feature fusion module, used for performing feature fusion on the network traffic comprehensive feature matrix and the node topology feature matrix to obtain a school network feature matrix;
[0011] The campus network classification result generating module is used to obtain the classification result based on the school network feature matrix, and the classification result is used to indicate whether there is any abnormality in the campus network to be monitored.
[0012] In combination with the first aspect of the present application, in a network traffic monitoring and management system based on data analysis of the first aspect of the present application, the campus network feature acquisition module includes: a network traffic feature extraction unit, used to perform feature encoding on the network traffic data of each node in each time period to obtain the network traffic comprehensive feature matrix; a node topology feature extraction unit, used to pass the topology matrix between the nodes through a topology feature extraction module containing a two-dimensional convolution kernel to obtain the node topology feature matrix.
[0013] Among them, the network traffic feature extraction unit includes: a network traffic multi-scale feature extraction sub-unit, which is used to arrange the network traffic data of each node in each time period according to the time dimension as a network traffic input vector of each node, and then pass it through a multi-scale network traffic feature extraction module to obtain a multi-scale network traffic feature vector of each node; a network traffic comprehensive feature extraction sub-unit, which is used to arrange the multi-scale network traffic feature vectors of each node into a network traffic comprehensive input matrix, and then pass it through a network traffic comprehensive feature extraction module based on a two-dimensional convolutional neural network model to obtain the network traffic comprehensive feature matrix.
[0014] In particular, the network traffic multi-scale feature extraction subunit is used to: use the first convolution layer of the multi-scale network traffic feature extraction module to perform one-dimensional convolution encoding on the network traffic input vectors of each node to obtain the first-scale feature vectors of the network traffic of each node; use the second convolution layer of the multi-scale network traffic feature extraction module to perform one-dimensional convolution encoding on the network traffic input vectors of each node to obtain the second-scale feature vectors of the network traffic of each node; and cascade the first-scale feature vectors of the network traffic of each node and the second-scale feature vectors of the network traffic of each node to obtain the multi-scale network traffic feature vectors of each node.
[0015] In particular, the network traffic comprehensive feature extraction subunit is used to: use each layer of the two-dimensional convolutional neural network model to perform the following on the input data in the forward pass of the layer: perform convolution processing based on a two-dimensional convolution kernel on the input data to obtain a convolution feature map; perform pooling processing on the convolution feature map along the channel dimension to obtain a pooling feature map; perform nonlinear activation on the pooling feature map to obtain an activation feature map; wherein the output of the last layer of the two-dimensional convolutional neural network model is the network traffic comprehensive feature matrix.
[0016] In combination with the first aspect of the present application, in a network traffic monitoring and management system based on data analysis of the first aspect of the present application, the campus network classification result generation module includes: a campus network feature extraction unit, used to pass the school network feature matrix through a school network classification feature extraction module based on a convolutional neural network model to obtain a school network classification feature matrix; a campus network feature optimization unit, used to improve the feature correlation of the school network classification feature matrix based on dynamic deep feature positioning to obtain an optimized school network classification feature matrix; a campus network classification unit, used to pass the optimized school network classification feature matrix through a classifier to obtain a classification result.
[0017] Among them, the campus network feature optimization unit includes: flattening the school network classification feature matrix to obtain a school network classification feature vector; improving the feature correlation of the school network classification feature vector based on dynamic deep feature positioning to obtain an optimized school network classification feature vector; and performing reverse feature aggregation on the optimized school network classification feature vector in accordance with the feature flattening method to obtain the optimized school network classification feature matrix.
[0018] In particular, the school network classification feature vector is improved based on dynamic deep feature positioning to obtain an optimized school network classification feature vector, including: determining the mean of the school network classification feature vector; accumulating and summing the school network classification feature vectors to obtain a total value of the school network classification feature vectors; subtracting the mean of the school network classification feature vector from the total value of the school network classification feature vector, dividing the result by a predetermined hyperparameter and then dividing the result by the length of the school network classification feature vector to obtain a first quotient value; calculating an exponential function value with a natural constant as the base for the first quotient value to obtain a first natural exponential function value; and multiplying the first natural exponential function value by the school network classification feature vector at a position point to obtain an optimized school network classification feature vector.
[0019] According to a second aspect of the present application, a network traffic monitoring and management method based on data analysis is provided, which includes:
[0020] Collect network traffic data of each node in the campus network to be monitored in each time period and the topology matrix between each node;
[0021] Extracting and analyzing the network traffic data of each node in each time period and the topology matrix between each node to obtain a comprehensive network traffic feature matrix and a node topology feature matrix;
[0022] Performing feature fusion on the network traffic comprehensive feature matrix and the node topology feature matrix to obtain a school network feature matrix;
[0023] A classification result is obtained based on the school network feature matrix, and the classification result is used to indicate whether there is an abnormality in the campus network to be monitored.
[0024] In combination with the second aspect of the present application, in a network traffic monitoring and management method based on data analysis of the second aspect of the present application, feature extraction and analysis are performed on the network traffic data of each node in each time period and the topology matrix between each node to obtain a comprehensive network traffic feature matrix and a node topology feature matrix, including: a network traffic feature extraction unit, used to feature encode the network traffic data of each node in each time period to obtain the comprehensive network traffic feature matrix; a node topology feature extraction unit, used to pass the topology matrix between each node through a topology feature extraction module including a two-dimensional convolution kernel to obtain the node topology feature matrix.
[0025] Compared with the prior art, the network traffic monitoring management system and method provided by the present application based on data analysis first collects the network traffic data of each node in the monitored campus network in each time period and the topological matrix between each node as input data, and then uses deep learning technology to extract and analyze the input data to obtain classification results, and the classification results are used to indicate whether there is an abnormality in the monitored campus network. In this way, according to the classification results, it is helpful to realize real-time monitoring and early warning of the campus network. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0027] Figure 1 The figure illustrates a schematic block diagram of a network traffic monitoring and management system based on data analysis according to an embodiment of the present application.
[0028] Figure 2 The figure illustrates a schematic block diagram of a campus network feature acquisition module in a network traffic monitoring and management system based on data analysis according to an embodiment of the present application.
[0029] Figure 3 The figure illustrates a schematic block diagram of a network traffic feature extraction unit in a campus network feature acquisition module in a network traffic monitoring and management system based on data analysis according to an embodiment of the present application.
[0030] Figure 4 The figure illustrates a schematic block diagram of a campus network classification result generation module in a network traffic monitoring and management system based on data analysis according to an embodiment of the present application.
[0031] Figure 5 The figure illustrates a flow chart of a network traffic monitoring and management method based on data analysis according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0033] Exemplary Systems
[0034] Figure 1 FIG. 1 is a schematic block diagram of a network traffic monitoring and management system based on data analysis according to an embodiment of the present application. Figure 1 As shown, according to the network traffic monitoring and management system 100 based on data analysis according to the embodiment of the present application, it includes: a campus network data acquisition module 110, which is used to collect the network traffic data of each node in the campus network to be monitored in each time period and the topology matrix between each node; a campus network feature acquisition module 120, which is used to extract and analyze the network traffic data of each node in each time period and the topology matrix between each node to obtain a network traffic comprehensive feature matrix and a node topology feature matrix; a campus network feature fusion module 130, which is used to fuse the network traffic comprehensive feature matrix and the node topology feature matrix to obtain a school network feature matrix; a campus network classification result generation module 140, which is used to obtain a classification result based on the school network feature matrix, and the classification result is used to indicate whether there is an abnormality in the campus network to be monitored.
[0035] With the expansion of campus network scale and the increase in the number of network nodes, the campus network environment has become increasingly complex. In this case, monitoring and analyzing network traffic has become one of the main means of managing campus networks. By monitoring and analyzing network traffic, network administrators can understand the operation status of the network in real time, find problems in time and take necessary measures to ensure network security, stability and efficient operation.
[0036] In particular, network administrators need to monitor the traffic of key nodes and important devices in the entire campus network, not just a single switching device. In a large campus network, there may be multiple switches, routers, firewalls, servers and other key devices involved. Monitoring the traffic of these devices is essential to ensure the stability, security and performance of the network.
[0037] However, traditional methods usually monitor traffic based on rules and thresholds, which cannot effectively cope with complex and changing network environments and new threats. Therefore, we look forward to a network traffic monitoring and management system and method based on data analysis, which can extract and analyze campus network traffic features based on deep learning technology to achieve real-time monitoring and early warning of campus networks.
[0038] In the embodiment of the present application, the campus network data acquisition module 110 is used to collect the network flow data of each node in the campus network to be monitored in each time period and the topology matrix between each node. It should be understood that the network flow data is an important indicator of the network operation status. By analyzing the network flow data, problems such as abnormal flow patterns, DDoS attacks, and malware propagation can be found. In addition, the network flow data of different time periods can reflect the changes in network load, help the system identify high load, low load and other situations, and adjust network resources in time. Therefore, in order to better monitor the campus network, the network flow data of each node in the campus network in each time period is first collected. Further, it should be understood that the network topology matrix can describe the connection relationship between each node in the campus network, including information such as routing and links, which is crucial for understanding the network structure and transmission path. That is, combining the network topology information can help the system better understand the data flow path in the network, so as to more accurately identify abnormal behavior, such as the propagation path of abnormal flow, network topology changes, etc. Therefore, in order to more accurately monitor the abnormal situation of the campus network, the topology matrix between each node in the campus network is further collected.
[0039] In the embodiment of the present application, the campus network feature acquisition module 120 is used to extract and analyze the network traffic data of each node in each time period and the topology matrix between each node to obtain a network traffic comprehensive feature matrix and a node topology feature matrix. It should be understood that after collecting these input data, feature extraction and analysis tasks are further performed on these input data.
[0040] Specifically, Figure 2 The figure shows a schematic block diagram of a campus network feature acquisition module in a network traffic monitoring and management system based on data analysis according to an embodiment of the present application. Figure 2 As shown, the campus network feature acquisition module 120 includes: a network traffic feature extraction unit 121, which is used to perform feature encoding on the network traffic data of each node in each time period to obtain the network traffic comprehensive feature matrix; a node topology feature extraction unit 122, which is used to obtain the node topology feature matrix by passing the topology matrix between each node through a topology feature extraction module including a two-dimensional convolution kernel.
[0041] First, feature extraction and analysis are performed on the network traffic data of each node in each time period. Specifically, Figure 3 The figure shows a schematic block diagram of a network traffic feature extraction unit in a campus network feature acquisition module in a network traffic monitoring and management system based on data analysis according to an embodiment of the present application. Figure 3 As shown, the network traffic feature extraction unit 121 includes: a network traffic multi-scale feature extraction subunit 121-1, which is used to arrange the network traffic data of each node in each time period into a network traffic input vector of each node according to the time dimension, and then pass it through a multi-scale network traffic feature extraction module to obtain a multi-scale network traffic feature vector of each node; a network traffic comprehensive feature extraction subunit 121-2, which is used to arrange the multi-scale network traffic feature vectors of each node into a network traffic comprehensive input matrix, and then pass it through a network traffic comprehensive feature extraction module based on a two-dimensional convolutional neural network model to obtain the network traffic comprehensive feature matrix.
[0042] It should be understood that the network traffic data of each node in each time period has time series characteristics. In order to retain these time series information, the network traffic data of each node in each time period is first arranged according to the time dimension as the network traffic input vector of each node. Furthermore, considering that the network traffic has characteristic information of different scales such as short-term and long-term in the time dimension, based on this, in order to more comprehensively capture the network traffic characteristic information, a multi-scale network traffic feature extraction module is used to extract and analyze the multi-scale features of the network traffic input vector of each node to obtain the multi-scale network traffic feature vector of each node. Among them, the multi-scale network traffic feature extraction module can simultaneously consider the network traffic characteristics at different time scales, so as to more comprehensively capture the characteristic information of the network traffic.
[0043] In a specific embodiment of the present application, the network traffic multi-scale feature extraction subunit 121-1 is used to: use the first convolution layer of the multi-scale network traffic feature extraction module to perform one-dimensional convolution encoding on the network traffic input vectors of each node to obtain the first scale feature vector of the network traffic of each node; use the second convolution layer of the multi-scale network traffic feature extraction module to perform one-dimensional convolution encoding on the network traffic input vectors of each node to obtain the second scale feature vector of the network traffic of each node; and cascade the first scale feature vector of the network traffic of each node and the second scale feature vector of the network traffic of each node to obtain the multi-scale network traffic feature vector of each node.
[0044] Next, it should be understood that network management personnel need to monitor the traffic of key nodes and important equipment of the entire campus network, rather than being limited to a single switching device. That is, when performing feature analysis on network traffic, it is necessary not only to perform feature analysis on each node, but also to comprehensively analyze each node of the entire campus network. Therefore, the feature vectors of each node are integrated. Specifically, in an embodiment of the present application, the multi-scale network traffic feature vectors of each node are arranged into a network traffic comprehensive input matrix. Then, a network traffic comprehensive feature extraction module based on a two-dimensional convolutional neural network model is used to extract and analyze the comprehensive features of the network traffic comprehensive input matrix to obtain the network traffic comprehensive feature matrix. In this way, the system can perform feature analysis on the traffic of the entire campus network from a global perspective, which helps to discover potential patterns and abnormal situations of the entire network.
[0045] In a specific embodiment of the present application, the network traffic comprehensive feature extraction subunit 121-2 is used to: use each layer of the two-dimensional convolutional neural network model to perform the following on the input data in the forward pass of the layer: perform convolution processing based on a two-dimensional convolution kernel on the input data to obtain a convolution feature map; perform pooling processing on the convolution feature map along the channel dimension to obtain a pooling feature map; perform nonlinear activation on the pooling feature map to obtain an activation feature map; wherein the output of the last layer of the two-dimensional convolutional neural network model is the network traffic comprehensive feature matrix.
[0046] Then, the topological matrix between the nodes is feature extracted and analyzed. It should be understood that the topological relationship between the nodes in the campus network is crucial for the transmission and interaction of network traffic. By extracting the topological features of the nodes, the structure and connection mode of the campus network can be better understood. Therefore, a topological feature extraction module including a two-dimensional convolution kernel is further used to perform deep convolution encoding on the topological matrix between the nodes to obtain the node topological feature matrix. Among them, the two-dimensional convolution kernel can effectively capture the spatial features of the data when processing two-dimensional data, and is very effective for processing the topological relationship between nodes. In this way, the system can more comprehensively understand the structure and traffic situation of the campus network, and improve the real-time monitoring and early warning capabilities of the network monitoring and management system for the campus network.
[0047] In a specific embodiment of the present application, the node topology feature extraction unit 122 is used to: use each layer of the topology feature extraction module containing the two-dimensional convolution kernel to perform the following on the input data in the forward pass of the layer: use the convolution units of each layer of the topology feature extraction module containing the two-dimensional convolution kernel to perform convolution processing based on the two-dimensional convolution kernel on the input data to obtain a convolution feature map; use the pooling units of each layer of the topology feature extraction module containing the two-dimensional convolution kernel to perform pooling processing on the convolution feature map along the channel dimension to obtain a pooling feature map; and use the activation units of each layer of the topology feature extraction module containing the two-dimensional convolution kernel to perform nonlinear activation on the feature values of each position in the pooling feature map to obtain an activation feature map; wherein the output of the last layer of the topology feature extraction module containing the two-dimensional convolution kernel is the node topology feature matrix.
[0048] In an embodiment of the present application, the campus network feature fusion module 130 is used to perform feature fusion on the network traffic comprehensive feature matrix and the node topology feature matrix to obtain the school network feature matrix. It should be understood that the network traffic comprehensive feature matrix provides important information about network traffic, while the node topology feature matrix reflects the important features of the network structure. Fusion of the two can comprehensively consider the relationship between network traffic and network structure, thereby more comprehensively analyzing the state of the campus network. Therefore, in order to improve the monitoring and management system's ability to understand and analyze the campus network and achieve more accurate real-time monitoring and early warning, the network traffic comprehensive feature matrix and the node topology feature matrix are feature fused to obtain the school network feature matrix.
[0049] In a specific embodiment of the present application, the campus network feature fusion module 130 is used to: fuse the network traffic comprehensive feature matrix and the node topology feature matrix using the following cascade formula to obtain a school network feature matrix; wherein the cascade formula is: M a =Concat[ M a1 , M a2 ] ,in, represents the comprehensive characteristic matrix of the network traffic, represents the node topology feature matrix, represents the school network feature matrix, Concat[ ∙ , ∙ ] Represents a cascade function.
[0050] In the embodiment of the present application, the campus network classification result generating module 140 is used to obtain a classification result based on the school network feature matrix, and the classification result is used to indicate whether there is an abnormality in the campus network to be monitored. Specifically, Figure 4 FIG. 1 is a schematic block diagram of a campus network classification result generation module in a network traffic monitoring and management system based on data analysis according to an embodiment of the present application. Figure 4As shown, the campus network classification result generation module 140 includes: a campus network feature extraction unit 141, which is used to pass the school network feature matrix through a school network classification feature extraction module based on a convolutional neural network model to obtain a school network classification feature matrix; a campus network feature optimization unit 142, which is used to improve the feature correlation of the school network classification feature matrix based on dynamic deep feature positioning to obtain an optimized school network classification feature matrix; a campus network classification unit 143, which is used to pass the optimized school network classification feature matrix through a classifier to obtain a classification result.
[0051] It should be understood that in order to improve the accuracy of feature extraction, a school network classification feature extraction module based on a convolutional neural network model is further used to perform a deeper feature extraction operation on the school network feature matrix to obtain the school network classification feature matrix. In this way, by using a convolutional neural network model for feature extraction, the system can more effectively extract representative classification features from the school network feature matrix, thereby improving the performance and accuracy of the model.
[0052] In particular, in the technical solution of the present application, by combining the network traffic data of each node in the campus network and the topological structure information between the nodes to monitor whether the campus network is abnormal, and by improving the feature significance, the network traffic characteristics and topological structure characteristics of each node in the campus network can be better captured, which helps to improve the accuracy of detecting network anomalies. Significant features can better distinguish between normal and abnormal situations, and improve the accuracy of judging whether the campus network is abnormal. Avoiding feature redundancy can reduce unnecessary computing overhead and improve the operating efficiency of the system, which is particularly important for real-time monitoring of campus network anomalies. Redundant features easily lead to overfitting of the model training data and reduce the generalization ability of the model. Avoiding feature redundancy helps to reduce the risk of overfitting and improve the generalization ability and stability of the model. High-quality features can improve the performance of the model, so that it can better distinguish between normal and abnormal situations, and improve the accuracy and reliability of anomaly detection. That is, by improving the feature significance of the school network classification feature matrix and avoiding feature redundancy, the performance, accuracy and efficiency of the anomaly detection system can be improved, the risk of overfitting can be reduced, the generalization ability of the model can be enhanced, and the effect and reliability of the campus network monitoring system can also be improved. Based on this, the school network classification feature matrix is improved in feature correlation based on dynamic deep feature positioning to obtain an optimized school network classification feature matrix.
[0053] In a specific embodiment of the present application, the campus network feature optimization unit 142 includes: flattening the school network classification feature matrix to obtain a school network classification feature vector; improving the feature correlation of the school network classification feature vector based on dynamic deep feature positioning to obtain an optimized school network classification feature vector; and performing reverse feature aggregation on the optimized school network classification feature vector in accordance with the feature flattening method to obtain the optimized school network classification feature matrix.
[0054] Among them, the feature correlation improvement of the school network classification feature vector based on dynamic deep feature positioning is performed to obtain an optimized school network classification feature vector, including: determining the mean of the school network classification feature vector; accumulating and summing the school network classification feature vectors to obtain the sum value of the school network classification feature vectors; subtracting the mean of the school network classification feature vector from the sum value of the school network classification feature vector, dividing the result by a predetermined hyperparameter and then dividing the result by the length of the school network classification feature vector to obtain a first quotient value; calculating an exponential function value with a natural constant as the base for the first quotient value to obtain a first natural exponential function value; multiplying the first natural exponential function value by the school network classification feature vector at a position point to obtain an optimized school network classification feature vector.
[0055] That is, the campus network feature optimization unit 142 further includes: flattening the school network classification feature matrix to obtain a school network classification feature vector; improving the feature correlation of the school network classification feature vector based on dynamic deep feature positioning by the following formula to obtain an optimized school network classification feature vector, wherein the formula is:
[0056]
[0057] in, represents the school network classification feature vector, The first The eigenvalues at the positions, represents the mean of the school network classification feature vector, represents the length of the school network classification feature vector, represents the predetermined hyperparameters, It means point multiplication by position. Representing the optimized school network classification feature vector; performing reverse feature aggregation on the optimized school network classification feature vector in the feature flattening manner to obtain the optimized school network classification feature matrix.
[0058] Specifically, in order to improve the feature significance of the school network classification feature matrix and avoid feature redundancy, in the technical solution of the present application, the feature correlation of the school network classification feature matrix is improved based on dynamic deep feature positioning, and the global mean of the school network classification feature matrix is used as its dynamically formed deep anchor feature, and a coherent attention response mechanism based on the deep anchor feature is applied to the original feature distribution to perform position scattering response deep correlation correction in the class divergence space with depth difference, so that the original feature distribution has a highly significant deep correlation distribution characteristic, so as to improve the feature significance of the school network classification feature matrix and avoid feature redundancy.
[0059] Next, considering that the classifier can quickly classify and judge the traffic, it can realize real-time monitoring and rapid response to the campus network status. Once the classifier detects abnormal traffic, the system can immediately issue an early warning and take corresponding measures to ensure network security. Therefore, the classifier is used to perform feature classification on the optimized school network classification feature matrix to obtain a classification result, and the classification result is used to indicate whether there is an abnormality in the campus network to be monitored.
[0060] In a specific embodiment of the present application, the campus network classification unit 142 is used to: use the classifier to process the optimized school network classification feature matrix using the following formula to obtain the classification result; wherein the formula is: ,in Represents the projection of the optimized school network classification feature matrix into a vector, is the weight matrix, represents the bias vector, represents the normalized exponential function, Indicates the classification result.
[0061] It is worth mentioning that in addition to using a classifier to generate a target position for the optimized school network classification feature matrix, a clustering algorithm can also be used to analyze and detect anomalies on the school network features. The following is the implementation process of this implementation method: 1. Data preparation: Collect and prepare campus network traffic data, including network packet information, traffic size, communication mode, etc.; preprocess the data, such as removing noise, normalizing, etc. 2. Feature extraction: Based on deep learning technology, feature extraction is performed on campus network traffic to obtain a school network classification feature matrix. 3. Cluster analysis: Clustering algorithms (such as K-means, DBSCAN, etc.) are used to cluster the school network classification feature matrix to divide network traffic data into different categories. Clustering algorithms can help discover potential patterns and clusters in the data and identify different traffic patterns. 4. Anomaly detection: Based on the clustering results, clusters that are different from other clusters are identified, which may represent abnormal traffic patterns. Anomaly detection can determine whether there is abnormal traffic based on indicators such as cluster density and distance. 5. Early warning mechanism: Set an early warning threshold. When abnormal traffic is detected, the system can automatically trigger the early warning mechanism to notify the administrator or take corresponding security measures.
[0062] In summary, the network traffic monitoring and management system based on data analysis according to the embodiment of the present application is explained, which first collects the network traffic data of each node in the monitored campus network in each time period and the topological matrix between each node as input data, and then uses deep learning technology to extract and analyze these input data to obtain classification results, and the classification results are used to indicate whether there is an abnormality in the monitored campus network. In this way, according to the classification results, it is helpful to realize real-time monitoring and early warning of the campus network.
[0063] As described above, the network traffic monitoring and management system 100 based on data analysis according to the embodiment of the present application can be implemented in various wireless terminals, such as a server for network traffic monitoring and management based on data analysis. In one example, the network traffic monitoring and management system 100 based on data analysis according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the network traffic monitoring and management system 100 based on data analysis can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the network traffic monitoring and management system 100 based on data analysis can also be one of the many hardware modules of the wireless terminal.
[0064] Alternatively, in another example, the data analysis-based network traffic monitoring and management system 100 and the wireless terminal may also be separate devices, and the data analysis-based network traffic monitoring and management system 100 may be connected to the wireless terminal via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0065] Exemplary Methods
[0066] Figure 5 The figure shows a flow chart of a network traffic monitoring and management method based on data analysis according to an embodiment of the present application. Figure 5 As shown, according to the network traffic monitoring and management method based on data analysis according to the embodiment of the present application, the method includes: S1, collecting network traffic data of each node in the campus network to be monitored in each time period and the topology matrix between each node; S2, respectively extracting and analyzing the network traffic data of each node in each time period and the topology matrix between each node to obtain a network traffic comprehensive feature matrix and a node topology feature matrix; S3, performing feature fusion on the network traffic comprehensive feature matrix and the node topology feature matrix to obtain a school network feature matrix; S4, obtaining a classification result based on the school network feature matrix, and the classification result is used to indicate whether there is an abnormality in the campus network to be monitored.
[0067] Here, those skilled in the art can understand that the specific functions and operations of each step in the above-mentioned network traffic monitoring and management method based on data analysis have been referred to above. Figure 1 The description of the network traffic monitoring and management system based on data analysis has been introduced in detail, and therefore, its repeated description will be omitted.
[0068] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, apparatuses and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0069] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0070] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0071] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0072] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or systems stated in a system claim can also be implemented by one unit or system through software or hardware. Secondary words are used to indicate names, but not to indicate any particular order.
[0073] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit of the technical solution of the present invention.
Claims
1. A network traffic monitoring and management system based on data analysis, characterized in that: include: The campus network data collection module is used to collect network traffic data of each node in the monitored campus network in each time period and the topology matrix between each node; A campus network feature acquisition module is used to extract and analyze the network traffic data of each node in each time period and the topology matrix between each node to obtain a network traffic comprehensive feature matrix and a node topology feature matrix; A campus network feature fusion module, used for performing feature fusion on the network traffic comprehensive feature matrix and the node topology feature matrix to obtain a school network feature matrix; A campus network classification result generating module, used to obtain a classification result based on the school network feature matrix, wherein the classification result is used to indicate whether there is an abnormality in the campus network to be monitored; Wherein, the campus network feature acquisition module includes: A network traffic feature extraction unit, used for performing feature encoding on the network traffic data of each node in each time period to obtain the network traffic comprehensive feature matrix; A node topology feature extraction unit, used for obtaining the node topology feature matrix by passing the topology matrix between the nodes through a topology feature extraction module including a two-dimensional convolution kernel; Wherein, the campus network classification result generation module includes: A campus network feature extraction unit, used for passing the school network feature matrix through a school network classification feature extraction module based on a convolutional neural network model to obtain a school network classification feature matrix; A campus network feature optimization unit, used for improving the feature correlation of the school network classification feature matrix based on dynamic deep feature positioning to obtain an optimized school network classification feature matrix; A campus network classification unit, used for passing the optimized school network classification feature matrix through a classifier to obtain a classification result; Wherein, the campus network feature optimization unit includes: Flattening the school network classification feature matrix to obtain a school network classification feature vector; Performing feature relevance improvement on the school network classification feature vector based on dynamic deep feature positioning to obtain an optimized school network classification feature vector; Performing reverse feature aggregation on the optimized school network classification feature vector in the feature flattening manner to obtain the optimized school network classification feature matrix; Among them, the school network classification feature vector is improved based on the feature correlation of dynamic deep feature positioning to obtain an optimized school network classification feature vector, including: The school network classification feature vector is improved based on the feature correlation of dynamic deep feature positioning by the following formula to obtain an optimized school network classification feature vector, wherein the formula is: in, represents the school network classification feature vector, The first The eigenvalues at the positions, represents the mean of the school network classification feature vector, represents the length of the school network classification feature vector, represents the predetermined hyperparameters, It means point multiplication by position. represents the optimized school network classification feature vector; In the above formula, the feature correlation of the school network classification feature matrix is improved based on dynamic deep feature positioning. The global mean of the school network classification feature matrix is used as its dynamically formed deep anchor feature, and a coherent attention response mechanism based on the deep anchor feature is applied to the original feature distribution to perform position scattering response deep correlation correction in the class divergence space with depth difference, so that the original feature distribution has a highly significant deep correlation distribution characteristic, so as to improve the feature significance of the school network classification feature matrix and avoid feature redundancy.
2. The network traffic monitoring and management system based on data analysis according to claim 1 is characterized in that: The network traffic feature extraction unit comprises: A network traffic multi-scale feature extraction subunit, used to arrange the network traffic data of each node in each time period according to the time dimension as a network traffic input vector of each node, and then pass it through a multi-scale network traffic feature extraction module to obtain a multi-scale network traffic feature vector of each node; The network traffic comprehensive feature extraction subunit is used to arrange the multi-scale network traffic feature vectors of each node into a network traffic comprehensive input matrix and then obtain the network traffic comprehensive feature matrix through a network traffic comprehensive feature extraction module based on a two-dimensional convolutional neural network model.
3. The network traffic monitoring and management system based on data analysis according to claim 2 is characterized in that: The network traffic multi-scale feature extraction subunit is used to: Using the first convolution layer of the multi-scale network traffic feature extraction module to perform one-dimensional convolution encoding on the network traffic input vectors of each node to obtain the first scale feature vector of the network traffic of each node; Using the second convolution layer of the multi-scale network traffic feature extraction module to perform one-dimensional convolution encoding on the network traffic input vectors of each node to obtain the second scale feature vector of the network traffic of each node; as well as The first-scale feature vector of the network traffic of each node and the second-scale feature vector of the network traffic of each node are cascaded respectively to obtain a multi-scale network traffic feature vector of each node.
4. The network traffic monitoring and management system based on data analysis according to claim 3 is characterized in that: The network traffic comprehensive feature extraction subunit is used to: use each layer of the two-dimensional convolutional neural network model to perform the following operations on the input data in the forward transfer of the layer: Performing convolution processing based on a two-dimensional convolution kernel on the input data to obtain a convolution feature map; Performing pooling processing on the convolutional feature map along the channel dimension to obtain a pooled feature map; Performing nonlinear activation on the pooled feature map to obtain an activated feature map; Among them, the output of the last layer of the two-dimensional convolutional neural network model is the network traffic comprehensive feature matrix.
5. A network traffic monitoring and management method based on data analysis, using the network traffic monitoring and management system based on data analysis according to any one of claims 1 to 4, characterized in that ,include: Collect network traffic data of each node in the campus network to be monitored in each time period and the topology matrix between each node; Extracting and analyzing the network traffic data of each node in each time period and the topology matrix between each node to obtain a comprehensive network traffic feature matrix and a node topology feature matrix; Performing feature fusion on the network traffic comprehensive feature matrix and the node topology feature matrix to obtain a school network feature matrix; A classification result is obtained based on the school network feature matrix, and the classification result is used to indicate whether there is an abnormality in the campus network to be monitored.
Citation Information
Patent Citations
Network health degree testing method and system
CN102185731A
Traffic intelligent planning system and method based on road data
CN116486622A
Aquatic product transportation management system and method thereof
CN116912072A
Data security monitoring system and method for communication network
CN117650909A
Flow monitoring system and method of optical network
CN117768367A
