Network detection and early warning integrated management method and device and electronic equipment
By monitoring and analyzing the client's network operation behavior, extracting feature vectors and constructing associated feature maps, and using classifiers to determine abnormal behaviors, we solve network security problems caused by large-scale access to IoT devices and achieve protection against illegal access and network attacks. Timely identification and early warning improve the efficiency and accuracy of network security management.
Patent Information
- Application Number
- CN202410751515.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
As the number of accessible devices supported by 5G technology increases, the large-scale access of IoT devices leads to network security problems, such as illegal access and traffic overload, resulting in excessive server load and difficulty in reporting network security risks in a timely manner, affecting user accounts. security.
By monitoring the network operation behavior of the client, extracting feature vectors, constructing associated feature maps, and using classifiers to determine abnormal behaviors, network security early warning management is achieved. Specific steps include obtaining network operation behavior, extracting text understanding features, semantic features and global semantic feature vectors, constructing associated feature maps, and enhancing the aggregation degree of feature distribution through expansion and concentration, and finally inputting the optimized feature maps into the classifier to determine whether the behavior is is abnormal.
Effectively identify and warn potential security threats and abnormal activities, reduce potential losses and risks, improve the timeliness and accuracy of network security management, and prevent illegal access and network attacks.
Smart Images

Figure CN118540710A
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent management technology, and more specifically, to a network detection and early warning comprehensive management method, device and electronic equipment. Background Art
[0002] As the number of accessible devices supported by 5G technology increases, large-scale IoT devices are connected to 5G networks for data transmission. Network security issues for large-scale IoT devices need to be resolved, including illegal access to the IoT, network security failures caused by traffic overload, etc. At the same time, as the amount of data transmitted over the network increases, calculations based solely on servers usually lead to excessive server loads and excessive pressure on mobile network transmission, resulting in network security risks not being reported in a timely manner, leading to more serious consequences.
[0003] More and more users are conducting various social activities on the Internet, such as online chatting, online games, advertising, and Internet financial platform investment. Since the passwords of the online accounts used by some users for the above-mentioned online social activities may be relatively simple, network hackers may use IP (Internet Protocol Address) aggregation, that is, the behavior of a large number of online accounts on a certain IP or a certain segment of IP to detect the passwords of online accounts, thereby affecting the security of users' online accounts. Or network hackers may directly use stolen online accounts for online consumption, thereby stealing users' property.
[0004] In order to combat the above-mentioned malicious behaviors, the maintenance personnel of the network platform will also use methods such as IP aggregation to detect malicious behaviors. If a large number of malicious detection behaviors or malicious operation behaviors appear on a certain IP or a certain IP segment, the network account of the corresponding IP or IP segment may be prohibited from logging in.
[0005] Therefore, a network detection and early warning integrated management method, device and electronic device are desired. Summary of the invention
[0006] In order to solve the above technical problems, this application is proposed. The embodiments of this application provide a network detection and early warning integrated management method, device and electronic device, which realizes network security early warning management by monitoring client network operation behavior and extracting feature vectors, constructing associated feature graphs and using classifiers to judge abnormal behavior.
[0007] Accordingly, according to one aspect of the present application, a network detection and early warning integrated management method is provided, which includes: Obtaining the client's network operation behavior, which includes account login, network message sending, service query and service purchase behavior; Extracting a network operation behavior text understanding feature vector, a network operation behavior semantic feature vector and a network operation behavior global semantic feature vector from the network operation behavior of the client; Constructing a network operation behavior association feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector, and performing expansion-concentration-based feature distribution aggregation enhancement on the network operation behavior association feature graph to obtain an optimized network operation behavior association feature graph; The optimized network operation behavior association feature graph is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the network operation behavior of the client is abnormal.
[0008] According to another aspect of the present application, a network detection and early warning integrated management device is provided, comprising: A network operation behavior acquisition module is used to acquire the network operation behavior of the client, wherein the network operation behavior includes account login, network message sending, service query and service purchase behavior; A feature vector extraction module is used to extract a network operation behavior text understanding feature vector, a network operation behavior semantic feature vector and a network operation behavior global semantic feature vector from the network operation behavior of the client; A feature graph construction module is used to construct a network operation behavior association feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector, and perform expansion-concentration-based feature distribution aggregation enhancement on the network operation behavior association feature graph to obtain an optimized network operation behavior association feature graph; The classification result module is used to pass the optimized network operation behavior association feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the network operation behavior of the client is abnormal.
[0009] According to another aspect of the present application, an electronic device is provided, comprising: a processor; a memory, wherein computer program instructions are stored in the memory, and when the computer program instructions are executed by the processor, the processor executes the network detection and early warning comprehensive management method as described in any one of the above.
[0010] Compared with the prior art, the present application provides a network detection and early warning comprehensive management method, device and electronic device, which monitors the client's network operation behavior, such as account login, message sending, etc., extracts feature vectors and constructs associated feature graphs, determines whether the behavior is abnormal through a classifier, and immediately triggers an early warning notification when an abnormality is detected, so as to respond to security issues that may be caused by large-scale access of IoT devices to 5G networks, such as illegal access and network attacks, thereby comprehensively managing network security risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] 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.
[0012] Figure 1 Flow chart of a network detection and early warning integrated management method according to an embodiment of the present application.
[0013] Figure 2 The present invention is a flowchart for extracting a network operation behavior text understanding feature vector, a network operation behavior semantic feature vector and a network operation behavior global semantic feature vector from the network operation behavior of the client in the network detection and early warning comprehensive management method according to an embodiment of the present application.
[0014] Figure 3 The present invention is a flowchart of obtaining the network operation behavior text understanding feature vector by encoding the multiple dimensional network operation behavior feature vectors in one dimension in the network detection and early warning comprehensive management method according to an embodiment of the present application.
[0015] Figure 4 It is a block diagram of a network detection and early warning integrated management device according to an embodiment of the present application.
[0016] Figure 5 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0017] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0018] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0019] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0020] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0021] Figure 1 The figure shows a flow chart of a network detection and early warning integrated management method according to an embodiment of the present application. Figure 1 As shown, according to the network detection and early warning comprehensive management method of the embodiment of the present application, the steps include: S110, obtaining the network operation behavior of the client, the network operation behavior including account login, network message sending, service query and service purchase behavior; S120, extracting the network operation behavior text understanding feature vector, network operation behavior semantic feature vector and network operation behavior global semantic feature vector from the network operation behavior of the client respectively; S130, constructing a network operation behavior association feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector, and enhancing the feature distribution aggregation degree of the network operation behavior association feature graph based on expansion-concentration to obtain an optimized network operation behavior association feature graph; S140, passing the optimized network operation behavior association feature graph through a classifier to obtain a classification result, and the classification result is used to indicate whether the network operation behavior of the client is abnormal.
[0022] In step S110 of the embodiment of the present application, the network operation behavior of the client is obtained, and the network operation behavior includes account login, network message sending, business query and business purchase behavior. It should be understood that monitoring the network operation behavior of the client can help identify potential security threats and abnormal activities. By analyzing behaviors such as account login, network message sending, business query and business purchase, possible intrusion, fraud or other malicious activities can be detected. Monitoring the network operation behavior of the client helps to protect the security of sensitive data. By detecting abnormal behavior, data leakage or unauthorized data access can be discovered in time, so as to take measures to prevent it. Many industries and organizations are subject to regulatory and compliance requirements and need to monitor and record the network operation behavior of the client. By monitoring these behaviors, compliance with relevant regulations and standards can be ensured to avoid potential legal risks. Monitoring the network operation behavior of the client can help detect abnormal situations, including device infection with malware, account theft or other unusual activities. Early detection of abnormal behavior can reduce potential losses and risks. By monitoring network operation behavior, a baseline behavior pattern can be established and rules for triggering alarms or automatically blocking operations can be set. This helps to take preventive measures in time to protect system and data security.
[0023] In step S120 of the embodiment of the present application, a network operation behavior text understanding feature vector, a network operation behavior semantic feature vector and a network operation behavior global semantic feature vector are extracted from the network operation behavior of the client. It should be understood that extracting a text understanding feature vector can help understand the text information in the client network operation behavior, such as the user name entered when logging in, the message content, etc., which helps to capture the specific meaning and intention behind the behavior. Extracting a semantic feature vector can help parse the semantic information of the client network operation behavior, such as the content of the message sent, the type of business queried, etc., so as to better understand the intention and purpose behind the user behavior. Extracting a global semantic feature vector can consider the client's network operation behavior as a whole, help capture the association and integrity between behaviors, and thus more comprehensively understand the user's operation behavior patterns and habits. By extracting these different types of feature vectors, the client's network operation behavior can be analyzed more comprehensively and in depth, helping to identify abnormal behavior, optimize user experience, and improve security. The comprehensive use of these feature vectors can provide richer information and more accurate results for subsequent behavior analysis, model training and decision-making.
[0024] Specifically, Figure 2 The diagram shows a flow chart of extracting a network operation behavior text understanding feature vector, a network operation behavior semantic feature vector and a network operation behavior global semantic feature vector from the network operation behavior of the client in the network detection and early warning integrated management method according to an embodiment of the present application. Figure 2 As shown, in Figure 1 On the basis of the shown embodiment, the step S120 includes: S210, converting the network operation behavior of the client into a vector and encoding it to obtain a plurality of dimensional network operation behavior feature vectors; S220, arranging the plurality of dimensional network operation behavior feature vectors in one dimension and encoding them to obtain the network operation behavior text understanding feature vector; S230, arranging the plurality of dimensional network operation behavior feature vectors in two dimensions and performing convolution encoding to obtain the network operation behavior semantic feature vector; S240, cascading the plurality of dimensional network operation behavior feature vectors to obtain the global semantic feature vector of the network operation behavior.
[0025] Specifically, in a specific example of the present application, in step S210, the network operation behavior of the client is converted into a vector and then encoded to obtain a plurality of dimensional network operation behavior feature vectors. It should be understood that converting the network operation behavior into a vector form is helpful for mathematical modeling and analysis. Vector is a very effective representation form in mathematics, which can be easily calculated, compared and processed. By encoding the network operation behavior into a vector, the key features in the behavior can be better extracted and represented. These features can cover various aspects, such as time, frequency, content, etc., which help to reveal the patterns and laws of behavior. In the field of machine learning and deep learning, it is common practice to convert behavior data into vector form. Doing so can provide input data for subsequent model training and prediction, and facilitate model learning and processing. By encoding to obtain feature vectors of multiple dimensions, more abundant information can be captured and the expression ability of features can be improved. Features of different dimensions can complement each other, thereby more comprehensively describing the network operation behavior of the client. After the network operation behavior is represented in a vector form, it can also be presented in a multidimensional space through a visualization tool, which helps to intuitively understand and analyze the relationship and pattern between data.
[0026] Correspondingly, the network operation behavior of the client is converted into a vector and then encoded to obtain a plurality of dimensional network operation behavior feature vectors, which are used to: convert the network operation behavior of the client into a network operation behavior embedding vector and then pass it through a converter-based context encoder to obtain a plurality of dimensional network operation behavior feature vectors.
[0027] Furthermore, the network operation behavior of the client is converted into a network operation behavior embedding vector and then passed through a converter-based context encoder to obtain a plurality of dimensional network operation behavior feature vectors, including: passing the network operation behavior of the client through an embedding layer to convert each dimensional network operation behavior in the network operation behavior into an embedding vector to obtain a sequence of embedded vectors, wherein the embedding layer uses a learnable embedding matrix to embed-code the network operation behaviors of each dimensionality; passing the sequence of embedded vectors through the converter-based context encoder to obtain the plurality of dimensional network operation behavior feature vectors.
[0028] Specifically, the network operation behavior of the client is passed through an embedding layer to convert each dimension of the network operation behavior into an embedding vector to obtain a sequence of embedded vectors, wherein the embedding layer uses a learnable embedding matrix to embed the network operation behavior of each dimension. It should be understood that the embedding vector provides a dense representation method, and compared with the sparse original feature vector, the embedding vector can better express the relationship and semantic information between features. The embedding vector usually represents the feature in a continuous vector space, and this continuity helps the model to better learn the similarity and correlation between features. By using a learnable embedding matrix, the model can learn the best representation method during the training process, so that the features of the network operation behavior can be better encoded and captured. The dimension of the embedded vector is usually lower than that of the original feature vector, which helps to reduce the dimension of the data and reduce the complexity of the model to a certain extent. The deep learning model is more suitable for processing continuous embedded vector representations. Through the processing of the embedding layer, the information of the network operation behavior can be better integrated into the deep learning model for further processing and learning.
[0029] Specifically, the sequence of the embedding vectors is passed through the converter-based context encoder to obtain the multiple-dimensional network operation behavior feature vectors. It should be understood that the converter-based context encoder can capture context information in the sequence data. In the network operation behavior, the meaning of a single operation may be affected by the operations before and after it, so considering the context of the entire sequence helps to better understand and characterize the behavior of the client. The converter model is suitable for processing sequence data and can effectively capture the dependencies and interactions between elements in the sequence. By inputting the embedding vector sequence into the converter, a more representative and rich network operation behavior feature vector can be learned, which helps to better describe the behavior pattern of the client. The converter-based context encoder can extract key features from the input embedding vector sequence. These features can help distinguish the behavioral differences between different clients, or be used for subsequent tasks such as classification, clustering, anomaly detection, etc. The converter model usually has a strong expressive ability and can learn complex sequence patterns and relationships. In this way, the network operation behavior of the client can be better modeled and represented, thereby providing more useful feature vectors for subsequent analysis and application.
[0030] Specifically, in a specific example of the present application, the step S220, after arranging the feature vectors of the network operation behaviors in one dimension, encodes them to obtain the text understanding feature vectors of the network operation behaviors. It should be understood that arranging the feature vectors of multiple dimensions in one dimension can convert multidimensional data into one-dimensional sequence data, which is more in line with the processing method of text data and is convenient for subsequent text understanding tasks. By encoding the serialized feature vectors, the feature information of the network operation behavior can be converted into a text understanding feature vector, so that the model can better understand and process these features. Many text understanding models (such as natural language processing models) usually process text data. After converting the network operation behavior feature vectors into text understanding feature vectors, these features can be more easily input into the text processing model for further analysis and processing. Through one-dimensional arrangement and encoding, the network operation behavior features of multiple dimensions can be integrated into a unified feature vector, which helps to retain and express the correlation information between features of different dimensions and provide a more comprehensive feature representation.
[0031] Accordingly, Figure 3 The diagram shows a flowchart of the network detection and early warning integrated management method according to an embodiment of the present application, in which the network operation behavior feature vectors of multiple dimensions are arranged in one dimension and then encoded to obtain the network operation behavior text understanding feature vector. Figure 3 As shown, in Figure 2Based on the shown embodiment, the step S220 includes: S2201, arranging the multiple dimensional network operation behavior feature vectors in one dimension to obtain a sequence of network operation behavior feature vectors; S2202, using the bidirectional long short-term memory neural network model to perform context semantic encoding on the sequence of network operation behavior feature vectors to obtain the network operation behavior text understanding feature vector.
[0032] Specifically, the step S2201 arranges the network operation behavior feature vectors of the multiple dimensions in one dimension to obtain a sequence of network operation behavior feature vectors. It should be understood that arranging the feature vectors of multiple dimensions in one dimension can convert multidimensional data into one-dimensional sequence data, which helps to integrate the data into a more easily processed form. Serialization can help retain the order relationship between data, which is very important in some cases. In network operation behavior, feature vectors of different dimensions may contain information that changes over time. By arranging these feature vectors into a sequence, these time series information can be better captured and represented, which helps to perform time series analysis on network operation behavior. Some models (such as recurrent neural networks and sequence models) require input sequence data for training and prediction. Converting multidimensional feature vectors into sequences can better adapt to the input requirements of these models and improve model performance. Arranging feature vectors of multiple dimensions into a sequence can help retain the association information between features. This helps the model better understand the interaction and influence between different features and improve the expressiveness of feature representation.
[0033] Specifically, in step S2202, the bidirectional long short-term memory neural network model is used to perform context semantic encoding on the sequence of the network operation behavior feature vector to obtain the network operation behavior text understanding feature vector. It should be understood that the long short-term memory neural network model can capture the long-term dependency in the sequence data, and the bidirectional long short-term memory neural network model combines the information flow in two directions, and can more comprehensively capture the context information in the sequence data. This is very important for understanding the association and dependency between the characteristics of the network operation behavior at different time steps. By encoding the feature vector sequence through the bidirectional long short-term memory neural network model, the semantic information of the network operation behavior can be better understood. This helps to convert the original numerical feature vector into a feature representation with more semantic information, thereby improving the effect of subsequent processing. The long short-term memory neural network model and its bidirectional form bidirectional long short-term memory neural network model are neural network models that perform well in processing sequence data. They can effectively learn the patterns and features in the sequence data, and are suitable for encoding and representing the learning of the network operation behavior feature vector sequence. The bidirectional long short-term memory neural network model can usually provide better performance than the traditional unidirectional long short-term memory neural network model when processing sequence data. This means that using a bidirectional long short-term memory neural network model may improve the efficiency and accuracy of encoding the network operation behavior feature vector sequence.
[0034] Accordingly, in a specific example of the present application, in step S230, the network operation behavior feature vectors of multiple dimensions are arranged in two dimensions and then convolutionally encoded to obtain the semantic feature vector of the network operation behavior. It should be understood that by arranging the feature vectors of multiple dimensions in two dimensions, the data can be organized in space, and the local features and spatial information can be extracted using a convolutional neural network (CNN). This helps to capture the spatial relationship between features, and for some data with spatial structure, such as image data, this method usually achieves good results. Convolutional coding can effectively extract features from feature vectors arranged in two dimensions. The convolution layer can learn feature detectors of different sizes to better capture the local patterns and overall structures of the input data, which helps to extract important features in the data. Convolutional neural networks have the characteristic of parameter sharing, which means that when processing feature vectors arranged in two dimensions, the number of parameters of the model can be reduced by sharing weights, thereby improving the generalization ability and training efficiency of the model. The convolution operation is translation invariant, which means that the convolution layer can detect the same feature pattern regardless of the position of the feature in the input. This is very useful for processing network operation behavior feature vectors in different positions.
[0035] Specifically, the multiple dimensional network operation behavior feature vectors are arranged in two dimensions and then convolutionally encoded to obtain the network operation behavior semantic feature vector, including: arranging the multiple dimensional network operation behavior feature vectors in two dimensions into a network operation behavior feature matrix; passing the network operation behavior feature matrix through a network operation behavior feature extractor based on a first convolutional neural network model to obtain the network operation behavior semantic feature vector.
[0036] Further, the plurality of dimensional network operation behavior feature vectors are arranged in two dimensions into a network operation behavior feature matrix. It should be understood that arranging the feature vectors of multiple dimensions into a matrix form can better represent structured data. This structured input form helps the neural network to better understand and process data. By arranging the feature vectors into a matrix, the spatial relationship between the features can be retained. For example, if the feature vector represents the features of a two-dimensional area, arranging it into a matrix can utilize this spatial relationship so that the neural network can better learn the interaction between the features. Convolutional neural networks (CNNs) are commonly used to process two-dimensional data, such as images. After arranging the feature vectors into a matrix form, the convolution operation can be directly applied to extract features using a network structure such as CNN. Arranging the feature vectors into a matrix can more efficiently utilize existing deep learning frameworks and tools, which can simplify the design and implementation process of the model. In general, arranging the network operation behavior feature vectors of multiple dimensions into a matrix form can provide a better data structure, which is conducive to better learning and feature extraction by the neural network.
[0037] Furthermore, the network operation behavior feature matrix is passed through a network operation behavior feature extractor based on a first convolutional neural network model to obtain the network operation behavior semantic feature vector. It should be understood that a convolutional neural network (CNN) is a powerful feature extractor that can effectively extract key features from input data. By applying a convolution operation to the network operation behavior feature matrix, local patterns and features in the input data can be captured, thereby better representing the characteristics of the network operation behavior. The network operation behavior feature matrix after two-dimensional arrangement contains the spatial structure information of the features, and the convolution operation can effectively utilize this spatial information. Through the convolution operation, weights can be shared in local areas, thereby realizing spatial hierarchical modeling of features and further improving the representation ability of features. Through the multi-layer structure of the convolutional neural network, a high-level representation of the network operation behavior features can be gradually extracted. The deep convolutional neural network can learn the abstract representation of the data, so that the final network operation behavior semantic feature vector has more representation ability and generalization ability. By inputting the network operation behavior feature matrix into the convolutional neural network, an end-to-end learning process can be realized, that is, a mapping from the original input data to the final semantic feature vector. This end-to-end learning method can better optimize the entire feature extraction process, making the obtained network operation behavior semantic feature vector more accurate and effective.
[0038] Accordingly, in a specific example of the present application, the step S240 cascades the feature vectors of the network operation behavior of multiple dimensions to obtain the global semantic feature vector of the network operation behavior. It should be understood that cascading the feature vectors of multiple dimensions can integrate information from different aspects and more comprehensively describe the network operation behavior. Through the cascading operation, the features of each dimension can be fused together so that the final global semantic feature vector can better express the overall characteristics. In some cases, the original data may contain a large number of dimensions, and the cascading operation can merge the feature vectors of multiple dimensions into a global feature vector of lower dimension, thereby reducing the complexity and processing difficulty of the data. Cascading feature vectors of multiple dimensions can increase the representation ability of the features, making the global semantic features of the network operation behavior more distinguishable and expressive. Some models may require a single global feature vector as input, and by cascading feature vectors of multiple dimensions into a global semantic feature vector, the input requirements of these models can be met.
[0039] In step S130 of the embodiment of the present application, a network operation behavior association feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector is constructed, and the network operation behavior association feature graph is enhanced based on the expansion-concentration feature distribution aggregation degree to obtain an optimized network operation behavior association feature graph. It should be understood that by constructing a network operation behavior association feature graph, the correlation and mutual influence between different feature vectors can be revealed, helping to understand the inherent relationship between them. This helps to discover the potential patterns and laws between network operation behavior feature vectors. By performing association analysis on the text understanding feature vector, the semantic feature vector and the global semantic feature vector, information of different dimensions can be comprehensively considered, so as to understand the network operation behavior more comprehensively. This helps to improve the overall grasp and analysis capabilities of network operation behavior. Through the network operation behavior association feature graph, information exchange and fusion between different feature vectors can be achieved, thereby improving the representation capability and representation quality of features. This helps to improve the expression capability and classification performance of network operation behavior features.
[0040] Specifically, in a specific example of the present application, a network operation behavior association feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector is constructed, and the network operation behavior association feature graph is enhanced with a feature distribution aggregation degree based on expansion-concentration to obtain an optimized network operation behavior association feature graph, including: fusing the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector to obtain a network operation behavior association feature matrix; passing the network operation behavior association feature matrix through a second convolutional neural network model as a feature extractor to obtain the network operation behavior association feature graph; and enhancing the feature distribution aggregation degree based on expansion-concentration to obtain the optimized network operation behavior association feature graph.
[0041] Accordingly, the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector are fused to obtain the network operation behavior association feature matrix. It should be understood that different types of feature vectors (text understanding features, semantic features, global semantic features) provide information about different aspects of network operation behaviors. By fusing these feature vectors, various aspects of information can be comprehensively considered to improve the richness and expression ability of features. Each type of feature vector has its unique representation ability. Fusion of different types of feature vectors can complement and enhance each other's representation ability, thereby improving the overall feature expression quality. Network operation behavior text understanding features, semantic features and global semantic features usually represent information at different levels and angles. By fusing them together, the multi-dimensional associations and internal structures between network operation behavior features can be better captured, and the diversity and richness of features can be improved. Fusion of different types of feature vectors can provide more comprehensive and rich input information for subsequent model learning, which helps to improve the performance and generalization ability of the model, thereby better solving the analysis and prediction problems of network operation behavior association features.
[0042] Accordingly, the network operation behavior associated feature matrix is passed through the second convolutional neural network model as a feature extractor to obtain the network operation behavior associated feature map. It should be understood that convolutional neural networks (CNNs) have been widely used in fields such as images and texts, and features can be effectively extracted and abstracted through convolution and pooling layers. For the network operation behavior associated feature map, convolutional neural networks can help extract key features therein, so as to better understand the network operation behavior. Convolutional neural networks can capture local correlations in data, which is very important for the characteristics of network operation behavior. Through convolution operations, the network can identify and utilize the spatial relationship between features, which helps to better understand the structure and composition of network operation behavior. The parameter sharing mechanism in the convolutional neural network can reduce the number of parameters of the model and improve the generalization ability of the model. This is very helpful for processing the complex features of network operation behavior, and can effectively avoid overfitting problems. Through the stacking of convolutional layers and pooling layers, the convolutional neural network can map the input network operation behavior associated feature matrix to a higher-level feature space, thereby extracting more abstract and meaningful feature representations, which is helpful for the execution of subsequent tasks.
[0043] Accordingly, the network operation behavior association feature graph is enhanced by the feature distribution aggregation degree based on expansion-concentration to obtain the optimized network operation behavior association feature graph. It should be understood that, in particular, in the technical solution of the present application, by processing the network operation behavior of the client, it is converted into a network operation behavior embedding vector, and the network operation behavior text understanding feature vector, network operation behavior semantic feature vector, network operation behavior global semantic feature vector and network operation behavior association feature graph are obtained through different models and methods, which are finally used to judge whether the network operation behavior is abnormal. Improving the information aggregation degree of the network operation behavior association feature graph is crucial for accurately judging whether the network operation behavior is abnormal and improving the classification accuracy and reliability. Specifically, improving the information aggregation degree of the network operation behavior association feature graph can capture the correlation between different network operation behaviors more comprehensively and comprehensively. Comprehensively considering the text understanding features, semantic features and global semantic features can help to more accurately characterize the characteristics of network operation behaviors and improve the accuracy of anomaly detection. There may be complex correlations between different network operation behaviors, and improving the information aggregation degree can better capture these correlations. By improving the information aggregation degree, it is possible to more accurately judge whether the network operation behavior is abnormal and avoid misjudgment and missed judgment. Accurately judging whether network operation behavior is abnormal is crucial to network security. By improving the information aggregation of the network operation behavior correlation feature graph, the correlation relationship between network operation behaviors can be more accurately represented, helping the system to more accurately identify abnormal behaviors and protect network security. Based on this, the network operation behavior correlation feature graph is enhanced with feature distribution aggregation based on expansion-concentration to obtain an optimized network operation behavior correlation feature graph.
[0044] Specifically, the network operation behavior association characteristic graph is enhanced in a characteristic distribution aggregation degree based on expansion-concentration to obtain the optimized network operation behavior association characteristic graph, including: calculating the natural exponential function value of each position in the network operation behavior association characteristic graph to obtain a divergent network operation behavior association characteristic graph; accumulating and summing the divergent network operation behavior association characteristic graph to obtain the total value of the divergent network operation behavior association characteristic graph; multiplying the total value of the divergent network operation behavior association characteristic graph with the absolute value of the characteristic value of each position of the network operation behavior association characteristic graph and then calculating the logarithmic function value with base two to obtain the network operation behavior association characteristic graph after logarithmic change; multiplying the network operation behavior association characteristic graph after logarithmic change with the network operation behavior association characteristic graph by position to obtain the optimized network operation behavior association characteristic graph.
[0045] Accordingly, the network operation behavior association characteristic graph is subjected to expansion-concentration-based feature distribution aggregation enhancement to obtain the optimized network operation behavior association characteristic graph, which is further used to: perform expansion-concentration-based feature distribution aggregation enhancement on the network operation behavior association characteristic graph according to the following formula, wherein the formula is:
[0046] in, is the first The eigenvalues of the locations, and and is the network operation behavior association feature graph The width, height and number of channels, represents the logarithm with base 2, is the first The eigenvalue of the location.
[0047] Here, in order to improve the information aggregation degree of the network operation behavior associated feature graph, in the technical solution of the present application, the network operation behavior associated feature graph is subjected to feature distribution aggregation enhancement based on expansion-concentration, which firstly calculates the natural exponential function value of each position in the network operation behavior associated feature graph to diverge the feature information of the position, and uses a wavelet-like function to structurally aggregate the divergent information of all positions in the network operation behavior associated feature graph to obtain a global divergence factor, and after the global divergence factor is applied to each position of the network operation behavior associated feature graph, calculates its logarithmic function value with base two to regress the divergent modulation information of the position, thereby performing feature expansion and concentration on the feature values of each position of the network operation behavior associated feature graph through the mechanism of simulated divergence-regression, and in this way, the information aggregation degree of the network operation behavior associated feature graph is improved.
[0048] In step S140 of the embodiment of the present application, the optimized network operation behavior association feature graph is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the network operation behavior of the client is abnormal. It should be understood that the classifier can be used as a tool for anomaly detection. By inputting the network operation behavior association feature matrix into the classifier, the network operation behavior of the client can be classified to determine whether it is normal behavior. Abnormal behavior is usually classified into different categories to help identify potential security risks or abnormal situations. The classifier can learn the normal mode of network operation behavior and classify the behavior that does not conform to these modes as abnormal. By training the classifier, it can be made to recognize common network operation behavior patterns and then detect abnormal behaviors that do not conform to them. The output of the classifier can provide decision support for the security team or system administrator. Based on the classification results, corresponding measures can be taken to deal with abnormal behavior, such as warnings, blocking access or further investigation. By inputting the network operation behavior association feature matrix into the classifier for classification, real-time monitoring of client behavior can be achieved. Timely detection of abnormal behavior helps to take measures quickly to protect network security.
[0049] In summary, the network detection and early warning comprehensive management method, device and electronic device based on the embodiments of the present application monitors the client's network operation behavior, such as account login, message sending, etc., extracts feature vectors and constructs associated feature graphs, and uses a classifier to determine whether the behavior is abnormal. When an abnormality is detected, an early warning notification is immediately triggered to respond to security issues that may be caused by large-scale access of IoT devices to the 5G network, such as illegal access and network attacks, thereby comprehensively managing network security risks.
[0050] Figure 4 FIG. 1 is a block diagram of a network detection and early warning integrated management device according to an embodiment of the present application. Figure 4As shown, according to the network detection and early warning integrated management device 100 of the embodiment of the present application, it includes: a network operation behavior acquisition module 110, which is used to acquire the network operation behavior of the client, and the network operation behavior includes account login, network message sending, business query and business purchase behavior; a feature vector extraction module 120, which is used to extract the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector from the network operation behavior of the client; a feature graph construction module 130, which is used to construct a network operation behavior association feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector, and perform feature distribution aggregation enhancement based on expansion-concentration on the network operation behavior association feature graph to obtain an optimized network operation behavior association feature graph; a classification result module 140, which is used to pass the optimized network operation behavior association feature graph through a classifier to obtain a classification result, and the classification result is used to indicate whether the network operation behavior of the client is abnormal.
[0051] Here, those skilled in the art can understand that the specific functions and operations of each unit and module in the above-mentioned network detection and early warning integrated management device have been referred to above. Figures 1 to 3 The network detection and early warning comprehensive management method has been introduced in detail, and therefore, its repeated description will be omitted.
[0052] As described above, the network detection and early warning integrated management device 100 according to the embodiment of the present application can be implemented in various terminal devices, such as a server deployed with a network detection and early warning integrated management algorithm. In one example, the network detection and early warning integrated management device 100 can be integrated into the terminal device as a software module and / or a hardware module. For example, the network detection and early warning integrated management device 100 can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the network detection and early warning integrated management device 100 can also be one of the many hardware modules of the terminal device.
[0053] Alternatively, in another example, the network detection and early warning integrated management apparatus 100 and the terminal device may also be separate devices, and the network detection and early warning integrated management apparatus 100 may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0054] Specifically, the present application also provides another embodiment, below, refer to Figure 5 To describe an electronic device according to an embodiment of the present application.
[0055] Figure 5FIG. 1 is a block diagram of an electronic device according to an embodiment of the present application. Figure 5 As shown, the electronic device 50 according to an embodiment of the present disclosure includes a memory 501 and a processor 502. The components in the electronic device 50 are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0056] The memory 501 is used to store computer-readable instructions. Specifically, the memory 501 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc.
[0057] The processor 502 may be a central processing unit (CPU), a graphics processing unit (GPU), or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 50 to perform desired functions. In one embodiment of the present disclosure, the processor 502 is used to execute the computer-readable instructions stored in the memory 501, so that the electronic device 50 executes the reference Figure 1 and Figure 3 The network detection and early warning integrated management method described or reference Figure 4 The invention describes a network detection and early warning integrated management device.
[0058] Furthermore, it is important to understand that Figure 5 The components and structures of the electronic device 50 shown are only exemplary and non-restrictive. The electronic device 50 may also have other components and structures as needed. For example, a monitoring video acquisition device and an output device (not shown). The monitoring video acquisition device can be used to collect the monitoring video to be processed for video processing, and store the collected multiple monitoring videos in the memory 501 for use by other components. Of course, other monitoring video acquisition devices can also be used to collect the monitoring video to be processed, and send the collected multiple monitoring videos to the electronic device 50, and the electronic device 50 can store the received monitoring video in the memory 501. The output device can output various information to the outside (such as a user), such as whether the target to be detected has abnormal behavior. The output device may include one or more of a display, a speaker, a projector, a network card, etc.
[0059] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0060] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0061] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0062] In addition, each functional unit in each embodiment of the present invention can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware, or through the description of the above implementation mode, the technicians in the relevant field can clearly understand that the present invention can be implemented in hardware, firmware, or a combination of them. When using software implementation, the above functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication medium includes any medium that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a computer. Taking this as an example but not limited to: the computer-readable medium can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer. In addition. Any connection can be appropriately a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless and microwave are included in the fixation of the medium. As used in the present invention, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically and discs use lasers to reproduce data optically. The above combinations should also be included in the scope of protection of computer-readable media.
[0063] In short, the above is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A network detection and early warning integrated management method, characterized in that: include: Obtaining the client's network operation behavior, which includes account login, network message sending, service query and service purchase behavior; Extracting a network operation behavior text understanding feature vector, a network operation behavior semantic feature vector and a network operation behavior global semantic feature vector from the network operation behavior of the client; Constructing a network operation behavior association feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector, and performing expansion-concentration-based feature distribution aggregation enhancement on the network operation behavior association feature graph to obtain an optimized network operation behavior association feature graph; The optimized network operation behavior association feature graph is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the network operation behavior of the client is abnormal.
2. The network detection and early warning integrated management method according to claim 1 is characterized in that: Extracting a network operation behavior text understanding feature vector, a network operation behavior semantic feature vector, and a network operation behavior global semantic feature vector from the network operation behavior of the client, respectively, including: The network operation behavior of the client is converted into a vector and then encoded to obtain a multi-dimensional network operation behavior feature vector; Arranging the plurality of dimensional network operation behavior feature vectors in one dimension and encoding them to obtain the network operation behavior text understanding feature vector; Arrange the plurality of dimensional network operation behavior feature vectors in two dimensions and then perform convolution coding to obtain the network operation behavior semantic feature vector; The multiple dimensional network operation behavior feature vectors are cascaded to obtain the network operation behavior global semantic feature vector.
3. The network detection and early warning integrated management method according to claim 2 is characterized in that: The network operation behavior of the client is converted into a vector and then encoded to obtain a plurality of dimensional network operation behavior feature vectors, which is used to: convert the network operation behavior of the client into a network operation behavior embedding vector and then pass it through a converter-based context encoder to obtain a plurality of dimensional network operation behavior feature vectors.
4. The network detection and early warning integrated management method according to claim 3 is characterized in that: The network operation behavior of the client is converted into a network operation behavior embedding vector and then passed through a converter-based context encoder to obtain a multi-dimensional network operation behavior feature vector, including: The network operation behavior of the client is passed through an embedding layer to convert each dimension of the network operation behavior into an embedding vector to obtain a sequence of embedding vectors, wherein the embedding layer uses a learnable embedding matrix to embed the network operation behavior of each dimension; The sequence of the embedding vectors is passed through the transformer-based context encoder to obtain the multiple-dimensional network operation behavior feature vectors.
5. The network detection and early warning integrated management method according to claim 4 is characterized in that: Arranging the multiple-dimensional network operation behavior feature vectors in one dimension and encoding them to obtain the network operation behavior text understanding feature vector includes: Arranging the plurality of dimensional network operation behavior feature vectors in one dimension to obtain a sequence of network operation behavior feature vectors; The bidirectional long short-term memory neural network model is used to perform context semantic encoding on the sequence of the network operation behavior feature vector to obtain the network operation behavior text understanding feature vector.
6. The network detection and early warning integrated management method according to claim 5 is characterized in that: Arranging the plurality of dimensional network operation behavior feature vectors in two dimensions and performing convolution coding to obtain the network operation behavior semantic feature vector includes: Arranging the plurality of dimensional network operation behavior feature vectors in two dimensions into a network operation behavior feature matrix; The network operation behavior feature matrix is passed through a network operation behavior feature extractor based on a first convolutional neural network model to obtain the network operation behavior semantic feature vector.
7. The network detection and early warning integrated management method according to claim 6 is characterized in that: Constructing a network operation behavior correlation feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector, and the network operation behavior global semantic feature vector, and performing expansion-concentration-based feature distribution aggregation enhancement on the network operation behavior correlation feature graph to obtain an optimized network operation behavior correlation feature graph, including: Fusion of the network operation behavior text comprehension feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector to obtain a network operation behavior correlation feature matrix; Passing the network operation behavior associated feature matrix through a second convolutional neural network model as a feature extractor to obtain the network operation behavior associated feature graph; The network operation behavior association characteristic graph is subjected to expansion-concentration-based feature distribution aggregation enhancement to obtain the optimized network operation behavior association characteristic graph.
8. The network detection and early warning integrated management method according to claim 7 is characterized in that: Performing expansion-concentration-based feature distribution aggregation enhancement on the network operation behavior association feature graph to obtain the optimized network operation behavior association feature graph includes: Calculating the natural exponential function value of each position in the network operation behavior association characteristic graph to obtain a divergent network operation behavior association characteristic graph; Accumulating and summing the divergent network operation behavior association characteristic graph to obtain a total value of the divergent network operation behavior association characteristic graph; The sum of the divergent network operation behavior association characteristic graph and the absolute value of the characteristic value of each position of the network operation behavior association characteristic graph are multiplied, and then a logarithmic function value with base 2 is calculated to obtain a network operation behavior association characteristic graph after logarithmic change; The network operation behavior association characteristic graph after logarithmic change is multiplied by the network operation behavior association characteristic graph according to position to obtain the optimized network operation behavior association characteristic graph.
9. A network detection and early warning integrated management device, characterized in that: include: A network operation behavior acquisition module is used to acquire the network operation behavior of the client, wherein the network operation behavior includes account login, network message sending, service query and service purchase behavior; A feature vector extraction module is used to extract a network operation behavior text understanding feature vector, a network operation behavior semantic feature vector and a network operation behavior global semantic feature vector from the network operation behavior of the client; A feature graph construction module is used to construct a network operation behavior association feature graph between the network operation behavior text understanding feature vector, the network operation behavior semantic feature vector and the network operation behavior global semantic feature vector, and perform expansion-concentration-based feature distribution aggregation enhancement on the network operation behavior association feature graph to obtain an optimized network operation behavior association feature graph; The classification result module is used to pass the optimized network operation behavior association feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the network operation behavior of the client is abnormal.
10. An electronic device, comprising: processor; A memory, in which computer program instructions are stored, and when the computer program instructions are executed by the processor, the processor executes the network detection and early warning comprehensive management method as described in any one of claims 1-8.
