Network information security analysis method and system based on big data
By collecting data at key network nodes and training the network traffic prediction model, combined with user behavior and weather data, the network information anomaly coefficient is determined, which solves the problem in the existing technology of being unable to comprehensively analyze the impact of network traffic and user behavior on network security, and achieves Provide a more accurate and comprehensive network information security analysis.
Patent Information
- Application Number
- CN202410773620.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Existing technology cannot conduct a comprehensive analysis of network information security based on network traffic and user behavior, resulting in the inability to effectively monitor and predict network security threats.
By setting up data collectors at key nodes of the network, real-time and historical data are collected, including network traffic, configuration information, user behavior data and weather data, the network traffic prediction model is trained, the network information anomaly coefficient is determined, and alarm information is generated based on the anomaly coefficient.
It improves the accuracy and adaptability of network traffic prediction, enhances the comprehensiveness and objectivity of network information security analysis, can improve the accuracy of network traffic prediction models in a targeted manner, and detect network information anomalies in a timely manner.
Smart Images

Figure CN118748600A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network information security, and in particular to a network information security analysis method and system based on big data. Background Art
[0002] In the related technology, CN117478349A discloses a network information security maintenance system based on big data, which relates to the field of big data technology; the information source of network information is obtained through the information collection module; the information processing module obtains the information source index according to the level of the information source and the account credit; the information quality index is obtained according to the level of the information quality; the security index is obtained according to the information source index and the information quality index; the information processing module sets the security index interval; when the security index belongs to the security index interval, the corresponding network information is marked as security information; when the security index belongs to the doubtful security index interval, the corresponding network information is marked as doubtful information; when the security index belongs to the wrong security index interval, the corresponding network information is marked as dangerous information; the security alarm module deletes the network information marked as dangerous information, and reduces the account credit of the corresponding uploading user; the security and greenness of the network environment are improved.
[0003] CN115396167A discloses a network information security protection method based on big data, which belongs to the field of network information security and solves the problem of how to monitor network offensive data to ensure network information security; the abnormal data detection unit detects the abnormal data in the cloud server and sends it to the network target range module; the attacking machine in the network target range module sends the network offensive data in the abnormal data to the cloud server virtual machine through the network routing, the defense unit intercepts the network offensive data, the attack and defense detection unit monitors and records the attack behavior characteristics of the attacking machine and the defense behavior characteristics of the defense unit in real time, analyzes them, and cracks them by professional and technical personnel, and reinforces the cloud server; the local server or local computer filters the network data, sets a pseudo system vulnerability, the professional and technical personnel analyze the network offensive data, reinforces the real local server or local computer, and the security butler module conducts comprehensive monitoring in the local computer.
[0004] Based on the above related technologies, the problem of difficulty in monitoring network offensive data and thus ensuring network information security has been solved. However, the related technologies do not consider the impact of network traffic monitoring and user behavior monitoring on network information security, that is, it is impossible to conduct a comprehensive analysis of network information security based on network traffic and user behavior.
[0005] The information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to those skilled in the art. Summary of the invention
[0006] The present invention provides a network information security analysis method and system based on big data, which can solve the technical problem that related technologies cannot comprehensively analyze network information security based on network traffic and user behavior.
[0007] According to a first aspect of an embodiment of the present invention, there is provided a network information security analysis method based on big data, comprising:
[0008] At multiple moments in the current time period, real-time data and historical data in the network are collected through data collectors set at key nodes of the network, wherein the real-time data includes: network traffic, configuration information and user behavior data, and the historical data includes: historical configuration information and historical user behavior data;
[0009] At multiple moments in the current time period, obtaining real-time weather data of the area where the network device is located, wherein the real-time weather data includes: humidity data and wind data;
[0010] Using the historical data to train a network traffic prediction model to obtain a trained network traffic prediction model;
[0011] According to the trained network traffic prediction model, the configuration information and the user behavior data are processed to obtain predicted network traffic data at multiple moments in the current time period;
[0012] Determine a network information anomaly coefficient based on the real-time data at multiple moments in the current time period, the predicted network traffic data, the real-time weather data, the user behavior data, and the historical user behavior data;
[0013] If the network information abnormality coefficient is less than the set abnormality coefficient threshold, an alarm message is generated.
[0014] According to a second aspect of the present invention, there is provided a network information security analysis system based on big data, comprising:
[0015] The network data collection module collects real-time data and historical data in the network at multiple moments in the current time period through data collectors set at key network nodes, wherein the real-time data includes: network traffic, configuration information and user behavior data, and the historical data includes: historical configuration information and historical user behavior data;
[0016] A weather data collection module, which obtains real-time weather data of the area where the network device is located at multiple moments in the current time period, wherein the real-time weather data includes: humidity data and wind data;
[0017] A model training module, using the historical data to train a network traffic prediction model to obtain a trained network traffic prediction model;
[0018] A traffic prediction module processes the configuration information and the user behavior data according to a trained network traffic prediction model to obtain predicted network traffic data at multiple moments in the current time period;
[0019] An abnormality coefficient module, determining a network information abnormality coefficient according to the real-time data at multiple moments in the current time period, the predicted network traffic data, the real-time weather data, the user behavior data and the historical user behavior data;
[0020] The alarm module generates an alarm message if the network information abnormality coefficient is less than a set abnormality coefficient threshold.
[0021] Technical effect: According to the present invention, network traffic can be predicted, and when predicting network traffic data, the network traffic prediction model can be trained based on the impact of configuration information and user behavior data on network traffic, thereby improving the adaptability of the network traffic prediction model to the current network configuration environment and user behavior, and improving the accuracy of network traffic prediction results. Furthermore, network information security is analyzed based on both network traffic and user behavior, thereby improving the comprehensiveness and objectivity of network information security analysis. When determining the user behavior impact coefficient, the user behavior impact coefficient is determined based on historical user behavior data. During the calculation process, the impact of user behavior on network traffic can be judged from three aspects: file transfer size, page access, and application usage, thereby improving the comprehensiveness and accuracy of the user behavior impact coefficient calculation. When determining the training loss function of the network traffic prediction model, the influence of the network traffic shaping configuration information, interface configuration information, routing configuration information and security configuration information on the network traffic can be used to determine the influence of the above data on the error of the predicted network data, so as to set the training loss function based on the influence, the relative error of the predicted network traffic data and the user behavior influence coefficient, so that the network traffic prediction model can reduce the training loss function during the training process, and make the trained network traffic prediction model more suitable for the prediction of network traffic under the user behavior and configuration information of the current date, and improve the accuracy of the network traffic prediction model in a more targeted manner. When determining the user behavior anomaly coefficient, the user behavior anomaly coefficient can be determined based on the user behavior data and the historical user behavior data. During the calculation process, the user behavior anomaly coefficient is determined based on the user's login status and the security event triggering status. When determining the user's login status, the cosine similarity calculation is performed based on the user login vector of the current time period and the historical user login vector of multiple historical time periods, and the maximum value of the cosine similarity is taken to determine the user's login status, thereby improving the comprehensiveness, accuracy and objectivity of the user behavior anomaly coefficient.
[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only and do not limit the present invention. Other features and aspects of the present invention will become more apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without creative work.
[0024] Figure 1A schematic diagram of a process flow of a network information security analysis method based on big data according to an embodiment of the present invention is exemplarily shown;
[0025] Figure 2 A block diagram of a network information security analysis system based on big data according to an embodiment of the present invention is exemplarily shown. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0027] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0028] Figure 1 A flowchart of a network information security analysis method based on big data according to an embodiment of the present invention is exemplarily shown, and the method includes:
[0029] Step S101, at multiple moments in the current time period, real-time data and historical data in the network are collected through data collectors set at key nodes of the network, wherein the real-time data includes: network traffic, configuration information and user behavior data, and the historical data includes: historical configuration information and historical user behavior data;
[0030] Step S102, acquiring real-time weather data of the area where the network device is located at multiple moments in the current time period, wherein the real-time weather data includes: humidity data and wind data;
[0031] Step S103, using the historical data to train a network traffic prediction model to obtain a trained network traffic prediction model;
[0032] Step S104, processing the configuration information and the user behavior data according to the trained network traffic prediction model to obtain predicted network traffic data at multiple moments in the current time period;
[0033] Step S105, determining a network information anomaly coefficient according to the real-time data at multiple moments in the current time period, the predicted network traffic data, the real-time weather data, the user behavior data, and the historical user behavior data;
[0034] Step S106: if the network information abnormality coefficient is less than a set abnormality coefficient threshold, an alarm message is generated.
[0035] According to the network information security analysis method based on big data of the embodiment of the present invention, network traffic can be predicted, and when predicting network traffic data, a network traffic prediction model is trained based on the influence of configuration information and user behavior data on network traffic, thereby improving the adaptability of the network traffic prediction model to the current network configuration environment and user behavior, and improving the accuracy of the network traffic prediction results. Furthermore, network information security is analyzed based on both network traffic and user behavior, thereby improving the comprehensiveness and objectivity of network information security analysis.
[0036] According to one embodiment of the present invention, in step S101, at multiple moments in the current time period, real-time data and historical data in the network are collected by data collectors arranged at key nodes of the network, wherein the real-time data includes: network traffic, configuration information and user behavior data, and the historical data includes: historical configuration information and historical user behavior data.
[0037] For example, at multiple moments in the current time period, network traffic, configuration information and user behavior data in the network are collected by data collectors set up at key nodes of the network (for example, traffic monitoring equipment, security auditing equipment, etc.). By analyzing the network traffic, abnormal network activities (for example, DDoS attacks, malicious traffic, etc.) can be identified. By analyzing the configuration information, the network status can be identified. By analyzing the user behavior data, abnormal user activities (for example, illegal logins, unauthorized access, etc.) can be identified, and the acquired historical configuration information and historical user behavior data can be stored.
[0038] According to an embodiment of the present invention, in step S102, real-time weather data of the area where the network device is located is obtained at multiple moments in the current time period, wherein the real-time weather data includes humidity data and wind data.
[0039] For example, at multiple moments in the current time period, humidity data and wind data of the area where the network device is located are collected through humidity sensors and wind sensors.
[0040] According to an embodiment of the present invention, in step S103, the network traffic prediction model is trained using the historical data to obtain a trained network traffic prediction model.
[0041] According to one embodiment of the present invention, step S103 includes:
[0042] Determining a user behavior influence coefficient according to the historical user behavior data, wherein the historical user behavior data includes: page visits, number of applications, file transfer volume, and file size;
[0043] Through the network traffic prediction model, the historical configuration information and historical user behavior data of multiple time periods in the previous historical date of the current date are processed to obtain the predicted network traffic data of multiple moments in the multiple time periods in the previous historical date of the current date;
[0044] Get the historical network traffic data at multiple times in multiple time periods on the previous historical date;
[0045] Determine a training loss function according to the historical configuration information, the user behavior influence coefficient, the predicted network traffic data and the historical network traffic data, wherein the historical configuration information includes: routing configuration information, interface bandwidth configuration information, network traffic shaping configuration information and security configuration information;
[0046] The network traffic prediction model is trained according to the training loss function to obtain a trained network traffic prediction model.
[0047] For example, based on the number of page views visited by users, the number of applications used, and the amount and size of files transferred, the impact of user operations on network traffic can be determined, and the user behavior impact coefficient can be obtained; the network traffic prediction model is a deep learning neural network model, which can be processed based on historical configuration information and historical user behavior data to obtain predicted network traffic data for multiple moments in multiple time periods in the previous historical date of the current date; obtain historical network traffic data for the previous historical date of the current date. Based on the predicted network traffic data, historical network traffic data, historical configuration information, and the user behavior impact coefficient, the training loss function is determined; and the network traffic prediction model is trained based on the training loss function.
[0048] According to an embodiment of the present invention, determining the user behavior influence coefficient based on the historical user behavior data includes: determining the user behavior influence coefficient U at the jth moment in the kth time period of the previous historical date according to formula (1): k,j ,
[0049]
[0050] Among them, θ1, θ2 and θ3 are preset weights, FS k,i,j is the file size of the i-th file transferred at the j-th moment in the k-th time period of the previous historical date, F T is the preset file flow threshold, Pk,j is the page views at the jth moment in the kth time period of the previous historical date, P T is the preset page traffic threshold, A k,j A is the number of applications at the jth moment in the kth time period of the previous historical date. T is the preset application traffic threshold, n is the number of downloaded files, i≤n, and both i and n are positive integers.
[0051] According to one embodiment of the present invention, It is the ratio of the sum of the network traffic consumed by all files transferred at the jth moment in the kth time period in the previous historical date to the current date, and the preset file traffic threshold. The closer the ratio is to 1, the smaller the impact of the user's file transfer behavior on the network traffic. Thus, the change in the size of the transferred file has a smaller impact on the error of the predicted network traffic data. It is the ratio of the network traffic consumed by the accessed page at the jth moment in the kth time period in the previous historical date to the current date to the preset page traffic threshold. The closer the ratio is to 1, the smaller the impact of the user's page visits on the network traffic, and thus, the smaller the impact of the change in page visits on the error of predicting network traffic data. It is the ratio of the network traffic consumed by the application used by the user at the jth moment in the kth time period in the previous historical date to the current date, and the preset application traffic threshold. The closer the ratio is to 1, the smaller the impact of the number of applications used by the user on the network traffic. Thus, the change in the number of applications will have a smaller impact on the error of the predicted network traffic data.
[0052] In this way, the user behavior impact coefficient is determined based on historical user behavior data. During the calculation process, the impact of user behavior on network traffic can be judged from three aspects: file transfer size, page access and application usage, thereby improving the comprehensiveness and accuracy of the user behavior impact coefficient calculation.
[0053] According to an embodiment of the present invention, determining a training loss function according to the historical configuration information, the user behavior influence coefficient, the predicted network traffic data, and the historical network traffic data includes:
[0054] Determining a network configuration state vector according to the routing configuration information and the security configuration information;
[0055] According to formula (2), the training loss function Loss of the network traffic prediction model is determined T ,
[0056]
[0057] Among them, NF k,j is the network traffic at the jth moment in the kth time period of the previous historical date, NF k,j,p is the predicted network traffic data at the jth moment in the kth time period of the previous historical date, N k,j is the network traffic shaping configuration information at the jth moment in the kth time period of the previous historical date, I k,j is the interface bandwidth configuration information at the jth moment in the kth time period of the previous historical date. k,j is the routing configuration information at the jth moment in the kth time period of the previous historical date, S k,j is the security configuration information at the jth moment in the kth time period of the previous historical date, N k,j,T For standard network traffic shaping configuration information, I k,j,T is the standard interface bandwidth configuration information, R k,j,T For standard routing configuration information, S k,j,T For standard security configuration information, Configure the state vector for the network, The state vector for the standard network configuration, U k,j is the user behavior influence coefficient at the jth moment in the kth time period in the previous historical date, K is the number of time periods in the previous historical date, m is the number of moments in the time period, j≤m, k≤K, and k, j, m and K are all positive integers.
[0058] According to one embodiment of the present invention, It is the ratio of the interface bandwidth configuration information at the jth moment in the kth time period in the previous historical date to the current date to the standard interface bandwidth configuration information. The closer the ratio is to 1, the smaller the impact of the change in the interface bandwidth configuration information on the error of the predicted network traffic data. It is the cosine similarity between the network configuration state vector and the standard network configuration state vector. The closer this cosine similarity is to 1, the smaller the impact of changes in routing configuration information and security configuration information on the error of predicting network traffic data. The cosine similarity between the vector determined by the network traffic shaping configuration information and the vector determined by the standard network traffic shaping configuration information. The closer the cosine similarity is to 1, the smaller the impact of the change in the network traffic shaping configuration information on the error of the predicted network traffic data. It indicates that the similarity between the interface bandwidth configuration information, the network configuration state vector and the standard network configuration state vector is positively correlated with the network traffic, and the similarity between the network traffic shaping configuration information and the standard network traffic shaping configuration information is negatively correlated with the network traffic. For example, the larger the bandwidth of the interface, the faster the transmission speed of the network traffic. The load balancing function in the routing configuration information can disperse the network traffic to multiple paths or devices to ensure the efficient transmission of the network traffic. The smaller the difference between the routing configuration information and the standard routing configuration information, the larger the network traffic. The security configuration can prevent the mismatch between the policy and the actual network topology, and ensure the smooth transmission and security of the network traffic. The smaller the difference between the security configuration information and the standard security configuration information, the larger the network traffic. Network traffic shaping is mainly used for traffic control and prevention of network abuse. The smaller the difference between the network traffic shaping configuration information and the standard network traffic shaping configuration information, the better the traffic control effect and the smaller the network traffic. Therefore, the items related to the interface bandwidth configuration information, the routing configuration information and the security configuration information are placed in the numerator, indicating that the larger the interface bandwidth configuration information is relative to the standard network bandwidth configuration information, the more similar the network configuration state vector is to the standard network configuration state vector, that is, The larger the value of , the larger the network traffic, and the greater the impact on the error of predicted network traffic data. Putting the items related to network traffic shaping configuration information in the denominator indicates that the difference between network traffic shaping configuration information and standard network traffic shaping configuration information is greater, that is, The smaller the value is, the greater the network traffic is, and the greater the impact on the error of predicting network traffic data is. It is the difference between the network traffic data at the jth moment of the kth time period of the previous historical date and the predicted network traffic data, and the ratio of the network traffic data at the jth moment of the kth time period of the previous historical date to the current date, that is, the relative error of the predicted network traffic data. k,j It is the user behavior influence coefficient of the jth moment in the kth time period of the previous historical date of the current date. The larger the user behavior influence coefficient is, the larger the network traffic is, and the greater the impact on the error of predicting network traffic data is.
[0059] In this way, the influence of network traffic shaping configuration information, interface configuration information, routing configuration information and security configuration information on network traffic can be used to determine the influence of the above data on the error of predicted network data, and then the training loss function can be set based on the influence, as well as the relative error of predicted network traffic data and the user behavior influence coefficient, so that the network traffic prediction model can reduce the training loss function during the training process, and make the trained network traffic prediction model more suitable for predicting network traffic under the user behavior and configuration information of the current date, thereby improving the accuracy of the network traffic prediction model in a more targeted manner.
[0060] According to an embodiment of the present invention, in step S104, the configuration information and the user behavior data are processed according to the trained network traffic prediction model to obtain predicted network traffic data at multiple moments in the current time period.
[0061] For example, the configuration information of the current time period and the user behavior data of the current time period are input into the trained network traffic prediction model to obtain the predicted network traffic data at multiple moments of the current period.
[0062] According to one embodiment of the present invention, in step S105, the network information anomaly coefficient is determined based on the real-time data at multiple moments in the current time period, the predicted network traffic data, the real-time weather data, the user behavior data and the historical user behavior data.
[0063] According to one embodiment of the present invention, step S105 includes:
[0064] Determining a network traffic anomaly coefficient according to the network traffic, the predicted network traffic data and the real-time weather data;
[0065] Determine the user behavior abnormality coefficient according to the user behavior data and historical user behavior data, wherein the user behavior data includes: user login time, login IP address, login method and user-triggered security event data, and the historical user behavior data also includes: historical user login time, historical login IP address and historical login method;
[0066] A network information abnormality coefficient is determined according to the network traffic abnormality coefficient and the user behavior abnormality coefficient.
[0067] For example, when extreme weather conditions occur, such as storms, heavy rains, etc., the network condition will be affected to a certain extent. According to the network traffic, predicted network traffic data and real-time weather data, the abnormal condition of the network traffic is determined, and the network traffic abnormality coefficient is obtained; by analyzing the user login time, login IP address, login method and user-triggered security event data, the abnormal condition of the user behavior is determined, and the user behavior abnormality coefficient is obtained; the network information abnormality coefficient is determined by taking the weighted sum of the network traffic abnormality coefficient and the user behavior abnormality coefficient.
[0068] According to an embodiment of the present invention, determining the network traffic anomaly coefficient according to the network traffic, the predicted network traffic data and the real-time weather data includes: determining the network traffic anomaly coefficient Ab of the current time period according to formula (3): NF ,
[0069]
[0070] Among them, α1 is the preset weight, NF j is the network traffic at the jth moment in the current time period, NF j,p is the predicted network traffic data at the jth moment in the current time period, H j is the humidity data at the jth moment of the current time period, F j is the wind force data at the jth moment in the current time period.
[0071] According to one embodiment of the present invention, is a function to be fitted in the form of a sine function, representing a fitting item with a certain periodicity. For example, the current weather condition is cloudy and rainy, and half an hour later, the weather condition becomes sunny. In a change cycle, humidity data and wind data will have a temporary impact on network traffic. In general, humidity data, wind data and network traffic have a negative correlation. For example, when humidity data and wind data are large, the weather condition may be heavy rain. Extreme weather will have an impact on network traffic and network transmission equipment. The larger the humidity data and wind data, the smaller the network traffic. As the humidity data and wind data change periodically in a shorter period of time, they may have a periodic impact on network traffic in a shorter period of time. Therefore, the humidity data and wind data at the jth moment of the current time period can be periodically fitted with the preset weights to express the part of the network traffic change in the current time period that conforms to the transient change. It represents the predicted network traffic data after considering the weather factors at the jth moment of the current time period. It represents the relative difference between the network traffic at the jth moment in the current time period and the predicted network traffic data after considering the influence of weather factors. The smaller the ratio, the less likely the network traffic is abnormal.
[0072] In this way, the network traffic anomaly coefficient can be determined based on network traffic, predicted network traffic data and real-time weather. During the calculation process, the periodic impact of weather conditions on network traffic in a short period of time is fully considered, which improves the accuracy, comprehensiveness and objectivity of the calculation of the network traffic anomaly coefficient.
[0073] According to an embodiment of the present invention, determining a user behavior abnormality coefficient based on the user behavior data and historical user behavior data includes:
[0074] Determining a user login vector according to the user behavior data;
[0075] Determining a historical user login vector according to the historical user behavior data;
[0076] According to formula (4), determine the user behavior abnormality coefficient Ab in the current time period UA ,
[0077]
[0078] Among them, max is the maximum value function, if is the conditional function, LaT is the login time of the user in the current time period, LaI is the login IP address of the user in the current time period, LaM is the login method of the user in the current time period, LaT c is the user's login time in the cth historical time period that is the same as the start time of the current time period, LaI c is the user's login IP address in the cth historical time period that is the same as the start time of the current time period, LaM c is the user's login method in the cth historical time period that is the same as the start time of the current time period, is the user login vector for the current time period, is the historical user login vector of the cth historical time period that is the same as the start time of the current time period, US o The number of security events triggered by the user in the current time period, US T is the preset security event triggering number threshold, S is the number of historical time periods, c≤S, and both c and S are positive integers.
[0079] According to one embodiment of the present invention, It is the cosine similarity between the user login vector of the current time period and the historical user login vector of the cth historical time period with the same start time of the current time period. The closer this cosine similarity is to 1, the more similar the login time, login IP address and login method of the current time period are to the login time, login IP address and login method of the cth historical time period with the same start time of the current time period, and the less likely the user login status is abnormal. The maximum value of the cosine similarity between the user login vector of the current time period and the historical user login vectors of S historical time periods is taken. The above-mentioned maximum value process can be used to determine the maximum security level of the current login status, and the user behavior abnormality coefficient is determined based on this, so that the user behavior abnormality coefficient can reflect whether the user login status is abnormal.
[0080] According to one embodiment of the present invention, the following two situations are expressed in the form of conditional functions in formula (4): when US o ≥US T When the condition is met, the number of times the user triggers security events in the current time period is greater than or equal to the preset security event triggering number threshold, indicating that the user behavior may be abnormal. At this time, the value of the condition function is 0.o <US T When the condition is met, the number of times a user triggers a security event within the current time period is less than the preset security event triggering number threshold. At this time, the value of the condition function is It indicates the difference between the number of times a user triggers a security event in the current time period and the preset security event triggering number threshold. The larger the ratio, the smaller the possibility that the user's behavior is abnormal.
[0081] In this way, the user behavior anomaly coefficient can be determined based on user behavior data and historical user behavior data. During the calculation process, the user behavior anomaly coefficient is determined based on the user's login status and the security event triggering status. When determining the user's login status, the cosine similarity operation is performed based on the user login vector of the current time period and the historical user login vectors of multiple historical time periods, and the maximum value of the cosine similarity is taken to determine the user's login status, thereby improving the comprehensiveness, accuracy and objectivity of the user behavior anomaly coefficient.
[0082] According to an embodiment of the present invention, in step S106, if the network information abnormality coefficient is less than a set abnormality coefficient threshold, an alarm message is generated.
[0083] For example, when the network information anomaly coefficient is less than the anomaly coefficient threshold, it indicates that there are anomalies in network traffic and user behavior, and an alarm message is generated to remind the user to perform network security maintenance.
[0084] According to the network information security analysis method based on big data of the embodiment of the present invention, network traffic can be predicted, and when predicting network traffic data, the network traffic prediction model is trained based on the influence of configuration information and user behavior data on network traffic, thereby improving the adaptability of the network traffic prediction model to the current network configuration environment and user behavior, and improving the accuracy of the network traffic prediction results. Furthermore, network information security is analyzed based on both network traffic and user behavior, thereby improving the comprehensiveness and objectivity of network information security analysis. When determining the user behavior influence coefficient, the user behavior influence coefficient is determined based on historical user behavior data. During the calculation process, the influence of user behavior on network traffic can be judged from three aspects: file transfer size, page access, and application usage, thereby improving the comprehensiveness and accuracy of the calculation of the user behavior influence coefficient. When determining the training loss function of the network traffic prediction model, the influence of the network traffic shaping configuration information, interface configuration information, routing configuration information and security configuration information on the network traffic can be used to determine the influence of the above data on the error of the predicted network data, so as to set the training loss function based on the influence, the relative error of the predicted network traffic data and the user behavior influence coefficient, so that the network traffic prediction model can reduce the training loss function during the training process, and make the trained network traffic prediction model more suitable for the prediction of network traffic under the user behavior and configuration information of the current date, and improve the accuracy of the network traffic prediction model in a more targeted manner. When determining the user behavior anomaly coefficient, the user behavior anomaly coefficient can be determined based on the user behavior data and the historical user behavior data. During the calculation process, the user behavior anomaly coefficient is determined based on the user's login status and the security event triggering status. When determining the user's login status, the cosine similarity calculation is performed based on the user login vector of the current time period and the historical user login vector of multiple historical time periods, and the maximum value of the cosine similarity is taken to determine the user's login status, thereby improving the comprehensiveness, accuracy and objectivity of the user behavior anomaly coefficient.
[0085] Figure 2 A block diagram of a network information security analysis system based on big data according to an embodiment of the present invention is exemplarily shown, and the system includes:
[0086] The network data collection module collects real-time data and historical data in the network at multiple moments in the current time period through data collectors set at key network nodes, wherein the real-time data includes: network traffic, configuration information and user behavior data, and the historical data includes: historical configuration information and historical user behavior data;
[0087] A weather data collection module, which obtains real-time weather data of the area where the network device is located at multiple moments in the current time period, wherein the real-time weather data includes: humidity data and wind data;
[0088] A model training module, using the historical data to train a network traffic prediction model to obtain a trained network traffic prediction model;
[0089] A traffic prediction module processes the configuration information and the user behavior data according to a trained network traffic prediction model to obtain predicted network traffic data at multiple moments in the current time period;
[0090] An abnormality coefficient module, determining a network information abnormality coefficient according to the real-time data at multiple moments in the current time period, the predicted network traffic data, the real-time weather data, the user behavior data and the historical user behavior data;
[0091] The alarm module generates an alarm message if the network information abnormality coefficient is less than a set abnormality coefficient threshold.
[0092] According to one embodiment of the present invention, there is provided a network information security analysis device based on big data, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the network information security analysis method based on big data.
[0093] According to one embodiment of the present invention, there is provided a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the network information security analysis method based on big data.
[0094] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.
[0095] It should be understood by those skilled in the art that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The purpose of the present invention has been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments, and the embodiments of the present invention may be deformed or modified in any way without departing from the principles.
Claims
1. A network information security analysis method based on big data, It is characterized in that include: At multiple moments in the current time period, real-time data and historical data in the network are collected through data collectors set at key nodes of the network, wherein the real-time data includes: network traffic, configuration information and user behavior data, and the historical data includes: historical configuration information and historical user behavior data; At multiple moments in the current time period, obtaining real-time weather data of the area where the network device is located, wherein the real-time weather data includes: humidity data and wind data; Using the historical data to train a network traffic prediction model to obtain a trained network traffic prediction model; According to the trained network traffic prediction model, the configuration information and the user behavior data are processed to obtain predicted network traffic data at multiple moments in the current time period; Determine a network information anomaly coefficient based on the real-time data at multiple moments in the current time period, the predicted network traffic data, the real-time weather data, the user behavior data, and the historical user behavior data; If the network information abnormality coefficient is less than the set abnormality coefficient threshold, an alarm message is generated.
2. According to the network information security analysis method based on big data in claim 1, It is characterized in that Using the historical data to train the network traffic prediction model to obtain a trained network traffic prediction model includes: Determining a user behavior influence coefficient according to the historical user behavior data, wherein the historical user behavior data includes: page visits, number of applications, file transfer volume, and file size; Through the network traffic prediction model, the historical configuration information and historical user behavior data of multiple time periods in the previous historical date of the current date are processed to obtain the predicted network traffic data of multiple moments in the multiple time periods in the previous historical date of the current date; Get the historical network traffic data at multiple times in multiple time periods on the previous historical date; Determine a training loss function according to the historical configuration information, the user behavior influence coefficient, the predicted network traffic data and the historical network traffic data, wherein the historical configuration information includes: routing configuration information, interface bandwidth configuration information, network traffic shaping configuration information and security configuration information; The network traffic prediction model is trained according to the training loss function to obtain a trained network traffic prediction model.
3. According to the network information security analysis method based on big data in claim 2, the user behavior influence coefficient is determined according to the historical user behavior data. include: According to the formula Determine the user behavior influence coefficient U at the jth moment in the kth time period of the previous historical date k,j , where θ 1 ,θ 2 and θ 3 is the preset weight, FS k,i,j is the file size of the i-th file transferred at the j-th moment in the k-th time period of the previous historical date, F T is the preset file flow threshold, P k,j is the page views at the jth moment in the kth time period of the previous historical date, P T is the preset page traffic threshold, A k,j A is the number of applications at the jth moment in the kth time period of the previous historical date. T is the preset application traffic threshold, n is the number of downloaded files, i≤n, and both i and n are positive integers.
4. According to the network information security analysis method based on big data in claim 3, a training loss function is determined according to the historical configuration information, the user behavior influence coefficient, the predicted network traffic data and the historical network traffic data. include: Determining a network configuration state vector according to the routing configuration information and the security configuration information; According to the formula Determine the training loss function Loss of the network traffic prediction model T , where NF k,j is the network traffic at the jth moment in the kth time period of the previous historical date, NF k,j,p is the predicted network traffic data at the jth moment in the kth time period of the previous historical date, N k,j is the network traffic shaping configuration information at the jth moment in the kth time period of the previous historical date, I k,j is the interface bandwidth configuration information at the jth moment in the kth time period of the previous historical date. k,j is the routing configuration information at the jth moment in the kth time period of the previous historical date, S k,j is the security configuration information at the jth moment in the kth time period of the previous historical date, N k,j,T For standard network traffic shaping configuration information, I k,j,T is the standard interface bandwidth configuration information, R k,j,T For standard routing configuration information, S k,j,T For standard security configuration information, Configure the state vector for the network, The state vector for the standard network configuration, U k,j is the user behavior influence coefficient at the jth moment in the kth time period in the previous historical date, K is the number of time periods in the previous historical date, m is the number of moments in the time period, j≤m, k≤K, and k, j, m and K are all positive integers.
5. According to the network information security analysis method based on big data in claim 1, the network information anomaly coefficient is determined according to the real-time data at multiple moments of the current time period, the predicted network traffic data, the real-time weather data, the user behavior data and the historical user behavior data. include: Determining a network traffic anomaly coefficient according to the network traffic, the predicted network traffic data and the real-time weather data; Determine the user behavior abnormality coefficient according to the user behavior data and historical user behavior data, wherein the user behavior data includes: user login time, login IP address, login method and user-triggered security event data, and the historical user behavior data also includes: historical user login time, historical login IP address and historical login method; A network information abnormality coefficient is determined according to the network traffic abnormality coefficient and the user behavior abnormality coefficient.
6. According to the network information security analysis method based on big data in claim 5, the network traffic anomaly coefficient is determined according to the network traffic, the predicted network traffic data and the real-time weather data, include: According to the formula Determine the network traffic anomaly coefficient Ab for the current time period NF , where α 1 is the preset weight, NF j is the network traffic at the jth moment in the current time period, NF j,p is the predicted network traffic data at the jth moment in the current time period, H j is the humidity data at the jth moment of the current time period, F j is the wind force data at the jth moment in the current time period.
7. According to the network information security analysis method based on big data in claim 5, the user behavior abnormality coefficient is determined according to the user behavior data and historical user behavior data. include: Determining a user login vector according to the user behavior data; Determining a historical user login vector according to the historical user behavior data; According to the formula Determine the user behavior abnormality coefficient Ab for the current time period UA , where max is the maximum value function, if is the conditional function, LaT is the login time of the user in the current time period, LaI is the login IP address of the user in the current time period, LaM is the login method of the user in the current time period, LaT c is the user's login time in the cth historical time period that is the same as the start time of the current time period, LaI c is the user's login IP address in the cth historical time period that is the same as the start time of the current time period, LaM c is the user's login method in the cth historical time period that is the same as the start time of the current time period, is the user login vector for the current time period, is the historical user login vector of the cth historical time period that is the same as the start time of the current time period, US o The number of security events triggered by the user in the current time period, US T is the preset security event triggering number threshold, S is the number of historical time periods, c≤S, and both c and S are positive integers.
8. A network information security analysis system based on big data, It is characterized in that include: The network data collection module collects real-time data and historical data in the network at multiple moments in the current time period through data collectors set at key network nodes, wherein the real-time data includes: network traffic, configuration information and user behavior data, and the historical data includes: historical configuration information and historical user behavior data; A weather data collection module, which obtains real-time weather data of the area where the network device is located at multiple moments in the current time period, wherein the real-time weather data includes: humidity data and wind data; A model training module, using the historical data to train a network traffic prediction model to obtain a trained network traffic prediction model; A traffic prediction model, processing the configuration information and the user behavior data according to a trained network traffic prediction model, to obtain predicted network traffic data at multiple moments in a current time period; An abnormality coefficient module, determining a network information abnormality coefficient according to the real-time data at multiple moments in the current time period, the predicted network traffic data, the real-time weather data, the user behavior data and the historical user behavior data; The alarm module generates an alarm message if the network information abnormality coefficient is less than a set abnormality coefficient threshold.
9. A network information security analysis device based on big data, include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that Computer program instructions are stored thereon, and when the computer program instructions are executed by a processor, the method as claimed in claims 1-7 is implemented.
Citation Information
Patent Citations
Method for monitoring network traffic abnormity
CN107733737A
Flow monitoring method, device and equipment
CN110213123A
Network flow real-time prediction method and system
CN115499344A
Model training method, traffic prediction method, traffic load balancing method and device, and storage medium
CN115622895A
Network traffic prediction method and system, medium, equipment and terminal
CN116346639A
Cited By
Big data network security protection method and system
CN119420546A
A Big Data Network Security Protection Method and System
CN119420546B
Enterprise equal insurance processing and password application intelligent evaluation system based on big data
CN119885187A
System interface verification method and system based on artificial intelligence
CN121070749A
