Network information monitoring method and system based on machine learning

Through network information monitoring methods based on machine learning, dynamically matching kernel functions and adjusting support vector machine configurations, we can identify and handle DDoS attacks and traffic surges, solving the problem of slow response of existing technologies in dynamic network environments and improving network security. Real-time and accurate monitoring.

CN118523972BActive Publication Date: 2024-09-17上海笑聘网络科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies respond slowly in a dynamically changing network environment and cannot effectively protect against sudden network security events, such as DDoS attacks or abnormal surges in traffic. Moreover, processing delays or errors may occur in complex network environments, making it difficult to identify new threats and reduce the risk of improve the effectiveness of network security protection.

Method used

Adopting a network information monitoring method based on machine learning, by analyzing network traffic data in real time, dynamically matching kernel functions (such as linear kernel or Gaussian kernel), adjusting support vector machine configuration, performing real-time classification and processing, and identifying DDoS attacks or traffic surges. And automatically adjust decision boundaries through time series analysis, monitor and filter abnormal behaviors.

Benefits of technology

It improves the accuracy and adaptability of network traffic data analysis, enhances the sensitivity and response speed to changes in the network environment, significantly improves the information security level and the overall effectiveness of network monitoring, and ensures efficient and accurate analysis when the amount of data surges. Process information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118523972B
    Figure CN118523972B
Patent Text Reader

Abstract

The present invention relates to the field of information monitoring technology, specifically to a network information monitoring method and system based on machine learning, comprising the following steps: through machine learning, real-time network traffic data including traffic size, speed, and data packet type distribution are collected, real-time analysis is performed, and kernel functions are dynamically matched according to the current network status. In the present invention, by dynamically matching kernel functions and adjusting support vector machine configuration in real time, better accuracy and adaptability are brought to network traffic data analysis, dynamic kernel parameter generation and flexible configuration of kernel functions allow the system to optimize its performance under different network conditions, and when the network complexity increases, it can automatically switch to the Gaussian kernel to ensure that information can still be processed efficiently and accurately when the data volume surges, thereby improving the real-time and accuracy of monitoring, optimizing the identification process of network behavior by using time series analysis and automatically adjusted decision boundaries, and enhancing the sensitivity and response speed to changes in the network environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information monitoring, and in particular to a network information monitoring method and system based on machine learning. Background Art

[0002] The field of information monitoring technology covers the technology of tracking, collecting, analyzing and processing data using various tools and methods. This field focuses on how to effectively manage and monitor the information flowing through the network to ensure the security, integrity and privacy of the data. Information monitoring technology is widely used in network security, enterprise data protection, public safety and personal privacy protection, ranging from simple data capture to complex real-time analysis and threat detection technology. This technology field continues to develop, including advanced technologies such as machine learning, artificial intelligence and big data analysis to meet the increasingly complex information security challenges.

[0003] Among them, network information monitoring methods refer to technologies and methods specifically used to monitor and analyze information transmitted over the network. The purpose of these methods is to ensure the security of information, prevent data leakage and intrusion attacks, and ensure the healthy operation of the network environment. Network information monitoring methods can be applied in different environments, such as corporate internal networks, cloud computing platforms, and personal devices. Its main uses include but are not limited to network security protection, performance monitoring, and compliance supervision. By implementing these monitoring technologies, organizations can detect and respond to security threats in a timely manner, thereby protecting sensitive data from unauthorized access.

[0004] Existing technologies often rely on static analysis methods and fixed monitoring rules, which are often not flexible enough in a dynamically changing network environment. This fixed monitoring mechanism is slow to respond when dealing with non-preset network behaviors, especially when dealing with sudden network security incidents, such as DDoS attacks or abnormal traffic surges, and often fails to provide timely and effective protection. In addition, when the network environment is complex or the amount of data is large, traditional technologies may experience processing delays or errors due to limitations in algorithms and processing capabilities, which not only affects the operating efficiency of the network, but may also miss the identification and response to new threats, reducing the effectiveness of network security protection. The lack of adaptive and dynamic update functions causes the monitoring system to often perform poorly in the face of unknown or new threats, making it difficult to protect data security and privacy. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings of the prior art and propose a network information monitoring method and system based on machine learning.

[0006] In order to achieve the above object, the present invention adopts the following technical solution: a network information monitoring method based on machine learning, comprising the following steps:

[0007] S1: Through machine learning, real-time network traffic data including traffic size, speed, and data packet type distribution are collected and analyzed in real time. The kernel function is dynamically matched according to the current network status, including using a linear kernel when the traffic is stable and switching to a Gaussian kernel when the complexity increases, thereby generating dynamic kernel parameters, and adjusting the configuration of the support vector machine according to the dynamic kernel parameters to form a kernel function configuration;

[0008] S2: Classify and process real-time network traffic based on the kernel function configuration, identify DDoS attacks or traffic surges through parameter tuning and kernel function fine-tuning, and thus obtain optimized classification results;

[0009] S3: Using the optimized classification results, perform time series analysis on network traffic, compare current traffic characteristics with historical patterns, identify abnormal changes in time dependency, obtain time series analysis results, and automatically adjust the SVDD decision boundary based on the time series analysis results to match the current normal characteristics of network behavior and create a dynamic decision boundary;

[0010] S4: Apply the dynamic decision boundary to monitor the current network traffic, perform data filtering, check for data points that deviate from the normal pattern, verify and filter abnormal behaviors, and obtain abnormal identification results.

[0011] As a further solution of the present invention, the step of obtaining the dynamic kernel parameters is specifically as follows:

[0012] S111: Collect real-time network traffic data, including traffic size, speed, and number of multi-type data packets, using the formula:

[0013] ;

[0014] Calculate the contribution of multiple types of data packets to the total traffic and obtain traffic contribution statistics;

[0015] in, Representative The number of packets, Representative The traffic size of the data packet, Representative The transmission speed of the data packets, Representative The weight coefficient of the data packet;

[0016] S112: Analyze the traffic contribution statistics and calculate the standard deviation of the traffic contribution using the formula:

[0017] ;

[0018] Determine the flow volatility based on the standard deviation and obtain a flow volatility assessment;

[0019] in, represents the traffic contribution of the ith type of data packet, Represents the average value of traffic contribution, Represents the number of data packet types, Represents the weight coefficient of the i-th data packet;

[0020] S113: According to the flow volatility assessment, a kernel function type is selected and a decision formula is adopted:

[0021] ;

[0022] Get dynamic kernel parameters;

[0023] in, Represents the standard deviation of traffic volatility, the condition in the decision formula Indicates that the flow is stable, use the linear kernel, otherwise use the Gaussian kernel.

[0024] As a further solution of the present invention, the step of obtaining the kernel function configuration is specifically as follows:

[0025] S121: Based on the result of dynamic kernel parameter selection, the initial parameters required for kernel function configuration are calculated using the formula:

[0026] ;

[0027] Generate initial kernel function configuration;

[0028] in, Representative The weight coefficient of the kernel function, Parameter representing the kernel function type;

[0029] S122: Adjust the initial kernel function configuration to match the dynamic changes of the current network status, using the formula:

[0030] ;

[0031] After adjustment, the optimized kernel function configuration is obtained;

[0032] in, represents the parameter value of the k-th kernel function configuration, represents the average value of the initial kernel function configuration, Representative The weight coefficient of the kernel function, Represents the number of types of kernel functions;

[0033] S123: Apply the optimized kernel function configuration to the support vector machine to ensure that the configuration matches the current network traffic conditions, using the decision formula:

[0034] ;

[0035] Generate kernel function configuration;

[0036] in, Represents the adjustment coefficient of the kernel function configuration after optimization, the condition in the decision formula If the optimized configuration is relatively balanced, a linear kernel configuration is applied; otherwise, a Gaussian kernel configuration is applied.

[0037] As a further solution of the present invention, the step of obtaining the optimized classification result is specifically as follows:

[0038] S211: construct a feature vector and calculate the logarithmic transformation of the ratio of the frequency to the flow of each data packet to reduce the skewed distribution of the data. The formula is:

[0039] ;

[0040] Generate feature vector dataset;

[0041] in, Representative Packet frequency, Representative Packet traffic, Represents the total flow;

[0042] S212: Use the feature vector data set to perform model training, apply a polynomial kernel function to process nonlinear feature relationships, and use the formula:

[0043] ;

[0044] Generate preprocessed model parameters;

[0045] in, represents the elements of the eigenvector, represents the weight coefficient, represents the deviation term, represents the degree of the polynomial;

[0046] S213: Perform real-time traffic classification according to the preprocessed model parameters, using a discriminant model and a discriminant formula:

[0047] ;

[0048] Complete the classification of DDoS attacks or traffic surges and obtain optimized classification results;

[0049] in, represents the input features, represents the weight, Represents bias.

[0050] As a further solution of the present invention, the step of obtaining the dynamic decision boundary is specifically as follows:

[0051] S311: Collect time series data, organize network traffic data, mark the timestamp of each data point, and use the formula:

[0052] ;

[0053] Get a time-stamped traffic data set;

[0054] in, Represents a timestamp, Represents the flow value;

[0055] S312: Based on the time-stamped traffic data set, a time series analysis method is used to compare the current traffic characteristics with the historical patterns, and a sliding window average formula is used:

[0056] ;

[0057] Calculate the past The average flow of data points captures trends and periodic changes to obtain time series analysis results;

[0058] in, represents the size of the sliding window, Represents the flow value;

[0059] S313: According to the time series analysis result, the SVDD decision boundary is automatically adjusted using a dynamic adjustment formula:

[0060] ;

[0061] Match the current normal characteristics of network behavior to generate dynamic decision boundaries;

[0062] in, Represents the current traffic characteristic value, represents the weight, Represents the historical average. represents the decision threshold.

[0063] As a further solution of the present invention, the step of obtaining the abnormal identification result is specifically:

[0064] S411: Use dynamic decision boundaries to monitor current network traffic using the formula:

[0065] ;

[0066] Calculate monitoring results;

[0067] in, Represents the current traffic characteristic value, represents the weight, Represents the historical average, represents the decision threshold;

[0068] S412: In the monitoring results, data filtering is performed to check for data points that deviate from the normal pattern. If , then the data point is considered abnormal, a set of abnormal data points is generated, and the next step is entered; otherwise, the data point is normal;

[0069] S413: Verify according to the data in the abnormal data point set, iteratively verify or filter the abnormal behavior, and obtain an abnormal identification result.

[0070] A network information monitoring system based on machine learning, wherein the network information monitoring system based on machine learning is used to execute the network information monitoring method based on machine learning, and the system comprises:

[0071] The real-time data collection module uses machine learning methods to collect network traffic data in real time, including traffic size, speed, and packet type distribution. According to the current network conditions, it adopts a dynamic kernel function matching strategy and automatically selects a linear kernel or a Gaussian kernel to generate dynamic kernel parameters based on the stability of traffic or the increase in complexity.

[0072] The kernel function configuration module adjusts the configuration of the support vector machine according to the dynamic kernel parameters to form a kernel function configuration for classification and processing of real-time network traffic;

[0073] The real-time traffic classification module classifies and processes the real-time network traffic based on the kernel function configuration, identifies DDoS attacks or traffic surges through parameter tuning and kernel function fine-tuning, and obtains optimized classification results;

[0074] The time series analysis module uses the optimization classification results to perform time series analysis of network traffic, compare current traffic characteristics with historical patterns, identify abnormal changes in time dependence, and generate time series analysis results;

[0075] The dynamic decision boundary monitoring module automatically adjusts the SVDD decision boundary according to the time series analysis results, creates a dynamic decision boundary, and uses the boundary to monitor network traffic, filter data points that deviate from normal patterns, verify and filter abnormal behaviors, and obtain abnormal identification results.

[0076] Compared with the prior art, the advantages and positive effects of the present invention are:

[0077] In the present invention, by dynamically matching kernel functions and adjusting support vector machine configurations in real time, better accuracy and adaptability are brought to network traffic data analysis. This dynamic kernel parameter generation and flexible configuration of kernel functions allow the system to optimize its performance under different network conditions, especially when the network complexity increases, it can automatically switch to the Gaussian kernel to enhance processing capabilities. The method ensures that the system can still process information efficiently and accurately when the amount of data surges, improving the real-time and accuracy of monitoring. The use of time series analysis and automatically adjusted decision boundaries further optimizes the identification process of network behavior, enhances the sensitivity and response speed to changes in the network environment, and significantly improves the information security level and the overall effectiveness of network monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] Figure 1 It is a schematic diagram of the workflow of the present invention;

[0079] Figure 2 A flowchart of the steps for obtaining dynamic kernel parameters of the present invention;

[0080] Figure 3 A flowchart of the steps for obtaining the kernel function configuration of the present invention;

[0081] Figure 4 A flow chart of the steps for obtaining the optimized classification results of the present invention;

[0082] Figure 5 A flowchart of the steps for obtaining the dynamic decision boundary of the present invention;

[0083] Figure 6 The figure is a flow chart of the steps for obtaining abnormal identification results of the present invention. DETAILED DESCRIPTION

[0084] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0085] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0086] Example 1: Please refer to Figure 1 The present invention provides a technical solution: a network information monitoring method based on machine learning, comprising the following steps:

[0087] S1: Through machine learning, real-time network traffic data including traffic size, speed, and packet type distribution are collected and analyzed in real time. The kernel function is dynamically matched according to the current network status, including using a linear kernel when the traffic is stable and switching to a Gaussian kernel when the complexity increases, thereby generating dynamic kernel parameters. The configuration of the support vector machine is adjusted according to the dynamic kernel parameters to form a kernel function configuration;

[0088] S2: Classify and process real-time network traffic based on kernel function configuration. By tuning parameters and fine-tuning kernel functions, DDoS attacks or traffic surges can be identified to obtain optimized classification results.

[0089] S3: Use the optimized classification results to perform time series analysis on network traffic, compare current traffic characteristics with historical patterns, identify abnormal changes in time dependence, obtain time series analysis results, and automatically adjust the SVDD decision boundary based on the time series analysis results to match the current normal characteristics of network behavior and create a dynamic decision boundary;

[0090] S4: Apply dynamic decision boundaries to monitor current network traffic, perform data filtering, check for data points that deviate from normal patterns, verify and filter abnormal behaviors, and obtain anomaly identification results.

[0091] The kernel function configuration specifically includes kernel type selection, dynamic parameter adjustment, and support vector machine configuration. The optimized classification results specifically include improved classification accuracy, kernel function optimization, and attack type identification. The time series analysis results specifically include abnormal pattern recognition, historical comparative analysis, and dependency feature recognition. The anomaly identification results specifically include abnormal behavior detection, data filtering efficiency, and monitoring effect optimization.

[0092] See also Figure 2 , the specific steps for obtaining dynamic kernel parameters are:

[0093] S111: Collect real-time network traffic data, including traffic size, speed, and number of multi-type data packets, using the formula:

[0094] ;

[0095] Calculate the contribution of multiple types of data packets to the total traffic and obtain traffic contribution statistics;

[0096] in, Representative The number of packets, Representative The traffic size of the data packet, Representative The transmission speed of the data packets, Representative The weight coefficient of the data packet;

[0097] S112: Analyze the traffic contribution statistics and calculate the standard deviation of the traffic contribution using the formula:

[0098] ;

[0099] Determine the flow volatility based on the standard deviation and obtain a flow volatility assessment;

[0100] in, represents the traffic contribution of the ith type of data packet, Represents the average value of traffic contribution, Represents the number of data packet types, Represents the weight coefficient of the i-th data packet;

[0101] S113: According to the traffic volatility assessment, the kernel function type is selected and the decision formula is adopted:

[0102] ;

[0103] Get dynamic kernel parameters;

[0104] in, Represents the standard deviation of traffic volatility, the condition in the decision formula Indicates that the flow is stable, use the linear kernel, otherwise use the Gaussian kernel.

[0105] formula:

[0106] ;

[0107] in:

[0108] : The number of data packets of type i;

[0109] : The flow size of the ith data packet (unit: KB);

[0110] : The transmission speed of the ith data packet (unit: );

[0111] : The weight coefficient of the ith data packet, which affects the calculation of traffic contribution;

[0112] Example settings:

[0113] Assume that three types of data packets are transmitted in the network, and the specific parameters are as follows:

[0114] Type 1: indivual, ;

[0115] Type 2: indivual, ;

[0116] type indivual, ;

[0117] Calculation process:

[0118] ;

[0119] Result interpretation:

[0120] Calculated In this target configuration, the total network traffic contribution is , which is a measure of the network's overall data transfer efficiency weighted by volume and speed.

[0121] formula:

[0122] ;

[0123] in:

[0124] : Traffic contribution of the ith packet, obtained from step 1;

[0125] : The average value of traffic contribution;

[0126] : Weight coefficient of the i-th data packet;

[0127] : Number of data packet types;

[0128] Example settings:

[0129] ;

[0130] Calculation process:

[0131] ;

[0132] ;

[0133] ;

[0134] ;

[0135] ;

[0136] Result interpretation:

[0137] Calculated standard deviation Represents the volatility of network traffic contribution. This value indicates that under the current network configuration, the fluctuation of traffic contribution is relatively small.

[0138] See also Figure 3 , the steps to obtain the kernel function configuration are as follows:

[0139] S121: Based on the result of dynamic kernel parameter selection, the initial parameters required for kernel function configuration are calculated using the formula:

[0140] ;

[0141] Generate initial kernel function configuration;

[0142] in, Representative The weight coefficient of the kernel function, Parameter representing the kernel function type;

[0143] S122: Adjust the initial kernel function configuration to match the dynamic changes of the current network status, using the formula:

[0144] ;

[0145] After adjustment, the optimized kernel function configuration is obtained;

[0146] in, represents the parameter value of the k-th kernel function configuration, represents the average value of the initial kernel function configuration, Representative The weight coefficient of the kernel function, Represents the number of types of kernel functions;

[0147] S123: Apply the optimized kernel function configuration to the support vector machine to ensure that the configuration matches the current network traffic conditions, using the decision formula:

[0148] ;

[0149] Generate kernel function configuration;

[0150] in, Represents the adjustment coefficient of the kernel function configuration after optimization, the condition in the decision formula If the optimized configuration is relatively balanced, a linear kernel configuration is applied; otherwise, a Gaussian kernel configuration is applied.

[0151] formula:

[0152] ;

[0153] in:

[0154] No. The weight coefficient of the kernel function.

[0155] : Parameters of kernel function type, corresponding to linear kernel or Gaussian kernel.

[0156] Assumptions:

[0157] Assume there are two kernel functions, linear kernel and Gaussian kernel.

[0158] Weight coefficient Set as and .

[0159] Kernel function parameters Corresponding to (linear kernel) and (Gaussian kernel).

[0160] Calculation process:

[0161] Calculate the sum of squares of weight coefficients: ;

[0162] Compute the sum of the weighted kernel parameters: ;

[0163] Calculate the initial kernel configuration: ;

[0164] Result analysis:

[0165] The value of the initial kernel configuration Represents the normalized sum of weighted kernel parameters, which is used for subsequent kernel function selection.

[0166] formula:

[0167] ;

[0168] in:

[0169] Parameter values ​​of the kth kernel function configuration.

[0170] The average of the initial kernel configurations.

[0171] Assume data:

[0172] Continue using the above Value as .

[0173] Assume that the adjusted kernel function parameter value is and .

[0174] Calculation process:

[0175] Compute the weighted sum of squares of the adjusted differences:

[0176] ;

[0177] Calculate the adjustment factor: ;

[0178] Result analysis:

[0179] Adjustment factor Used to evaluate the stability and diversity of kernel function configurations.

[0180] formula:

[0181] ;

[0182] in:

[0183] : The adjustment coefficient of the kernel function configuration after optimization.

[0184] Calculation process:

[0185] according to The value of determines the application type of the kernel function.

[0186] because is greater than 0.5, so the Gaussian kernel configuration is chosen to be applied.

[0187] Result analysis:

[0188] because Higher values ​​of indicate greater variability or instability in the configuration, so we chose to apply a more complex Gaussian kernel to account for the estimated high volatility.

[0189] See also Figure 4 , the specific steps for obtaining the optimized classification results are:

[0190] S211: construct a feature vector and calculate the logarithmic transformation of the ratio of the frequency to the flow of each data packet to reduce the skewed distribution of the data. The formula is:

[0191] ;

[0192] Generate feature vector dataset;

[0193] in, Representative Packet frequency, Representative Packet traffic, Represents the total flow;

[0194] S212: Use the feature vector data set for model training and apply the polynomial kernel function to handle nonlinear feature relationships using the formula:

[0195] ;

[0196] Generate preprocessed model parameters;

[0197] in, represents the elements of the eigenvector, represents the weight coefficient, represents the deviation term, represents the degree of the polynomial;

[0198] S213: Perform real-time traffic classification based on the preprocessed model parameters, using a discriminant model and a discriminant formula:

[0199] ;

[0200] Complete the classification of DDoS attacks or traffic surges and obtain optimized classification results;

[0201] in, represents the input features, represents the weight, Represents bias.

[0202] formula:

[0203] ;

[0204] in:

[0205] : The frequency of the ith data packet;

[0206] : The flow of the i-th data packet;

[0207] Total flow;

[0208] Assumptions and derivations:

[0209] Assume there are three types of packets, with frequencies: ;

[0210] The corresponding flow rates are ;

[0211] Total flow ;

[0212] Calculation process:

[0213] Calculate the traffic ratio of each type of data packet:

[0214] ;

[0215] ;

[0216] ;

[0217] Compute the log-transformed eigenvectors:

[0218] ;

[0219] ;

[0220] ;

[0221] Total eigenvector value ;

[0222] Result analysis:

[0223] The total eigenvector value of -1.03 represents the traffic distribution characteristics of the data packets and is used for further model training.

[0224] formula:

[0225] ;

[0226] in:

[0227] : elements in the feature vector;

[0228] : weight coefficient;

[0229] : deviation term;

[0230] Polynomial degree;

[0231] Assumptions and derivations:

[0232] Eigenvector ;

[0233] Weight coefficient ;

[0234] deviation ;

[0235] Polynomial degree ;

[0236] Calculation process:

[0237] Compute the polynomial kernel:

[0238] ;

[0239] ;

[0240] ;

[0241] Total preprocessing model parameters ;

[0242] Result analysis:

[0243] The preprocessing model parameter 0.2659 represents the weighted sum of the input data after being processed by the polynomial kernel function and is used for subsequent classification.

[0244] formula:

[0245] ;

[0246] in:

[0247] : Input features;

[0248] : weight;

[0249] Bias;

[0250] Assumptions and derivations:

[0251] Weight ;

[0252] Bias ;

[0253] Eigenvector ;

[0254] Calculation process:

[0255] Calculate the classification judgment:

[0256] ;

[0257] ;

[0258] determination (indicates non-attack traffic);

[0259] Result analysis:

[0260] The judgment result -1 indicates that the current traffic is classified as non-attack, indicating that the traffic is normal and there is no DDoS attack or sudden increase.

[0261] See also Figure 5, the specific steps for obtaining the dynamic decision boundary are:

[0262] S311: Collect time series data, organize network traffic data, mark the timestamp of each data point, and use the formula:

[0263] ;

[0264] Get a time-stamped traffic data set;

[0265] in, Represents a timestamp, Represents the flow value;

[0266] S312: Based on the time-stamped traffic data set, use the time series analysis method to compare the current traffic characteristics with the historical pattern, using the sliding window average formula:

[0267] ;

[0268] Calculate the past The average flow of data points captures trends and periodic changes to obtain time series analysis results;

[0269] in, represents the size of the sliding window, Represents the flow value;

[0270] S313: According to the time series analysis results, the SVDD decision boundary is automatically adjusted using a dynamic adjustment formula:

[0271] ;

[0272] Match the current normal characteristics of network behavior to generate dynamic decision boundaries;

[0273] in, Represents the current traffic characteristic value, represents the weight, Represents the historical average. represents the decision threshold.

[0274] formula:

[0275] ;

[0276] in:

[0277] : Timestamp, indicating the position of network traffic data on the timeline.

[0278] : The traffic value corresponding to the time, indicating the size of the network traffic at a single point in time.

[0279] Derivation process:

[0280] Assume that there is data with the following timestamps and flow values:

[0281] ;

[0282] Substitute the data into the formula to calculate:

[0283] ;

[0284] The result 1000 represents the total flow size in this time series.

[0285] formula:

[0286] ;

[0287] in:

[0288] : The size of the sliding window used to calculate the average flow value.

[0289] : Traffic value, indicating the network traffic size at a certain point in time.

[0290] Derivation process:

[0291] Assume that there is the following flow value data:

[0292] ;

[0293] Assume the size of the sliding window is , then from the current time point Start, slide forward a point in time.

[0294] ;

[0295] The final result 250 represents the average flow value within the sliding window.

[0296] formula:

[0297] ;

[0298] in:

[0299] : The current traffic characteristic value, which indicates a characteristic indicator of network traffic.

[0300] : Weight, used to adjust the criticality of each feature.

[0301] : The historical average of the feature, used to compare with the current feature value.

[0302] : Decision threshold, used to determine whether the current traffic is abnormal.

[0303] Derivation process:

[0304] Assume that there is data of the following traffic characteristic values:

[0305] ;

[0306] Assume that the corresponding weight is .

[0307] Assuming the historical average is .

[0308] Assume that the decision threshold is .

[0309] Substitute into the formula to calculate:

[0310] ;

[0311] The result 1000 represents the sum of the differences between the traffic characteristic value and the historical average value, which is used to determine whether the traffic is abnormal.

[0312] See also Figure 6 , the specific steps for obtaining abnormal recognition results are:

[0313] S411: Use dynamic decision boundaries to monitor current network traffic using the formula:

[0314] ;

[0315] Calculate monitoring results;

[0316] in, Represents the current traffic characteristic value, represents the weight, Represents the historical average. represents the decision threshold;

[0317] S412: In the monitoring results, data filtering is performed to check for data points that deviate from the normal pattern. , then the data point is considered abnormal, a set of abnormal data points is generated, and the next step is entered; otherwise, the data point is normal;

[0318] S413: Verify according to the data in the abnormal data point set, iteratively verify or filter the abnormal behavior, and obtain an abnormal identification result.

[0319] The calculation formula of the dynamic decision boundary is:

[0320] ;

[0321] The calculation process is as follows:

[0322] For each flow characteristic , and calculate its difference with the historical average deviation.

[0323] Multiply the bias value by the corresponding weight .

[0324] Add up all weighted deviation values ​​to get the decision function The value of .

[0325] The calculated With the decision threshold set For comparison, if , it is judged as normal traffic, otherwise it is abnormal traffic.

[0326] Formula calculation example:

[0327] Assume there are three traffic characteristics , the corresponding historical average , weight , and the decision threshold set .

[0328] Here is a current traffic sample: .

[0329] Substitute into the formula to calculate:

[0330] ;

[0331] because , so the traffic sample is determined to be abnormal traffic.

[0332] A network information monitoring system based on machine learning, which is used to execute the above-mentioned network information monitoring method based on machine learning, comprises:

[0333] The real-time data collection module uses machine learning methods to collect network traffic data in real time, including traffic size, speed, and packet type distribution. According to the current network conditions, it adopts a dynamic kernel function matching strategy and automatically selects a linear kernel or a Gaussian kernel to generate dynamic kernel parameters based on the stability of traffic or the increase in complexity.

[0334] The kernel function configuration module adjusts the configuration of the support vector machine according to the dynamic kernel parameters to form a kernel function configuration for classification and processing of real-time network traffic;

[0335] The real-time traffic classification module classifies and processes real-time network traffic based on kernel function configuration. Through parameter tuning and kernel function fine-tuning, it identifies DDoS attacks or traffic surges and obtains optimized classification results.

[0336] The time series analysis module uses the optimization classification results to perform time series analysis of network traffic, compare current traffic characteristics with historical patterns, identify abnormal changes in time dependencies, and generate time series analysis results;

[0337] The dynamic decision boundary monitoring module automatically adjusts the SVDD decision boundary according to the time series analysis results and creates a dynamic decision boundary, which is used to monitor network traffic, filter data points that deviate from the normal pattern, verify and filter abnormal behaviors, and obtain abnormal identification results.

[0338] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A network information monitoring method based on machine learning, characterized in that: The following steps are involved: Through machine learning, real-time network traffic data including traffic size, speed, and data packet type distribution are collected and analyzed in real time. The kernel function is dynamically matched according to the current network status, including using a linear kernel when the traffic is stable and switching to a Gaussian kernel when the complexity increases, thereby generating dynamic kernel parameters, and adjusting the configuration of the support vector machine according to the dynamic kernel parameters to form a kernel function configuration; Classify and process real-time network traffic based on the kernel function configuration, identify DDoS attacks or traffic surges through parameter tuning and kernel function fine-tuning, and thus obtain optimized classification results; Using the optimized classification results, a time series analysis is performed on the network traffic, current traffic characteristics are compared with historical patterns, abnormal changes in time dependency are identified, and a time series analysis result is obtained. Based on the time series analysis result, the SVDD decision boundary is automatically adjusted to match the current normal characteristics of the network behavior and create a dynamic decision boundary. The dynamic decision boundary is applied to monitor the current network traffic, perform data filtering, check for data points that deviate from the normal pattern, verify and filter abnormal behaviors, and obtain abnormal identification results.

2. The network information monitoring method based on machine learning according to claim 1 is characterized in that: The steps for obtaining the dynamic kernel parameters are specifically as follows: Collect real-time network traffic data, including traffic size, speed, and number of multiple types of packets, using the formula: ; Calculate the contribution of multiple types of data packets to the total traffic and obtain traffic contribution statistics; in, Representative The number of packets, Representative The traffic size of the data packet, Representative The transmission speed of the data packets, Representative The weight coefficient of the data packet; Analyze the traffic contribution statistics and calculate the standard deviation of traffic contribution using the formula: ; Determine the flow volatility based on the standard deviation and obtain a flow volatility assessment; in, represents the traffic contribution of the ith type of data packet, Represents the average value of traffic contribution, Represents the number of data packet types, Represents the weight coefficient of the i-th data packet; According to the traffic volatility assessment, the kernel function type is selected and the decision formula is adopted: ; Get dynamic kernel parameters; in, Represents the standard deviation of traffic volatility, the condition in the decision formula Indicates that the flow is stable, use the linear kernel, otherwise use the Gaussian kernel.

3. The network information monitoring method based on machine learning according to claim 2 is characterized in that: The steps for obtaining the kernel function configuration are specifically as follows: Based on the result of the dynamic kernel parameter selection, the initial parameters required for the kernel function configuration are calculated using the formula: ; Generate initial kernel function configuration; in, Representative The weight coefficient of the kernel function, Parameter representing the kernel function type; Adjust the initial kernel function configuration to match the dynamic changes of the current network status, using the formula: ; After adjustment, the optimized kernel function configuration is obtained; in, represents the parameter value of the k-th kernel function configuration, represents the average value of the initial kernel function configuration, Representative The weight coefficient of the kernel function, Represents the number of types of kernel functions; Apply the optimized kernel function configuration to the support vector machine to ensure that the configuration matches the current network traffic conditions, using the decision formula: ; Generate kernel function configuration; in, Represents the adjustment coefficient of the kernel function configuration after optimization, the condition in the decision formula If the optimized configuration is relatively balanced, a linear kernel configuration is applied; otherwise, a Gaussian kernel configuration is applied.

4. The network information monitoring method based on machine learning according to claim 3 is characterized in that: The steps for obtaining the optimized classification results are specifically as follows: The feature vector is constructed and the logarithmic transformation of the ratio of the frequency to the flow of each data packet is calculated to reduce the skewed distribution of the data. The formula is: ; Generate feature vector dataset; in, Representative Packet frequency, Representative Packet traffic, Represents the total flow; The feature vector dataset is used for model training, and a polynomial kernel function is applied to process nonlinear feature relationships using the formula: ; Generate preprocessed model parameters; in, represents the elements of the eigenvector, represents the weight coefficient, represents the deviation term, represents the degree of the polynomial; According to the pre-processed model parameters, real-time traffic classification is performed, using a discriminant model and a discriminant formula: ; Complete the classification of DDoS attacks or traffic surges and obtain optimized classification results; in, represents the input features, represents the weight, Represents bias.

5. The network information monitoring method based on machine learning according to claim 4 is characterized in that: The steps for obtaining the dynamic decision boundary are specifically as follows: Collect time series data, organize network traffic data, mark the timestamp of each data point, and use the formula: ; Get a time-stamped traffic data set; in, Represents a timestamp, Represents the flow value; Based on the time-stamped traffic data set, a time series analysis method is used to compare the current traffic characteristics with historical patterns, using a sliding window average formula: ; Calculate the past The average flow of data points captures trends and periodic changes to obtain time series analysis results; in, represents the size of the sliding window, Represents the flow value; According to the time series analysis results, the SVDD decision boundary is automatically adjusted using a dynamic adjustment formula: ; Match the current normal characteristics of network behavior to generate dynamic decision boundaries; in, Represents the current traffic characteristic value, represents the weight, Represents the historical average, represents the decision threshold.

6. The network information monitoring method based on machine learning according to claim 5 is characterized in that: The steps for obtaining the abnormal identification result are specifically as follows: Use dynamic decision boundaries to monitor current network traffic using the formula: ; Calculate monitoring results; in, Represents the current traffic characteristic value, represents the weight, Represents the historical average, represents the decision threshold; In the monitoring results, data filtering is performed to check for data points that deviate from the normal pattern. , then the data point is considered abnormal, a set of abnormal data points is generated, and the next step is entered; otherwise, the data point is normal; Verification is performed based on the data in the abnormal data point set, and abnormal behaviors are iteratively verified or filtered to obtain an abnormal identification result.

7. A network information monitoring system based on machine learning, characterized in that: According to the network information monitoring method based on machine learning according to any one of claims 1 to 6, the system comprises: The real-time data collection module uses machine learning methods to collect network traffic data in real time, including traffic size, speed, and packet type distribution. According to the current network conditions, it adopts a dynamic kernel function matching strategy and automatically selects a linear kernel or a Gaussian kernel to generate dynamic kernel parameters based on the stability of traffic or the increase in complexity. The kernel function configuration module adjusts the configuration of the support vector machine according to the dynamic kernel parameters to form a kernel function configuration for classification and processing of real-time network traffic; The real-time traffic classification module classifies and processes the real-time network traffic based on the kernel function configuration, identifies DDoS attacks or traffic surges through parameter tuning and kernel function fine-tuning, and obtains optimized classification results; The time series analysis module uses the optimization classification results to perform time series analysis of network traffic, compare current traffic characteristics with historical patterns, identify abnormal changes in time dependence, and generate time series analysis results; The dynamic decision boundary monitoring module automatically adjusts the SVDD decision boundary according to the time series analysis results, creates a dynamic decision boundary, and uses the boundary to monitor network traffic, filter data points that deviate from normal patterns, verify and filter abnormal behaviors, and obtain abnormal identification results.