Earthquake early warning network flow abnormity monitoring and analyzing system

By introducing traffic monitoring, anomaly detection, analysis and prediction modules into the earthquake early warning network, combined with threshold detection and clustering methods, abnormal traffic is discovered and processed in a timely manner, which solves the problem of slow information transmission caused by traffic anomalies in the earthquake early warning network and achieves The effect of quickly issuing early warning information.

CN118677750APending Publication Date: 2024-09-20HEBEI EARTHQUAKE ADMINISTRATION
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410830801.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Earthquake early warning network traffic may be abnormal under frequent occurrences or large-scale deployment, resulting in slow information transmission and difficulty in issuing early warning information at the first time.

Method used

An earthquake early warning network traffic anomaly monitoring and analysis system is designed, including a traffic monitoring module, anomaly detection module, analysis module, prediction module and warning module. Abnormal traffic is detected through a combination of traffic threshold detection and clustering methods, and machine algorithms are used. Prediction and analysis to trigger warnings in a timely manner.

Benefits of technology

It effectively avoids the delay in detecting traffic anomalies in time, ensures the rapid release of earthquake warning information, and improves the efficiency and accuracy of network management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677750A
    Figure CN118677750A
Patent Text Reader

Abstract

The invention relates to the technical field of network analysis, in particular to an earthquake early warning network flow anomaly monitoring and analysis system, which comprises a flow monitoring module, an anomaly detection module, an analysis module, a prediction module and a warning module, and is characterized in that the flow monitoring module is used for monitoring flow data of an earthquake early warning network; the anomaly detection module is used for detecting traffic anomaly conditions, the analysis module is used for analyzing, identifying and judging the traffic anomaly conditions, and the prediction module is used for acquiring normal traffic data and predicting the trend of network traffic. According to the method, the abnormal traffic is detected in a mode of combining traffic threshold detection and the clustering method, the traffic threshold detection and the clustering method belong to a parallel relationship, and the network traffic is detected synchronously, so that the limitation of a static threshold is avoided, the abnormal condition of the network traffic is found in time, a worker can process the abnormal condition in time, and the working efficiency is improved. Earthquake early warning information is quickly issued, and the situation that flow abnormity is not found in time is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of network analysis, and in particular to an earthquake early warning network traffic anomaly monitoring and analysis system. Background Art

[0002] Earthquake early warning network traffic refers to the network data traffic generated in the earthquake early warning system for transmitting earthquake early warning information, data exchange, and system maintenance. Specifically, the earthquake early warning system usually includes multiple components such as earthquake monitoring stations, data processing centers, and information release platforms. These components need to exchange and communicate real-time data through the network. When an earthquake occurs, the earthquake monitoring station will quickly collect seismic wave data and send this data to the data processing center through the network. The data processing center will quickly analyze the received data and generate earthquake early warning information. This information will then be released to the public through specific communication channels, such as mobile phone text messages, TV broadcasts, and the Internet. During the entire earthquake early warning process, data transmission between each link will generate network traffic. The size of this traffic depends on factors such as the scale of the earthquake early warning system, the frequency of data transmission, and the network communication technology used. Under normal circumstances, the earthquake early warning network traffic is relatively small because the amount of earthquake early warning information is not large and the sending frequency is not high.

[0003] With the construction and implementation of earthquake early warning system engineering projects, the demand for earthquake early warning communication network services is increasing day by day, users' requirements for network performance are increasing accordingly, and network management tasks are becoming more arduous. In the case of frequent earthquakes or large-scale deployment of earthquake early warning systems, the earthquake early warning network traffic will increase significantly, and there will be abnormalities in the network traffic, which makes it difficult for the earthquake early warning system to release earthquake warning information in a timely manner, resulting in slow information transmission and difficulty for people to learn about earthquake information in the first place. In this regard, we have proposed an earthquake early warning network traffic anomaly monitoring and analysis system. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides an earthquake early warning network traffic anomaly monitoring and analysis system to solve the above technical problems.

[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: an earthquake early warning network traffic anomaly monitoring and analysis system, the monitoring and analysis system comprising: a traffic monitoring module, an anomaly detection module, an analysis module, a prediction module and an alarm module, the traffic monitoring module is used to monitor the traffic data of the earthquake early warning network, the anomaly detection module is used to detect traffic anomalies, the analysis module is used to analyze and identify traffic anomalies, the prediction module is used to obtain normal traffic data and predict the trend of network traffic, and the alarm module issues an alarm when abnormal traffic is detected;

[0006] The anomaly detection module detects abnormal traffic by combining traffic threshold detection with clustering method. The traffic threshold is set according to the actual network situation to set a reasonable network traffic threshold as the detection traffic threshold. When the network traffic exceeds the set threshold, the warning module is triggered to alert the staff.

[0007] The clustering method clusters network traffic data into different categories, divided into normal values ​​and abnormal values, and compares the new traffic data with the known categories to determine whether it is abnormal traffic. The traffic threshold detection and the clustering method are in a parallel relationship. The network traffic is detected simultaneously. If all detections are normal, the network traffic is judged to be normal. If all detected traffic is abnormal, the network traffic is judged to be abnormal. If there is one group of normal detections and one group of abnormal detections, analysis is performed through the analysis module.

[0008] Preferably, the traffic monitoring module monitors the network traffic in earthquake early warning in real time through a traffic monitor. The traffic monitor deploys a traffic proxy program in the network, guides the traffic in the network to the proxy program, collects the traffic, monitors the collected traffic using a traffic monitor, and transmits the traffic to the anomaly detection module to judge the anomalies of the network traffic.

[0009] Preferably, the method for establishing a threshold value for flow threshold detection is to obtain historical flow data, sample and count the historical flow data, calculate the average flow value for the time period and the earthquake warning, infer the threshold value from the historical flow, and judge the flow benchmark through the threshold value; the time end for collecting historical data is one week as a cycle, and the flow data is collected every hour and saved as samples.

[0010] Preferably, during the flow threshold detection, the flow data uploaded by the flow monitoring module is judged using a threshold. When the actually collected flow threshold exceeds the range of the threshold, it is considered that there is an anomaly in the surface network flow. The judgment formula is:

[0011] G=A1-P

[0012] Where G is the calculated threshold difference range, A1 is the currently collected flow value, P is the threshold, and the allowed range of G value is 1-4, which is the allowed error range.

[0013] Preferably, the flow mean calculation formula is:

[0014] P=c±a*b

[0015] Where P is the threshold, c is the average value of the flow data, a is the standard deviation, and b is the coefficient. The average value and standard deviation of the flow data in the time period are calculated, and the coefficient is determined according to the demand. The standard deviation is multiplied by the coefficient and then added to or subtracted from the average value to obtain the upper and lower limits of the threshold;

[0016] Traffic data sampling adopts random sampling method.

[0017] Preferably, the clustering method uses the K-means algorithm to divide the data into normal values ​​and abnormal values. The steps of the K-means algorithm are to divide the data into several clusters, determine the K value, randomly select K data points in the data as the initial cluster centers, calculate the distance of the cluster centers for the data points in the data set, use the Euclidean distance formula for calculation, distribute the data points, recalculate the cluster centers, perform iterative optimization, and output to obtain different category values ​​of the data.

[0018] Preferably, the Euclidean distance calculation formula is:

[0019]

[0020] Where A and B are two points, x1, y1 are the coordinates of point A, and x2, y2 are the coordinates of point B.

[0021] Preferably, the new traffic data is compared with the known categories by means of feature matching.

[0022] Preferably, the analysis module uses a machine algorithm to classify and regress the network traffic data by building a model to further judge the traffic anomaly. The machine algorithm is a decision tree method to build a decision tree model to divide the uploaded traffic data; when the warning module detects that there is an anomaly in the network traffic, it triggers an alarm to warn the staff.

[0023] Preferably, the prediction module collects and stores the monitored traffic, predicts the collected traffic data, and uses regression analysis to predict the future trend by finding the relationship between the dependent variable and the independent variable in the collected data set. The regression analysis formula is:

[0024] y=a+bx+e

[0025] Among them, y is the dependent variable, a is the intercept, b is the slope, x is the independent variable, and e is the error term. By collecting the network traffic data in the data set, the above formula is used to calculate and determine the fitted traffic data model, and the model is used for prediction to determine the trend of future network traffic.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] This application detects abnormal traffic by combining traffic threshold detection with clustering method. Traffic threshold detection and clustering method are in a parallel relationship. Network traffic is detected simultaneously, avoiding the limitations of static thresholds, and abnormal network traffic is discovered in time, allowing staff to handle it in time and quickly release earthquake warning information, avoiding the situation where traffic anomalies are discovered untimely. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 This is the framework diagram of the monitoring and analysis system of this invention. DETAILED DESCRIPTION

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

[0030] The present invention provides a technical solution: an earthquake early warning network traffic anomaly monitoring and analysis system, the monitoring and analysis system comprising: a traffic monitoring module, an anomaly detection module, an analysis module, a prediction module and an alarm module, the traffic monitoring module is used to monitor the traffic data of the earthquake early warning network, the anomaly detection module is used to detect traffic anomalies, the analysis module is used to analyze and identify traffic anomalies, the prediction module is used to obtain normal traffic data and predict the trend of network traffic, and the alarm module issues an alarm when abnormal traffic is detected;

[0031] The anomaly detection module detects abnormal traffic by combining traffic threshold detection with clustering method. The traffic threshold is set according to the actual network situation to set a reasonable network traffic threshold as the detection traffic threshold. When the network traffic exceeds the set threshold, the warning module is triggered to alert the staff.

[0032] The clustering method clusters network traffic data into different categories, normal values ​​and abnormal values, and compares new traffic data with known categories to determine whether it is abnormal traffic. Traffic threshold detection and clustering method are in parallel. The network traffic is detected simultaneously. If all detections are normal, the network traffic is judged to be normal. If all detected traffic is abnormal, the network traffic is judged to be abnormal. If there is one group of normal detections and one group of abnormal detections, analysis is performed through the analysis module;

[0033] Clustering is an unsupervised learning method used to divide a set of data objects into multiple classes or clusters, so that objects in the same cluster are as similar as possible, while objects in different clusters are as different as possible. Clustering divides data by calculating the similarity or distance between samples. Samples with high similarity are classified into the same category, so that the similarity of samples in the same category is as high as possible, and the similarity of samples between different categories is as low as possible.

[0034] Abnormal traffic is detected by combining traffic threshold detection with clustering method. Traffic threshold detection and clustering method are in a parallel relationship. Network traffic is detected simultaneously, avoiding the limitations of static thresholds, and abnormal network traffic is discovered in time, allowing staff to deal with it in time and quickly release earthquake warning information, avoiding the situation where traffic anomalies are discovered untimely.

[0035] Furthermore, the traffic monitoring module monitors the network traffic in the earthquake early warning in real time through the traffic monitor. The traffic monitor deploys a traffic proxy program in the network, guides the traffic in the network to the proxy program, collects the traffic, monitors the collected traffic using the traffic monitor, and transmits the traffic to the anomaly detection module to judge the anomaly of the network traffic.

[0036] The working steps of the traffic proxy program are as follows: the user first visits the target website or resource and sends a request to his own network service provider;

[0037] When the request reaches the ISP, the ISP will detect and record the user's real IP address, but at this time the request will be forwarded to the proxy server;

[0038] The user configures the IP address and port number of the proxy server on the local device, and then establishes an encrypted connection with the proxy server;

[0039] The user sends the request to the proxy server through an encrypted connection. After receiving the request, the proxy server will initiate the request to the target server on behalf of the user and use its own IP address as the source IP address.

[0040] After receiving the request from the proxy server, the target server will send a response to the proxy server. After receiving the response, the proxy server will decrypt and forward it to the user. The user can obtain the content of the target server through the proxy server.

[0041] Abnormal monitoring refers to the process of real-time monitoring of the operating status of systems, networks, applications, etc., promptly discovering and reporting abnormal events. By analyzing the real-time logs generated by systems, networks, applications, etc., potential problems or abnormal events can be discovered. By monitoring the system's performance indicators, such as CPU utilization, memory occupancy, and network bandwidth, it is determined whether the system is in a normal state. Real-time monitoring of network traffic can be performed to discover abnormal traffic or attack behaviors.

[0042] Furthermore, the method of establishing a threshold value for flow threshold detection obtains historical flow data, samples and counts the historical flow data, calculates the average flow value for the time period and the earthquake warning, infers the threshold value from the historical flow, and uses the threshold value to determine the flow benchmark; the time end for historical data collection is one week as a cycle, and flow data is collected every hour and saved as samples.

[0043] Furthermore, during the flow threshold detection, the flow data uploaded by the flow monitoring module is judged using the threshold. When the actually collected flow threshold exceeds the range of the threshold, it means that there is an anomaly in the surface network flow; the judgment formula is:

[0044] G=A1-P

[0045] Where G is the calculated threshold difference range, A1 is the currently collected flow value, P is the threshold, and the allowed range of G value is 1-4, which is the allowed error range.

[0046] Furthermore, the flow mean calculation formula is:

[0047] P=c±a*b

[0048] Where P is the threshold, c is the average value of the flow data, a is the standard deviation, and b is the coefficient. The average value and standard deviation of the flow data in the time period are calculated, and the coefficient is determined according to the demand. The standard deviation is multiplied by the coefficient and then added to or subtracted from the average value to obtain the upper and lower limits of the threshold;

[0049] Traffic data sampling adopts random sampling. In the data set, each data item has the same probability of being sampled. Data items are randomly selected according to a preset sampling ratio, such as 10%. This is simple and easy to implement, and ensures the randomness of the sample.

[0050] Furthermore, the clustering method uses the K-means algorithm to divide the data into normal values ​​and abnormal values. The steps of the K-means algorithm are to divide the data into several clusters, determine the K value, randomly select K data points in the data as the initial cluster centers, calculate the distance of the cluster centers for the data points in the data set, use the Euclidean distance formula for calculation, distribute the data points, recalculate the cluster centers, perform iterative optimization, and output to obtain different category values ​​of the data;

[0051] Clustering is an unsupervised learning algorithm that aims to classify samples with high similarity into the same category, so that the similarity of samples in the same category is as high as possible, and the similarity of samples between different categories is as low as possible. Data grouping or clustering is achieved by calculating the similarity or distance between samples.

[0052] Furthermore, the Euclidean distance calculation formula is:

[0053]

[0054] Where A and B are two points, x1, y1 are the coordinates of point A, and x2, y2 are the coordinates of point B.

[0055] Furthermore, the new traffic data are compared with the known categories through feature matching.

[0056] Furthermore, the analysis module uses machine algorithms to classify and regress network traffic data by building a model to further judge traffic anomalies. The machine algorithm is a decision tree method to build a decision tree model to divide the uploaded traffic data; the warning module triggers an alarm when it detects abnormalities in network traffic to warn the staff;

[0057] Decision tree step: Draw a decision tree including decision points, solution branches, probability branches and leaves according to the decision problem. For each node, calculate its expected profit and loss value. The expected value (E) is the sum of the products of each result probability (P) and its corresponding profit and loss value (G), that is, E = ∑G·P;

[0058] By comparing the expected profit and loss values ​​of different plans, the plan with the largest expected value is selected as the optimal plan.

[0059] Furthermore, the prediction module collects and stores the monitored traffic, predicts the collected traffic data, and uses regression analysis to predict the future trend by finding the relationship between the dependent variable and the independent variable in the collected data set. The regression analysis formula is:

[0060] y=a+bx+e

[0061] Where y is the dependent variable, a is the intercept, b is the slope, x is the independent variable, and e is the error term. By collecting the network traffic data in the data set, the fitted traffic data model is determined by calculating the above formula, and the model is used for prediction to determine the trend of future network traffic.

[0062] Regression analysis is an analytical method that uses a regression equation with good correlation and extrapolation to predict the future changes of dependent variables. It uses statistical principles to mathematically process a large amount of data, determine the correlation between the dependent variable and certain independent variables, and establish a regression equation with good correlation. Through extrapolation, it predicts the future changes of the dependent variable.

[0063] Traffic statistics are stored locally, such as in a database, for easy access and query at any time. The statistics are sent to a dedicated network management device through the network, which stores and displays them. This is suitable for large networks or scenarios that require remote access.

[0064] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0065] 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. Earthquake early warning network traffic anomaly monitoring and analysis system, characterized by: The monitoring and analysis system includes: a flow monitoring module, an anomaly detection module, an analysis module, a prediction module and an alarm module. The flow monitoring module is used to monitor the flow data of the earthquake early warning network. The anomaly detection module is used to detect flow anomalies. The analysis module is used to analyze and identify flow anomalies. The prediction module is used to obtain normal flow data and predict the trend of network flow. The alarm module issues an alarm when abnormal flow is detected. The anomaly detection module detects abnormal traffic by combining traffic threshold detection with clustering method. The traffic threshold is set according to the actual network situation to set a reasonable network traffic threshold as the detection traffic threshold. When the network traffic exceeds the set threshold, the warning module is triggered to alert the staff. The clustering method clusters network traffic data into different categories, divided into normal values ​​and abnormal values, and compares the new traffic data with the known categories to determine whether it is abnormal traffic. The traffic threshold detection and the clustering method are in a parallel relationship. The network traffic is detected simultaneously. If all detections are normal, the network traffic is judged to be normal. If all detected traffic is abnormal, the network traffic is judged to be abnormal. If there is one group of normal detections and one group of abnormal detections, analysis is performed through the analysis module.

2. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 1 is characterized by: The traffic monitoring module monitors the network traffic in earthquake early warning in real time through the traffic monitor. The traffic monitor deploys a traffic proxy program in the network, guides the traffic in the network to the proxy program, collects the traffic, monitors the collected traffic with the traffic monitor, and transmits the traffic to the anomaly detection module to judge the anomalies of the network traffic.

3. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 1 is characterized by: The method of establishing a threshold value for flow threshold detection is to obtain historical flow data, sample and count the historical flow data, calculate the average flow value for the time period and the earthquake warning, infer the threshold value through the historical flow, and judge the flow benchmark through the threshold value; the time end of historical data collection is one week as a cycle, and the flow data is collected every hour and saved as samples.

4. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 1 is characterized by: During the flow threshold detection, the flow data uploaded by the flow monitoring module is judged using the threshold. When the actually collected flow threshold exceeds the threshold range, it means that there is an anomaly in the surface network flow; the judgment formula is: G=A1-P Where G is the calculated threshold difference range, A1 is the currently collected flow value, P is the threshold, and the allowed range of G value is 1-4, which is the allowed error range.

5. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 3 is characterized in that: The flow mean calculation formula is: P=c±a*b Where P is the threshold, c is the average value of the flow data, a is the standard deviation, and b is the coefficient. The average value and standard deviation of the flow data in the time period are calculated, and the coefficient is determined according to the demand. The standard deviation is multiplied by the coefficient and then added to or subtracted from the average value to obtain the upper and lower limits of the threshold; Traffic data sampling adopts random sampling method.

6. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 1 is characterized by: The clustering method uses the K-means algorithm to divide the data into normal values ​​and abnormal values. The steps of the K-means algorithm are to divide the data into several clusters, determine the K value, randomly select K data points in the data as the initial cluster centers, calculate the distance of the cluster centers for the data points in the data set, use the Euclidean distance formula for calculation, distribute the data points, recalculate the cluster centers, perform iterative optimization, and output to obtain different category values ​​of the data.

7. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 6 is characterized in that: The Euclidean distance calculation formula is: Where A and B are two points, x1, y1 are the coordinates of point A, and x2, y2 are the coordinates of point B.

8. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 1 is characterized by: New traffic data is compared with known categories through feature matching.

9. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 1, characterized in that: The analysis module builds a model and uses machine algorithms to classify and regress network traffic data to further judge traffic anomalies. The machine algorithm is the decision tree method, which builds a decision tree model to divide the uploaded traffic data; when the warning module detects abnormalities in network traffic, it triggers an alarm to warn the staff.

10. The earthquake early warning network traffic anomaly monitoring and analysis system according to claim 1, characterized in that: The prediction module collects and stores the monitored traffic, predicts the collected traffic data, and uses regression analysis to predict the future trend by finding the relationship between the dependent variable and the independent variable in the collected data set. The regression analysis formula is: y=a+bx+e Among them, y is the dependent variable, a is the intercept, b is the slope, x is the independent variable, and e is the error term. By collecting the network traffic data in the data set, the above formula is used to calculate and determine the fitted traffic data model, and the model is used for prediction to determine the trend of future network traffic.

Citation Information

Cited By

  • Earthquake judgment method and device based on network traffic, equipment and storage medium

    CN119781009A

  • Seismic Judgment Method, Device, Equipment and Storage Medium Based on Network Traffic

    CN119781009B