A mobile Internet security situation awareness method and system
By filtering the preferred key points and evaluating the similarity of the network security state vector, the performance and accuracy contradiction of the traceless Kalman filtering algorithm when selecting key points is solved, and efficient prediction and accurate evaluation of the mobile Internet security situation is achieved, and the Identification and protection of cyber attacks.
Patent Information
- Application Number
- CN202410479381.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-04-22
AI Technical Summary
The existing traceless Kalman filtering algorithm cannot take into account the security situation prediction performance and accuracy of the mobile Internet when selecting key points, resulting in contradictions in prediction performance and accuracy.
By collecting Internet security detection data, the degree of distribution dispersion of data sequences in each dimension is determined, and the similarity between the key points to be measured and the discrete degree vector is calculated, so as to screen out multiple preferred key points to predict network security at the next moment The state vector is used, and the security situation at the current moment is evaluated based on the cosine similarity of the preset network hazard state vector.
It improves the security situation prediction performance of the mobile Internet, while ensuring the accuracy of prediction, can timely identify the impact of nonlinear noise of network attacks, and enhances the effectiveness of security situation evaluation and protection measures.
Smart Images

Figure CN118075751B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for mobile Internet security situation awareness. Background Art
[0002] In order to prevent information leakage in mobile Internet, it is necessary to evaluate the security of mobile Internet through security situation awareness method. The steps of security situation awareness method include situation prediction. Unscented Kalman filter algorithm can predict the security situation of mobile Internet.
[0003] The unscented Kalman filter algorithm simulates network attacks under nonlinear noise interference based on historical Internet security detection data, generates a set of simulated state variables under network attacks as key points, and predicts the security situation at the next moment based on multiple key points. The selection of key points determines the performance and accuracy of the unscented Kalman filter algorithm, and thus determines the prediction performance and accuracy of the security situation of the mobile Internet.
[0004] The more key points selected, the greater the prediction accuracy of the security situation of the mobile Internet, but the lower the prediction performance of the security situation of the mobile Internet; the fewer key points selected, the higher the prediction performance of the security situation of the mobile Internet, but the lower the prediction accuracy of the security situation of the mobile Internet; therefore, the existing key point selection method cannot take into account both the prediction performance and prediction accuracy of the security situation of the mobile Internet. Summary of the invention
[0005] The present invention provides a mobile Internet security situation awareness method and system to solve the existing problems.
[0006] The present invention provides a method for mobile Internet security situation awareness, the method comprising the following steps:
[0007] Collecting Internet security detection data of the mobile Internet at each moment, wherein the Internet security detection data includes data of multiple dimensions;
[0008] The data of each dimension at all times constitutes the data sequence of each dimension, and the data of all dimensions at each moment constitutes the network security status vector at each moment;
[0009] According to the distribution of data in the data sequence of each dimension, the distribution discreteness of the data sequence of each dimension is determined, and the discreteness of the data sequences of all dimensions constitutes a discreteness vector;
[0010] Input the network security state vector at all times into the unscented Kalman filter algorithm to determine a set of key points to be tested;
[0011] Calculate the similarity between each key point to be tested and the discrete degree vector, and determine multiple preferred key points from all the key points to be tested according to the similarity between the key point to be tested and the discrete degree vector;
[0012] Predict the network security state vector at the next moment based on all the selected key points;
[0013] The security situation of the mobile Internet at the current moment is determined according to the cosine similarity between the prediction result of the network security state vector at the next moment and the preset network danger state vector.
[0014] Furthermore, determining the distribution discreteness of the data sequence of each dimension according to the distribution of data in the data sequence of each dimension includes:
[0015]
[0016] In the formula, Indicates the distribution discreteness of the data sequence of the i-th dimension among all dimensions, i is [1, N], N represents the number of all dimensions, Represents the range of the data sequence in the i-th dimension, Represents the minimum value of the range of data sequences in all dimensions. Indicates the maximum value of the range of data sequences in all dimensions. Represents the number of all data in the data sequence of the i-th dimension, Represents the kth data in the data sequence of the i-th dimension, Represents the mean of all data in the data sequence of the i-th dimension, Represents the standard deviation of all data in the data sequence of the i-th dimension.
[0017] Furthermore, the calculating of the similarity between each key point to be tested and the discrete degree vector includes:
[0018]
[0019] In the formula, represents the similarity between the mth key point to be tested and the discrete degree vector, N represents the number of dimensions, s represents the discrete degree vector, represents the tth partial deviation vector of the mth key point to be tested, and each partial deviation vector of the key point to be tested is each column vector of the key point to be tested, represents vector dot product, Represents the vector magnitude.
[0020] Furthermore, the method of determining a plurality of preferred key points from all key points to be tested according to the similarity between the key point to be tested and the discrete degree vector comprises:
[0021] All key points to be tested are sorted in descending order according to their similarity with the discrete degree vector, and the key point to be tested with the greatest similarity with the discrete degree vector is determined as the first preferred key point. The key point to be tested with the greatest difference between the similarity between the key point to be tested and the discrete degree vector and the similarity between the next key point to be tested and the discrete degree vector is determined as the last preferred key point. All preferred key points are determined based on the first preferred key point and the last preferred key point.
[0022] Furthermore, the method of determining the security situation of the mobile Internet at the current moment according to the cosine similarity between the prediction result of the network security state vector at the next moment and the preset network danger state vector includes:
[0023] According to the cosine similarity between the network security state vector at each moment and the preset network danger state vector, a target network security state vector is determined from the network security state vectors at all moments;
[0024] If the ratio of the cosine similarity between the predicted result of the network security state vector at the next moment and the preset network danger state vector and the cosine similarity between the predicted result of the network security state vector at the next moment and the target network security state vector is greater than the third threshold, the security of the mobile Internet at the current moment is threatened.
[0025] Furthermore, the step of determining the target network security state vector from the network security state vectors at all times according to the cosine similarity between the network security state vector at each time and the preset network danger state vector includes:
[0026] The cosine similarity between the network security state vector at all times and the preset network danger state vector constitutes a similarity curve. The multiple minima on the similarity curve are determined by an automatic multi-scale peak search algorithm. The minimum value closest to the current moment is determined from all the minimum values, and the network security state vector corresponding to the minimum value is determined as the target network security state vector.
[0027] Furthermore, the Internet security detection data includes data of multiple dimensions, including:
[0028] Internet security detection data includes data in five dimensions, namely the total number of users at each moment, the number of users who failed to log into the network, the instantaneous network traffic, the average user response time and the average size of user data packets.
[0029] Furthermore, predicting the network security state vector at the next moment according to all the preferred key points includes:
[0030] All the preferred key points are input into the unscented Kalman filter algorithm to obtain the prediction result of the network security state vector at the next moment. The prediction result is a matrix of size 1×N, where N represents the number of all dimensions of Internet security detection data.
[0031] Further, the determining of all the preferred key points according to the first preferred key point and the last preferred key point includes:
[0032] Among all the key points to be tested after sorting, all the key points to be tested between the first preferred key point and the last preferred key point are taken as preferred key points.
[0033] The present invention also proposes a mobile Internet security situation awareness system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the steps of the mobile Internet security situation awareness method when executing the computer program.
[0034] The beneficial effects of the technical solution of the present invention are as follows: the present invention determines the discrete degree vector of the data sequence of each dimension according to the distribution of data in the data sequence of each dimension, characterizes the influence of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data, inputs the network security state vectors at all times into the unscented Kalman filtering algorithm, determines a group of key points to be tested, and is used to simulate the state variables under the influence of the nonlinear noise generated by the network attack, and selects a plurality of preferred key points that obey the influence of the nonlinear noise generated by the network attack on the distribution characteristics of Internet security detection data from all the key points to be tested according to the similarity between the key points to be tested and the discrete degree vector, predicts the network security state vector at the next moment according to the selected preferred key points, and ensures the prediction accuracy of the security situation of the mobile Internet while improving the prediction performance of the security situation of the mobile Internet. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] 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 described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 The present invention is a flowchart of the steps of a mobile Internet security situation awareness method. DETAILED DESCRIPTION
[0037] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a mobile Internet security situation awareness method proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0038] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0039] The following is a detailed description of a specific solution of a mobile Internet security situation awareness method provided by the present invention in conjunction with the accompanying drawings.
[0040] The security situation awareness method determines the security assessment of the mobile Internet through the steps of factor perception, situation understanding, situation prediction, etc., and takes corresponding security incident handling measures according to the security assessment results of the mobile Internet. Among them, the security situation awareness method mainly evaluates the security of the mobile Internet through the Internet security detection data of the mobile Internet. The Internet security detection data of the mobile Internet includes: the total number of users, the number of users who failed to log in to the current network, the network instantaneous traffic, the average user response time and the average size of the user data packet. Among them, the total number of users at each moment represents the load of the mobile Internet; the number of users who failed to log in to the current network at each moment can be used to determine whether there are too many abnormal users ready to connect to the mobile Internet; the network instantaneous traffic at each moment refers to the total number of data bytes passing through the mobile Internet, and the average user response time at each moment can be used to determine whether the attacker deliberately prolongs the device response time to occupy the server resources of the mobile Internet; the average size of the user data packet at each moment can be used to determine whether the attacker blocks the communication of some devices in the mobile Internet through large data packets.
[0041] The security of mobile Internet is mainly affected by network attacks, which will cause changes in the Internet security detection data of mobile Internet. Therefore, Internet security detection data can reflect the extent of network attacks on mobile Internet. By predicting the Internet security detection data, the security of mobile Internet can be predicted.
[0042] Since the impact of network attacks on Internet security detection data is approximately the impact of nonlinear noise on Internet security detection data, and the Unscented Kalman Filter algorithm approximately simulates the state variables of nonlinear function propagation and measurement update process as key points, therefore, the historical Internet security detection data is input into the Unscented Kalman Filter algorithm. The Unscented Kalman Filter algorithm simulates the nonlinear noise generated by network attacks according to the historical Internet security detection data, generates a set of simulated state variables under network attacks as key points, and predicts the Internet security detection data at the next moment according to multiple key points. The selection of key points determines the performance and accuracy of the Unscented Kalman Filter algorithm, and thus determines the prediction performance and accuracy of the security situation of the mobile Internet.
[0043] The more key points are selected, the more accurate the simulation results of the nonlinear noise generated by network attacks are, and the greater the prediction accuracy of the security situation of the mobile Internet is, but the prediction performance of the security situation of the mobile Internet is lower; the fewer key points are selected, the higher the prediction performance of the security situation of the mobile Internet is, but the less accurate the simulation results of the nonlinear noise generated by network attacks are, the lower the prediction accuracy of the security situation of the mobile Internet is; therefore, the existing key point selection method cannot take into account both the prediction performance and prediction accuracy of the security situation of the mobile Internet.
[0044] The embodiment of the present invention determines a distribution dispersion degree vector through the distribution dispersion degree in Internet security detection data, the distribution dispersion degree vector represents the influence degree of nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data, and selects multiple key points that are subject to the influence degree of nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data from all key points according to the similarity between the key points and the distribution dispersion degree vector. While improving the prediction performance of the security situation of the mobile Internet, the security situation of the mobile Internet is predicted according to the key points that accurately simulate the nonlinear noise generated by network attacks, thereby improving the prediction accuracy of the security situation of the mobile Internet.
[0045] See also Figure 1 , which shows a flow chart of a method for mobile Internet security situation awareness provided by an embodiment of the present invention, the method comprising the following steps:
[0046] S001. Collect Internet security detection data of the mobile Internet at each moment; determine the data sequence of each dimension and the network security status vector at each moment based on the Internet security detection data at each moment.
[0047] In this embodiment, Internet security detection data of the mobile Internet is collected at each moment. The Internet security detection data includes data of N=5 dimensions, namely, the total number of users at each moment, the number of users who failed to log into the current network, the instantaneous network traffic, the average user response time and the average size of user data packets. Starting from the startup moment of the mobile Internet server, data is collected every 0.5s.
[0048] Furthermore, the data of each dimension at all times constitutes a data sequence of each dimension in chronological order; all dimensions corresponding to each moment constitute a network security state vector at each moment, and the network security state vector is a matrix of size 1×N.
[0049] S002. Determine the discrete degree vector composed of the discrete degree of distribution of the data sequence of each dimension according to the data distribution of each dimension; input the network security state vector at all times into the unscented Kalman filter algorithm to determine a group of key points to be tested; calculate the similarity between each key point to be tested and the discrete degree vector, and determine multiple preferred key points from all the key points to be tested according to the similarity with the discrete degree vector.
[0050] In this embodiment, the distribution discreteness of the data sequence of each dimension is determined according to the data distribution of the data sequence of each dimension. The discreteness of the data sequences of all dimensions constitutes a discreteness vector. The discreteness vector is a matrix of size 1×N, where N represents the number of all dimensions of Internet security detection data.
[0051] Optionally, determining the distribution discreteness of the data sequence of each dimension according to the data distribution of the data sequence of each dimension includes:
[0052]
[0053] In the formula, Indicates the distribution discreteness of the data sequence of the i-th dimension among all dimensions, i is [1, N], N represents the number of all dimensions, Represents the range of the data sequence in the i-th dimension, Represents the minimum value of the range of data sequences in all dimensions. Indicates the maximum value of the range of data sequences in all dimensions. Represents the number of all data in the data sequence of the i-th dimension, Represents the kth data in the data sequence of the i-th dimension, Represents the mean of all data in the data sequence of the i-th dimension, Represents the standard deviation of all data in the data sequence of the i-th dimension.
[0054] It should be noted that the range of a data sequence is the difference between the maximum and minimum values of the data in the data sequence. Therefore, the range of a data sequence represents the fluctuation range of all data in the data sequence. The larger the range of a data sequence, the more discrete the data distribution in the data sequence, and the greater the degree of dispersion of the data sequence. It represents the kurtosis of the data sequence of the ith dimension, which is used to measure the steepness of the data sequence distribution. The larger the value, the more discrete the distribution of the data sequence of the ith dimension, and the greater the degree of discreteness of the data sequence of the ith dimension. The degree of discreteness of the distribution of the data sequence of each dimension represents the impact of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data.
[0055] It should be noted that the security of mobile Internet is mainly affected by network attacks, which will cause changes in the Internet security detection data of mobile Internet. According to the data distribution of the data sequence of each dimension in the Internet security detection data, the distribution discreteness of the data sequence of each dimension is determined. The distribution discreteness vector represents the influence of the nonlinear noise generated by the network attack on the distribution characteristics of the Internet security detection data.
[0056] It should be noted that the unscented Kalman filter algorithm simulates the nonlinear noise generated by network attacks based on the Internet security detection data at all times, generates a set of simulated state variables under network attacks as key points, and then predicts the security situation at the next moment based on multiple key points. This embodiment screens out multiple key points from all the generated key points that are subject to the degree of influence of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data. While improving the prediction performance of the security situation of the mobile Internet, the security situation of the mobile Internet is predicted based on the accurate key points of the simulation of the nonlinear noise generated by network attacks, thereby improving the prediction accuracy of the security situation of the mobile Internet.
[0057] In this embodiment, the network security state vectors at all times are input into the unscented Kalman filtering algorithm to determine a group of key points to be tested, which are used to simulate the state variables under the influence of nonlinear noise generated by network attacks; the similarity between each key point to be tested and the discrete degree vector is calculated; based on the similarity with the discrete degree vector, multiple preferred key points are determined from all the key points to be tested. Since the network security state vector at each moment contains data of N dimensions, and the data of each dimension includes time and value, each key point to be tested is a matrix of size N×T, where T=2.
[0058] Optionally, the calculating the similarity between each key point to be tested and the discrete degree vector includes:
[0059]
[0060] In the formula, represents the similarity between the mth key point to be tested and the discrete degree vector, N represents the number of dimensions, s represents the discrete degree vector, represents the tth partial deviation vector of the mth key point to be tested, and each partial deviation vector of the key point to be tested is each column vector of the key point to be tested, represents vector dot product, Represents the vector magnitude.
[0061] It should be noted that by calculating the cosine similarity between the deviation vector of each part of the key point to be tested and the discrete degree vector , determine the similarity between each key point to be tested and the discrete degree vector. The distribution discrete degree vector represents the influence of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data. The larger the value, the more the key point to be tested obeys the influence of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data, and the more accurate the simulation of the nonlinear noise generated by network attacks by the key point to be tested is.
[0062] Optionally, based on the similarity with the discrete degree vector, multiple preferred key points are determined from all the key points to be tested, including: the key points to be tested whose similarity with the discrete degree vector is greater than a preset first threshold are preferred key points, and the implementer can set the first threshold according to the actual implementation situation, for example 0.7.
[0063] It should be noted that the key points to be tested that truly obey the degree of influence of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data have a greater similarity with the discrete degree vector, while the key points to be tested that do not obey the degree of influence of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data have a smaller similarity with the discrete degree vector. After sorting, the difference between the similarities between two adjacent key points to be tested and the discrete degree vector is used to adaptively select multiple preferred key points that obey the degree of influence of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data from all the generated key points.
[0064] Preferably, the method of determining multiple preferred key points from all the key points to be tested based on the similarity with the discrete degree vector includes: sorting all the key points to be tested in descending order of similarity with the discrete degree vector, determining the key point to be tested with the greatest similarity with the discrete degree vector as the first preferred key point, determining the key point to be tested with the greatest difference between the similarity between the key point to be tested and the discrete degree vector and the similarity between the next key point to be tested and the discrete degree vector as the last preferred key point, and determining all preferred key points based on the first preferred key point and the last preferred key point, specifically: among all the sorted key points to be tested, all the key points to be tested between the first preferred key point and the last preferred key point are taken as preferred key points.
[0065] S003. Predict the network security state vector at the next moment based on all the selected key points, and determine the security situation of the mobile Internet at the current moment based on the cosine similarity between the prediction result of the network security state vector at the next moment and the preset network danger state vector.
[0066] In this embodiment, all the preferred key points are input into the unscented Kalman filter algorithm to obtain the prediction result of the network security state vector at the next moment, and the prediction result is a matrix with a size of 1×N.
[0067] In this embodiment, the security situation of the mobile Internet at the current moment is determined based on the cosine similarity between the predicted result of the network security state vector at the next moment and the preset network danger state vector; if the security of the mobile Internet at the current moment is threatened, the mobile Internet initiates corresponding security protection measures, and the security protection measures include but are not limited to: performing vulnerability scanning, finding potential vulnerabilities in mobile applications and systems, blocking malicious traffic sent by the vulnerability, isolating infected devices, and improving the security of the mobile Internet by timely repairing known vulnerabilities and updating patches.
[0068] Among them, the implementers can set the network danger state vector according to the actual implementation situation. For example, the total number of users in the network danger state vector is 3000, the number of users who fail to log into this network is 600, the network instantaneous traffic is 300 megabits, the average user response time is 100 milliseconds, and the average size of user data packets is 550 bytes.
[0069] Optionally, the security situation of the mobile Internet at the current moment is determined based on the cosine similarity between the predicted result of the network security state vector at the next moment and the preset network danger state vector, including: if the key point to be tested is a preferred key point whose cosine similarity between the predicted result of the network security state vector at the next moment and the preset network danger state vector is greater than a preset second threshold, then the security of the mobile Internet at the current moment is threatened, and the implementer can set the second threshold according to the actual implementation situation, for example 0.5.
[0070] It should be noted that the preset network danger state vector is set based on the Internet security detection data when the security of the mobile Internet is threatened. The greater the cosine similarity between the predicted result of the network security state vector at the next moment and the preset network danger state vector, the network security state vector at the next moment may be generated under a network attack, indicating that the security of the mobile Internet at the current moment is threatened.
[0071] Preferably, the security situation of the mobile Internet at the current moment is determined according to the cosine similarity between the prediction result of the network security state vector at the next moment and the preset network danger state vector, including: determining the target network security state vector from the network security state vectors at all moments according to the cosine similarity between the network security state vector at each moment and the preset network danger state vector, if the ratio of the cosine similarity between the prediction result of the network security state vector at the next moment and the preset network danger state vector and the cosine similarity between the prediction result of the network security state vector at the next moment and the target network security state vector is greater than a third threshold, then the security of the mobile Internet at the current moment is threatened, and the implementer can set the third threshold according to the actual implementation situation, for example, 0.8.
[0072] It should be noted that the preset network danger state vector is set based on the Internet security detection data when the security of the mobile Internet is threatened. The greater the cosine similarity between the predicted result of the network security state vector at the next moment and the preset network danger state vector, the network security state vector at the next moment may be generated under a network attack, indicating that the security of the mobile Internet at the current moment is threatened.
[0073] Optionally, the method of determining a target network security state vector from network security state vectors at all times based on the cosine similarity between the network security state vector at each moment and a preset network danger state vector comprises: forming a similarity curve from the cosine similarities of the network security state vectors at all moments and the preset network danger state vector, determining multiple minima on the similarity curve by an automatic multi-scale peak search algorithm, determining the minimum value closest to the current moment from all the minimum values, and determining the network security state vector corresponding to the minimum value as the target network security state vector.
[0074] The present invention also proposes a mobile Internet security situation awareness system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the steps of the mobile Internet security situation awareness method when executing the computer program.
[0075] The present invention determines the discrete degree vector of the data sequence of each dimension according to the distribution of data in the data sequence of each dimension, characterizes the influence of the nonlinear noise generated by network attacks on the distribution characteristics of Internet security detection data, inputs the network security state vectors at all times into the unscented Kalman filtering algorithm, determines a group of key points to be tested, and is used to simulate the state variables under the influence of the nonlinear noise generated by the network attack, and selects a plurality of preferred key points that obey the influence of the nonlinear noise generated by the network attack on the distribution characteristics of Internet security detection data from all the key points to be tested according to the similarity between the key points to be tested and the discrete degree vector, predicts the network security state vector at the next moment according to the selected preferred key points, and ensures the prediction accuracy of the security situation of the mobile Internet while improving the prediction performance of the security situation of the mobile Internet.
[0076] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for mobile Internet security situation awareness, characterized in that: The method comprises the following steps: Collecting Internet security detection data of the mobile Internet at each moment, wherein the Internet security detection data includes data of multiple dimensions; The data of each dimension at all times constitutes the data sequence of each dimension, and the data of all dimensions at each moment constitutes the network security status vector at each moment; According to the distribution of data in the data sequence of each dimension, the distribution discreteness of the data sequence of each dimension is determined, and the discreteness of the data sequences of all dimensions constitutes a discreteness vector; Input the network security state vector at all times into the unscented Kalman filter algorithm to determine a set of key points to be tested; Calculate the similarity between each key point to be tested and the discrete degree vector, and determine multiple preferred key points from all the key points to be tested according to the similarity between the key point to be tested and the discrete degree vector; Predict the network security state vector at the next moment based on all the selected key points; The security situation of the mobile Internet at the current moment is determined according to the cosine similarity between the prediction result of the network security state vector at the next moment and the preset network danger state vector.
2. A method for mobile Internet security situation awareness according to claim 1, characterized in that: Determining the distribution discreteness of the data sequence of each dimension according to the distribution of data in the data sequence of each dimension includes: In the formula, Indicates the distribution discreteness of the data sequence of the i-th dimension among all dimensions, i is [1, N], N represents the number of all dimensions, Represents the range of the data sequence in the i-th dimension, Represents the minimum value of the range of data sequences in all dimensions. Indicates the maximum value of the range of data sequences in all dimensions. Represents the number of all data in the data sequence of the i-th dimension, Represents the kth data in the data sequence of the i-th dimension, Represents the mean of all data in the data sequence of the i-th dimension, Represents the standard deviation of all data in the data sequence of the i-th dimension.
3. A method for mobile Internet security situation awareness according to claim 1, characterized in that: The calculating of the similarity between each key point to be tested and the discrete degree vector includes: In the formula, represents the similarity between the mth key point to be tested and the discrete degree vector, N represents the number of dimensions, s represents the discrete degree vector, represents the tth partial deviation vector of the mth key point to be tested, and each partial deviation vector of the key point to be tested is each column vector of the key point to be tested, represents vector dot product, Represents the vector magnitude.
4. A method for mobile Internet security situation awareness according to claim 1, characterized in that: The step of determining a plurality of preferred key points from all key points to be tested according to the similarity between the key point to be tested and the discrete degree vector comprises: All key points to be tested are sorted in descending order according to their similarity with the discrete degree vector, and the key point to be tested with the greatest similarity with the discrete degree vector is determined as the first preferred key point. The key point to be tested with the greatest difference between the similarity between the key point to be tested and the discrete degree vector and the similarity between the next key point to be tested and the discrete degree vector is determined as the last preferred key point. All preferred key points are determined based on the first preferred key point and the last preferred key point.
5. A method for mobile Internet security situation awareness according to claim 1, characterized in that: The method of determining the security situation of the mobile Internet at the current moment according to the cosine similarity between the prediction result of the network security state vector at the next moment and the preset network danger state vector comprises: According to the cosine similarity between the network security state vector at each moment and the preset network danger state vector, a target network security state vector is determined from the network security state vectors at all moments; If the ratio of the cosine similarity between the predicted result of the network security state vector at the next moment and the preset network danger state vector and the cosine similarity between the predicted result of the network security state vector at the next moment and the target network security state vector is greater than the third threshold, the security of the mobile Internet at the current moment is threatened.
6. A method for mobile Internet security situation awareness according to claim 5, characterized in that: The step of determining a target network security state vector from network security state vectors at all times according to the cosine similarity between the network security state vector at each time and the preset network danger state vector comprises: The cosine similarity between the network security state vector at all times and the preset network danger state vector constitutes a similarity curve. The multiple minima on the similarity curve are determined by an automatic multi-scale peak search algorithm. The minimum value closest to the current moment is determined from all the minimum values, and the network security state vector corresponding to the minimum value is determined as the target network security state vector.
7. A method for mobile Internet security situation awareness according to claim 1, characterized in that: The Internet security detection data includes data in multiple dimensions, including: Internet security detection data includes data in five dimensions, namely the total number of users at each moment, the number of users who failed to log into the network, the instantaneous network traffic, the average user response time and the average size of user data packets.
8. A method for mobile Internet security situation awareness according to claim 1, characterized in that: The predicting of the network security state vector at the next moment according to all the preferred key points includes: All the preferred key points are input into the unscented Kalman filter algorithm to obtain the prediction result of the network security state vector at the next moment. The prediction result is a matrix of size 1×N, where N represents the number of all dimensions of Internet security detection data.
9. A method for mobile Internet security situation awareness according to claim 4, characterized in that: Determining all the preferred key points according to the first preferred key point and the last preferred key point includes: Among all the key points to be tested after sorting, all the key points to be tested between the first preferred key point and the last preferred key point are taken as preferred key points.
10. A mobile Internet security situation awareness system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Large-scale network security situation intelligent prediction method
CN112165485A
Network security situation prediction method and device
CN112637207A
