Information processing method and system for network technology services

By conducting time series analysis on network traffic, using Gaussian density maps and spatial attention modules to extract features, and combining with the probability density feature imitation paradigm, the accuracy and complex attack response problems of traditional network security monitoring methods are solved, and higher network security is achieved. sex and stability.

CN117134958BActive Publication Date: 2024-10-18SUZHOU DONGJICHUANG INFINITE INTELLIGENCE TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311067822.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2024-10-18
Estimated Expiration
2043-08-23

AI Technical Summary

Technical Problem

Traditional network security monitoring methods are based on manually written rules and signatures, which are difficult to cover all attack methods and virus variants. This results in low accuracy of network security monitoring and high false negative rate. It is also difficult to respond to complex network attacks, affecting security. and stability.

Method used

By arranging network traffic values ​​into time-series input vectors, calculating the difference and then cascading processing, using convolutional layers to extract features, feature expression and enhancement based on Gaussian density maps and spatial attention modules, combined with probability density features to imitate the paradigm, and finally through The classifier determines whether network traffic is normal.

Benefits of technology

It improves network security and stability, can effectively identify anomalies in network traffic, and timely discover and deal with network security issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117134958B_ABST
    Figure CN117134958B_ABST
Patent Text Reader

Abstract

The present invention discloses an information processing method and system for network technology services. First, the network flow values ​​at multiple predetermined time points are arranged as a network flow time series input vector, and then the difference between two adjacent network flow values ​​is calculated to obtain a network flow change time series input vector. Then, the network flow time series input vector and the network flow change time series input vector are cascaded and passed through a network flow pattern feature extractor to obtain a network flow time series feature vector. Then, based on a Gaussian density map, the network flow time series feature vector is subjected to feature expression enhancement and then passed through a spatial attention module to obtain a classification feature matrix; then, the classification feature matrix is ​​subjected to distribution gain based on a probability density feature imitation paradigm and then passed through a classifier to obtain a classification result for indicating whether the network flow is normal. In this way, network security and stability can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent monitoring, and more specifically, to an information processing method and system for network technology services. Background Art

[0002] With the continuous development and popularization of network technology, network security issues have become increasingly prominent. Threats such as hacker attacks, viruses and malware continue to emerge, bringing huge challenges to network security. Network technology services refer to the provision of various network-related technical support and services, among which network security monitoring is an important network technology service used to protect networks and systems from threats such as hacker attacks, viruses and malware.

[0003] In order to ensure the security and stability of the network and system, it is necessary to promptly discover and handle network security issues in the process of network technology services to improve network security and stability. However, traditional network security monitoring methods are mainly based on manually written rules and signatures, which are difficult to cover all attack methods and virus variants, resulting in low accuracy and high false negatives in network security monitoring. In addition, as network attacks become more and more complex, traditional network security monitoring methods are difficult to cope with these complex attacks, resulting in threats to the security and stability of the monitoring system.

[0004] Therefore, an optimized information processing solution for network technology services is desired, which can effectively identify anomalies in network traffic and improve network security and stability. Summary of the invention

[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides an information processing method and system for network technology services. It first arranges the network traffic values ​​at multiple predetermined time points into a network traffic time series input vector and then calculates the difference between two adjacent network traffic values ​​to obtain a network traffic change time series input vector. Then, the network traffic time series input vector and the network traffic change time series input vector are cascaded and passed through a network traffic pattern feature extractor to obtain a network traffic time series feature vector. Then, based on a Gaussian density map, the network traffic time series feature vector is subjected to feature expression enhancement and then passed through a spatial attention module to obtain a classification feature matrix; then, the classification feature matrix is ​​subjected to distribution gain based on a probability density feature imitation paradigm and then passed through a classifier to obtain a classification result indicating whether the network traffic is normal. In this way, network security and stability can be improved.

[0006] According to one aspect of the present application, there is provided an information processing method for network technology services, comprising:

[0007] Obtain network traffic values ​​at multiple predetermined time points within a predetermined time period;

[0008] Arranging the network traffic values ​​at the plurality of predetermined time points into a network traffic time series input vector according to the time dimension;

[0009] Calculating the difference between the network traffic values ​​at two adjacent predetermined time points in the network traffic time series input vector to obtain a network traffic change time series input vector;

[0010] Cascading the network traffic time series input vector and the network traffic change time series input vector to obtain a network traffic multi-dimensional time series input vector;

[0011] Passing the network traffic multi-dimensional time series input vector through a network traffic pattern feature extractor comprising a first convolutional layer and a second convolutional layer to obtain a network traffic time series feature vector;

[0012] Based on the Gaussian density map, the network traffic time series feature vector is enhanced in feature expression to obtain a network traffic time series feature matrix;

[0013] Pass the network traffic time series feature matrix through a spatial attention module to obtain a classification feature matrix;

[0014] Performing distribution gain based on probability density feature imitation paradigm on the classification feature matrix to obtain an optimized classification feature matrix; and

[0015] The optimized classification feature matrix is ​​passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the network traffic is normal.

[0016] In the above-mentioned information processing method for network technology services, the network traffic multi-dimensional time series input vector is passed through a network traffic pattern feature extractor comprising a first convolutional layer and a second convolutional layer to obtain a network traffic time series feature vector, including:

[0017] Passing the network traffic multi-dimensional time series input vector through the first convolutional layer of the network traffic pattern feature extractor to obtain a first-scale network traffic feature vector;

[0018] Passing the network traffic multi-dimensional time series input vector through the second convolutional layer of the network traffic pattern feature extractor to obtain a second-scale network traffic feature vector; and

[0019] The first-scale network traffic feature vector and the second-scale network traffic feature vector are fused to obtain the network traffic time series feature vector.

[0020] In the above-mentioned information processing method for network technology services, the first convolution layer and the second convolution layer of the network traffic pattern feature extractor respectively use one-dimensional convolution kernels of different scales.

[0021] In the above-mentioned information processing method for network technology services, the network traffic time series feature vector is enhanced in feature expression based on the Gaussian density map to obtain a network traffic time series feature matrix, including:

[0022] The Gaussian density map is used to construct the enhanced Gaussian density map of the network traffic time series feature vector using the following Gaussian density formula; wherein the Gaussian density formula is:

[0023]

[0024] Wherein, x represents the synthesized Gaussian vector, μ represents the network traffic time series feature vector, and the value of each position of σ represents the variance between the feature values ​​of the corresponding two positions in the network traffic time series feature vector; and

[0025] The Gaussian distribution at each position of the enhanced Gaussian density map is discretized to obtain the network traffic time series feature matrix.

[0026] In the above-mentioned information processing method for network technology services, the network traffic time series feature matrix is ​​passed through a spatial attention module to obtain a classification feature matrix, including:

[0027] Each layer of the spatial attention module performs the following operations on the input data during the forward pass of the layer:

[0028] Perform convolution on the input data to generate a convolution feature map;

[0029] Performing pooling processing on the convolutional feature map to generate a pooled feature map;

[0030] Performing nonlinear activation on the pooled feature map to generate an activation feature map;

[0031] Calculating the mean of each position of the activation feature map along the channel dimension to generate a spatial feature matrix;

[0032] Calculating the Softmax-like function value of each position in the spatial feature matrix to obtain a spatial score matrix; and

[0033] Calculating the position-wise multiplication of the spatial feature matrix and the spatial score map to obtain a feature matrix;

[0034] Among them, the feature matrix output by the last layer of the spatial attention module is the classification feature matrix.

[0035] In the above-mentioned information processing method for network technology services, the optimized classification feature matrix is ​​passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the network traffic is normal, including:

[0036] Expanding the optimized classification feature matrix into classification feature vectors according to row vectors or column vectors;

[0037] Using the fully connected layer of the classifier to perform fully connected encoding on the classification feature vector to obtain an encoded classification feature vector; and

[0038] The encoded classification feature vector is input into the Softmax classification function of the classifier to obtain the classification result.

[0039] In the above-mentioned information processing method for network technology services, the classification feature matrix is ​​subjected to distribution gain based on the probability density feature imitation paradigm to obtain an optimized classification feature matrix, including:

[0040] The classification feature matrix is ​​subjected to distribution gain based on the probability density feature imitation paradigm using the following optimization formula to obtain the optimized classification feature matrix;

[0041] Wherein, the optimization formula is:

[0042]

[0043] Where N is the scale of the classification feature matrix, m i,j is the eigenvalue of the (i, j)th position of the classification feature matrix M, represents the square of the Frobenius norm of the classification feature matrix M, and α is a weighted hyperparameter, m' i,j is the eigenvalue of the (i, j)th position of the optimized classification feature matrix.

[0044] According to another aspect of the present application, there is provided an information processing system for network technology services, comprising:

[0045] A data collection module is used to obtain network traffic values ​​at multiple predetermined time points within a predetermined time period;

[0046] A vector arrangement module, used for arranging the network traffic values ​​at the plurality of predetermined time points into a network traffic time series input vector according to a time dimension;

[0047] A difference calculation module, used for calculating the difference between the network traffic values ​​at two adjacent predetermined time points in the network traffic time series input vector to obtain a network traffic change time series input vector;

[0048] A vector cascading module, used for cascading the network traffic timing input vector and the network traffic change timing input vector to obtain a network traffic multi-dimensional timing input vector;

[0049] A feature extraction module, used for passing the network traffic multi-dimensional time series input vector through a network traffic pattern feature extractor comprising a first convolutional layer and a second convolutional layer to obtain a network traffic time series feature vector;

[0050] A feature expression enhancement module, used for enhancing the feature expression of the network traffic time series feature vector based on a Gaussian density map to obtain a network traffic time series feature matrix;

[0051] A spatial encoding module, used for passing the network traffic time series feature matrix through a spatial attention module to obtain a classification feature matrix;

[0052] A distribution gain module, used for performing distribution gain on the classification feature matrix based on a probability density feature imitation paradigm to obtain an optimized classification feature matrix; and

[0053] The classification module is used to pass the optimized classification feature matrix through a classifier to obtain a classification result, and the classification result is used to indicate whether the network traffic is normal.

[0054] In the above-mentioned information processing system for network technology services, the feature extraction module is used to:

[0055] Passing the network traffic multi-dimensional time series input vector through the first convolutional layer of the network traffic pattern feature extractor to obtain a first-scale network traffic feature vector;

[0056] Passing the network traffic multi-dimensional time series input vector through the second convolutional layer of the network traffic pattern feature extractor to obtain a second-scale network traffic feature vector; and

[0057] The first-scale network traffic feature vector and the second-scale network traffic feature vector are fused to obtain the network traffic time series feature vector.

[0058] In the above-mentioned information processing system for network technology services, the first convolution layer and the second convolution layer of the network traffic pattern feature extractor respectively use one-dimensional convolution kernels of different scales.

[0059] Compared with the prior art, the information processing method and system for network technology services provided by the present application first arranges the network traffic values ​​at multiple predetermined time points into a network traffic time series input vector and then calculates the difference between two adjacent network traffic values ​​to obtain a network traffic change time series input vector. Then, the network traffic time series input vector and the network traffic change time series input vector are cascaded and passed through a network traffic pattern feature extractor to obtain a network traffic time series feature vector. Then, based on a Gaussian density map, the network traffic time series feature vector is subjected to feature expression enhancement and then passed through a spatial attention module to obtain a classification feature matrix. Then, the classification feature matrix is ​​subjected to distribution gain based on a probability density feature imitation paradigm and then passed through a classifier to obtain a classification result indicating whether the network traffic is normal. In this way, network security and stability can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The following drawings are not deliberately scaled according to the actual size, and the focus is on illustrating the main purpose of the present application.

[0061] Figure 1 This is an application scenario diagram of an information processing method for network technology services according to an embodiment of the present application.

[0062] Figure 2 The present invention is a flowchart of an information processing method for network technology services according to an embodiment of the present application.

[0063] Figure 3 Schematic diagram of the architecture of an information processing method for network technology services according to an embodiment of the present application.

[0064] Figure 4 This is a flowchart of sub-step S150 of the information processing method for network technology services according to an embodiment of the present application.

[0065] Figure 5 This is a flowchart of sub-step S190 of the information processing method for network technology services according to an embodiment of the present application.

[0066] Figure 6 The present invention is a block diagram of an information processing system for network technology services according to an embodiment of the present application. DETAILED DESCRIPTION

[0067] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work also fall within the scope of protection of the present application.

[0068] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0069] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.

[0070] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.

[0071] 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.

[0072] As mentioned above, traditional network security monitoring methods are mainly based on manually written rules and signatures, which are difficult to cover all attack methods and virus variants, resulting in low accuracy and high false negative rate of network security monitoring. In addition, as network attack methods become more and more complex, traditional network security monitoring methods are difficult to deal with these complex attacks, resulting in threats to the security and stability of the monitoring system. Therefore, an optimized information processing solution for network technology services is desired, which can effectively identify anomalies in network traffic and improve network security and stability.

[0073] Accordingly, considering that in the information processing process of actual advanced network technology services, in order to effectively identify anomalies in network traffic, and to promptly discover and handle network security issues, thereby improving network security and stability, it is necessary to perform time series analysis on network traffic values ​​to determine whether network traffic is normal. However, since the time series variation characteristics of network traffic values ​​in the time dimension are small-scale implicit weak variation feature information, and there is volatility and uncertainty in the time series of network traffic values, it is difficult to effectively and fully capture its time series variation law in the time dimension through traditional feature extraction methods. Therefore, in this process, the difficulty lies in how to fully express the time series variation characteristics of the network traffic value, so as to effectively identify anomalies in network traffic, thereby promptly discovering and handling network security issues, and improving network security and stability.

[0074] In recent years, deep learning and neural networks have been widely used in computer vision, natural language processing, text signal processing and other fields. The development of deep learning and neural networks provides new solutions and solutions for mining the temporal variation characteristic information of network traffic values.

[0075] Figure 1 FIG. 1 is an application scenario diagram of the information processing method for network technology services according to an embodiment of the present application. Figure 1 As shown, in this application scenario, first, the network traffic values ​​at multiple predetermined time points within a predetermined time period are obtained (for example, Figure 1 D), then, the network traffic values ​​at the plurality of predetermined time points are input into a server deployed with an information processing algorithm for network technology services (for example, Figure 1 S) as shown in , wherein the server is able to use the information processing algorithm for network technology services to process the network traffic values ​​at the multiple predetermined time points to obtain a classification result indicating whether the network traffic is normal.

[0076] Figure 2 The present invention is a flowchart of an information processing method for network technology services according to an embodiment of the present application. Figure 3 FIG. 1 is a schematic diagram of an information processing method for network technology services according to an embodiment of the present application. Figure 2 and Figure 3As shown, according to the information processing method for network technology services of the embodiment of the present application, the steps include: S110, obtaining network traffic values ​​at multiple predetermined time points within a predetermined time period; S120, arranging the network traffic values ​​at the multiple predetermined time points into a network traffic time series input vector according to the time dimension; S130, calculating the difference between the network traffic values ​​at two adjacent predetermined time points in the network traffic time series input vector to obtain a network traffic change time series input vector; S140, cascading the network traffic time series input vector and the network traffic change time series input vector to obtain a network traffic multi-dimensional time series input vector; S150, arranging the network traffic multi-dimensional time series input vector according to the time dimension; The time series input vector is passed through a network traffic pattern feature extractor including a first convolutional layer and a second convolutional layer to obtain a network traffic time series feature vector; S160, the network traffic time series feature vector is subjected to feature expression enhancement based on a Gaussian density map to obtain a network traffic time series feature matrix; S170, the network traffic time series feature matrix is ​​subjected to a spatial attention module to obtain a classification feature matrix; S180, the classification feature matrix is ​​subjected to distribution gain based on a probability density feature imitation paradigm to obtain an optimized classification feature matrix; and, S190, the optimized classification feature matrix is ​​subjected to a classifier to obtain a classification result, and the classification result is used to indicate whether the network traffic is normal.

[0077] More specifically, in step S110, the network traffic values ​​at multiple predetermined time points within a predetermined time period are obtained. In the information processing process of actual advanced network technology services, in order to effectively identify abnormal conditions in network traffic, and to timely discover and handle network security issues, thereby improving network security and stability, the network traffic value can be subjected to a time series analysis to determine whether the network traffic is normal. It should be understood that the time series changes in the network traffic value within a predetermined time period can reflect the abnormal conditions of the network, such as sudden increases in traffic, traffic fluctuations, etc., and can also reflect the characteristics and regularity of network traffic, such as peak periods and trough periods of network traffic. Therefore, by analyzing and characterizing the time series change characteristics of the network traffic value, security threats such as network attacks and viruses can be discovered in a timely manner, and then corresponding measures can be taken to deal with them to ensure network security. At the same time, the configuration and scheduling of network resources can be optimized to improve network performance and stability.

[0078] More specifically, in step S120, the network traffic values ​​at the plurality of predetermined time points are arranged as a network traffic time series input vector according to the time dimension. The network traffic value has a dynamic change rule in the time dimension. Therefore, in order to effectively capture the change characteristic information of the network traffic value in the time dimension, in the technical solution of the present application, the network traffic values ​​at the plurality of predetermined time points are arranged as a network traffic time series input vector according to the time dimension, so as to integrate the distribution information of the network traffic value in the time series.

[0079] More specifically, in step S130, the difference between the network traffic values ​​at two adjacent predetermined time points in the network traffic time series input vector is calculated to obtain the network traffic change time series input vector. In order to monitor the time series changes of the network traffic values ​​in real time and accurately detect network traffic anomalies in real time and accurately, it is necessary to extract the dynamic change characteristics of the network traffic values ​​in the time dimension.

[0080] More specifically, in step S140, the network traffic time series input vector and the network traffic change time series input vector are cascaded to obtain a network traffic multi-dimensional time series input vector, which can facilitate the subsequent full expression of the time series change characteristic information of the network traffic value.

[0081] More specifically, in step S150, the network traffic multi-dimensional time series input vector is passed through a network traffic pattern feature extractor including a first convolution layer and a second convolution layer to obtain a network traffic time series feature vector. The network traffic value has volatility and uncertainty in the time dimension, resulting in the network traffic value presenting different time series change regularities under different time period spans within the predetermined time period. Therefore, in the technical solution of the present application, in order to fully capture the time series change feature information of the network traffic value, the network traffic multi-dimensional time series input vector is further passed through a network traffic pattern feature extractor including a first convolution layer and a second convolution layer to obtain a network traffic time series feature vector. In particular, here, the first convolution layer and the second convolution layer use one-dimensional convolution kernels of different scales to perform feature mining of the network traffic multi-dimensional time series input vector, so as to extract the time series multi-scale neighborhood association feature information of the dynamic and static multi-dimensional data information of the network traffic value under different time spans, that is, the multi-scale change characteristics of the multi-dimensional fusion information of the absolute quantity information and relative quantity information of the network traffic value in time series.

[0082] Accordingly, in a specific example, Figure 4 As shown, the network traffic multi-dimensional time series input vector is passed through a network traffic pattern feature extractor comprising a first convolution layer and a second convolution layer to obtain a network traffic time series feature vector, including: S151, passing the network traffic multi-dimensional time series input vector through the first convolution layer of the network traffic pattern feature extractor to obtain a first-scale network traffic feature vector; S152, passing the network traffic multi-dimensional time series input vector through the second convolution layer of the network traffic pattern feature extractor to obtain a second-scale network traffic feature vector; and, S153, fusing the first-scale network traffic feature vector and the second-scale network traffic feature vector to obtain the network traffic time series feature vector.

[0083] Accordingly, in a specific example, the first convolution layer and the second convolution layer of the network traffic pattern feature extractor respectively use one-dimensional convolution kernels of different scales.

[0084] More specifically, in step S160, the network traffic time series feature vector is enhanced in feature expression based on the Gaussian density map to obtain a network traffic time series feature matrix. Since the time series dynamic changes of the network traffic value are not obvious in the actual monitoring process, it is expected that after obtaining the network traffic time series feature vector, it is expected to enhance its feature expression. It should be understood that as a learning target of the neural network model, the Gaussian density map can represent the joint distribution of a single eigenvalue of the feature distribution due to its probability density when multiple eigenvalues ​​constitute an overall distribution, that is, the characteristic distribution of the network traffic value is used as a prior distribution to obtain the probability density of each prior distribution position due to the correlation of other prior distribution positions as a posterior distribution, thereby more accurately describing the feature distribution in a higher dimension. Therefore, in the technical solution of the present application, the prior distribution of the network traffic value, that is, the Gaussian distribution, can be used to enhance the time series multi-scale change characteristics of the multi-dimensional data fusion information of the network traffic value.

[0085] Accordingly, in a specific example, the network traffic time series feature vector is enhanced in feature expression based on the Gaussian density map to obtain a network traffic time series feature matrix, including: using the Gaussian density map to construct an enhanced Gaussian density map of the network traffic time series feature vector using the following Gaussian density formula; wherein the Gaussian density formula is:

[0086]

[0087] Among them, x represents the synthesized Gaussian vector, μ represents the network traffic timing feature vector, and the value of each position of σ represents the variance between the eigenvalues ​​of the corresponding two positions in the network traffic timing feature vector; and the Gaussian distribution of each position of the enhanced Gaussian density map is discretized to obtain the network traffic timing feature matrix.

[0088] More specifically, in step S170, the network traffic time series feature matrix is ​​passed through a spatial attention module to obtain a classification feature matrix. Since in the process of monitoring the network traffic, if the network traffic has a sudden increase in traffic, traffic fluctuations, etc., attention should be paid to where the traffic anomaly occurs in the space. In other words, network traffic data is usually highly complex and diverse, and contains a large amount of redundant and useless information. When actually monitoring network traffic, more attention should be paid to the implicit feature information at the locations with a higher degree of importance in the network traffic and the interference features that are not related to the abnormal monitoring of network traffic should be ignored. In view of the fact that the attention mechanism can select the focus position, produce a more discriminative feature representation, and the features after adding the attention module will produce adaptive changes as the network deepens. Therefore, in the technical solution of the present application, the network traffic time series feature matrix is ​​subjected to spatial feature enhancement in the spatial attention module to characterize the time series change feature information of the network traffic with a higher degree of importance focused on the space, thereby obtaining a classification feature matrix.

[0089] Correspondingly, in a specific example, the network traffic time series feature matrix is ​​passed through a spatial attention module to obtain a classification feature matrix, including: each layer of the spatial attention module performs the following on the input data during the forward transmission process of the layer: convolution processing on the input data to generate a convolution feature map; pooling processing on the convolution feature map to generate a pooling feature map; nonlinear activation on the pooling feature map to generate an activation feature map; calculating the mean of each position of the activation feature map along the channel dimension to generate a spatial feature matrix; calculating the Softmax-like function value of each position in the spatial feature matrix to obtain a spatial score matrix; and calculating the positional point multiplication of the spatial feature matrix and the spatial score map to obtain a feature matrix; wherein the feature matrix output by the last layer of the spatial attention module is the classification feature matrix.

[0090] More specifically, in step S180, the classification feature matrix is ​​subjected to distribution gain based on the probability density feature imitation paradigm to obtain an optimized classification feature matrix. In the technical solution of the present application, when the network traffic timing feature vector is subjected to feature expression enhancement based on the Gaussian density map to obtain the network traffic timing feature matrix, for each eigenvalue of the network traffic timing feature vector, probability density distribution corresponding to the variance vector constituted by its variance with other eigenvalues ​​of the network traffic timing feature vector is probabilistically sampled to obtain the network traffic timing feature matrix. Therefore, the network traffic timing feature matrix can be regarded as a feature vector obtained by probability sampling with each eigenvalue, such as a feature matrix obtained by concatenating row feature vectors.

[0091] Therefore, when the network traffic time series feature matrix is ​​obtained through the spatial attention module to obtain the classification feature matrix, it is considered that when the row feature vectors of the network traffic time series feature matrix are spliced ​​and extracted through the spatial attention weight mechanism, the internal feature semantics of each row feature vector and the synthetic noise features caused by the feature vector arrangement will be confused, so that the ambiguity of the boundary between the meaningful class regression semantic features and the noise features affects the overall feature distribution expression effect of the classification feature matrix. Therefore, the present application performs distribution gain based on the probability density feature imitation paradigm on the classification feature matrix.

[0092] Accordingly, in a specific example, performing distribution gain based on a probability density feature imitation paradigm on the classification feature matrix to obtain an optimized classification feature matrix includes: performing distribution gain based on a probability density feature imitation paradigm on the classification feature matrix using the following optimization formula to obtain the optimized classification feature matrix;

[0093] Wherein, the optimization formula is:

[0094]

[0095] Where N is the scale of the classification feature matrix, m i,j is the eigenvalue of the (i, j)th position of the classification feature matrix M, represents the square of the Frobenius norm of the classification feature matrix M, and α is a weighted hyperparameter, m' i,j is the eigenvalue of the (i, j)th position of the optimized classification feature matrix.

[0096] Here, based on the feature imitation paradigm of the standard Cauchy distribution for the natural Gaussian distribution on the probability density, the distribution gain based on the probability density feature imitation paradigm can use the feature scale as an imitation mask to distinguish the foreground object features as feature semantics and the background distribution noise as synthetic noise features in the high-dimensional feature space, thereby performing soft distribution matching of the semantic cognition of feature space mapping in the high-dimensional space based on the spatial hierarchical semantics of the high-dimensional features brought by the spatial attention mechanism, so as to obtain the unconstrained distribution gain of the high-dimensional feature distribution, improve the overall feature distribution expression effect of the classification feature matrix, and thus improve the accuracy of the classification results obtained by the classification feature matrix through the classifier.

[0097] More specifically, in step S190, the optimized classification feature matrix is ​​passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the network traffic is normal. After obtaining the classification result, anomaly detection in the network traffic can be performed based on the classification result, so as to timely discover and handle network security issues and improve network security and stability.

[0098] It should be understood that the role of the classifier is to use the given categories and known training data to learn classification rules and classifiers, and then classify (or predict) unknown data. Logistic regression and SVM are often used to solve binary classification problems. For multi-class classification problems, logistic regression or SVM can also be used, but multiple binary classifications are required to form a multi-classification. However, this is prone to errors and is not efficient. Commonly used multi-classification methods include the Softmax classification function.

[0099] Accordingly, in a specific example, Figure 5 As shown, the optimized classification feature matrix is ​​passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the network traffic is normal, including: S191, expanding the optimized classification feature matrix into a classification feature vector according to a row vector or a column vector; S192, using the fully connected layer of the classifier to perform fully connected encoding on the classification feature vector to obtain an encoded classification feature vector; and, S193, inputting the encoded classification feature vector into the Softmax classification function of the classifier to obtain the classification result.

[0100] In summary, based on the information processing method for network technology services of the embodiment of the present application, the network traffic values ​​at multiple predetermined time points are first arranged as a network traffic time series input vector, and then the difference between two adjacent network traffic values ​​is calculated to obtain a network traffic change time series input vector. Then, the network traffic time series input vector and the network traffic change time series input vector are cascaded and passed through a network traffic pattern feature extractor to obtain a network traffic time series feature vector. Then, based on a Gaussian density map, the network traffic time series feature vector is subjected to feature expression enhancement and then passed through a spatial attention module to obtain a classification feature matrix; and then the classification feature matrix is ​​subjected to distribution gain based on a probability density feature imitation paradigm and then passed through a classifier to obtain a classification result indicating whether the network traffic is normal. In this way, network security and stability can be improved.

[0101] Figure 6 FIG. 1 is a block diagram of an information processing system 100 for network technology services according to an embodiment of the present application. Figure 6As shown, according to the embodiment of the present application, the information processing system 100 for network technology services includes: a data acquisition module 110, which is used to obtain network traffic values ​​at multiple predetermined time points within a predetermined time period; a vector arrangement module 120, which is used to arrange the network traffic values ​​at the multiple predetermined time points into a network traffic time series input vector according to the time dimension; a difference calculation module 130, which is used to calculate the difference between the network traffic values ​​at two adjacent predetermined time points in the network traffic time series input vector to obtain a network traffic change time series input vector; a vector cascade module 140, which is used to cascade the network traffic time series input vector and the network traffic change time series input vector to obtain a network traffic multi-dimensional time series input vector; a feature extraction module 150, which is used to extract the network traffic time series input vector and the network traffic change time series input vector. The multi-dimensional time series input vector is passed through a network traffic pattern feature extractor including a first convolutional layer and a second convolutional layer to obtain a network traffic time series feature vector; a feature expression enhancement module 160 is used to perform feature expression enhancement on the network traffic time series feature vector based on a Gaussian density map to obtain a network traffic time series feature matrix; a spatial encoding module 170 is used to pass the network traffic time series feature matrix through a spatial attention module to obtain a classification feature matrix; a distribution gain module 180 is used to perform distribution gain on the classification feature matrix based on a probability density feature imitation paradigm to obtain an optimized classification feature matrix; and a classification module 190 is used to pass the optimized classification feature matrix through a classifier to obtain a classification result, and the classification result is used to indicate whether the network traffic is normal.

[0102] Here, those skilled in the art will appreciate that the specific functions and operations of the various modules in the information processing system 100 for network technology services have been described in detail above. Figures 1 to 5 The information processing method for network technology services has been described in detail, and therefore, its repeated description will be omitted.

[0103] As described above, the information processing system 100 for network technology services according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with an information processing algorithm for network technology services. In one example, the information processing system 100 for network technology services 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 information processing system 100 for network technology services 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 information processing system 100 for network technology services can also be one of the many hardware modules of the wireless terminal.

[0104] Alternatively, in another example, the information processing system 100 for network technology services and the wireless terminal may also be separate devices, and the information processing system 100 for network technology services 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.

[0105] According to another aspect of the present application, a non-volatile computer-readable storage medium is provided, on which computer-readable instructions are stored. When the instructions are executed by a computer, the above-mentioned method can be executed.

[0106] The program part of the technology can be considered as a "product" or "manufactured product" in the form of executable code and / or related data, which is participated in or realized by computer-readable media. Tangible and permanent storage media can include any memory or storage used by any computer, processor, or similar device or related module. For example, various semiconductor memories, tape drives, disk drives or any similar devices that can provide storage functions for software.

[0107] All or part of the software may sometimes communicate over a network, such as the Internet or other communications network. Such communications can load software from one computer device or processor to another. For example: from a server or host computer of a video target detection device to a hardware platform of a computer environment, or other computer environment that implements the system, or a system with similar functions related to providing information required for target detection. Therefore, another medium capable of transmitting software elements can also be used as a physical connection between local devices, such as light waves, radio waves, electromagnetic waves, etc., transmitted through cables, optical cables or air. Physical media used to carry carriers, such as cables, wireless connections or optical cables and the like, can also be considered as media that carry software. As used herein, unless limited to tangible "storage" media, other terms referring to computer or machine "readable media" refer to media involved in the process of the processor executing any instructions.

[0108] The present application uses specific words to describe the embodiments of the present application. For example, "first / second embodiment", "one embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or multiple times in different positions in this specification does not necessarily refer to the same embodiment. In addition, some features, structures or characteristics in one or more embodiments of the present application can be appropriately combined.

[0109] In addition, it will be appreciated by those skilled in the art that various aspects of the present application may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, various aspects of the present application may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may all be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, various aspects of the present application may be represented as a computer product located in one or more computer-readable media, which includes computer-readable program code.

[0110] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.

[0111] The above is an explanation of the present invention and should not be considered as a limitation thereof. Although several exemplary embodiments of the present invention have been described, it will be readily appreciated by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present invention. Therefore, all such modifications are intended to be included within the scope of the present invention as defined in the claims. It should be understood that the above is an explanation of the present invention and should not be considered as being limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present invention is defined by the claims and their equivalents.

Claims

1. An information processing method for network technology services, characterized in that: include: Obtain network traffic values ​​at multiple predetermined time points within a predetermined time period; Arranging the network traffic values ​​at the plurality of predetermined time points into a network traffic time series input vector according to the time dimension; Calculating the difference between the network traffic values ​​at two adjacent predetermined time points in the network traffic time series input vector to obtain a network traffic change time series input vector; Cascading the network traffic time series input vector and the network traffic change time series input vector to obtain a network traffic multi-dimensional time series input vector; Passing the network traffic multi-dimensional time series input vector through a network traffic pattern feature extractor comprising a first convolutional layer and a second convolutional layer to obtain a network traffic time series feature vector; Based on the Gaussian density map, the network traffic time series feature vector is enhanced in feature expression to obtain a network traffic time series feature matrix; Pass the network traffic time series feature matrix through a spatial attention module to obtain a classification feature matrix; Performing distribution gain based on probability density feature imitation paradigm on the classification feature matrix to obtain an optimized classification feature matrix; as well as Passing the optimized classification feature matrix through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the network traffic is normal; The classification feature matrix is ​​subjected to distribution gain based on a probability density feature imitation paradigm to obtain an optimized classification feature matrix, including: The classification feature matrix is ​​subjected to distribution gain based on the probability density feature imitation paradigm using the following optimization formula to obtain the optimized classification feature matrix; Wherein, the optimization formula is: Where N is the scale of the classification feature matrix, m i,j is the eigenvalue of the (i, j)th position of the classification feature matrix M, represents the square of the Frobenius norm of the classification feature matrix M, and α is a weighted hyperparameter, m' i,j is the eigenvalue of the (i, j)th position of the optimized classification feature matrix.

2. The information processing method for network technology services according to claim 1, characterized in that: The network traffic multi-dimensional time series input vector is passed through a network traffic pattern feature extractor including a first convolutional layer and a second convolutional layer to obtain a network traffic time series feature vector, including: Passing the network traffic multi-dimensional time series input vector through the first convolutional layer of the network traffic pattern feature extractor to obtain a first-scale network traffic feature vector; Passing the network traffic multi-dimensional time series input vector through the second convolutional layer of the network traffic pattern feature extractor to obtain a second-scale network traffic feature vector; and The first-scale network traffic feature vector and the second-scale network traffic feature vector are fused to obtain the network traffic time series feature vector.

3. The information processing method for network technology services according to claim 2, characterized in that: The first convolution layer and the second convolution layer of the network traffic pattern feature extractor respectively use one-dimensional convolution kernels of different scales.

4. The information processing method for network technology services according to claim 3, characterized in that: Based on the Gaussian density map, the network traffic time series feature vector is enhanced in feature expression to obtain a network traffic time series feature matrix, including: Use the Gaussian density map to construct an enhanced Gaussian density map of the network traffic time series feature vector using the following Gaussian density formula; Wherein, the Gaussian density formula is: Wherein, μ represents the network traffic time series feature vector, and the value of each position of σ represents the variance between the feature values ​​of the corresponding two positions in the network traffic time series feature vector; and The Gaussian distribution at each position of the enhanced Gaussian density map is discretized to obtain the network traffic time series feature matrix.

5. The information processing method for network technology services according to claim 4, characterized in that: The network traffic time series feature matrix is ​​passed through the spatial attention module to obtain a classification feature matrix, including: Each layer of the spatial attention module performs the following operations on the input data during the forward pass of the layer: Perform convolution on the input data to generate a convolution feature map; Performing pooling processing on the convolutional feature map to generate a pooled feature map; Performing nonlinear activation on the pooled feature map to generate an activation feature map; Calculating the mean of each position of the activation feature map along the channel dimension to generate a spatial feature matrix; Calculating the Softmax-like function value of each position in the spatial feature matrix to obtain a spatial score matrix; and Calculating the position-wise multiplication of the spatial feature matrix and the spatial score matrix to obtain a feature matrix; Among them, the feature matrix output by the last layer of the spatial attention module is the classification feature matrix.

6. The information processing method for network technology services according to claim 5, characterized in that: The optimized classification feature matrix is ​​passed through a classifier to obtain a classification result, which is used to indicate whether the network traffic is normal, including: Expanding the optimized classification feature matrix into classification feature vectors according to row vectors or column vectors; Performing full connection encoding on the classification feature vector using the fully connected layer of the classifier to obtain an encoded classification feature vector; and The encoded classification feature vector is input into the Softmax classification function of the classifier to obtain the classification result.

7. An information processing system for network technology services, characterized in that: include: A data collection module is used to obtain network traffic values ​​at multiple predetermined time points within a predetermined time period; A vector arrangement module, used for arranging the network traffic values ​​at the plurality of predetermined time points into a network traffic time series input vector according to a time dimension; A difference calculation module, used for calculating the difference between the network traffic values ​​at two adjacent predetermined time points in the network traffic time series input vector to obtain a network traffic change time series input vector; A vector cascading module, used for cascading the network traffic timing input vector and the network traffic change timing input vector to obtain a network traffic multi-dimensional timing input vector; A feature extraction module, used for passing the network traffic multi-dimensional time series input vector through a network traffic pattern feature extractor comprising a first convolutional layer and a second convolutional layer to obtain a network traffic time series feature vector; A feature expression enhancement module, used for enhancing the feature expression of the network traffic time series feature vector based on a Gaussian density map to obtain a network traffic time series feature matrix; A spatial encoding module, used for passing the network traffic time series feature matrix through a spatial attention module to obtain a classification feature matrix; A distribution gain module, used for performing distribution gain on the classification feature matrix based on a probability density feature imitation paradigm to obtain an optimized classification feature matrix; as well as A classification module, used for passing the optimized classification feature matrix through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the network traffic is normal; Wherein, the distributed gain module comprises: The classification feature matrix is ​​subjected to distribution gain based on the probability density feature imitation paradigm using the following optimization formula to obtain the optimized classification feature matrix; Wherein, the optimization formula is: Where N is the scale of the classification feature matrix, m i,j is the eigenvalue of the (i, j)th position of the classification feature matrix M, represents the square of the Frobenius norm of the classification feature matrix M, and α is a weighted hyperparameter, m' i,j is the eigenvalue of the (i, j)th position of the optimized classification feature matrix.

8. The information processing system for network technology services according to claim 7, characterized in that: The feature extraction module is used to: Passing the network traffic multi-dimensional time series input vector through the first convolutional layer of the network traffic pattern feature extractor to obtain a first-scale network traffic feature vector; Passing the network traffic multi-dimensional time series input vector through the second convolutional layer of the network traffic pattern feature extractor to obtain a second-scale network traffic feature vector; as well as The first-scale network traffic feature vector and the second-scale network traffic feature vector are fused to obtain the network traffic time series feature vector.

9. The information processing system for network technology services according to claim 8, characterized in that: The first convolution layer and the second convolution layer of the network traffic pattern feature extractor respectively use one-dimensional convolution kernels of different scales.

Citation Information

Patent Citations

  • Network encrypted traffic identification method and device based on deep learning

    CN112003870A

  • Intrusion detection method and system for computer network information security

    CN116015837A

  • Friction stir welding method and system

    CN116140786A

  • Alarm based on network security

    CN116405299A

  • Coal flow control system and method based on driving motor current control cooperation

    CN116483132A