A network traffic data collection, big data analysis and visualization method
Through network traffic data collection and big data analysis, real-time monitoring of network security and stability solves the problem of lagging network fault handling in the existing technology, achieves real-time visualization and risk control of network security and stability, and ensures that the network Operational safety and performance.
Patent Information
- Application Number
- CN202410021160.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-01-08
AI Technical Summary
Existing technology cannot analyze and visualize the security and stability of network operations in real time, resulting in delayed network fault handling, difficulty in determining the degree of danger and instability, and resulting in various losses.
Using network traffic data collection, big data analysis and visual presentation methods, network traffic data is collected through the information collection unit. The data analysis unit analyzes and processes security and stability parameters, generates evaluation coefficients, and displays and processes them in real time through the control display unit. Settings Alarm mechanism and optimization model realize real-time monitoring and optimization of network security and stability.
It achieves real-time visual presentation and risk control of network security and stability, handles faults in a timely manner, identifies and defends against network security threats, optimizes network operating status, and reduces losses.
Smart Images

Figure CN117527625B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network traffic technology, and in particular to a method for network traffic data collection, big data analysis and visualization presentation. Background Art
[0002] Network traffic refers to the amount of data transmitted on the network. The size of network traffic is of great significance to the design of network architecture. Big data analysis refers to the analysis of huge amounts of data. As a result, data warehouses, data security, data analysis, data mining, etc. have gradually emerged around the use of big data. During the operation of the network, network security issues and unstable performance issues may arise.
[0003] However, generally, only when a network failure occurs will repairs be carried out, resulting in a lag in the handling of network problems. It is impossible to conduct real-time visual analysis and presentation of the security and stability of network operation, determine the degree of danger and turbulence, and conduct risk warnings, leading to unexpected failures during network use and causing various losses.
[0004] In view of the above technical defects, a network traffic data collection, big data analysis and visualization method is proposed. Summary of the invention
[0005] The purpose of the present invention is to provide a network traffic data collection, big data analysis and visualization method to solve the above problems.
[0006] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a method for collecting network traffic data, analyzing big data and visualizing it, comprising the following steps:
[0007] Step 1: The information collection unit collects network traffic data and sends it to the data analysis unit, wherein the network traffic data includes security parameters and stability parameters;
[0008] Step 2: The data analysis unit analyzes and processes the network traffic data to determine the network security level and network stability level, wherein the data analysis unit includes a security analysis unit and a stability analysis unit;
[0009] The security analysis unit first obtains the data error rate and access error rate based on the security parameters, then obtains the transmission accuracy, determines the accuracy of network transmission, and then generates a security assessment coefficient by combining the transmission accuracy with the access error rate to determine the degree of network security;
[0010] The stability analysis unit first obtains the data acquisition rate and then the network operation efficiency according to the stability parameter, combines the network operation efficiency with the security assessment coefficient, generates the stability assessment coefficient, and determines the degree of network stability;
[0011] Step 3: The control display unit displays the security assessment coefficient and the stability assessment coefficient in real time, and performs corresponding processing according to the network security degree and the network stability degree respectively:
[0012] According to the degree of network security, set up alarm mechanisms to identify and defend against network security threats;
[0013] According to the degree of network stability, an optimization model is established to optimize the performance of the network operation status.
[0014] Preferably, the processing process of the security analysis unit is as follows:
[0015] Security parameters include load data A before transmission, load data B after transmission, error access volume Fc, user access volume Fy, and transmission packet loss rate Dc;
[0016] A1: First, establish an image comparison model, compare load data A and load data B, and obtain the data error rate Lsj of the data transmission process;
[0017] Among them, the process of establishing the picture comparison model is:
[0018] s1: Obtain the image information Ta of the load data A and the image information Tb of the load data B by scanning, and establish a rectangular coordinate system with the same base point for the image information Ta and the image information Tb;
[0019] s2: any position in the image information Ta is defined as i0, and the same position in the image information Tb is defined as i1;
[0020] s3: Detect the color at i0 as S0, the color at i1 as S1, and set Ni sampling detection points.
[0021] When S0=S1, the number of recorded errors is m=0; when S0≠S1, the number of recorded errors is m=1;
[0022] s4: Obtain the data error rate Lsj by measuring the proportion of the total number of errors in the number of sampled detection points:
[0023] A2: Then calculate the proportion of the error access volume Fc in the user access volume Fy to obtain the access error rate Lfw during the network operation process;
[0024] A3: Obtain the transmission accuracy Zcs through the data error rate Lsj and the transmission packet loss rate Dc;
[0025] The formula for the preset transmission accuracy Zcs is: ;
[0026] A4: Generate the security assessment coefficient Xaq by assigning a weight factor to the transmission accuracy Zcs combined with the access error rate Lfw;
[0027] The formula for the preset safety assessment coefficient Xaq is: ;
[0028] Among them, α1 and α2 are the weight factor coefficients of the transmission accuracy Zcs combined with the access error rate Lfw, and α1 and α2 are both greater than 0;
[0029] A5: Further analyze the transmission accuracy Zcs and security assessment coefficient Xaq to determine the accuracy of network transmission and the degree of network security.
[0030] Preferably, the further analysis process of the transmission accuracy Zcs and the safety assessment coefficient Xaq is as follows:
[0031] a1: preset the accuracy classification interval for the transmission accuracy Zcs to determine the accuracy of network transmission;
[0032] The standard interval, risk interval and inaccurate interval of the accuracy are preset, the actual measured value of the transmission accuracy Zcs is compared with the preset interval, and the corresponding accuracy prompt signal is generated and sent to the control display unit;
[0033] a2: preset the security classification interval for the security assessment coefficient Xaq to determine the degree of network security;
[0034] The safety interval, risk interval and unsafe interval are preset, the actual measured value of the safety assessment coefficient Xaq is compared with the preset interval, and the corresponding safety signal is generated and sent to the control display unit.
[0035] Preferably, the processing process of the stability analysis unit is as follows:
[0036] The stability parameters include the packet transmission rate Vcs, the packet length L, and the packet timestamp T;
[0037] B1: First, obtain the data packet collection time period Ti through the data packet timestamp T, and obtain the data collection rate Vcj by measuring the data packet length L in the unit time period;
[0038] B2: Combine the data packet transmission rate Vcs and the data collection rate Vcj to obtain the network operation efficiency Wyx;
[0039] The formula for the preset network operation efficiency Wyx is: ;
[0040] B3: Generate the stability evaluation coefficient Xwd by assigning weight factors to the network operation efficiency Wyx and the security evaluation coefficient Xaq;
[0041] The formula for the preset stability evaluation coefficient Xwd is: ;
[0042] Among them, β1 and β2 are the weight factor coefficients of network operation efficiency Wyx and security assessment coefficient Xaq, and β1 and β2 are both greater than 0;
[0043] B4: Further analyze the network operation efficiency Wyx and stability evaluation coefficient Xwd to determine the efficiency of network operation and the degree of network stability.
[0044] Preferably, the further analysis process of the network operation efficiency Wyx and the stability evaluation coefficient Xwd is as follows:
[0045] b1: Preset the efficiency classification interval for the network operation efficiency Wyx to determine the efficiency of the network operation;
[0046] Preset the high efficiency interval, risk interval and low efficiency interval of the efficiency, compare the actual measured value of the network operation efficiency Wyx with the preset interval, generate a corresponding efficiency prompt signal and send it to the control display unit;
[0047] b2: preset the stability classification interval for the stability evaluation coefficient Xwd to determine the degree of network stability;
[0048] The stable interval, risk interval and unstable interval of stability are preset, the actual measured value of the stability assessment coefficient Xwd is compared with the preset interval, and the corresponding stability signal is generated and sent to the control display unit.
[0049] Preferably, the specific process of setting the alarm mechanism is as follows:
[0050] C1: Establish a dynamic curve chart of the safety assessment coefficient Xaq and time T, substitute it into the curvature calculation model, obtain the safety fluctuation coefficient Jaq, and predict the change trend of safety;
[0051] C2: Setting a threshold of the safety fluctuation coefficient Jaq. When the safety fluctuation coefficient Jaq exceeds the threshold, it indicates that the safety fluctuation is large. A first warning signal is generated and sent to the visualization terminal to control the visualization terminal to edit and display the first warning text.
[0052] C3: Receive accuracy prompt signal and safety signal, and process them accordingly:
[0053] C3-1: When receiving the accuracy prompt signal, immediately edit the corresponding accuracy prompt text for display;
[0054] C3-2: When a safety signal is received, immediately edit the corresponding safety alarm text for display and control the corresponding indicator light to flash.
[0055] Preferably, the specific process of establishing the optimization model is as follows:
[0056] D1: Establish a dynamic curve chart of the stability assessment coefficient Xwd and time T, substitute it into the curvature measurement model, obtain the stability fluctuation coefficient Jwd, and predict the change trend of stability;
[0057] D2: Setting a threshold of the stability fluctuation coefficient Jwd. When the stability fluctuation coefficient Jwd exceeds the threshold, it indicates that the stability fluctuation amplitude is large. A second warning signal is generated and sent to the visualization terminal to control the visualization terminal to edit and display the second warning text.
[0058] D3: Receive efficiency prompt signal and stability signal, and process them accordingly:
[0059] D3-1: When receiving the efficiency prompt signal, immediately edit the corresponding efficiency prompt text for display;
[0060] D3-2: When a stable signal is received, immediately edit the corresponding stability alarm text for display, and control the corresponding indicator light to flash.
[0061] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0062] 1. In a network traffic data collection, big data analysis and visualization presentation method of the present invention, network traffic data is collected by an information collection unit, and then the network traffic data is analyzed and processed by a data analysis unit, so as to determine the accuracy of network transmission and the efficiency of network operation, and further determine the degree of network security and stability, and display the evaluation coefficient of network security and stability in real time by controlling the display unit, and can also set an alarm mechanism, establish an optimization model, perform risk control and alarm prompts on network security and stability, so as to timely perform corresponding fault processing;
[0063] 2. The present invention collects network traffic data and uses big data analysis to visualize the security and stability of network operation. It first determines network security through network transmission accuracy, and then uses network security combined with network operation efficiency to determine network stability. The data utilization rate is high, which not only realizes timely risk control and fault repair, but also realizes early warning of the degree of security and stability instability, thereby identifying and defending against network security threats and optimizing the performance of network operation status. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required to be used in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings.
[0065] Figure 1 It is a schematic diagram of the process of the present invention;
[0066] Figure 2 It is a schematic diagram of the modules of the present invention. DETAILED DESCRIPTION
[0067] 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.
[0068] Example:
[0069] like Figure 1-2 As shown, a network traffic data collection, big data analysis and visualization method includes the following steps:
[0070] Step 1: The information collection unit collects network traffic data and sends it to the data analysis unit, wherein the network traffic data includes security parameters and stability parameters;
[0071] Among them, the security parameters include the load data A before the transmission process, the load data B after the transmission process, the error access volume Fc, the user access volume Fy, and the transmission packet loss rate Dc;
[0072] The stability parameters include the packet transmission rate Vcs, the packet length L, and the packet timestamp T;
[0073] Collect data through network data packet analysis tools to obtain indicator values in network traffic analysis;
[0074] Step 2: The data analysis unit analyzes and processes the network traffic data to determine the network security level and network stability level, wherein the data analysis unit includes a security analysis unit and a stability analysis unit;
[0075] ⑴. The security analysis unit first obtains the data error rate and access error rate based on the security parameters, then obtains the transmission accuracy, determines the accuracy of network transmission, and then generates a security assessment coefficient by combining the transmission accuracy with the access error rate to determine the degree of network security;
[0076] The processing of the safety analysis unit is as follows:
[0077] A1: First, establish an image comparison model, compare load data A and load data B, and obtain the data error rate Lsj of the data transmission process;
[0078] Among them, the process of establishing the picture comparison model is:
[0079] s1: Obtain the image information Ta of the load data A and the image information Tb of the load data B by scanning, and establish a rectangular coordinate system with the same base point for the image information Ta and the image information Tb;
[0080] s2: any position in the image information Ta is defined as i0, and the same position in the image information Tb is defined as i1;
[0081] s3: Detect the color at i0 as S0, the color at i1 as S1, and set Ni sampling detection points.
[0082] When S0=S1, the number of recorded errors is m=0; when S0≠S1, the number of recorded errors is m=1;
[0083] s4: Obtain the data error rate Lsj by measuring the proportion of the total number of errors in the number of sampled detection points: ;
[0084] A2: Then calculate the proportion of error access volume Fc in user access volume Fy to obtain the access error rate Lfw during network operation: ;
[0085] A3: Obtain the transmission accuracy Zcs through the data error rate Lsj and the transmission packet loss rate Dc;
[0086] The formula for the preset transmission accuracy Zcs is: ;
[0087] A4: Generate the security assessment coefficient Xaq by assigning a weight factor to the transmission accuracy Zcs combined with the access error rate Lfw;
[0088] The formula for the preset safety assessment coefficient Xaq is: ;
[0089] Among them, α1 and α2 are the weight factor coefficients of the transmission accuracy Zcs combined with the access error rate Lfw, and α1 and α2 are both greater than 0;
[0090] A5: Further analyze the transmission accuracy Zcs and security assessment coefficient Xaq to determine the accuracy of network transmission and the degree of network security;
[0091] The further analysis process of transmission accuracy Zcs and safety assessment coefficient Xaq is as follows:
[0092] a1: preset the accuracy classification interval for the transmission accuracy Zcs to determine the accuracy of network transmission;
[0093] The standard interval, risk interval and inaccurate interval of the accuracy are preset, the actual measured value of the transmission accuracy Zcs is compared with the preset interval, and the corresponding accuracy prompt signal is generated and sent to the control display unit;
[0094] When the transmission accuracy Zcs is within the standard accuracy range, it indicates that the transmission accuracy is excellent, and a first accuracy prompt signal is generated;
[0095] When the transmission accuracy Zcs is within the risk interval of accuracy, it indicates that the transmission accuracy is good, and a second accuracy prompt signal is generated;
[0096] When the transmission accuracy Zcs is within the inaccurate accuracy interval, it indicates that the transmission accuracy is poor, and a third accuracy prompt signal is generated;
[0097] a2: preset the security classification interval for the security assessment coefficient Xaq to determine the degree of network security;
[0098] Preset the safety interval, risk interval and unsafe interval of safety, compare the actual measured value of the safety assessment coefficient Xaq with the preset interval, generate a corresponding safety signal and send it to the control display unit;
[0099] When the safety assessment coefficient Xaq is within the safety interval, it indicates that the network security is excellent and a safety signal No. 1 is generated;
[0100] When the safety assessment coefficient Xaq is within the safety risk range, it means that the network security level is good, and the second safety signal is generated;
[0101] When the safety assessment coefficient Xaq is in the unsafe range of safety, it means that the network security is poor, and a No. 3 safety signal is generated;
[0102] By evaluating the safety of network operation status through the safety assessment coefficient, network failures and errors can be avoided, early warnings can be given and risks can be eliminated, and the insecurity of network operation can be reduced;
[0103] (2) The stability analysis unit first obtains the data acquisition rate and then the network operation efficiency according to the stability parameter, combines the network operation efficiency with the security assessment coefficient, generates the stability assessment coefficient, and determines the degree of network stability;
[0104] The processing of the stability analysis unit is as follows:
[0105] B1: First, obtain the data packet collection time period Ti through the data packet timestamp T, and obtain the data collection rate Vcj by measuring the data packet length L in the unit time period: ;
[0106] B2: Combine the data packet transmission rate Vcs and the data collection rate Vcj to obtain the network operation efficiency Wyx;
[0107] The formula for the preset network operation efficiency Wyx is: ;
[0108] B3: Generate the stability evaluation coefficient Xwd by assigning weight factors to the network operation efficiency Wyx and the security evaluation coefficient Xaq;
[0109] The formula for the preset stability evaluation coefficient Xwd is: ;
[0110] Among them, β1 and β2 are the weight factor coefficients of network operation efficiency Wyx and security assessment coefficient Xaq, and β1 and β2 are both greater than 0;
[0111] B4: Further analyze the network operation efficiency Wyx and stability evaluation coefficient Xwd to determine the network operation efficiency and network stability;
[0112] The further analysis process of network operation efficiency Wyx and stability evaluation coefficient Xwd is as follows:
[0113] b1: Preset the efficiency classification interval for the network operation efficiency Wyx to determine the efficiency of the network operation;
[0114] Preset the high efficiency interval, risk interval and low efficiency interval of the efficiency, compare the actual measured value of the network operation efficiency Wyx with the preset interval, generate a corresponding efficiency prompt signal and send it to the control display unit;
[0115] When the network operation efficiency Wyx is within the high efficiency interval, it indicates that the network operation efficiency is excellent, and a first efficiency prompt signal is generated;
[0116] When the network operation efficiency Wyx is within the risk interval of efficiency, it indicates that the network operation efficiency is good, and a second efficiency prompt signal is generated;
[0117] When the network operation efficiency Wyx is in the low efficiency interval, it indicates that the network operation efficiency is poor, and a third efficiency prompt signal is generated;
[0118] b2: preset the stability classification interval for the stability evaluation coefficient Xwd to determine the degree of network stability;
[0119] Preset the stable interval, risk interval and unstable interval of stability, compare the actual measured value of the stability assessment coefficient Xwd with the preset interval, generate a corresponding stability signal and send it to the control display unit;
[0120] When the stability evaluation coefficient Xwd is within the stability interval, it indicates that the network stability is excellent and a No. 1 stability signal is generated;
[0121] When the stability evaluation coefficient Xwd is within the risk range of stability, it means that the network stability is good, and the second stability signal is generated;
[0122] When the stability evaluation coefficient Xwd is in the unstable stability interval, it means that the network stability is poor and a No. 3 stability signal is generated;
[0123] Through the stability evaluation coefficient, the network security and operation efficiency are comprehensively analyzed, so as to evaluate the stability of network operation performance, and timely optimize the network performance to ensure the stability of network operation;
[0124] Step 3: The control display unit sends the security assessment coefficient and the stability assessment coefficient to the visualization terminal for real-time display, and performs corresponding processing according to the network security degree and the network stability degree:
[0125] According to the degree of network security, set up alarm mechanisms to identify and defend against network security threats;
[0126] According to the degree of network stability, an optimization model is established to optimize the performance of the network operation status;
[0127] By establishing a curvature calculation model, the network security and stability fluctuation curves are predicted. When the security or stability curve fluctuates greatly, it means that the security or stability development trend is relatively turbulent, and early warning is needed to control the corresponding performance to a flat state in advance, so that the network can be used smoothly.
[0128] Among them, the establishment process of the curvature calculation model is as follows:
[0129] cd1: Calculate the coefficient of fluctuation of the curve. For any point on the curve, calculate the radius of curvature r of the point, and then calculate the average value R of the radius of curvature of all points on the curve.
[0130] cd2: For each point, calculate the fluctuation coefficient b of the point: b=r / R;
[0131] cd3: Select N points by default and calculate the standard deviation of the fluctuation coefficient b of the N points, which is the fluctuation coefficient J of the curve: ;
[0132] ①. The specific process of setting up the alarm mechanism is as follows:
[0133] C1: Establish a dynamic curve chart of the safety assessment coefficient Xaq and time T, substitute it into the curvature calculation model, obtain the safety fluctuation coefficient Jaq, and predict the change trend of safety;
[0134] C2: Setting a threshold value of the security fluctuation coefficient Jaq. When the security fluctuation coefficient Jaq exceeds the threshold value, it indicates that the security fluctuation amplitude is large. A first warning signal is generated and sent to the visualization terminal to control the visualization terminal to edit and display the first warning text "Network Security Turbulence Warning";
[0135] C3: Receive accuracy prompt signal and safety signal, and process them accordingly:
[0136] C3-1: When receiving the accuracy prompt signal, immediately edit the corresponding accuracy prompt text for display;
[0137] For example, when the first accuracy prompt signal is received, the text "transmission accuracy is excellent" is edited, which prompts the staff that there is no need to repair the transmission accuracy;
[0138] When the second accuracy prompt signal is received, the text "transmission accuracy is good" is edited, which prompts the staff to repair the transmission accuracy to improve the transmission accuracy Zcs to within the standard range to avoid continuous deterioration of the transmission accuracy;
[0139] When the third accuracy prompt signal is received, the text "poor transmission accuracy" is edited, which prompts the staff to perform troubleshooting on the transmission accuracy to improve the transmission accuracy Zcs to within the standard range;
[0140] C3-2: When receiving a safety signal, immediately edit the corresponding safety alarm text for display and control the corresponding indicator light to flash;
[0141] For example, when receiving the No. 1 safety signal, edit the text "Network security is excellent" and control the No. 1 green indicator light to flash, which prompts the staff that no safety maintenance is required;
[0142] When receiving the No. 2 safety signal, edit the text "Network security is good" and control the No. 1 yellow indicator to flash, which reminds the staff to perform safety risk maintenance to increase the safety assessment coefficient Xaq to the safe range to avoid the risk from continuing to increase to an unsafe state;
[0143] When receiving the No. 3 safety signal, edit the text "Poor network security" and control the No. 1 red indicator to flash, prompting the staff to immediately perform safety maintenance to increase the safety assessment coefficient Xaq to a safe range;
[0144] ② The specific process of establishing the optimization model is as follows:
[0145] D1: Establish a dynamic curve chart of the stability assessment coefficient Xwd and time T, substitute it into the curvature measurement model, obtain the stability fluctuation coefficient Jwd, and predict the change trend of stability;
[0146] D2: Set a threshold value of the stability fluctuation coefficient Jwd. When the stability fluctuation coefficient Jwd exceeds the threshold value, it indicates that the stability fluctuation amplitude is large. A second warning signal is generated and sent to the visualization terminal to control the visualization terminal to edit and display the second warning text "Network Stability Turbulence Warning";
[0147] D3: Receive efficiency prompt signal and stability signal, and process them accordingly:
[0148] D3-1: When receiving the efficiency prompt signal, immediately edit the corresponding efficiency prompt text for display;
[0149] For example, when the first efficiency prompt signal is received, the text "the efficiency of network operation is excellent" is edited, which prompts the staff that there is no need to repair the efficiency of network operation;
[0150] When the second efficiency prompt signal is received, the text "the efficiency of network operation is good" is edited, which prompts the staff to repair the efficiency of network operation to improve the network operation efficiency Wyx to the high efficiency range to avoid the continuous deterioration of network operation efficiency;
[0151] When the third efficiency prompt signal is received, the text "poor network operation efficiency" is edited, which prompts the staff to handle the network operation efficiency to improve the network operation efficiency Wyx to a high efficiency range and avoid poor network operation efficiency;
[0152] D3-2: When receiving a stable signal, immediately edit the corresponding stability alarm text for display, and control the corresponding indicator light to flash;
[0153] For example, when receiving the No. 1 stable signal, edit the text "Network stability is excellent" and control the No. 2 green indicator to flash, which prompts the staff that there is no need to optimize the network performance;
[0154] When the No. 2 stable signal is received, the text "Network stability is good" is edited and the No. 2 yellow indicator light is controlled to flash, which prompts the staff to repair the network stability to increase the stability assessment coefficient Xwd to the stable range to avoid further deterioration of network stability;
[0155] When receiving the No. 2 stable signal, edit the text "Poor network stability" and control the No. 2 red indicator to flash, which prompts the staff to optimize the network performance to increase the stability evaluation coefficient Xwd to the stable range to avoid inconvenience caused by deterioration of network stability;
[0156] By analyzing and processing the collected network traffic data, network attacks can be identified and defended, and trend analysis of network traffic distribution can be performed to optimize network performance.
[0157] The present invention provides a network flow data collection, big data analysis and visualization presentation method, which collects network flow data through an information collection unit, and then analyzes and processes the network flow data through a data analysis unit, thereby determining the accuracy of network transmission and the efficiency of network operation, and further determining the degree of network security and stability, and displaying the evaluation coefficient of network security and stability in real time through a control display unit, and can also set an alarm mechanism, establish an optimization model, perform risk control and alarm prompts on network security and stability, and thus perform corresponding fault processing in a timely manner;
[0158] The present invention collects network traffic data and uses big data analysis to visualize the security and stability of network operation in real time. It first determines network security through network transmission accuracy, and then uses network security combined with network operation efficiency to determine network stability. The data utilization rate is high, and timely risk control and fault repair are achieved, thereby identifying and defending against network security threats and optimizing the performance of network operation status.
[0159] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions; the setting of the threshold size is for ease of comparison. The size of the threshold depends on the amount of sample data and the cardinality set by technicians in this field for each group of sample data; as long as it does not affect the proportional relationship between the parameter and the quantized value.
[0160] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for network traffic data collection, big data analysis and visualization, characterized by: The following steps are involved: Step 1: The information collection unit collects network traffic data and sends it to the data analysis unit, wherein the network traffic data includes security parameters and stability parameters; Step 2: The data analysis unit analyzes and processes the network traffic data to determine the network security level and network stability level, wherein the data analysis unit includes a security analysis unit and a stability analysis unit; The security analysis unit first obtains the data error rate and access error rate based on the security parameters, then obtains the transmission accuracy, determines the accuracy of network transmission, and then generates a security assessment coefficient by combining the transmission accuracy with the access error rate to determine the degree of network security; The stability analysis unit first obtains the data acquisition rate and then the network operation efficiency according to the stability parameter, combines the network operation efficiency with the security assessment coefficient, generates the stability assessment coefficient, and determines the degree of network stability; Step 3: The control display unit displays the security assessment coefficient and the stability assessment coefficient in real time, and performs corresponding processing according to the network security degree and the network stability degree respectively: According to the degree of network security, set up alarm mechanisms to identify and defend against network security threats; According to the degree of network stability, an optimization model is established to optimize the performance of the network operation status; The processing of the safety analysis unit is as follows: Security parameters include load data A before transmission, load data B after transmission, error access volume Fc, user access volume Fy, and transmission packet loss rate Dc; A1: First, establish an image comparison model, compare load data A and load data B, and obtain the data error rate Lsj of the data transmission process; Among them, the process of establishing the picture comparison model is: s1: Obtain the image information Ta of the load data A and the image information Tb of the load data B by scanning, and establish a rectangular coordinate system with the same base point for the image information Ta and the image information Tb; s2: any position in the image information Ta is defined as i0, and the same position in the image information Tb is defined as i1; s3: Detect the color at i0 as S0, the color at i1 as S1, and set Ni sampling detection points. When S0=S1, the number of recorded errors is m=0; when S0≠S1, the number of recorded errors is m=1; s4: Obtain the data error rate Lsj by measuring the proportion of the total number of errors in the number of sampled detection points: A2: Then calculate the proportion of the error access volume Fc in the user access volume Fy to obtain the access error rate Lfw during the network operation process; A3: Obtain the transmission accuracy Zcs through the data error rate Lsj and the transmission packet loss rate Dc; The formula for the preset transmission accuracy Zcs is: ; A4: Generate the security assessment coefficient Xaq by assigning a weight factor to the transmission accuracy Zcs combined with the access error rate Lfw; The formula for the preset safety assessment coefficient Xaq is: ; Among them, α1 and α2 are the weight factor coefficients of the transmission accuracy Zcs combined with the access error rate Lfw, and α1 and α2 are both greater than 0; A5: Further analyze the transmission accuracy Zcs and security assessment coefficient Xaq to determine the accuracy of network transmission and the degree of network security; The processing of the stability analysis unit is as follows: The stability parameters include the packet transmission rate Vcs, the packet length L, and the packet timestamp T; B1: First, obtain the data packet collection time period Ti through the data packet timestamp T, and obtain the data collection rate Vcj by measuring the data packet length L in the unit time period; B2: Combine the data packet transmission rate Vcs and the data collection rate Vcj to obtain the network operation efficiency Wyx; The formula for the preset network operation efficiency Wyx is: ; B3: Generate the stability evaluation coefficient Xwd by assigning weight factors to the network operation efficiency Wyx and the security evaluation coefficient Xaq; The formula for the preset stability evaluation coefficient Xwd is: ; Among them, β1 and β2 are the weight factor coefficients of network operation efficiency Wyx and security assessment coefficient Xaq, and β1 and β2 are both greater than 0; B4: Further analyze the network operation efficiency Wyx and stability evaluation coefficient Xwd to determine the efficiency of network operation and the degree of network stability.
2. A method for network traffic data collection, big data analysis and visualization according to claim 1, characterized in that: The further analysis process of transmission accuracy Zcs and safety assessment coefficient Xaq is as follows: a1: preset the accuracy classification interval for the transmission accuracy Zcs to determine the accuracy of network transmission; The standard interval, risk interval and inaccurate interval of the accuracy are preset, the actual measured value of the transmission accuracy Zcs is compared with the preset interval, and the corresponding accuracy prompt signal is generated and sent to the control display unit; a2: preset the security classification interval for the security assessment coefficient Xaq to determine the degree of network security; The safety interval, risk interval and unsafe interval are preset, the actual measured value of the safety assessment coefficient Xaq is compared with the preset interval, and the corresponding safety signal is generated and sent to the control display unit.
3. A method for network traffic data collection, big data analysis and visualization according to claim 2, characterized in that: The further analysis process of network operation efficiency Wyx and stability evaluation coefficient Xwd is as follows: b1: Preset the efficiency classification interval for the network operation efficiency Wyx to determine the efficiency of the network operation; Preset the high efficiency interval, risk interval and low efficiency interval of the efficiency, compare the actual measured value of the network operation efficiency Wyx with the preset interval, generate a corresponding efficiency prompt signal and send it to the control display unit; b2: preset the stability classification interval for the stability evaluation coefficient Xwd to determine the degree of network stability; The stable interval, risk interval and unstable interval of stability are preset, the actual measured value of the stability assessment coefficient Xwd is compared with the preset interval, and the corresponding stability signal is generated and sent to the control display unit.
4. A method for network traffic data collection, big data analysis and visualization according to claim 2, characterized in that: The specific process of setting up the alarm mechanism is as follows: C1: Establish a dynamic curve chart of the safety assessment coefficient Xaq and time T, substitute it into the curvature calculation model, obtain the safety fluctuation coefficient Jaq, and predict the change trend of safety; Among them, the establishment process of the curvature calculation model is as follows: cd1: Calculate the coefficient of fluctuation of the curve. For any point on the curve, calculate the radius of curvature r of the point, and then calculate the average value R of the radius of curvature of all points on the curve. cd2: For each point, calculate the fluctuation coefficient b of that point: ; cd3: Select N points by default and calculate the standard deviation of the fluctuation coefficient b of the N points, which is the fluctuation coefficient J of the curve: ; C2: Setting a threshold of the safety fluctuation coefficient Jaq. When the safety fluctuation coefficient Jaq exceeds the threshold, it indicates that the safety fluctuation is large. A first warning signal is generated and sent to the visualization terminal to control the visualization terminal to edit and display the first warning text. C3: Receive accuracy prompt signal and safety signal, and process them accordingly: C3-1: When receiving the accuracy prompt signal, immediately edit the corresponding accuracy prompt text for display; C3-2: When a safety signal is received, immediately edit the corresponding safety alarm text for display and control the corresponding indicator light to flash.
5. A method for network traffic data collection, big data analysis and visualization according to claim 3, characterized in that: The specific process of establishing the optimization model is as follows: D1: Establish a dynamic curve chart of the stability assessment coefficient Xwd and time T, substitute it into the curvature measurement model, obtain the stability fluctuation coefficient Jwd, and predict the change trend of stability; Among them, the establishment process of the curvature calculation model is as follows: cd1: Calculate the coefficient of fluctuation of the curve. For any point on the curve, calculate the radius of curvature r of the point, and then calculate the average value R of the radius of curvature of all points on the curve. cd2: For each point, calculate the fluctuation coefficient b of that point: ; cd3: Select N points by default and calculate the standard deviation of the fluctuation coefficient b of the N points, which is the fluctuation coefficient J of the curve: ; D2: Setting a threshold of the stability fluctuation coefficient Jwd. When the stability fluctuation coefficient Jwd exceeds the threshold, it indicates that the stability fluctuation amplitude is large. A second warning signal is generated and sent to the visualization terminal to control the visualization terminal to edit and display the second warning text. D3: Receive efficiency prompt signal and stability signal, and process them accordingly: D3-1: When receiving the efficiency prompt signal, immediately edit the corresponding efficiency prompt text for display; D3-2: When a stable signal is received, immediately edit the corresponding stability alarm text for display, and control the corresponding indicator light to flash.
