A network traffic monitoring method and system based on mutation model finite state
By introducing mutation models and finite state machines into network traffic detection, combined with multi-source data collection and feature fusion, the problem of low detection accuracy in existing technologies is solved, and comprehensive monitoring and risk assessment of network traffic are achieved, improving to ensure the accuracy and comprehensiveness of testing.
Patent Information
- Application Number
- CN202310464953.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-04-27
AI Technical Summary
Existing network traffic detection methods focus on single source data collection, resulting in low detection accuracy and incompleteness, and are unable to effectively respond to the diverse changes and variants of attack techniques.
Finite state machines based on mutation models are used for network traffic monitoring, and risk assessment and detection are carried out through multi-source data collection, feature extraction and fusion, combined with the Delphi method and network analysis methods, to achieve multi-level risk detection.
It improves the accuracy and comprehensiveness of network traffic detection, ensures risk monitoring of multi-source network data and comprehensive assessment of privacy leak risks, and provides solutions for different risk levels.
Smart Images

Figure CN116488912B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network traffic security technology, and in particular to a network traffic monitoring method and system based on a mutation model finite state. Background Art
[0002] With the rapid development of network communications and 5G technology, many complex and ever-changing Internet applications have emerged. Along with this, there are also attack methods that threaten network security, such as malware, DDOS attacks, and worms. As an important means of network supervision and control, network traffic data detection and analysis is a key link in network monitoring and management. By monitoring and analyzing traffic, abnormal phenomena in the network can be discovered in a timely manner, which is of great significance for maintaining the normal operation of the network. It has always been a research direction that the academic and industrial circles of network security have focused on, and many related detection methods and systems have been formed.
[0003] Existing detection methods focus on single-source network traffic collection and detection, which leads to a single detection source for network traffic data monitoring and analysis, low detection accuracy and incomplete detection, and does not take into account the diverse changes and variants of attack techniques.
[0004] Therefore, it is urgent to study a network traffic monitoring method and system based on the finite state of the mutation model, which is of great significance to solve the problem of how to comprehensively and accurately realize network traffic data monitoring. Summary of the invention
[0005] The purpose of the present invention is to provide a network traffic monitoring method and system based on the finite state of a mutation model, so as to solve the problems of single detection source, low detection accuracy and incomplete detection in the network traffic data monitoring and analysis in the prior art.
[0006] To achieve the above object, the present invention provides the following technical solution: a network traffic monitoring method and system based on a mutation model finite state, specifically comprising the following steps:
[0007] Step 1: Analyze the system, use finite state machine to analyze the system state transition and the events that the system needs to respond to, and design the state transition process;
[0008] Step 2: Obtain specific information about the device's operating status by sending requests (polling) to the network device and understand the performance through statistical data of the machine. Different data collection methods are used for multiple data sources such as flow data, data packets, Wi-Fi data, and device data.
[0009] Step 3: pre-process the data collected in step 2, and then extract necessary features, quantify necessary features, standardize, fuse multi-source data features, and re-extract necessary features, and finally remove redundant data to obtain data in a unified data format;
[0010] Step 4: Match the multi-source fusion data with the preset risk rules for preliminary screening, and then use the feature detection method based on the mutation model for secondary detection to obtain secondary results;
[0011] Step 5: Based on the results of step 4, evaluate the data risk level and corresponding solutions.
[0012] Preferably, the state transition process in step one specifically includes state definition, event definition, action definition and state transition process design.
[0013] Preferably, in the step 2:
[0014] Stream data,uses a timestamp-based window collection method to collect network traffic at a fixed frequency;
[0015] Packet,deploy device-based or virtualized probes at key nodes in the intranet,used as distributed packet capture tools to collect detailed information about,the data passing through;
[0016] Wifi data and device data are obtained through system logs, and the data information of network devices is captured using an integrated crawler algorithm.
[0017] Preferably, in step three:
[0018] Data preprocessing specifically includes:
[0019] a. Preliminarily screen the collected data and remove blank and missing data;
[0020] b. If the data row is blank, delete it directly; if it is missing, fill it with 0 directly;
[0021] Necessary feature extraction is to combine word embedding technology with self-attention mechanism to realize necessary feature extraction, including:
[0022] c. Use word embedding technology to take Chinese stroke information as features, capture the semantic and structural information of Chinese words, obtain distributed vector words and calculate them with negative sampling to obtain potential semantic information;
[0023] d. Using the self-attention mechanism, the weighted sum of vocabulary vector information is incorporated into the reproduced sentence to capture long-distance dependencies and obtain the contextual semantic information of the vocabulary.
[0024] Multi-source data feature fusion specifically includes:
[0025] After completing the feature extraction, all features are uniformly processed into feature vectors, and then the cascade strategy is adopted to fuse the features in a linear link manner.
[0026] Preferably, the necessary features in step 3 are extracted specifically including:
[0027] The multimodal high-dimensional fusion data is organized into a sample matrix X, and the data matrix X reconstructed by PCA is constructed to construct the distance formula between X and each element in the X matrix set (see the following formula).
[0028]
[0029] Among them, W is the standard orthogonal basis vector, Z is the projection of the feature data X in the low-dimensional coordinate system, and the minimum value of the distance formula is the data covariance Calculate the number of feature dimensions to achieve data dimensionality reduction.
[0030] Preferably, the risk rule in step 4 is to use the Delphi method and network analysis method to quantitatively analyze the privacy leakage risk of network traffic data itself and the impact on other indicators, specifically including: judging whether characteristic parameters such as SDN network link data, service delay data, source and target IP and throughput exceed the set threshold;
[0031] If it exceeds a certain threshold, it is considered abnormal traffic;
[0032] Otherwise, it is considered as normal traffic.
[0033] Preferably, the detection method based on the mutation model in step 4 is specifically as follows: extracting necessary features from the data in step 2 to obtain key feature data X={X 1 , X 2 , ..., X n}, Secondly, a cusp mutation model is constructed based on the maximum likelihood method (MLE) using the extracted important variables. The equilibrium equation of the cusp mutation model is as follows:
[0034]
[0035] Among them, ∝, β are n-dimensional input variables {X 1 , X 2 , ..., X n}, z is the linear transformation parameter of the output variable Y, θ = {ω 0 ,ω 1 ,a 0 ,...,a n ,b 0 ,...,b n} is estimated by the MLE method. Given N observation samples, the log-likelihood function of the parameter θ is as follows:
[0036]
[0037] Among them, f(.) is a stochastic differential equation, which describes the distribution of z of the system under the condition that α and β are fixed in the form of probability density function, expressed as:
[0038]
[0039] in, is the normalization constant.
[0040] Preferably, the data risk level assessment in step 5 is specifically to comprehensively consider the probability of occurrence of risk indicators and the scope of losses, obtain the opinions of experts through the Delphi method, sort, summarize, and count, and then anonymously feedback to each expert, solicit opinions again, re-collect, and feedback again, obtain the consistency probability P and loss degree L of system risk occurrence, calculate the risk degree, and obtain the risk matrix. The risk degree calculation formula is as follows:
[0041] R=P×L
[0042] Then, the risk impact is considered through network analysis method, and a hierarchical network model is built. The specific process is as follows:
[0043] S1. Compare the importance of other risk factors on the probability of occurrence of this risk factor, obtain n comparison matrices, calculate their eigenvectors respectively, and establish the supermatrix W, as shown in the following formula
[0044]
[0045] S2. According to the influence of risk indicators on the probability of occurrence of other risk indicators, we make a judgment and comparison, obtain n judgment matrices, calculate the eigenvectors, and establish the weight matrix a:
[0046]
[0047] S3. Based on the results of S1 and S2, establish a weighted super matrix
[0048]
[0049] S4. Use the power method to Solve the relative ranking vector to obtain the weight of each risk factor indicator under the probability criterion;
[0050] S5. The privacy leakage level assessment results are divided according to the product of risk degree and indicator weight, and a comprehensive assessment of the privacy risk of multi-source network traffic data is achieved. The results are divided into 5 levels, and the higher the level, the higher the risk of privacy leakage.
[0051] Preferably, the risk handling method in step 5 specifically includes providing corresponding solutions according to the risk level assessment results: Level 1, allowing access to some functions; Level 2, allowing access to some information; Level 3, only allowing viewing of provided content; Level 4, denying this access; Level 5, adding to the blacklist and permanently prohibiting access.
[0052] Compared with the prior art, the present invention has the following beneficial effects:
[0053] The present invention introduces the concept of finite state machine to model the network traffic detection system to ensure system integrity; collects multi-source network data, extracts and fuses data features, and realizes comprehensive monitoring of risks in the network; and designs rule matching and detection models to achieve the purpose of multi-layer risk detection, greatly improving the accuracy and comprehensiveness of network risk detection; finally, classifies risks into levels and provides corresponding solutions to maximize network utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of system state transition according to an embodiment of the present invention;
[0055] Figure 2 It is a schematic diagram of a data acquisition module of the present invention;
[0056] Figure 3 It is a schematic diagram of a data processing module of the present invention;
[0057] Figure 4 This is a schematic diagram of a data risk prediction module in the present invention;
[0058] Figure 5 This is a schematic diagram of a data risk feedback module in the present invention;
[0059] Figure 6 The system flow chart of an embodiment of the present invention is shown in FIG. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] A network traffic monitoring method based on a mutation model finite state comprises the following steps:
[0062] Step 1: Analyze the system, use finite state machine to analyze the system state transition and the events that the system needs to respond to, and design the state transition process;
[0063] like Figure 1 The schematic diagram of system state transition of the system embodiment of the present invention is shown, specifically, wherein: the state transition process specifically includes state definition, event definition, action definition and state transition process design.
[0064] Status definition:
[0065] (1) Init: framework initialization state;
[0066] (2) Dc: data collection state, using different data collection methods for multi-source data;
[0067] (3) Dp: Data processing state, which performs operations such as blank data deletion, important feature extraction, multi-source feature fusion, and multi-source fusion feature re-extraction on the collected multi-source data;
[0068] (4) Rf: Risk prediction state, which performs risk prediction on multi-source fusion data, including customized rule matching and risk prediction based on mutation model;
[0069] (5) Rfb: Risk feedback state, based on the results of the two-layer risk prediction module, gives the risk level of multi-source fusion data and proposes solutions to choose from;
[0070] (6) End: End state. The user performs operations based on the risk feedback results, indicating that the system completes a network traffic detection task.
[0071] Event definition:
[0072] E1: Open the detection system interface;
[0073] E2: Data collection completed;
[0074] E3: Data processing completed;
[0075] E4: Risk prediction completed;
[0076] E5: Risk feedback completed.
[0077] Action definition:
[0078] A1: Turn on the data acquisition module;
[0079] A2: Start the data processing module;
[0080] A3: Enable the risk prediction module;
[0081] A4: Enable the risk feedback module;
[0082] A5: Output the result.
[0083] State transition process design:
[0084] (1) Under event E1, the state changes from the initial state to the data collection state, and action A1 is executed;
[0085] (2) Under event E2, the state changes from data collection state to data processing state, and action A2 is executed;
[0086] (3) Under event E3, the state changes from data processing state to risk prediction state, and action A3 is executed;
[0087] (4) Under event E4, the state changes from risk prediction state to risk feedback state, and action A4 is executed;
[0088] (5) Under event E5, the state changes from the risk feedback state to the termination state, and action A5 is executed.
[0089] Step 2: Network traffic data collection, by sending requests (polling) to network devices to obtain specific information about the device's operating status and understanding the performance of the machine through statistical data. Different data collection methods are used for multiple data sources such as flow data, data packets, Wi-Fi data, and device data.
[0090] like Figure 2 The schematic diagram of the data acquisition module of the system embodiment of the present invention is shown as follows: In the present invention, the network data comes from various sources. In order to comprehensively detect network traffic anomalies, the data acquisition module integrates a variety of data acquisition methods. Specifically as follows: Simple Network Management Protocol, by sending requests (polling) to network devices to obtain specific information about the operation status of the equipment and to grasp the performance through statistical data of the machine; flow data, using a timestamp-based window acquisition method to collect network traffic at a fixed frequency; data packets, deploying device-based or virtualized probes at key nodes of the intranet, used as distributed data packet capture tools, to collect detailed information about the data passing through; system logs, integrating crawler algorithms to capture data information of network devices, which is beneficial to daily system maintenance and risk monitoring.
[0091] Step 3: Data processing,
[0092] Step 3 1: First, Figure 3The data processing module schematic diagram of the system embodiment of the present invention is shown as follows: the collected data is preprocessed. For data preprocessing, the collected multi-source data set may have blank, missing and other data rows. For this reason, a data preprocessing method is designed, which includes preliminary screening to remove blank and missing data. The data preprocessing specifically includes: a. Preliminary screening of the collected data to remove blank and missing data; b. If the data row is blank, delete it directly; if missing, fill it with 0 directly.
[0093] Step 3 2: Next, a feature weight-based feature extraction method is used to remove unnecessary features, and important feature extraction is achieved by combining word embedding technology with the self-attention mechanism. On the one hand, the word embedding technology uses Chinese stroke information as a feature to capture the semantic and structural information of Chinese words, obtain distributed vector words, and calculate them with negative sampling to obtain latent semantic information. On the other hand, the self-attention mechanism is used to incorporate the weighted and summed vocabulary vector information into the reproduced sentence, capture long-distance dependencies, and obtain the contextual semantic information of the vocabulary.
[0094] Step 3: Then, the features are quantified and standardized, and the cascade method is used to fuse the features of multi-source data. After each feature extraction is completed, all features are uniformly processed into feature vectors, and the cascade strategy is used to fuse the features in a linear link manner.
[0095] Step 34: Finally, extract features from the fused data, remove redundant data, and obtain data in a unified data format.
[0096] The principal component analysis method was further used for feature optimization.
[0097] The multimodal high-dimensional fusion data is organized into a sample matrix X, and the data matrix X reconstructed by PCA is constructed to construct the distance formula between X and each element in the X matrix set (see the following formula).
[0098]
[0099] Among them, W is the standard orthogonal basis vector, Z is the projection of the feature data X in the low-dimensional coordinate system, and the minimum value of the distance formula is the data covariance Calculate the number of feature dimensions to achieve data dimensionality reduction.
[0100] The PCA constraint function is used to calculate the principal component after dimensionality reduction. While ensuring data availability, it reduces the complexity of subsequent data storage and data mining, improves the accuracy of the detection model, reduces the waste of computing resources, and provides data support for subsequent data mining.
[0101] Step 4: Data risk detection.
[0102] Step 4 1: Match the multi-source fusion data with the preset risk rules for preliminary screening;
[0103] like Figure 4 The schematic diagram of the data risk prediction module of the system embodiment of the present invention is shown as follows: In order to detect network traffic data more comprehensively and accurately, a two-layer detection model is designed. It is planned to use the Delphi method and network analysis method to quantitatively analyze the privacy leakage risk of network traffic data itself and the impact on other indicators. Among them, the first layer is the preset risk rules, as shown below: determine whether the characteristic parameters such as SDN network link data, service delay data, source and target IP and throughput exceed the set threshold; if it exceeds a specific threshold, it is judged as abnormal traffic; otherwise, it is judged as normal traffic.
[0104] Step 4 2: Perform secondary detection using a feature detection method based on a mutation model to obtain secondary results;
[0105] First, through the above steps, necessary feature extraction is completed for the collected data, and redundant data is removed at the same time. After obtaining the data in a unified data format, the key feature data X = {X 1 , X 2 , ..., X n}, Secondly, the cusp mutation model is constructed based on the maximum likelihood method (MLE) using the extracted important variables. The equilibrium equation of the cusp mutation model is as follows:
[0106]
[0107] Among them, ∝, β are n-dimensional input variables {X 1 , X 2 , ..., X n}, z is the linear transformation parameter of the output variable Y, θ = {ω 0 ,ω 1 ,a 0 ,…,a n ,b 0 ,…,b n} is estimated by the MLE method.
[0108] Given N observation samples, the log-likelihood function of the parameter θ is as follows:
[0109]
[0110] Among them, f(.) is a stochastic differential equation, which describes the distribution of z of the system under the condition that α and β are fixed in the form of probability density function, expressed as a specific equation, as shown below:
[0111]
[0112] in, is the normalization constant.
[0113] Step 5: Risk Feedback Module:
[0114] Based on the results of step 4.1 and step 4.2, give the data risk level and corresponding solutions.
[0115] like Figure 5 The schematic diagram of the data risk feedback module of the system embodiment of the present invention is shown. First, after obtaining the results, the data risk level is evaluated, the probability of occurrence of risk indicators and the scope of loss are comprehensively considered, the opinions of experts are obtained through the Delphi method, sorted, summarized, and counted, and then anonymously fed back to each expert, and opinions are again solicited, concentrated, and fed back again to obtain the consistency probability P and loss degree L of system risk occurrence, calculate the risk degree, and obtain the risk matrix. The risk degree calculation formula is as follows:
[0116] R=P×L
[0117] Then, the risk impact degree is considered through network analysis method, and a hierarchical network model is built.
[0118] The specific process is as follows:
[0119] S1: Compare the importance of other risk factors on the probability of occurrence of this risk factor, obtain n comparison matrices, calculate their eigenvectors respectively, and establish the supermatrix W, as shown in the following formula:
[0120]
[0121] S2: According to the influence of the risk indicator on the probability of occurrence of other risk indicators, we can make a judgment and comparison, obtain n judgment matrices, calculate the eigenvectors, and establish the weight matrix a. The matrix a is shown in the following formula:
[0122]
[0123] S3: Based on the results of S1 and S2, establish a weighted super matrix matrix See the following formula,
[0124]
[0125] S4. Use the power method to Solve the relative ranking vector to obtain the weight of each risk factor indicator under the probability criterion;
[0126] S5. The privacy leakage level assessment results are divided according to the product of risk degree and indicator weight, and a comprehensive assessment of the privacy risk of multi-source network traffic data is achieved. The results are divided into 5 levels, and the higher the level, the higher the risk of privacy leakage.
[0127] Corresponding solutions are given based on the risk level assessment results: Level 1, allowing access to some functions; Level 2, allowing access to some information; Level 3, only allowing viewing of provided content; Level 4, denying this access; Level 5, adding to the blacklist and permanently prohibiting access.
[0128] The present invention provides Figure 6 The figure shown in is a system structure block diagram of an embodiment of the present invention. Figure 6 The system embodiment of the present invention shown includes the following contents: a finite state machine design, which models the network traffic detection system by introducing a finite state machine to describe the state sequence experienced in the system and how the system responds to various events from the outside world; a data acquisition module, which matches different acquisition methods for multi-source network traffic data; a data processing module, which is divided into four processes: data preprocessing, feature extraction, feature fusion and feature re-extraction, to achieve the fusion of important features of multi-source network data; a risk prediction module, which matches the multi-source fused network data with preset risk rules for preliminary screening; then, the mutation model is used to further judge the data risk; a risk feedback module, which gives a risk assessment level and a corresponding solution based on the results of the risk prediction module.
[0129] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A network traffic monitoring method based on mutation model finite state, characterized in that: The specific steps include: Step 1: Analyze the system, use finite state machine to analyze the system state transition and the events that the system needs to respond to, and design the state transition process; Step 2: Get information about the device's operating status by sending requests to the network device and understand the performance through statistical data of the machine. Different data collection methods are used for multiple data sources such as flow data, data packets, Wi-Fi data, and device data. Step 3: pre-process the data collected in step 2, and then extract features, quantify features, standardize, fuse multi-source data features, and re-extract features. Finally, remove redundant data to obtain data in a unified data format. Perform a preliminary screening of the collected data to remove blank and missing data; if the data row is blank, delete it directly; if it is missing, fill it with 0 directly; Using word embedding technology to take Chinese stroke information as features, we can capture the semantic and structural information of Chinese words, obtain distributed vector words, and perform calculations using negative sampling to obtain latent semantic information. Using the self-attention mechanism, the weighted sum of vocabulary vector information is incorporated into the reproduced sentence to capture long-distance dependencies, obtain the contextual semantic information of the vocabulary, and quantify and standardize the features. The cascade method is used to fuse the features of multi-source data. After each source completes feature extraction, all features are uniformly processed into feature vectors, so that the cascade method is used to fuse the features in a linear link manner, and the fused data is re-extracted to remove redundant data and obtain data in a unified data format; Step 4: Match the multi-source fusion data with the preset risk rules for preliminary screening, and then use the feature detection method of the mutation model for secondary detection to obtain secondary results; Step 5: Combine the results of step 4 to evaluate the data risk level and corresponding solutions; The detection method based on the mutation model in step 4 is specifically as follows: by extracting features from the data in step 2, key feature data X={X1, X2, ..., X n }, Secondly, a mutation model is constructed using the extracted important variables based on the maximum likelihood method, and the equilibrium equation of the mutation model is as follows: where ∝, β are the n-dimensional input variables {X1, X2, ..., X n }, z is the linear transformation of the output variable Y, and the parameters θ={ω0,ω1,a0,…,a n ,b0,...,b n }Estimated by the MLE method, given N observation samples, the log-likelihood function of the parameter θ is as follows: Among them, f(.) is a stochastic differential equation, which describes the distribution of z of the system under the condition that α and β are fixed in the form of probability density function, expressed as: in, is the normalization constant.
2. According to claim 1, a network traffic monitoring method based on mutation model finite state is characterized by: The state transition process in step 1 specifically includes state definition, event definition, action definition and state transition process design.
3. The network traffic monitoring method based on mutation model finite state according to claim 1 is characterized by: In the step 2: Stream data,uses a timestamp-based window collection method to collect network traffic at a fixed frequency; Packet,deploy device-based or virtualized probes at key nodes in the intranet,used as distributed packet capture tools to collect detailed information about,the data passing through; Wifi data and device data are obtained through system logs, and the data information of network devices is captured using an integrated crawler algorithm.
4. The network traffic monitoring method based on mutation model finite state according to claim 1 is characterized by: The risk rules in step 4 specifically include: determining whether the SDN network link data, service delay data, source and target IP and throughput characteristic parameters exceed the set threshold; If it exceeds the set threshold, it is judged as abnormal traffic; Otherwise, it is considered as normal traffic.
5. The network traffic monitoring method based on mutation model finite state according to claim 1 is characterized by: The data risk level assessment in step 5 is specifically to comprehensively consider the probability of occurrence of risk indicators and the scope of losses, obtain the opinions of experts through the Delphi method, sort out, summarize, and count, and then anonymously feedback to each expert, solicit opinions again, re-collect, and feedback again, obtain the consistency probability P and loss degree L of system risk occurrence, calculate the risk degree, and obtain the risk matrix. The risk degree calculation formula is as follows: R=P×L Then, the risk impact is considered through network analysis method, and a hierarchical network model is built. The specific process is as follows: S1. Compare the importance of other risk factors on the probability of occurrence of this risk factor, obtain n comparison matrices, and calculate their eigenvectors respectively. Establish the super matrix W, see the following formula S2. According to the influence of risk indicators on the probability of occurrence of other risk indicators, we make a judgment and comparison, obtain n judgment matrices, calculate the eigenvectors, and establish the weight matrix a: S3, according to the results of step S1 and step S2, establish a weighted super matrix S4. Use the power method to Solve the relative ranking vector to obtain the weight of each risk factor indicator under the probability criterion; S5. The privacy leakage level assessment results are divided according to the product of risk degree and indicator weight, and a comprehensive assessment of the privacy risk of multi-source network traffic data is achieved. The results are divided into 5 levels, and the higher the level, the higher the risk of privacy leakage.
6. The network traffic monitoring method based on mutation model finite state according to claim 1 is characterized by: The risk handling method in step 5 specifically includes providing corresponding solutions according to the risk level assessment results: Level 1, allowing access to some functions; Level 2, allowing access to some information; Level 3, only allows viewing of provided content; Level 4: deny this access; Level 5: add to the blacklist and permanently ban access.
7. A network traffic monitoring system based on the network traffic monitoring method according to any one of claims 1 to 6, characterized in that: Finite state machine design, by introducing finite state machines, the network traffic detection system is modeled to describe the state sequence experienced in the system and how the system responds to various events from the outside world; Also includes: Data collection module, matching different collection methods for multi-source network traffic data; The data processing module is divided into four processes: data preprocessing, feature extraction, feature fusion, and feature re-extraction, to achieve multi-source network data feature fusion; The risk prediction module matches the fused multi-source network data with the preset risk rules for preliminary screening; then, the mutation model is used to further determine the data risk; The risk feedback module gives the risk assessment level and corresponding solution based on the results of the risk prediction module.
