Security-related event detection method and terminal
Through the parallel structure model, combined with the temporal convolution network and the autoencoder, the problem of low accuracy and efficiency of the traditional single-branch structure in security event detection is solved, efficient security event detection is achieved, and the reliability and reliability of the detection are enhanced. Adaptability.
Patent Information
- Application Number
- CN202410802194.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-20
AI Technical Summary
In the detection of security-related events in the existing technology, the traditional single-branch structure has a long running time and low accuracy, and ignores time continuity, making it difficult to effectively improve the accuracy and efficiency of security defense.
Using a parallel structure model, the first branch is a temporal convolutional network model, and the second branch is the black box reconstruction structure of the autoencoder. The model is trained through the training data set, taking into account the characteristic attributes and temporal attributes of the data, to achieve Dual-branch synchronous calculation.
It improves the accuracy and efficiency of security-related event detection, ensures the accuracy of security defense, and enhances the reliability of detection through adaptive security threshold intervals and abnormal duration warnings.
Smart Images

Figure CN118779872A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of security defense technology, and in particular to a security-related event detection method and terminal. Background Art
[0002] Security-related events include normal and abnormal security-related events. In the current digital age, the complexity and frequency of security-related events are increasing, and traditional rule-based security defense methods are facing threats. Therefore, real-time detection and accurate identification of security-related events have become a top priority.
[0003] However, the prior art uses time series data as input, uses sliding windows and auto-encoding composed of long short-term memory networks to reconstruct the sequence, and calculates the reconstruction error to obtain the anomaly detection result. This solution uses a basic machine learning model and a traditional single-branch structure to calculate the reconstruction error, and only uses the encoder result as an indicator to measure the reconstruction error. In the calculation of the autoencoder, only the reconstruction performance of the feature is considered, and the overall time continuity is ignored. In addition, the traditional single-branch structure not only has a long running time, but also has a low accuracy rate.
[0004] Therefore, how to effectively improve the accuracy and efficiency of security defense is an issue that technical personnel in this field urgently need to solve. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a security-related event detection method and terminal, which can effectively improve the accuracy and efficiency of security defense.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0007] A method for detecting security-related events, comprising the steps of:
[0008] Acquire a safety-related event data set for training, and construct a parallel structure model, wherein the first branch of the parallel structure model is a temporal convolutional network model, and the second branch of the parallel structure model is a black box reconstruction structure of an autoencoder;
[0009] Training the parallel structure model based on the safety-related event data set for training to obtain a trained parallel structure model;
[0010] Collecting security-related event data to be judged, and using the trained parallel structure model to detect the security-related event data to be judged to obtain an event safety score;
[0011] A safety index of the security-related event data is determined according to the event safety score.
[0012] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0013] A security-related event detection terminal comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0014] Acquire a safety-related event data set for training, and construct a parallel structure model, wherein the first branch of the parallel structure model is a temporal convolutional network model, and the second branch of the parallel structure model is a black box reconstruction structure of an autoencoder;
[0015] Training the parallel structure model based on the safety-related event data set for training to obtain a trained parallel structure model;
[0016] Collecting security-related event data to be judged, and using the trained parallel structure model to detect the security-related event data to be judged to obtain an event safety score;
[0017] A safety index of the security-related event data is determined according to the event safety score.
[0018] The beneficial effects of the present invention are as follows: the first branch of the constructed parallel structure model is a temporal convolutional network model, and the second branch is a black box reconstruction structure of an autoencoder; the parallel structure model is trained based on a security-related event data set used for training to obtain a trained parallel structure model; the trained parallel structure model is used to detect the collected security-related event data to be judged to obtain an event security score; the security index of the security-related event data is determined according to the event security score; the parallel structure model simultaneously considers the characteristic attributes and time attributes of the data, thereby ensuring the accuracy of security-related event detection; and the two branches of the parallel structure model are calculated synchronously, thereby reducing the time required for detection, thereby effectively improving the accuracy and efficiency of security defense. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flowchart of a method for detecting security-related events according to an embodiment of the present invention;
[0020] Figure 2 A schematic diagram of the structure of a security-related event detection terminal according to an embodiment of the present invention;
[0021] Figure 3 This is a detection flow chart of a security-related event detection method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0023] Please refer to Figure 1 , a security-related event detection method, comprising the steps of:
[0024] Acquire a safety-related event data set for training, and construct a parallel structure model, wherein the first branch of the parallel structure model is a temporal convolutional network model, and the second branch of the parallel structure model is a black box reconstruction structure of an autoencoder;
[0025] Training the parallel structure model based on the safety-related event data set for training to obtain a trained parallel structure model;
[0026] Collecting security-related event data to be judged, and using the trained parallel structure model to detect the security-related event data to be judged to obtain an event safety score;
[0027] A safety index of the security-related event data is determined according to the event safety score.
[0028] From the above description, it can be seen that the beneficial effects of the present invention are: the first branch of the constructed parallel structure model is a temporal convolutional network model, and the second branch is a black box reconstruction structure of the autoencoder. The parallel structure model is trained based on the security-related event data set used for training to obtain a trained parallel structure model. The trained parallel structure model is used to detect the collected security-related event data to be judged to obtain an event security score, and the security index of the security-related event data is determined according to the event security score. The parallel structure model simultaneously considers the characteristic attributes and time attributes of the data to ensure the accuracy of security-related event detection, and the two branches of the parallel structure model are calculated synchronously, which reduces the time required for detection, thereby effectively improving the accuracy and efficiency of security defense.
[0029] Furthermore, the training of the parallel structure model based on the security-related event data set for training to obtain a trained parallel structure model includes:
[0030] Performing data cleaning on the security-related event data set used for training to obtain a cleaned security-related event data set;
[0031] Reconstructing the cleaned security-related event data set by grouping using a window grouping mechanism to obtain a reconstructed security-related event data set;
[0032] Dividing the cleaned safety-related event data set into first training data and first test data, and dividing the reconstructed safety-related event data set into second training data and second test data;
[0033] Using the first training data and the second training data to train the parallel structure model, to obtain a parallel structure model that has been preliminarily trained;
[0034] Using the first test data and the second test data to perform a performance test on the parallel structure model that has been preliminarily trained, and obtaining a test result;
[0035] If the test result meets the requirement, the parallel structure model that has been initially trained is used as the parallel structure model that has been trained.
[0036] From the above description, we can see that there are two ways to process the data. One is to perform data cleaning only, and the other is to perform data cleaning + grouping reconstruction, which is more in line with the requirements of the subsequent parallel structure model for input data, thereby achieving better model training effects.
[0037] Furthermore, the using the first training data and the second training data to train the parallel structure model to obtain a preliminarily trained parallel structure model includes:
[0038] Inputting the first training data and the second training data into the first branch and the second branch of the parallel structure model respectively to obtain a first output result;
[0039] Calculating a difference between the first output result and the safety-related event data set used for training, and using the difference as a prediction error;
[0040] The internal parameters of the parallel structure model are updated with the goal of minimizing the prediction error to obtain a parallel structure model that has been preliminarily trained.
[0041] From the above description, it can be seen that the first training data and the second training data are respectively input into the first branch and the second branch of the parallel structure model to obtain the first output result, and the internal parameters of the parallel structure model are updated with the goal of minimizing the prediction error, thereby effectively improving the accuracy of the model and ensuring the accuracy of safety-related event detection.
[0042] Furthermore, the use of the trained parallel structure model to detect the security-related event data to be judged to obtain the event safety score includes:
[0043] Cleaning the security-related event data to be judged to obtain cleaned security-related event data, and grouping and reconstructing the cleaned security-related event data using a window grouping mechanism to obtain reconstructed security-related event data;
[0044] Inputting the cleaned safety-related event data and the reconstructed safety-related event data into the first branch and the second branch of the trained parallel structure model respectively to obtain a second output result;
[0045] An event safety score is calculated according to the second output result and the safety-related event data.
[0046] From the above description, it can be seen that the cleaned safety-related event data and the reconstructed safety-related event data are respectively input into the first branch and the second branch of the trained parallel structure model to obtain the output result, which not only takes into account the characteristic attributes and time attributes of the data, but also improves the calculation efficiency.
[0047] Further, the calculating the event safety score according to the second output result and the security-related event data includes:
[0048]
[0049] In the formula, Score represents the event safety score, X test Indicates the security-related event data, Y test represents the second output result, n test Indicates the number of security-related event data, y i represents the output of the model for the i-th item, x i Represents the model input of the i-th number.
[0050] It can be seen from the above description that the event safety score is calculated based on the second output result and the security-related event data. The event safety can accurately reflect the safety level of the security-related event and achieve more effective security-related event detection.
[0051] Furthermore, after using the trained parallel structure model to detect the security-related event data to be determined and obtaining the event safety score, the method further includes:
[0052] Determining a mean, minimum, and maximum safety score for the event;
[0053] Determine a minimum value of the safety threshold according to the mean and minimum values of the safety scores of the events;
[0054] Determine the highest value of the safety threshold according to the mean and maximum value of the safety scores of the events;
[0055] A safety threshold interval is generated according to the lowest value of the safety threshold and the highest value of the safety threshold.
[0056] From the above description, it can be seen that the security threshold interval is not fixed, but is generated based on the event security score, so that different events have different security threshold intervals, which improves the adaptability of the security threshold interval and further improves the reliability of security-related event detection.
[0057] Further, the determining the lowest value of the safety threshold according to the mean value and the minimum value of the event safety score includes:
[0058] lower=1 / 4(mean(Score)-min(Sciore));
[0059] Wherein, lower represents the lowest value of the safety threshold, mean(Score) represents the mean value of the safety score of the event, and min(Score) represents the minimum value of the safety score of the event;
[0060] Determining the highest value of the safety threshold according to the mean and maximum value of the event safety scores includes:
[0061] upper=3 / 4(max(Score)-mean(Score));
[0062] In the formula, upper represents the highest value of the security threshold, and max(Score) represents the maximum value of the event security score.
[0063] From the above description, it can be seen that it is more objective and reasonable to determine the lowest value of the safety threshold according to the mean and minimum value of the event safety scores, and to determine the highest value of the safety threshold according to the mean and maximum value of the event safety scores.
[0064] Further, the determining of the security index of the security-related event data according to the event security score includes:
[0065] If the event safety score is below the safety threshold range, determining that the safety index corresponding to the event safety score is a first preset value;
[0066] If the event safety score is above the safety threshold range, determining that the safety index corresponding to the event safety score is a second preset value;
[0067] If the event safety score is within the safety threshold range, the safety index corresponding to the event safety score is determined to be a third preset value.
[0068] From the above description, it can be seen that if the event safety score is below the safety threshold interval, it means that the security-related event is normal; if the event safety score is above the safety threshold interval, it means that the security-related event is abnormal; if the event safety score is within the safety threshold interval, it means that the security-related event is in a critical safety state. Determining the safety index by comparing the event safety score with the safety threshold interval is simple and effective.
[0069] Furthermore, after determining the safety index of the security-related event data according to the event safety score, the method further includes:
[0070] Obtain the abnormal duration of the security-related event data whose security indicator is the second preset value; if the abnormal duration exceeds a preset number of sampling periods, issue an early warning for the security-related event data whose security indicator is the second preset value.
[0071] From the above description, it can be seen that when the abnormal duration of security-related events exceeds a preset number of sampling cycles, these events are warned to ensure safety.
[0072] Please refer to Figure 2 Another embodiment of the present invention provides a security-related event detection terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements each step of the above-mentioned security-related event detection method when executing the computer program.
[0073] The above-mentioned security-related event detection method and terminal of the present invention can be applied to security-related event detection scenarios, and are described below through specific implementation methods:
[0074] Please refer to Figure 1 and Figure 3 , Embodiment 1 of the present invention is:
[0075] A method for detecting security-related events, comprising the steps of:
[0076] S1. Obtain a security-related event data set for training and construct a parallel structure model, wherein the first branch of the parallel structure model is a temporal convolutional network model, and the second branch of the parallel structure model is a black box reconstruction structure of an autoencoder.
[0077] The internal structure of the temporal convolutional network model sequentially performs convolution calculation, edge filling, function activation and discarding, and repeats the sequence twice. The internal hidden layer undergoes zooming in and out, and the batch size parameter is initialized to s. The output of the first branch is set to The size is s×m×m.
[0078] The black box reconstruction structure of the autoencoder (AE) includes an encoder and a decoder, which automatically generate mapping functions f and g respectively. The output of the AE structure The internal mapping function is learned using the long short-term memory network (LSTM). The mapping function f has a two-layer LSTM structure. According to the LSTM characteristics, f(X train ) has an input size of s×ω×m and an output last timestamp f(X train ) last The size is s×1×m, the mapping function g has two layers of LSTM structure, and the transposition f(X train ) last back Input the mapping function g to get the output of the second branch The size is s×m×1.
[0079] The two branches are merged, and the batch processing s represents the total number of event data currently being processed. Each data in the batch processing is merged, and the first branch outputs Size m×m, second branch output The size is m×1, and the two are dot-multiplied to get the final output of the parallel structure model The size is s×1×m.
[0080] S2, training the parallel structure model based on the security-related event data set for training to obtain a trained parallel structure model, specifically including S21-S26:
[0081] S21. Cleaning the security-related event data set used for training to obtain a cleaned security-related event data set.
[0082] S22: Use a window grouping mechanism to group and reconstruct the cleaned security-related event data set to obtain a reconstructed security-related event data set.
[0083] For example, the cleaned security-related event dataset is X = (x1, x2, ..., x i ,…,x n ), x i represents the information collection under timestamp i, Represents a single piece of information in the information collection, initializes the window parameter ω and the initial sliding step size to 1, adds ω first timestamp information to the cleaned security-related event data set X, cuts the cleaned security-related event data set, and uses the window data group to replace the information collection under a single timestamp. The expression is: i →(x (i-ω) ,x (i-ω) ,…,x i-1), and thus obtain the reconstructed security-related event dataset.
[0084] S23: Divide the cleaned security-related event data set into first training data and first test data, and divide the reconstructed security-related event data set into second training data and second test data.
[0085] The first training data and the second training data include normal security-related event data, and the first test data and the second test data include normal security-related event data and abnormal security-related event data. The ratio of training data to test data in the original data set is 3:7.
[0086] S24, using the first training data and the second training data to train the parallel structure model to obtain a parallel structure model that has been preliminarily trained, specifically including S241-S243:
[0087] S241. Input the first training data and the second training data into the first branch and the second branch of the parallel structure model respectively to obtain a first output result.
[0088] Specifically, the first training data is input into the first branch of the parallel structure model, and the second training data is input into the second branch of the parallel structure model to obtain a first output result.
[0089] Assume that the original cleaned security-related event dataset X train Size is n train ×m, then the parallel structure model output Y size is n train ×m.
[0090] S242: Calculate the difference between the first output result and the safety-related event data set used for training, and use it as the prediction error, specifically:
[0091]
[0092] Where Error represents the difference, X train represents the cleaned security-related event data set, Y represents the first output result, n train Indicates the number of data items in the cleaned security-related event dataset, y i represents the output of the model for the i-th item, x i Represents the model input of the i-th number.
[0093] S243, updating the internal parameters of the parallel structure model with the goal of minimizing the prediction error, to obtain a parallel structure model that has been preliminarily trained.
[0094] The goal of minimizing the prediction error Loss is:
[0095]
[0096] During the iteration process, when the change of Loss is in a stable fluctuation, the parameter update is stopped and the parallel structure model is saved, that is, the parallel structure model that has been initially trained is obtained.
[0097] S25. Use the first test data and the second test data to perform a performance test on the parallel structure model that has been preliminarily trained to obtain a test result.
[0098] S26. If the test result meets the requirement, the parallel structure model that has been initially trained is used as the parallel structure model that has been trained.
[0099] S3, collecting the security-related event data to be judged, and using the trained parallel structure model to detect the security-related event data to be judged, to obtain the event security score, such as Figure 3 As shown, specifically including S31-S34:
[0100] S31. Collect security-related event data to be judged.
[0101] S32, cleaning the security-related event data to be determined to obtain cleaned security-related event data, and grouping and reconstructing the cleaned security-related event data using a window grouping mechanism to obtain reconstructed security-related event data.
[0102] S33, inputting the cleaned safety-related event data and the reconstructed safety-related event data into the first branch and the second branch of the trained parallel structure model respectively to obtain a second output result.
[0103] Specifically, the cleaned safety-related event data is input into the first branch of the trained parallel structure model, and the reconstructed safety-related event data is input into the second branch of the trained parallel structure model to obtain a second output result.
[0104] S34. Calculate an event safety score according to the second output result and the security-related event data, specifically:
[0105]
[0106] In the formula, Score represents the event safety score, X test represents the security-related event data to be judged, Y testrepresents the second output result, n test Indicates the number of security-related event data to be determined.
[0107] S4. Determine the mean, minimum and maximum values of the event safety scores.
[0108] S5. Determine the lowest value of the safety threshold according to the mean and minimum value of the event safety scores, specifically:
[0109] lower=1 / 4(mean(Score)-min(Score));
[0110] Wherein, lower represents the lowest value of the safety threshold, mean(Score) represents the mean value of the safety score of the event, and min(Score) represents the minimum value of the safety score of the event;
[0111] S6. Determine the highest value of the safety threshold according to the mean and maximum value of the event safety score, specifically:
[0112] upper=3 / 4(max(Score)-mean(Score));
[0113] In the formula, upper represents the highest value of the security threshold, and max(Score) represents the maximum value of the event security score.
[0114] S7. Generate a safety threshold interval SafetyValve=[lower, upper] according to the lowest value of the safety threshold and the highest value of the safety threshold.
[0115] S8. Determine the security index of the security-related event data according to the event security score, such as Figure 3 As shown, specifically including S81-S83:
[0116] S81. If the event safety score is below the safety threshold range, determine that the safety index corresponding to the event safety score is a first preset value.
[0117] S82: If the event safety score is above the safety threshold range, determine that the safety index corresponding to the event safety score is a second preset value.
[0118] S83: If the event safety score is within the safety threshold range, determine that the safety index corresponding to the event safety score is a third preset value.
[0119] In an optional implementation, the first preset value is 1, the second preset value is 0, and the third preset value is *.
[0120] S9. Obtain the abnormal duration of the security-related event data whose security indicator is the second preset value.
[0121] In an optional implementation, while collecting the security-related event data to be determined, the process further includes: acquiring event information corresponding to the security-related event data collected by routing, wherein the event information includes event time.
[0122] Specifically, the abnormal duration of the security-related event data whose security indicator is the second preset value is obtained according to the event time.
[0123] S10. If the abnormality lasts for more than a preset number of sampling periods, an early warning is issued for the security-related event data whose security indicator is the second preset value.
[0124] For example, if the abnormality lasts for more than five sampling cycles, an early warning is issued for the safety-related event data whose safety index is the second preset value, so that the staff can take emergency precautions.
[0125] Please refer to Figure 2 , Embodiment 2 of the present invention is:
[0126] A security-related event detection terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step of the security-related event detection method in the first embodiment is implemented.
[0127] In summary, the present invention provides a security-related event detection method and terminal, the first branch of the constructed parallel structure model is a time convolutional network model, the second branch is a black box reconstruction structure of an autoencoder, the parallel structure model is trained based on the security-related event data set used for training, and a trained parallel structure model is obtained, the trained parallel structure model is used to detect the collected security-related event data to be judged, and an event security score is obtained, and the security index of the security-related event data is determined according to the event security score. The parallel structure model considers the characteristic attributes and time attributes of the data at the same time, ensuring the accuracy of security-related event detection, and the two branches of the parallel structure model are calculated synchronously, which reduces the time required for detection, thereby effectively improving the accuracy and efficiency of security defense; in addition, the security threshold interval is not fixed, but is generated based on the event security score, so that the security threshold intervals of different events are different, which improves the adaptability of the security threshold interval, and thereby improves the reliability of security-related event detection; and when the abnormal duration of the security-related event exceeds a preset number of sampling cycles, these events are warned to ensure safety.
[0128] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for detecting security-related events, It is characterized in that Includes steps: Acquire a safety-related event data set for training, and construct a parallel structure model, wherein the first branch of the parallel structure model is a temporal convolutional network model, and the second branch of the parallel structure model is a black box reconstruction structure of an autoencoder; Training the parallel structure model based on the safety-related event data set for training to obtain a trained parallel structure model; Collecting security-related event data to be judged, and using the trained parallel structure model to detect the security-related event data to be judged to obtain an event safety score; A safety index of the security-related event data is determined according to the event safety score.
2. A method for detecting security-related events according to claim 1, It is characterized in that The step of training the parallel structure model based on the security-related event data set for training to obtain the trained parallel structure model includes: Performing data cleaning on the security-related event data set used for training to obtain a cleaned security-related event data set; Reconstructing the cleaned security-related event data set by grouping using a window grouping mechanism to obtain a reconstructed security-related event data set; Dividing the cleaned safety-related event data set into first training data and first test data, and dividing the reconstructed safety-related event data set into second training data and second test data; Using the first training data and the second training data to train the parallel structure model, to obtain a parallel structure model that has been preliminarily trained; Using the first test data and the second test data to perform a performance test on the parallel structure model that has been preliminarily trained, and obtaining a test result; If the test result meets the requirement, the parallel structure model that has been initially trained is used as the parallel structure model that has been trained.
3. A method for detecting security-related events according to claim 2, It is characterized in that The using the first training data and the second training data to train the parallel structure model to obtain a preliminarily trained parallel structure model comprises: Inputting the first training data and the second training data into the first branch and the second branch of the parallel structure model respectively to obtain a first output result; Calculating a difference between the first output result and the safety-related event data set used for training, and using the difference as a prediction error; The internal parameters of the parallel structure model are updated with the goal of minimizing the prediction error to obtain a parallel structure model that has been preliminarily trained.
4. A method for detecting security-related events according to claim 1, It is characterized in that The method of using the trained parallel structure model to detect the security-related event data to be judged to obtain the event safety score includes: Cleaning the security-related event data to be judged to obtain cleaned security-related event data, and grouping and reconstructing the cleaned security-related event data using a window grouping mechanism to obtain reconstructed security-related event data; Inputting the cleaned safety-related event data and the reconstructed safety-related event data into the first branch and the second branch of the trained parallel structure model respectively to obtain a second output result; An event safety score is calculated according to the second output result and the safety-related event data.
5. A method for detecting security-related events according to claim 4, It is characterized in that Calculating the event safety score according to the second output result and the security-related event data comprises: In the formula, Score represents the event safety score, X test represents the security-related event data to be judged, Y test represents the second output result, n test Indicates the number of security-related event data to be judged, y i represents the output of the model for the i-th item, x i Represents the model input of the i-th number.
6. A method for detecting security-related events according to claim 1, It is characterized in that After using the trained parallel structure model to detect the security-related event data to be determined and obtaining the event safety score, the method further includes: Determining a mean, minimum, and maximum safety score for the event; Determine a minimum value of the safety threshold according to the mean and minimum values of the safety scores of the events; Determine the highest value of the safety threshold according to the mean and maximum value of the safety scores of the events; A safety threshold interval is generated according to the lowest value of the safety threshold and the highest value of the safety threshold.
7. A method for detecting security-related events according to claim 6, It is characterized in that Determining the lowest value of the safety threshold according to the mean value and the minimum value of the event safety score includes: lower=1 / 4(meam(Score)-min(Score)); Wherein, lower represents the lowest value of the safety threshold, mean(Score) represents the mean value of the safety score of the event, and min(Score) represents the minimum value of the safety score of the event; Determining the highest value of the safety threshold according to the mean and maximum value of the event safety scores includes: upper=3 / 4(max(Score)-mean(Score)); In the formula, upper represents the highest value of the security threshold, and max(Score) represents the maximum value of the event security score.
8. A method for detecting security-related events according to claim 6, It is characterized in that Determining the security index of the security-related event data according to the event security score includes: If the event safety score is below the safety threshold range, determining that the safety index corresponding to the event safety score is a first preset value; If the event safety score is above the safety threshold range, determining that the safety index corresponding to the event safety score is a second preset value; If the event safety score is within the safety threshold range, the safety index corresponding to the event safety score is determined to be a third preset value.
9. A method for detecting security-related events according to claim 8, It is characterized in that After determining the safety index of the security-related event data according to the event safety score, the method further includes: Obtaining the abnormal duration of the security-related event data whose security indicator is the second preset value; If the abnormality lasts for more than a preset number of sampling periods, an early warning is issued for the security-related event data whose security indicator is the second preset value.
10. A security-related event detection terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, each step in the method for detecting a security-related event according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Abnormal event detection method and system based on multi-window reconstruction
CN117520990A
Abnormity detection method and system based on improved noise reduction auto-encoder
CN117688305A
Localizing faults in multi-variate time series data
US11656927B1
Detecting anomalous events through application of anomaly detection models
US20220382860A1
