Behavioral safety baseline fusion learning method, device, electronic device and storage medium

Through the behavioral security baseline fusion learning method, historical and real-time behavioral data are combined to generate accurate security baselines, which solves the problem of low efficiency of traditional security analysis in detecting unknown attacks and improves the accuracy and reliability of network security detection.

CN114615032BActive Publication Date: 2024-10-29QI AN XIN TECHNOLOGY GROUP INC +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210187316.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-10-29
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

Traditional security analysis and detection methods have low detection efficiency for unknown and new network attack methods, resulting in low accuracy of behavioral security baselines and high false alarm rates, and cannot adapt to the current severe network security situation.

Method used

Provides a behavioral security baseline fusion learning method that obtains behavioral security baseline rules, determines the learning method, and learns based on the behavioral data corresponding to the rule parameters to generate a behavioral security baseline, including historical behavioral data learning, real-time behavioral data learning, and mixed behaviors Data learning improves data integrity and accuracy.

Benefits of technology

It improves the data integrity and accuracy of behavioral security baselines, reduces false alarm rates, and adapts to complex network security environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114615032B_ABST
    Figure CN114615032B_ABST
Patent Text Reader

Abstract

The present invention provides a behavior safety baseline fusion learning method, device, electronic device and storage medium, the method comprising: obtaining a behavior safety baseline rule; wherein the behavior safety baseline rule comprises a rule parameter; according to the behavior safety baseline rule, determining a behavior safety baseline learning method; according to the behavior safety baseline learning method and the behavior safety baseline rule, learning the behavior data corresponding to the rule parameter to generate the behavior safety baseline. The method provided by the present invention can achieve data integrity of behavior safety baseline learning, improve the accuracy of the behavior safety baseline, and reduce the false alarm rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a behavioral security baseline fusion learning method, device, electronic device and storage medium. Background Art

[0002] With the development of technology and the spread of knowledge, the number and methods of network attacks have also increased significantly, and various new attack methods have emerged one after another, bringing great challenges and pressure to security analysts and products. Traditional security analysis and detection methods are based on prior knowledge and use features to perform security detection on network data and logs. This method can deal with known attack methods, but the detection efficiency of unknown and new attack methods is low and cannot adapt to the current severe network security situation. In recent years, with the development of machine learning and the rise of real-time computing frameworks, behavior-based security analysis methods have begun to be increasingly used in various security products.

[0003] In related technologies, the behavior-based security analysis method uses machine learning methods to learn network data and logs, and to statistically summarize the behavioral characteristics of users and entities. The learned behavioral security baseline can be well used for abnormal behavior analysis and detection, achieving many effects that cannot be achieved by feature-based methods. However, the data learned by the behavioral security baseline is incomplete, which affects the data integrity of the behavioral security baseline learning, resulting in low accuracy and high false alarm rate of the behavioral security baseline. Summary of the invention

[0004] In view of the problems of low accuracy and high false alarm rate of behavioral safety baselines in related technologies, the present invention provides a behavioral safety baseline fusion learning method, device, electronic device and storage medium.

[0005] The present invention provides a behavior safety baseline fusion learning method, the method comprising:

[0006] Acquire behavioral safety baseline rules; wherein the behavioral safety baseline rules include rule parameters;

[0007] Determine a behavioral safety baseline learning method according to the behavioral safety baseline rules;

[0008] According to the behavior safety baseline learning method and the behavior safety baseline rule, the behavior data corresponding to the rule parameters are learned to generate the behavior safety baseline.

[0009] According to a behavior safety baseline fusion learning method provided by the present invention, the rule parameters include at least one of the following: a time window, a historical behavior data storage address, and a real-time behavior data queue address.

[0010] According to a behavior safety baseline fusion learning method provided by the present invention, the behavior safety baseline learning method includes at least one of the following:

[0011] A historical behavior data learning method; wherein the parameters of the historical behavior data learning method include: the historical behavior data storage address and a first time range; the first time range includes t1 to t2; t1 is the start learning time of the behavior safety baseline, and t2 is the end learning time of the behavior safety baseline;

[0012] A real-time behavior data learning method; wherein the parameters of the real-time behavior data learning method include: the real-time behavior data queue address and the first time range;

[0013] A hybrid behavior data learning method; wherein the parameters of the hybrid behavior data learning method include: the historical behavior data storage address and the second time range; the real-time behavior data queue address and the third time range; the second time range includes t1 to t3; the third time range includes t3 to t2; t3 is the start time of the real-time behavior data.

[0014] According to a behavior safety baseline fusion learning method provided by the present invention, the behavior safety baseline learning method is determined according to the behavior safety baseline rule, including:

[0015] According to the time window, calculating the start learning time and the end learning time of the behavioral safety baseline;

[0016] Detecting the time range of the historical behavior data according to the historical behavior data storage address;

[0017] Determining whether the end learning time of the behavior safety baseline is earlier than the end time of the historical behavior data;

[0018] In a case where the end learning time of the behavior safety baseline is earlier than the end time of the historical behavior data, determining the historical behavior data learning method as the behavior safety baseline learning method;

[0019] In the case where the end learning time of the behavioral safety baseline is later than the end time of the historical behavior data, the real-time behavior data time range is detected according to the real-time behavior data queue address; it is determined whether the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data; in the case where the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data, the real-time behavior data learning method is determined as the behavioral safety baseline learning method;

[0020] In a case where the start learning time of the behavior safety baseline is earlier than the start learning time of the real-time behavior data, the hybrid behavior data learning method is determined as the behavior safety baseline learning method.

[0021] According to a behavior safety baseline fusion learning method provided by the present invention, when the behavior safety baseline learning method is the historical behavior data learning method, the behavior data of the first time range is read from the corresponding historical behavior data storage address according to the historical behavior data learning method, and the behavior safety baseline learning is performed according to the behavior safety rule configuration to obtain the behavior safety baseline;

[0022] In the case where the behavior safety baseline learning method is the real-time behavior data learning method, the behavior data of the first time range is read from the corresponding real-time behavior data queue address according to the real-time behavior data learning method, and the behavior safety baseline learning is performed according to the behavior safety rule configuration to obtain the behavior safety baseline;

[0023] In the case where the behavior safety baseline learning method is the hybrid behavior data learning method, the hybrid behavior data learning method is executed in stages to obtain a behavior safety baseline.

[0024] According to a behavior safety baseline fusion learning method provided by the present invention, the hybrid behavior data learning method is executed in stages to obtain a behavior safety baseline, including:

[0025] Execute the historical behavior data learning method, read the behavior data of the second time range from the corresponding historical behavior data storage address, and perform behavior safety baseline learning according to the behavior safety rule configuration;

[0026] Execute the real-time behavior data learning method, read the behavior data in the third time range from the corresponding real-time behavior data queue address, perform behavior safety baseline learning according to the behavior safety rule configuration, and obtain a behavior safety baseline.

[0027] The present invention also provides a behavior safety baseline fusion learning device, the device comprising:

[0028] An acquisition module, used to acquire a behavioral safety baseline rule; wherein the behavioral safety baseline rule includes a rule parameter;

[0029] A determination module, used to determine a behavior safety baseline learning method according to the behavior safety baseline rule;

[0030] A generation module is used to learn the behavior data corresponding to the rule parameters according to the behavior safety baseline learning method and the behavior safety baseline rule to generate the behavior safety baseline.

[0031] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-described behavioral safety baseline fusion learning methods are implemented.

[0032] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described behavioral safety baseline fusion learning methods.

[0033] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned behavioral safety baseline fusion learning methods.

[0034] The behavioral safety baseline fusion learning method provided by the present invention obtains behavioral safety baseline rules and determines a behavioral safety baseline learning method according to the behavioral safety baseline rules; then, according to the behavioral safety baseline learning method and the behavioral safety baseline rules, the behavioral data corresponding to the rule parameters are learned to obtain a behavioral safety baseline, thereby achieving data integrity of the behavioral safety baseline learning, improving the accuracy of the behavioral safety baseline, and reducing the false alarm rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are 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 This is one of the flow charts of the behavior safety baseline fusion learning method provided by the present invention;

[0037] Figure 2 This is one of the time period schematic diagrams of the behavior safety baseline fusion learning method provided by the present invention;

[0038] Figure 3 This is the second time period schematic diagram of the behavior safety baseline fusion learning method provided by the present invention;

[0039] Figure 4 This is the third time period diagram of the behavior safety baseline fusion learning method provided by the present invention;

[0040] Figure 5 This is the second flow chart of the behavior safety baseline fusion learning method provided by the present invention;

[0041] Figure 6It is an architecture diagram of the behavior safety baseline fusion learning method provided by the present invention;

[0042] Figure 7 It is a schematic diagram of the calculation flow of the fusion learning calculator provided by the present invention;

[0043] Figure 8 It is a schematic diagram of the calculation process of the behavioral safety baseline learner provided by the present invention;

[0044] Fig. 9 It is a structural schematic diagram of the behavior safety baseline fusion learning device provided by the present invention;

[0045] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0047] The behavioral safety baseline fusion learning method provided by the present invention is described in detail below through some embodiments and application scenarios in conjunction with the accompanying drawings.

[0048] The present invention provides a behavioral security baseline fusion learning method, which can be applied to the scenarios of security analysis and detection of network attacks. The behavioral security baseline rules are obtained and the behavioral security baseline learning method is determined according to the behavioral security baseline rules. Then, according to the behavioral security baseline learning method and the behavioral security baseline rules, the behavioral data corresponding to the rule parameters are learned to obtain the behavioral security baseline, thereby achieving data integrity of the behavioral security baseline learning, improving the accuracy of the behavioral security baseline and reducing the false alarm rate.

[0049] Figure 1 is one of the flow charts of the behavior safety baseline fusion learning method provided by the present invention, such as Figure 1 As shown, the method includes steps 101 to 103, wherein:

[0050] Step 101, obtaining a behavioral safety baseline rule; wherein the behavioral safety baseline rule includes rule parameters;

[0051] Step 102, determining a behavior safety baseline learning method according to the behavior safety baseline rule;

[0052] Step 103: According to the behavior safety baseline learning method and the behavior safety baseline rule, the behavior data corresponding to the rule parameters are learned to generate the behavior safety baseline.

[0053] It should be noted that the behavioral security baseline fusion learning method provided by the present invention can be applied to the scenario of security analysis and detection of network attacks. The execution subject of the method can be a behavioral security baseline fusion learning device, such as an electronic device, or a control module in the behavioral security baseline fusion learning device for executing the behavioral security baseline fusion learning method.

[0054] Optionally, the rule parameters include at least one of the following: a time window, a historical behavior data storage address, and a real-time behavior data queue address.

[0055] Specifically, the time window is used to calculate the learning cycle parameters of the behavioral security baseline; the historical behavior data storage address is used to detect the time range of the historical behavior data; and the real-time behavior data queue address is used to detect the time range of the real-time behavior data.

[0056] It should be noted that in the process of storing historical behavior data and real-time behavior data, each time a behavior data is stored, the storage address of the behavior data corresponds to a storage time. Therefore, the historical behavior data storage address and the real-time behavior data queue address respectively correspond to specific storage times. Therefore, the historical behavior data range can be detected according to the historical behavior data storage address, and the real-time behavior data range can be detected according to the real-time behavior data queue address.

[0057] Optionally, the behavioral safety baseline learning method includes at least one of the following:

[0058] A historical behavior data learning method; wherein the parameters of the historical behavior data learning method include: the historical behavior data storage address and the first time range; the first time range includes t1 to t2; t1 is the start learning time of the behavior safety baseline, and t2 is the end learning time of the behavior safety baseline; for example, the start learning time can be represented by learnStart, and the end learning time can be represented by learnEnd, then the first time range can be represented as<learnStart,learnEnd> .

[0059] Figure 2 is one of the time period diagrams of the behavior safety baseline fusion learning method provided by the present invention, such as Figure 2 As shown:

[0060] The first time range includes: t1 to t2;

[0061] The fourth time range includes: t5 to t6; wherein:

[0062] t1 is the start time of learning the behavioral safety baseline;

[0063] t2 is the end learning time of the behavioral safety baseline;

[0064] t5 is the start time of historical behavior data;

[0065] t6 is the end time of historical behavior data.

[0066] For example, the start time of historical behavior data is represented by historyDataStart, and the end time of historical behavior data is represented by historyDataEnd. Then the first time range can be represented as<historyDataStart,historyDataEnd> .

[0067] 2) A real-time behavior data learning method; wherein the parameters of the real-time behavior data learning method include: the real-time behavior data queue address and the first time range.

[0068] Figure 3 This is the second time period diagram of the behavior safety baseline fusion learning method provided by the present invention. Figure 3 As shown:

[0069] The first time range includes: t1 to t2;

[0070] The fifth time range includes: t3 to t4; wherein:

[0071] t1 is the start time of learning the behavioral safety baseline;

[0072] t2 is the end learning time of the behavioral safety baseline;

[0073] t3 is the start time of real-time behavior data;

[0074] t4 is the end time of the real-time behavior data.

[0075] For example, the start time of real-time behavior data is represented by realTimeDataStart, and the end time of historical behavior data is represented by realTimeDataEnd. Then the fifth time range can be represented as<realTimeDataStart,realTimeDataEnd> .

[0076] 3) Hybrid behavior data learning method; wherein the parameters of the hybrid behavior data learning method include: the historical behavior data storage address and the second time range; the real-time behavior data queue address and the third time range; the second time range includes t1 to t3; the third time range includes t3 to t2; t3 is the start time of the real-time behavior data; for example, the start time of the real-time behavior data can be represented by realTimeDataStart, then the second time range can be represented by<learnStart,realTimeDataStart> , the third time range can be expressed as<realTimeDataStart,learnEnd> .

[0077] Figure 4 This is the third time period diagram of the behavior safety baseline fusion learning method provided by the present invention. Figure 4 As shown:

[0078] The first time range includes: t1 to t2;

[0079] The second time range includes: t1 to t3;

[0080] The third time range includes: t3 to t2; wherein:

[0081] t1 is the start time of learning the behavioral safety baseline;

[0082] t2 is the end learning time of the behavioral safety baseline;

[0083] t3 is the start time of real-time behavior data, or the end time of historical behavior data;

[0084] t4 is the end time of the real-time behavior data.

[0085] It should be noted that according to the start learning time and end learning time of the behavioral safety baseline, the learning method of the behavioral safety baseline can be determined in the historical behavior data storage address and the real-time behavior data queue address, thereby improving the accuracy of the behavioral safety baseline learning method.

[0086] The behavioral safety baseline fusion learning method provided by the present invention obtains behavioral safety baseline rules and determines a behavioral safety baseline learning method according to the behavioral safety baseline rules; then, according to the behavioral safety baseline learning method and the behavioral safety baseline rules, the behavioral data corresponding to the rule parameters are learned to obtain a behavioral safety baseline, thereby achieving data integrity of the behavioral safety baseline learning, improving the accuracy of the behavioral safety baseline, and reducing the false alarm rate.

[0087] Based on the embodiments described above, the implementation of the method for determining a behavioral safety baseline learning method according to a behavioral safety baseline rule provided by the present invention is described below.

[0088] Optionally, determining a behavioral safety baseline learning method according to the behavioral safety baseline rule includes:

[0089] 1) According to the time window, calculating the start learning time t1 of the behavior safety baseline and the end learning time t2 of the behavior safety baseline;

[0090] 2) detecting the time range (t5 to t6) of the historical behavior data according to the storage address of the historical behavior data;

[0091] 3) determining whether the end learning time t2 of the behavior safety baseline is earlier than the end time t6 of the historical behavior data;

[0092] When the end learning time t2 of the behavior safety baseline is earlier than the end time t6 of the historical behavior data, the historical behavior data learning method is determined as the behavior safety baseline learning method. At this time, the parameters of the historical behavior data learning method include: the storage address of the historical behavior data and the first time range (t1 to t2);

[0093] Alternatively, when the end learning time t2 of the behavioral safety baseline is later than the end time t6 of the historical behavior data, the real-time behavior data time range (t3 to t4) is detected according to the real-time behavior data queue address; it is determined whether the start learning time t1 of the behavioral safety baseline is later than the start time t3 of the real-time behavior data; when the start learning time t1 of the behavioral safety baseline is later than the start time t3 of the real-time behavior data, the real-time behavior data learning method is determined as the behavioral safety baseline learning method. At this time, the parameters of the real-time behavior data learning method include: the real-time behavior data queue address and the first time range (t1 to t2);

[0094] 4) When the start learning time t1 of the behavior safety baseline is earlier than the start time t3 of the real-time behavior data, the hybrid behavior data learning method is determined as the behavior safety baseline learning method. At this time, the parameters of the hybrid behavior data learning method include: the historical behavior data storage address and the second time range (t1 to t3) and the real-time behavior data queue address and the third time range (t3 to t2).

[0095] It should be noted that by comparing the end learning time of the behavioral safety baseline with the termination time of the historical behavior data, it can be determined whether the behavioral safety baseline learning method is a historical behavior data learning method; when the behavioral safety baseline learning method is not a historical behavior data learning method, by comparing the start learning time of the behavioral safety baseline with the start time of the real-time behavior data, it can be determined whether the behavioral safety baseline learning method is a real-time behavior data learning method; when the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data, and the end learning time of the behavioral safety baseline is earlier than the end time of the real-time behavior data, it can be determined that the behavioral safety baseline learning method is a hybrid behavior data learning method, which provides an accurate learning method for subsequent behavior data to learn according to the behavioral safety baseline learning method and then generate a behavioral safety baseline.

[0096] The following describes an implementation method for generating a behavioral safety baseline by learning the behavioral data corresponding to the rule parameters based on the behavioral safety baseline learning method and the behavioral safety baseline rules provided by the present invention.

[0097] Optionally, according to the behavior safety baseline learning method and the behavior safety baseline rule, learning the behavior data corresponding to the rule parameter to generate the behavior safety baseline includes:

[0098] Mode 1, when the behavior safety baseline learning method is the historical behavior data learning method, the behavior data of the first time range is read from the corresponding historical behavior data storage address according to the historical behavior data learning method, and the behavior safety baseline learning is performed according to the behavior safety rule configuration to obtain the behavior safety baseline;

[0099] Mode 2, when the behavior safety baseline learning method is the real-time behavior data learning method, read the behavior data of the first time range from the corresponding real-time behavior data queue address according to the real-time behavior data learning method, perform behavior safety baseline learning according to the behavior safety rule configuration, and obtain a behavior safety baseline;

[0100] Mode 3, when the behavior safety baseline learning method is the hybrid behavior data learning method, the hybrid behavior data learning method is executed in stages to obtain a behavior safety baseline.

[0101] Among them, the implementation method of performing the hybrid behavior data learning method in stages in the above method 3 to obtain the behavior safety baseline may include two stages:

[0102] Phase 1: executing the historical behavior data learning method, reading the behavior data of the second time range from the corresponding historical behavior data storage address, and performing behavior safety baseline learning according to the behavior safety rule configuration;

[0103] Phase 2: Execute the real-time behavior data learning method, read the behavior data of the third time range from the corresponding real-time behavior data queue address, perform behavior safety baseline learning according to the behavior safety rule configuration, and obtain the behavior safety baseline.

[0104] Figure 5 This is the second flow chart of the behavior safety baseline fusion learning method provided by the present invention, see Figure 5 The method includes steps 501 to 504, wherein:

[0105] Step 501, input <behavioral safety baseline rules>;

[0106] Step 502, the fusion learning calculator calculates the behavior data learning method according to the rule parameters <time window, historical data source, real-time data source> of the behavior safety baseline rule;

[0107] Step 503, the behavior safety baseline learner starts learning the behavior safety baseline according to the behavior data learning method calculated by the fusion learning calculator;

[0108] Step 504: output <behavioral safety baseline>.

[0109] Figure 6 It is an architecture diagram of the behavior safety baseline fusion learning method provided by the present invention, as shown in FIG6 , including a fusion learning calculator and a behavior safety baseline learner; wherein,

[0110] When the behavioral safety baseline rule is input, the fusion learning calculator starts calculating the behavioral safety baseline learning method according to the rule parameters of the behavioral safety baseline rule <time window, historical behavior data storage address, real-time behavior data queue address>.

[0111] The behavioral safety baseline learner detects historical behavior data and real-time behavior data from the historical behavior data storage address and the real-time behavior data queue address respectively according to the behavioral safety baseline learning method calculated by the fusion learning calculator, and learns the behavioral safety baseline for the detected behavior data; when the behavior data learning is completed, the behavioral safety baseline is output.

[0112] The following is combined with Figure 7 and attached Figure 8 , and the calculation methods of the fusion learning calculator and the behavioral safety baseline learner are explained respectively.

[0113] Figure 7 is a schematic diagram of the calculation flow of the fusion learning calculator provided by the present invention, such as Figure 7 As shown, it includes steps 701 to 709, wherein:

[0114] Step 701, input <behavioral safety baseline rules>;

[0115] Step 702: Calculate the data learning cycle parameter according to the time window length parameter of the behavioral safety baseline rule<learnStart,learnEnd> ;

[0116] Step 703: Detect the time range of historical behavior data according to the historical behavior data storage address parameter of the behavior safety baseline rule.<historyDataStart,historyDataEnd> ;

[0117] Step 704, determine if the parameter learnEnd<=historyDataEnd? If yes, execute step 705; if no, execute step 706;

[0118] Step 705, using historical behavior data to learn a behavior security baseline, outputting a historical behavior data learning method: <historical behavior data storage address, time range of behavior data to be learned [learnStart, learnEnd]>;

[0119] Step 706: Detect the time range of real-time behavior data according to the real-time behavior data queue address parameter of the behavior security baseline rule<realTimeDataStart,realTimeDataEnd> ;

[0120] Step 707, determine if the parameter learnStart>=realTimeDataStart? If yes, execute step 708; if no, execute step 709;

[0121] Step 708, using the real-time behavior data to learn the behavior security baseline, outputting the real-time behavior data learning method: <real-time behavior data queue address, time range of the behavior data to be learned [learnStart, learnEnd]>;

[0122] Step 709, use the hybrid behavior data to learn the behavior security baseline and output the hybrid behavior data learning method: <historical behavior data storage address, time range of the behavior data to be learned [learnStart, realTimeDataStart]>+<real-time behavior data queue address, time range of the behavior data to be learned [realTimeDataStart, learnEnd]>.

[0123] Figure 8 The flowchart of the behavioral safety baseline learner provided by the present invention is shown in FIG8 , including steps 801 to 809, wherein:

[0124] Step 801, input <behavioral safety baseline learning method, behavioral safety baseline rule>;

[0125] Step 802, determine whether the behavior safety baseline learning method is a historical behavior data learning method? If yes, execute step 803; if not, execute step 804;

[0126] Step 803, according to the historical behavior data learning method <historical behavior data storage address, time range of behavior data to be learned [learnStart, learnEnd]>, read the behavior data of the time range [learnStart, learnEnd] from the corresponding historical behavior data storage address, and perform behavior safety baseline learning according to the behavior safety rule configuration. After the learning is completed, execute step 809;

[0127] Step 804, determine whether the behavior safety baseline learning method is a real-time behavior data learning method? If yes, execute step 805; if not, execute step 806;

[0128] Step 805, according to the real-time behavior data learning method <real-time behavior data queue address, time range of behavior data to be learned [learnStart, learnEnd]>, read the behavior data of the time range [learnStart, learnEnd] from the corresponding real-time behavior data queue address, perform behavior safety baseline learning according to the behavior safety rule configuration, and execute step 809 after the learning is completed;

[0129] Step 806, executing the hybrid learning method in stages <historical behavior data storage address, time range of behavior data to be learned [learnStart, realTimeDataStart]> + <real-time behavior data queue address, time range of behavior data to be learned [realTimeDataStart, learnEnd]>;

[0130] Step 807, execute the historical behavior data learning method <historical behavior data storage address, time range of behavior data to be learned [learnStart, realTimeDataStart]>, read the behavior data of the time range [learnStart, realTimeDataStart] from the corresponding historical behavior data storage address, and perform behavior safety baseline learning according to the behavior safety rule configuration;

[0131] Step 808, based on the learning in step 807, execute the real-time behavior data learning method <real-time behavior data queue address, time range of behavior data to be learned [realTimeDataStart, learnEnd]>, read the behavior data of the time range [realTimeDataStart, learnEnd] from the corresponding real-time behavior data queue address, perform behavior safety baseline learning according to the behavior safety rule configuration, and execute step 809 after the learning is completed;

[0132] Step 809, output <behavioral safety baseline>.

[0133] The behavioral safety baseline fusion learning device provided by the present invention is described below. The behavioral safety baseline fusion learning device described below and the behavioral safety baseline fusion learning method described above can be referenced to each other.

[0134] Fig. 9 The schematic diagram of the structure of the behavior safety baseline fusion learning device provided by the present invention is as follows: Fig. 9 As shown, the behavior safety baseline fusion learning device 900 includes: an acquisition module 901, a determination module 902 and a generation module 903; wherein,

[0135] The acquisition module 901 is used to acquire a behavioral safety baseline rule; wherein the behavioral safety baseline rule includes a rule parameter;

[0136] A determination module 902 is used to determine a behavior safety baseline learning method according to the behavior safety baseline rule;

[0137] The generation module 903 is used to learn the behavior data corresponding to the rule parameters according to the behavior safety baseline learning method and the behavior safety baseline rule to generate the behavior safety baseline.

[0138] The behavioral safety baseline fusion learning device provided by the present invention obtains behavioral safety baseline rules, determines a behavioral safety baseline learning method according to the behavioral safety baseline rules; then, according to the behavioral safety baseline learning method and the behavioral safety baseline rules, learns the behavioral data corresponding to the rule parameters to obtain a behavioral safety baseline, thereby achieving data integrity of the behavioral safety baseline learning, improving the accuracy of the behavioral safety baseline, and reducing the false alarm rate.

[0139] Optionally, the rule parameters include at least one of the following: a time window, a historical behavior data storage address, and a real-time behavior data queue address.

[0140] Optionally, the behavioral safety baseline learning method includes at least one of the following:

[0141] A historical behavior data learning method; wherein the parameters of the historical behavior data learning method include: the historical behavior data storage address and a first time range; the first time range includes t1 to t2; t1 is the start learning time of the behavior safety baseline, and t2 is the end learning time of the behavior safety baseline;

[0142] A real-time behavior data learning method; wherein the parameters of the real-time behavior data learning method include: the real-time behavior data queue address and the first time range;

[0143] A hybrid behavior data learning method; wherein the parameters of the hybrid behavior data learning method include: the historical behavior data storage address and the second time range; the real-time behavior data queue address and the third time range; the second time range includes t1 to t3; the third time range includes t3 to t2; t3 is the start time of the real-time behavior data.

[0144] Optionally, the determination module 902 is specifically configured to:

[0145] According to the time window, calculating the start learning time and the end learning time of the behavioral safety baseline;

[0146] Detecting the time range of the historical behavior data according to the historical behavior data storage address;

[0147] Determining whether the end learning time of the behavior safety baseline is earlier than the end time of the historical behavior data;

[0148] In a case where the end learning time of the behavior safety baseline is earlier than the end time of the historical behavior data, determining the historical behavior data learning method as the behavior safety baseline learning method;

[0149] In the case where the end learning time of the behavioral safety baseline is later than the end time of the historical behavior data, the real-time behavior data time range is detected according to the real-time behavior data queue address; it is determined whether the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data; in the case where the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data, the real-time behavior data learning method is determined as the behavioral safety baseline learning method;

[0150] In a case where the start learning time of the behavior safety baseline is earlier than the start learning time of the real-time behavior data, the hybrid behavior data learning method is determined as the behavior safety baseline learning method.

[0151] Optionally, the generating module 903 is specifically configured to:

[0152] In the case where the behavior safety baseline learning method is the historical behavior data learning method, the behavior data of the first time range is read from the corresponding historical behavior data storage address according to the historical behavior data learning method, and the behavior safety baseline learning is performed according to the behavior safety rule configuration to obtain the behavior safety baseline;

[0153] In the case where the behavior safety baseline learning method is the real-time behavior data learning method, the behavior data of the first time range is read from the corresponding real-time behavior data queue address according to the real-time behavior data learning method, and the behavior safety baseline learning is performed according to the behavior safety rule configuration to obtain the behavior safety baseline;

[0154] In the case where the behavior safety baseline learning method is the hybrid behavior data learning method, the hybrid behavior data learning method is executed in stages to obtain a behavior safety baseline.

[0155] Optionally, the generating module 903 is specifically configured to:

[0156] Execute the historical behavior data learning method, read the behavior data of the second time range from the corresponding historical behavior data storage address, and perform behavior safety baseline learning according to the behavior safety rule configuration;

[0157] Execute the real-time behavior data learning method, read the behavior data in the third time range from the corresponding real-time behavior data queue address, perform behavior safety baseline learning according to the behavior safety rule configuration, and obtain a behavior safety baseline.

[0158] Fig.10 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Fig.10 As shown, the electronic device 1000 may include: a processor 1010, a communication interface 1020, a memory 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020 and the memory 1030 communicate with each other through the communication bus 1040. The processor 1010 may call the logic instructions in the memory 1030 to execute the behavior safety baseline fusion learning method, which includes: obtaining a behavior safety baseline rule; wherein the behavior safety baseline rule includes a rule parameter; according to the behavior safety baseline rule, determining a behavior safety baseline learning method; according to the behavior safety baseline learning method and the behavior safety baseline rule, learning the behavior data corresponding to the rule parameter to generate the behavior safety baseline.

[0159] In addition, the logic instructions in the above-mentioned memory 1030 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0160] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the behavioral safety baseline fusion learning method provided by the above methods, and the method includes: obtaining a behavioral safety baseline rule; wherein the behavioral safety baseline rule includes a rule parameter; according to the behavioral safety baseline rule, determining a behavioral safety baseline learning method; according to the behavioral safety baseline learning method and the behavioral safety baseline rule, learning the behavioral data corresponding to the rule parameter to generate the behavioral safety baseline.

[0161] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the behavioral safety baseline fusion learning method provided by the above-mentioned methods, the method comprising: obtaining a behavioral safety baseline rule; wherein the behavioral safety baseline rule includes a rule parameter; according to the behavioral safety baseline rule, determining a behavioral safety baseline learning method; according to the behavioral safety baseline learning method and the behavioral safety baseline rule, learning the behavioral data corresponding to the rule parameter to generate the behavioral safety baseline.

[0162] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0163] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0164] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A behavioral safety baseline fusion learning method, characterized in that: The method comprises: Acquire behavioral safety baseline rules; wherein the behavioral safety baseline rules include rule parameters; According to the behavioral safety baseline rule, a behavioral safety baseline learning method is determined; the behavioral safety baseline learning method includes: A historical behavior data learning method; wherein the parameters of the historical behavior data learning method include: the historical behavior data storage address and a first time range; the first time range includes t1 to t2; t1 is the start learning time of the behavior safety baseline, and t2 is the end learning time of the behavior safety baseline; A real-time behavior data learning method; wherein the parameters of the real-time behavior data learning method include: the real-time behavior data queue address and the first time range; A hybrid behavior data learning method; wherein the parameters of the hybrid behavior data learning method include: the historical behavior data storage address and the second time range; the real-time behavior data queue address and the third time range; the second time range includes t1 to t3; the third time range includes t3 to t2; t3 is the start time of the real-time behavior data; According to the behavior safety baseline learning method and the behavior safety baseline rule, the behavior data corresponding to the rule parameters are learned to generate the behavior safety baseline; The rule parameters include: time window, historical behavior data storage address and real-time behavior data queue address; Determining a behavioral safety baseline learning method according to the behavioral safety baseline rule includes: Calculating the start time and end time of learning the behavioral safety baseline according to the time window; Detecting the time range of the historical behavior data according to the historical behavior data storage address; Determining whether the end learning time of the behavioral safety baseline is earlier than the end time of the historical behavioral data; In a case where the end learning time of the behavior safety baseline is earlier than the end time of the historical behavior data, determining the historical behavior data learning method as the behavior safety baseline learning method; In the case where the end learning time of the behavioral safety baseline is later than the end time of the historical behavior data, the real-time behavior data time range is detected according to the real-time behavior data queue address; it is determined whether the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data; in the case where the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data, the real-time behavior data learning method is determined as the behavioral safety baseline learning method; In a case where the start learning time of the behavior safety baseline is earlier than the start learning time of the real-time behavior data, the hybrid behavior data learning method is determined as the behavior safety baseline learning method.

2. The behavioral safety baseline fusion learning method according to claim 1 is characterized in that: The step of learning the behavior data corresponding to the rule parameters according to the behavior safety baseline learning method and the behavior safety baseline rule to generate the behavior safety baseline includes: In the case where the behavior safety baseline learning method is the historical behavior data learning method, the behavior data of the first time range is read from the corresponding historical behavior data storage address according to the historical behavior data learning method, and the behavior safety baseline learning is performed according to the behavior safety rule configuration to obtain the behavior safety baseline; In the case where the behavior safety baseline learning method is the real-time behavior data learning method, the behavior data of the first time range is read from the corresponding real-time behavior data queue address according to the real-time behavior data learning method, and the behavior safety baseline learning is performed according to the behavior safety rule configuration to obtain the behavior safety baseline; In the case where the behavior safety baseline learning method is the hybrid behavior data learning method, the hybrid behavior data learning method is executed in stages to obtain a behavior safety baseline.

3. The behavior safety baseline fusion learning method according to claim 2 is characterized in that: The step of performing the hybrid behavior data learning method in stages to obtain a behavior safety baseline includes: Execute the historical behavior data learning method, read the behavior data of the second time range from the corresponding historical behavior data storage address, and perform behavior safety baseline learning according to the behavior safety rule configuration; Execute the real-time behavior data learning method, read the behavior data in the third time range from the corresponding real-time behavior data queue address, perform behavior safety baseline learning according to the behavior safety rule configuration, and obtain a behavior safety baseline.

4. A behavioral safety baseline fusion learning device, characterized in that: The device comprises: An acquisition module, used to acquire a behavioral safety baseline rule; wherein the behavioral safety baseline rule includes a rule parameter; A determination module is used to determine a behavior safety baseline learning method according to the behavior safety baseline rule; the behavior safety baseline learning method includes: A historical behavior data learning method; wherein the parameters of the historical behavior data learning method include: the historical behavior data storage address and a first time range; the first time range includes t1 to t2; t1 is the start learning time of the behavior safety baseline, and t2 is the end learning time of the behavior safety baseline; A real-time behavior data learning method; wherein the parameters of the real-time behavior data learning method include: the real-time behavior data queue address and the first time range; A hybrid behavior data learning method; wherein the parameters of the hybrid behavior data learning method include: the historical behavior data storage address and the second time range; the real-time behavior data queue address and the third time range; the second time range includes t1 to t3; the third time range includes t3 to t2; t3 is the start time of the real-time behavior data; The rule parameters include: time window, historical behavior data storage address and real-time behavior data queue address; Determining a behavioral safety baseline learning method according to the behavioral safety baseline rule includes: Calculating the start time and end time of learning the behavioral safety baseline according to the time window; Detecting the time range of the historical behavior data according to the historical behavior data storage address; Determining whether the end learning time of the behavioral safety baseline is earlier than the end time of the historical behavioral data; In a case where the end learning time of the behavior safety baseline is earlier than the end time of the historical behavior data, determining the historical behavior data learning method as the behavior safety baseline learning method; In the case where the end learning time of the behavioral safety baseline is later than the end time of the historical behavior data, the real-time behavior data time range is detected according to the real-time behavior data queue address; it is determined whether the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data; in the case where the start learning time of the behavioral safety baseline is later than the start time of the real-time behavior data, the real-time behavior data learning method is determined as the behavioral safety baseline learning method; In a case where the start learning time of the behavior safety baseline is earlier than the start time of the real-time behavior data, determining the hybrid behavior data learning method as the behavior safety baseline learning method; A generation module is used to learn the behavior data corresponding to the rule parameters according to the behavior safety baseline learning method and the behavior safety baseline rule to generate the behavior safety baseline.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the behavioral safety baseline fusion learning method as described in any one of claims 1 to 3 are implemented.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the behavioral safety baseline fusion learning method as described in any one of claims 1 to 3 are implemented.

7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the behavioral safety baseline fusion learning method as described in any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Abnormal network security behavior detection method and device, electronic equipment and storage medium

    CN113765881A