A network abnormal behavior detection and analysis method for the nuclear power industry
Analyze abnormal behavior of nuclear power network data through multiple decision trees in the early warning tree model, and use the correlation between decision trees to solve the problem of abnormal network behavior detection in the nuclear power industry, achieve rapid and timely judgment and processing, and improve analysis Accuracy.
Patent Information
- Application Number
- CN202410928414.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-11
AI Technical Summary
In the nuclear power industry, network abnormal behavior detection is difficult to respond to in a timely manner, and existing technology cannot effectively analyze multiple abnormal situations, resulting in heavy workload and inaccurate analysis.
The early warning tree model is used to analyze abnormal behavior of nuclear power network data through multiple decision trees, and the correlation between decision trees is used to reduce repeated analysis and improve the accuracy of analysis.
It realizes the rapid and timely judgment and processing of abnormal network behavior in the nuclear power industry, reduces the analysis workload, improves the accuracy of analysis, and meets a variety of analysis requirements.
Smart Images

Figure CN118487872B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of network security technology, and in particular, relates to a method for detecting and analyzing network abnormal behavior for the nuclear power industry. Background Art
[0002] At present, due to the huge amount of real-time monitoring data and the diversity of abnormal situations in the nuclear power industry, abnormal network behavior may be caused by a variety of different factors, including but not limited to human operational errors, network attacks and equipment failures. When analyzing abnormal behavior, it is usually necessary to deeply analyze multiple levels of abnormal behavior to determine the root cause behind it. During the operation of a nuclear power plant, if abnormal data appears, the staff can only check various possible problem points one by one, which is a heavy workload and cannot respond to abnormal alarms in time. Summary of the invention
[0003] The embodiment of the present application provides a network abnormal behavior detection and analysis method for the nuclear power industry, which can solve the problem of network abnormal behavior detection in the nuclear power industry.
[0004] In a first aspect, an embodiment of the present application provides a method for detecting and analyzing abnormal network behavior in the nuclear power industry, including:
[0005] Obtain nuclear power network data;
[0006] extracting target anomaly features from the nuclear power network data;
[0007] The target abnormality feature is input into the early warning tree model to obtain the target abnormality analysis result output by the early warning tree model; wherein the early warning tree model includes multiple decision trees, each of the decision trees includes multiple nodes, the nodes include branch nodes and leaf nodes, each of the branch nodes is connected to at least two child nodes through a subpath, and the at least two child nodes are the branch nodes or the leaf nodes, and the leaf node of the first decision tree in the multiple decision trees and the branch node of the second decision tree with an associated relationship therewith are connected through a subpath; the early warning tree model is used to divide the target abnormality feature along the subpath until a leaf node is reached, and the target abnormality analysis result is obtained according to the information of the reached leaf node.
[0008] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0009] By analyzing abnormal behavior of nuclear power network data through multiple decision trees in the early warning tree model, various analysis requirements can be met, and different decision trees with associated relationships can be connected so that the analysis results of different decision trees can refer to each other. This can not only reduce the process of repeated analysis and reduce the analysis workload, but also improve the analysis accuracy of the early warning tree model.
[0010] In a possible implementation manner of the first aspect, the multiple decision trees include:
[0011] Anomaly type analysis decision tree, used to determine the target anomaly type according to the target anomaly characteristics;
[0012] An abnormality cause analysis decision tree connected to the abnormality type analysis decision tree, used to determine a target abnormality cause according to the target abnormality feature and the target abnormality type;
[0013] The exception handling strategy analysis decision tree connected to the exception type analysis decision tree and the exception cause analysis decision tree is used to determine the target exception handling strategy according to the target exception feature, the target exception type and the target exception cause.
[0014] In the above scheme, the type of abnormal behavior, the cause of the abnormal behavior and the handling strategy of the abnormal behavior are determined in turn through the abnormal type analysis decision tree, the abnormal cause analysis decision tree and the abnormal handling strategy analysis decision tree, and the timely judgment and handling of abnormal behavior are achieved through an integrated automatic process.
[0015] In a possible implementation manner of the first aspect, the step of obtaining a target abnormality type according to the target abnormality feature analysis includes:
[0016] Searching for a target branch node from the branch nodes of the abnormal type analysis decision tree; each of the branch nodes corresponds to an abnormal feature, and the abnormal feature corresponding to the target branch node matches the target abnormal feature;
[0017] According to the feature value of the target abnormal feature, traverse each level of the abnormal type analysis decision tree, and determine the target child node from at least two child nodes of the target branch node at the current level;
[0018] When the target child node is the target branch node, continue to determine a new target child node from at least two child nodes of the target child node until the new target child node is the leaf node;
[0019] When the target child node is the leaf node, the target abnormality type is determined according to information of the target child node.
[0020] In the above scheme, the branch nodes of the anomaly type analysis decision tree represent the anomaly features, and the leaf nodes represent the anomaly types. The anomaly features and the anomaly types are related through the decision tree. The search process of the decision tree is the analysis process of the anomaly type. It only needs to start from the initial level, match the target anomaly features and their feature values with the anomaly features and their feature values of the branch nodes in the anomaly type analysis decision tree, and determine the new target child node, and finally reach the leaf node to determine the target anomaly type.
[0021] In a possible implementation manner of the first aspect, the training process of the decision tree includes:
[0022] Obtain training samples containing multiple abnormal features;
[0023] Calculate the information gain corresponding to each abnormal feature in the training sample;
[0024] In the training sample, at least two branch nodes are created for the first abnormal feature with the largest information gain, and the training sample is divided into a first subset corresponding to each branch node according to the first abnormal feature;
[0025] When the first subset contains multiple abnormal features, at least two branch nodes are created for the second abnormal feature with the largest information gain other than the first abnormal feature, and the two branch nodes are used as child nodes of the branch node created last time, and the first subset is divided into second subsets corresponding to each branch node according to the second abnormal feature, until the divided subset contains only one abnormal feature;
[0026] When there is only one abnormal feature in the first subset, at least two leaf nodes are created for the abnormal feature and serve as child nodes of the branch node created last time.
[0027] In the above scheme, the information gain corresponding to each abnormal feature is calculated. The information gain represents the degree of reduction of the uncertainty of the random variable. The abnormal feature corresponding to the maximum information gain is used as the partition feature and the training samples corresponding to each branch node are divided, so that the divided subsets are purer, which helps to improve the prediction accuracy of the decision tree. Multiple child nodes are created based on the branch nodes, and the above process is repeated. When no new partition features are generated, the decision tree training is completed.
[0028] In a possible implementation manner of the first aspect, the information gain corresponding to each abnormal feature is calculated by the following formula:
[0029]
[0030] in, represents the information gain of abnormal feature a in training sample D, represents the overall entropy of the training sample D, It represents the characteristic entropy of abnormal feature a under the i-th characteristic value, represents the number of samples of abnormal feature a under the i-th feature value, Represents the number of training samples D.
[0031] In a possible implementation manner of the first aspect, each of the branch nodes is connected to at least two sub-nodes through a sub-path, including:
[0032] The branch node is connected to the child node through a logic gate; the logic gate includes at least one of an AND gate, an OR gate, an XOR gate, a priority AND gate, a forbidden gate and a voting gate.
[0033] In the above scheme, different branch nodes are connected by logic gates to indicate the logical relationship between different nodes, which helps to understand the analysis process of abnormal behavior.
[0034] In a possible implementation manner of the first aspect, the step of obtaining the target anomaly analysis result according to the information of the leaf node reached includes:
[0035] The information of the leaf nodes reached by each of the multiple decision trees is determined as the target abnormality analysis result.
[0036] In the above scheme, each decision tree of the early warning tree model is independent of each other, and each outputs a result under a certain abnormal analysis requirement. The number of decision trees can be determined according to actual needs, so that the entire early warning tree model can carry a large amount of data and adapt to various analysis requirements.
[0037] In a second aspect, the embodiment of the present application provides a network abnormal behavior detection and analysis device for the nuclear power industry, characterized in that it includes:
[0038] An acquisition module, used to acquire nuclear power network data;
[0039] An extraction module, used for extracting target abnormal features from the nuclear power network data;
[0040] An analysis module is used to input the target abnormality feature into the early warning tree model to obtain the target abnormality analysis result output by the early warning tree model; wherein the early warning tree model includes multiple decision trees with an associated relationship, each of the decision trees includes multiple nodes, the nodes include branch nodes and leaf nodes, each of the branch nodes is connected to at least two child nodes through a subpath, and the at least two child nodes are the branch nodes or the leaf nodes, and the leaf node of the first decision tree in the multiple decision trees and the branch node of the second decision tree with an associated relationship therewith are connected through a subpath; the early warning tree model is used to divide the target abnormality feature along the subpath until a leaf node is reached, and the target abnormality analysis result is obtained according to the information of the leaf node reached.
[0041] In a third aspect, an embodiment of the present application 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 computer program, the method for detecting and analyzing network abnormal behavior for the nuclear power industry as described in any one of the first aspects above is implemented.
[0042] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and is characterized in that when the computer program is executed by a processor, it implements the network abnormal behavior detection and analysis method for the nuclear power industry as described in any one of the above-mentioned first aspects.
[0043] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device executes the network abnormal behavior detection and analysis method for the nuclear power industry described in any one of the above-mentioned first aspects.
[0044] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0046] Figure 1 It is a flowchart of a method for detecting and analyzing abnormal network behavior in the nuclear power industry provided by an embodiment of the present application;
[0047] Figure 2It is a structural diagram of a warning tree model provided by an embodiment of the present application;
[0048] Figure 3 It is a schematic diagram of connecting multiple decision trees of an early warning tree model provided by another embodiment of the present application;
[0049] Figure 4 This is a flowchart of step S13 in a method for detecting and analyzing abnormal network behavior in the nuclear power industry according to an embodiment of the present application;
[0050] Figure 5 It is a flowchart of step S131 in step S13 of the network abnormal behavior detection and analysis method for the nuclear power industry provided by an embodiment of the present application;
[0051] Figure 6 is a flowchart of a training decision tree provided by another embodiment of the present application;
[0052] Figure 7 It is a structural diagram of a network abnormal behavior detection and analysis device for the nuclear power industry provided by an embodiment of the present application;
[0053] Figure 8 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0054] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0055] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0056] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0057] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0058] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0059] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0060] The embodiment of the present application provides a schematic flow chart of a network abnormal behavior detection and analysis method for the nuclear power industry, in which the nuclear power industry mainly uses the industrial Internet for interconnection to achieve industrial control. With the application of digital technology in the nuclear power industry, the nuclear power industry has deeply integrated informatization and industrialization. The key operations such as data exchange, remote control, monitoring and early warning within the nuclear power industry all rely on the Internet or a dedicated efficient network system. The high-speed transmission and remote control of data have greatly improved the efficiency and convenience of the operation of the nuclear power industry. However, at the same time, due to the increasing number of connections between the control system of the nuclear power industry and other business information systems, the threat of network attacks is also increasing. Network attacks will affect the availability, integrity, and confidentiality of software and data, thereby adversely affecting the operation of related equipment in the nuclear power industry, and even posing a threat to nuclear safety. The network security issues in the nuclear power industry deserve attention.
[0061] The network security issues in the nuclear power industry belong to a highly specialized field. For most abnormal behavior detection, professional network security personnel are often required to combine their experience to manage and maintain. Once there is a shortage of professionals, the analysis of some abnormal behaviors may not be timely and accurate enough. As an important part of modern industry, the nuclear power industry has developed its network technology very rapidly. The traditional network abnormal behavior detection and analysis that relies on manual methods of network experts can no longer meet the needs. Instead, intelligent detection and analysis technology is needed to realize the automation of network abnormal behavior detection and analysis. This application establishes an early warning tree model based on the experience of experts in the nuclear power industry who have experience in fault analysis and judgment to conduct a comprehensive analysis of abnormal phenomena occurring in the nuclear power industry.
[0062] Of course, the application embodiments themselves are not limited to application in the nuclear power industry, but can also be applied to important industrial control industries such as the transportation industry and the water conservancy industry. Figure 1 A network abnormal behavior detection and analysis method for the nuclear power industry provided by the present application is shown. As an example but not a limitation, the network abnormal behavior detection and analysis method for the nuclear power industry may include the following steps:
[0063] S11. Obtain nuclear power network data.
[0064] The nuclear power network data refers to data related to abnormal network behavior to be detected and analyzed in the nuclear power industry. Specifically, the nuclear power network data includes at least one of network traffic data, equipment operation data and log data.
[0065] S12. Extract target anomaly features from nuclear power network data.
[0066] Among them, the target abnormal characteristics refer to the characteristics of abnormal network behavior. In a possible implementation, the abnormal network behavior in the nuclear power network data refers to the network behavior corresponding to the attack event. The target abnormal characteristics include the attack time, the attack source address, the victim address, the attacker's identity information, the tools used by the attacker, the attack route and at least one of the attack behavior characteristics. Among them, the attack behavior characteristics may include the number of data packet bytes, data packet traffic, the number of destination ports, the number of data flow source subnets, the number of source ports, the number of source IPs, and traffic distribution, etc.
[0067] S13. Input the target abnormality feature into the early warning tree model to obtain the target abnormality analysis result output by the early warning tree model.
[0068] By way of example and not limitation, Figure 2 An early warning tree model is shown, which includes multiple decision trees, each of which includes multiple nodes. Figure 2, each node of the decision tree includes a branch node and a leaf node, each branch node is connected to at least two child nodes through a subpath, and at least two child nodes are branch nodes or leaf nodes.
[0069] Among these multiple decision trees, there are different decision trees with association relationships, and the decision trees with association relationships can be connected. Among them, the association relationship mainly refers to the relationship between the association relationship of the information in the leaf nodes of different decision trees that satisfies the conditions and conclusions. Specifically, the association relationship can be a causal relationship. Assuming that there is a causal relationship between the two decision trees, the decision tree with the leaf node information as the cause is used as the first decision tree, and the decision tree with the leaf node as the result is used as the second decision tree. The leaf nodes of the first decision tree and the branch nodes of the second decision tree with an association relationship are connected through subpaths, so that after obtaining the information of the leaf nodes of the first decision tree, the leaf node information of the first decision tree is passed to the second decision tree, and the leaf node information of the second decision tree is obtained. The early warning tree model is used to divide the target abnormal features along the subpath until the leaf node is reached, and the target abnormal analysis results are obtained according to the information of the leaf nodes reached.
[0070] This embodiment provides a network abnormal behavior detection and analysis method for the nuclear power industry. It performs abnormal behavior analysis on nuclear power network data through multiple decision trees in the early warning tree model, which can meet various analysis requirements and connect different decision trees with associated relationships so that the analysis results of different decision trees can refer to each other. This can not only reduce the repeated analysis process and reduce the analysis workload, but also improve the analysis accuracy of the early warning tree model.
[0071] In a possible implementation of step S13, the association relationship can also be a correlation relationship, that is, assuming that there is a correlation relationship between the two decision trees, and the different results of any decision tree will cause the results of the other decision tree to change in a certain regular pattern, then the two decision trees can be the first decision tree and the second decision tree to each other, that is, each decision tree is combined with the current input state and performs a new output evaluation based on the output of the other decision tree, thereby updating the leaf node information.
[0072] It should be noted that the number of decision trees with associated relationships can be more than two, such as Figure 2 As shown, as an example but not a limitation, among the three connected decision trees, the middle decision tree may be the result of the previous decision tree and the cause of the next decision tree at the same time.
[0073] Each decision tree in the early warning tree model can be the first decision tree or the second decision tree. Of course, there may also be independent decision trees in the early warning tree model. Specifically, the association relationship between any two decision trees in the early warning tree model can be obtained in sequence. If the leaf node information of one decision tree meets the relationship between the condition and the conclusion with the leaf node information of another decision tree, the leaf node of one decision tree and the branch node of the other decision tree are connected through a subpath. If a decision tree has no association relationship with other decision trees, the decision tree is not connected with other decision trees.
[0074] In a possible implementation of step S13, the information of each leaf node can represent the analysis result of the anomaly analysis result at a single level. For example, the anomaly analysis result includes analysis results at multiple levels such as the anomaly type, the cause of the anomaly, the impact of the anomaly, the change of the anomaly and the anomaly handling strategy. The leaf node information of each decision tree corresponds to the analysis result at one of the levels.
[0075] In a possible implementation of step S13, the leaf node information of different decision trees may be the same, and the same analysis result may be obtained through different abnormal features and analysis methods. A suitable decision tree can be selected to analyze the input abnormal features according to actual needs, or these decision trees can be made to analyze the input abnormal features together, and then these decision trees can be reversely verified based on the leaf node information obtained from each decision tree.
[0076] In a possible implementation of step S13, the information of the leaf nodes reached by each of the multiple decision trees is determined as the target anomaly analysis result. Specifically, the target anomaly feature will be input into the branch nodes of the initial level of each decision tree respectively. For example, if a decision tree has a target anomaly feature that matches the branch node, it can continue to match other branch nodes of the decision tree until it reaches a leaf node of the decision tree, and obtain the information of the leaf node. If the leaf node of the decision tree is connected to the branch node of another decision, the other decision tree is traversed to obtain the leaf node information of the other decision tree. By analogy, the target anomaly analysis result is obtained according to the information of the leaf nodes of all decision trees that match the target anomaly feature in the early warning tree model.
[0077] This embodiment provides a network abnormal behavior detection and analysis method for the nuclear power industry. Each decision tree of the early warning tree model is independent of each other and each outputs a result under a certain abnormal analysis requirement. The number of decision trees can be determined according to actual needs, so that the entire early warning tree model can carry a large amount of data and adapt to various analysis requirements.
[0078] It should be noted that the early warning tree model of the present application is regarded as a huge rule analysis library for the nuclear power industry, which covers various anomaly analysis rules related to network anomaly detection and analysis in the nuclear power industry. The decision tree algorithm can be used to automatically match and apply the corresponding anomaly analysis rules to provide accurate and timely anomaly analysis results.
[0079] Specifically, decision trees can be used for knowledge representation. Knowledge representation refers to representing knowledge understood by humans as a data structure that can be processed by machines. The knowledge in the embodiments of the present application refers to various anomaly analysis rules compiled based on the experience of experts in the nuclear power industry. In other words, the anomaly analysis rules in the nuclear power industry are represented in the form of a decision tree.
[0080] In a possible implementation of step S13, the branch nodes and subpaths of the decision tree represent the conditional part of the anomaly analysis rule, and the leaf nodes represent the conclusion part of the anomaly analysis rule. In the process of dividing the target anomaly feature along the subpath until reaching a leaf node, the combination of the passed nodes and subpaths represents an anomaly analysis rule.
[0081] Optionally, the branch node and the child node are connected via a logic gate; the logic gate includes at least one of an AND gate, an OR gate, an XOR gate, a priority AND gate, a forbidden gate and a voting gate.
[0082] Exemplarily, the AND gate can be the AND relationship of branch node A and branch node B, and they act on child node C together. The OR gate can be the OR relationship of branch node A and branch node B, and branch node A or branch node B can act on child node C. The XOR gate can act on child node C when both branch node A and branch node B meet the conditions, or when neither branch node A nor branch node B meets the conditions. The priority AND gate can act on child node C when branch node A and branch node B have both an AND relationship and an OR relationship. The prohibition gate can prohibit branch node A from acting on child node C. The voting gate can act on child node C when there are a preset number of branch nodes that meet the conditions among the N branch nodes.
[0083] In the above scheme, different branch nodes are connected by logic gates to indicate the logical relationship between different nodes, which helps to understand the analysis process of abnormal behavior.
[0084] In a possible implementation of step S11, nuclear power network data may refer to relevant data on networks, equipment, systems, and applications in the nuclear power industry some time before certain network abnormal events occur. By analyzing the nuclear power network data, network transmission rules, equipment operation rules or operation rules before the network abnormal events occur are obtained, and early warnings can be given before these network abnormal events occur in the future, thereby effectively eliminating safety hazards.
[0085] In a possible implementation of step S11, nuclear power network data may also refer to relevant data on networks, equipment, systems, and applications for a period of time after certain network abnormal events occur in the nuclear power industry. By analyzing the nuclear power network data, the development trend and impact of network abnormal events can be obtained, and the processing priorities of various network abnormal events, the processing methods of each network abnormal event, and other processing strategies can be determined in the future to ensure timely recovery of the entire nuclear power network.
[0086] Optionally, the implementation of step S11 includes using various sensors (such as temperature, pressure, vibration, flow, etc.) to collect device operation status data; collecting network traffic data through network mirroring, the network data contains communication information between devices; and collecting log files from devices, systems or applications, the log files record system operations and abnormal behaviors.
[0087] Since nuclear power network data is obtained from different data sources, in one possible implementation method, real-time data synchronization technology is used to ensure that nuclear power network data from different data sources can be integrated in real time. Real-time data synchronization ensures the timeliness and integrity of nuclear power network data, which is particularly important for data analysis in the nuclear power industry.
[0088] Optionally, after step S11, the process further includes preprocessing the nuclear power network data. Specifically, the preprocessing operations include data cleaning and data standardization, wherein data cleaning removes duplicates, corrects erroneous data, fills in missing values, etc. Data cleaning improves data quality and ensures the accuracy of subsequent analysis; data standardization refers to scaling the data to a uniform range or distribution, such as using Z-score (standard score) standardization or Min-Max (deviation standard) standardization, which makes data of different magnitudes and distributions comparable.
[0089] Optionally, after preprocessing the nuclear power network data, the data from different sources are also associated. As an example but not a limitation, the spatiotemporal relationship of nuclear power network data at different times, different locations and different devices is obtained by mining the spatiotemporal characteristics of the nuclear power network data, and the nuclear power network data from different sources are associated through the spatiotemporal relationship. For example, in the nuclear power industry, the spatiotemporal characteristic information extracted from the alarm information of device D may include that the location where the attacker launched the attack is in area A, and the spatiotemporal characteristic information extracted from the alarm information of device E may include that the location where the attacker launched the attack is also in area A. It can be inferred that the two attacks originated from the same attacker through the spatiotemporal characteristic information, that is, the alarm information of device D and the alarm information of device E can be associated and analyzed.
[0090] Of course, this embodiment is not limited to association based on spatiotemporal features, and data fusion can also be performed through a neural network to associate nuclear power networks from different sources.
[0091] Optional, Figure 3 A schematic diagram of the connection of multiple decision trees in an early warning tree model is shown. Specifically, the multiple decision trees include an abnormality type analysis decision tree, an abnormality cause analysis decision tree connected to the abnormality type analysis decision tree, and an abnormality handling strategy analysis decision tree connected to the abnormality type analysis decision tree and the abnormality cause analysis decision tree.
[0092] Optionally, the abnormal type analysis decision tree can be a top-down deductive failure analysis method, using Boolean logic to combine low-order events to analyze the undesirable state in the system. It is also possible to use the abnormal behavior detection method learned by the early warning tree model to select multiple attribute features of the network from massive logs and traffic metadata to learn normal behavior, build a normal behavior baseline model for users and entities, identify abnormal behavior through deviation analysis between normal values and abnormal values, judge network behavior that exceeds the deviation value threshold as an abnormal behavior event, and determine the abnormal type of various abnormal behavior events based on the deviation value size of various attribute features.
[0093] Optionally, the abnormal cause analysis decision tree can infer possible consequences from the initial event in the chronological order of the story development, so as to identify the hazard source. The system will use a tree diagram to represent the logical relationship between a possible accident and the various causes that led to the accident, find out the main cause of the accident, and provide a reliable basis for determining safety countermeasures, so as to achieve the purpose of guessing and preventing accidents.
[0094] Optionally, the abnormal handling strategy analysis decision tree can qualitatively and quantitatively analyze the current network security status and weak links, and give corresponding countermeasures to predict the development trend of network security status. Through early warning of enterprise security threats and risks, asset threats, equipment failures, network vulnerabilities, etc. are grasped from a global perspective, and the process is automatically triggered to help customers establish a rapid response mechanism to block security threats with one click.
[0095] In one possible implementation, using Figure 3 The early warning tree model shown implements step S13, see Figure 4 , one implementation of step S13 may include:
[0096] S131. Determine the target abnormality type according to the target abnormality feature.
[0097] S132. Determine the cause of the target abnormality according to the target abnormality feature and the target abnormality type.
[0098] S133. Determine a target exception handling strategy according to target exception characteristics, target exception type, and target exception cause.
[0099] This embodiment provides a network abnormal behavior detection and analysis method for the nuclear power industry, which determines the type of abnormal behavior, the cause of the abnormal behavior and the handling strategy of the abnormal behavior in sequence through an abnormal type analysis decision tree, an abnormal cause analysis decision tree and an abnormal handling strategy analysis decision tree, and realizes timely judgment and handling of abnormal behavior through an integrated automatic process.
[0100] It should be noted that the abnormal type analysis decision tree, abnormal cause analysis decision tree and abnormal handling strategy analysis decision tree of this embodiment are only part of the multiple decision trees in the early warning tree model. The early warning tree model can also include decision trees for other analysis purposes, such as abnormal behavior statistical analysis decision trees, which can be used to count the growth trend and decline trend of abnormal events corresponding to different abnormal types, the duration of abnormalities, the proportion of different abnormal causes, and the network abnormal recovery after using different abnormal handling strategies. The abnormal behavior statistical analysis decision tree helps to prevent and repair network abnormal behaviors in advance and improve the reliability of nuclear power networks.
[0101] Optionally, take the abnormal type analysis decision tree as an example to illustrate the analysis process of the decision tree, such as Figure 5 As shown, an implementation of step S131 may include the following steps:
[0102] S1311. Search for a target branch node from the branch nodes of the abnormal type analysis decision tree.
[0103] Among them, each branch node corresponds to an abnormal feature, and the abnormal feature corresponding to the target branch node matches the target abnormal feature.
[0104] S1312. According to the feature value of the target abnormal feature, traverse each level of the abnormal type analysis decision tree, and determine the target child node from at least two child nodes of the target branch node at the current level.
[0105] S1313, determine whether the target child node is the target branch node, if so, return to execute step S1312; if not, execute step S1314.
[0106] S1314, determine whether the target child node is a leaf node, if so, execute step S1315; if not, output a prompt message, the prompt message is used to indicate that the search failed.
[0107] S1315. Determine the target abnormality type according to the information of the target child node.
[0108] refer to Figure 1 In the decision tree in , each node in the decision tree is located at one of the levels of the tree structure. Take one of the branch nodes as an example. Assume that it is located at level A of the decision tree, and the two child nodes corresponding to the branch node are in the next level B of level A. The level can be used to indicate that the branch nodes are grouped. The abnormal features corresponding to the branch nodes in a level belong to the same group, making the branch nodes in each level become nodes that can be compared.
[0109] This embodiment provides a network abnormal behavior detection and analysis method for the nuclear power industry. The branch nodes of the abnormal type analysis decision tree represent abnormal features, and the leaf nodes represent abnormal types. The abnormal features and abnormal types are related through the decision tree. The search process of the decision tree is the analysis process of the abnormal type. It only needs to start from the initial level, match the target abnormal features and their feature values with the abnormal features and their feature values of the branch nodes in the abnormal type analysis decision tree, and determine the new target child node, and finally reach the leaf node to determine the target abnormal type.
[0110] Optionally, one implementation of step S1311 may be to start from the first level of the abnormal type analysis decision tree, match the target abnormal feature with the abnormal feature of each branch node in the current level, and after reaching the next level, use the next level as the current level, and repeat the above matching operation, and then search for the target branch node in the branch nodes of each level in turn. Among them, the nuclear power network data may detect and analyze multiple abnormal behavior events of different abnormal types, and the target branch node searched in each level may be one or more.
[0111] Optionally, an implementation of step S1312 includes determining a sub-path connecting a branch node of the abnormality type analysis decision tree downward according to a characteristic value of the target abnormality feature, so as to reach a branch node or a leaf node at a next level through the selected sub-path.
[0112] Optionally, after step S1314, when the target subnode reached by the selected subpath does not belong to the target branch node or the leaf node, the target subnode lacks known conditions and cannot determine which subpath to go to next. At this time, a prompt reminder message is output to indicate that the path search has failed. It should be noted that this situation may occur because of an error in the process of extracting target abnormal features from nuclear power network data, thereby missing the abnormal features corresponding to the target subnode. It may also be that an error occurs in selecting a subpath and goes in the wrong direction. Another possibility is that the knowledge representation of the abnormal type analysis decision tree itself is insufficient, and an abnormal type that the abnormal type analysis decision tree cannot analyze appears. The error can be corrected in a targeted manner, such as rechecking and extracting the target abnormal features in the nuclear power network data, retraversing the branch nodes of the abnormal type analysis decision tree, or updating the abnormal type analysis decision tree, and then determining the target abnormal type in the nuclear power network data according to the target abnormal features.
[0113] Optionally, the analysis process of the abnormal cause analysis decision tree and the abnormal handling strategy analysis decision tree is basically the same as the analysis process of the abnormal type analysis decision tree, except that at the beginning, the abnormal type obtained by the abnormal type analysis decision tree is used as one of the abnormal features of the abnormal cause analysis decision tree and the abnormal handling strategy analysis decision tree, and is input into the abnormal cause analysis decision tree and the abnormal handling strategy analysis decision tree together with the target abnormal feature obtained from the original nuclear power network data. Similarly, the abnormal cause obtained by the abnormal cause analysis decision tree is used as one of the abnormal features of the abnormal handling strategy analysis decision tree.
[0114] In a possible implementation, the network abnormal behavior detection and analysis method for the nuclear power industry provided in this embodiment further includes training a decision tree, see Figure 6 , the training process of decision tree includes:
[0115] S21. Obtain training samples containing multiple abnormal features.
[0116] S22. Calculate the information gain corresponding to each abnormal feature.
[0117] S23. In the training sample, create at least two branch nodes for the first abnormal feature with the largest information gain, and divide the training sample into a first subset corresponding to each branch node according to the first abnormal feature.
[0118] S24, determine whether the first subset has multiple abnormal features; if so, execute step S25, and then execute step S26; if not, execute step S26.
[0119] S25. Create at least two branch nodes for the second abnormal feature with the largest information gain other than the first abnormal feature, and use them as child nodes of the branch node created last time, and divide the first subset into second subsets corresponding to each branch node according to the second abnormal feature, until the divided subsets have only one abnormal feature.
[0120] S26. Create at least two leaf nodes for the abnormal feature and use them as child nodes of the branch node created last time.
[0121] Specifically, the training process of a decision tree is essentially a process of continuously dividing the training samples into optimal subsets using the criteria that satisfy feature selection. For each division of the training samples, it is hoped that the optimal subset will be obtained, so that the final decision tree structure is optimal. The feature selection criteria used in the generation process of the decision tree mainly include information gain and information entropy, that is, information gain and information entropy are used to measure whether each division of the training samples is optimal.
[0122] Optionally, an implementation of step S22 includes calculating the information gain corresponding to each abnormal feature by the following formula:
[0123]
[0124] in, represents the information gain of abnormal feature a in training sample D, represents the overall entropy of the training sample D, It represents the characteristic entropy of abnormal feature a under the i-th characteristic value, represents the number of samples of abnormal feature a under the i-th feature value, Represents the number of training samples D.
[0125] Information gain is the difference between the information entropy before and after the training samples are divided by a certain feature attribute. For the training samples to be divided, if the information entropy before the division is represented as the overall entropy, and the information entropy after the division is represented as the feature entropy, the overall entropy is usually certain, while the feature entropy is uncertain. The smaller the feature entropy, the smaller the uncertainty of the subset obtained by the current feature division. That is, the larger the difference between the overall entropy and the feature entropy, the smaller the uncertainty of the training samples divided by the current feature attribute. Therefore, the difference in the information entropy of the subsets before and after the division (that is, information gain) can be used to measure the effect of using the current feature attribute to divide the training samples.
[0126] In the process of training a decision tree, we always hope to achieve a training sample partition with less uncertainty more quickly so that the decision tree structure can achieve better classification results. Therefore, we usually choose the abnormal feature with the largest information gain to divide the current training sample.
[0127] This embodiment provides a network abnormal behavior detection and analysis method for the nuclear power industry, which calculates the information gain corresponding to each abnormal feature. The information gain represents the degree of reduction of the uncertainty of the random variable. The abnormal feature corresponding to the maximum information gain is used as the partition feature and the training samples corresponding to each branch node are partitioned, so that the divided subsets are purer, which helps to improve the prediction accuracy of the decision tree. Multiple child nodes are created based on the branch nodes, and the above process is repeated. When no new partition features are generated, the decision tree training is completed.
[0128] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0129] Corresponding to the network abnormal behavior detection and analysis method for the nuclear power industry described in the above embodiment, Figure 7 A structural block diagram of a network abnormal behavior detection and analysis device for the nuclear power industry provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0130] Reference Figure 7 , the network abnormal behavior detection and analysis device for the nuclear power industry includes:
[0131] The acquisition module 31 is used to acquire nuclear power network data.
[0132] The extraction module 32 is used to extract target abnormal features from the nuclear power network data.
[0133] The analysis module 33 is used to input the target abnormality characteristics into the early warning tree model to obtain the target abnormality analysis results output by the early warning tree model.
[0134] Among them, Figure 2 As shown, the early warning tree model includes multiple decision trees, each decision tree includes multiple nodes, the nodes include branch nodes and leaf nodes, each branch node is connected to at least two child nodes through a subpath, and at least two child nodes are branch nodes or leaf nodes, and the leaf node of the first decision tree in the multiple decision trees and the branch node of the second decision tree with an associated relationship therewith are connected through a subpath; the early warning tree model is used to divide the target abnormality features along the subpath until the leaf node is reached, and the target abnormality analysis result is obtained according to the information of the leaf node reached.
[0135] Optional, such as Figure 3 As shown, multiple decision trees include:
[0136] The anomaly type analysis decision tree is used to determine the target anomaly type based on the target anomaly features.
[0137] An abnormality cause analysis decision tree connected to the abnormality type analysis decision tree is used to determine the target abnormality cause according to the target abnormality characteristics and the target abnormality type;
[0138] The exception handling strategy analysis decision tree connected with the exception type analysis decision tree and the exception cause analysis decision tree is used to determine the target exception handling strategy according to the target exception characteristics, the target exception type and the target exception cause.
[0139] In some embodiments of the present application, taking the abnormal type analysis decision tree as an example, the analysis module 33 includes: a search unit, which is used to search for a target branch node from the branch nodes of the abnormal type analysis decision tree, each branch node corresponds to an abnormal feature, and the abnormal feature corresponding to the target branch node matches the target abnormal feature; a matching unit, which is used to traverse each level of the abnormal type analysis decision tree according to the feature value of the target abnormal feature, and determine the target child node from at least two child nodes of the target branch node at the current level; a first determination unit, which is used to continue to determine a new target child node from at least two child nodes of the target child node when the target child node is a target branch node, until the new target child node is the leaf node; a second determination unit, which is used to determine the target abnormal type according to the information of the target child node when the target child node is a leaf node.
[0140] In some embodiments of the present application, the training process of the decision tree includes: an acquisition unit, which is used to acquire training samples containing multiple abnormal features; a calculation unit, which is used to calculate the information gain corresponding to each abnormal feature; a first creation unit, which is used to create at least two branch nodes for the first abnormal feature with the largest information gain in the training sample, and divide the training sample into a first subset corresponding to each branch node according to the first abnormal feature; a second creation unit, which is used to create at least two branch nodes for the second abnormal feature with the largest information gain other than the first abnormal feature when there are multiple abnormal features in the first subset, and use them as child nodes of the branch node created last time, and divide the first subset into a second subset corresponding to each branch node according to the second abnormal feature, until there is only one abnormal feature in the divided subset; a third creation unit, which is used to create at least two leaf nodes for the abnormal feature when there is only one abnormal feature in the first subset, and use them as child nodes of the branch node created last time.
[0141] In some embodiments of the present application, the information gain corresponding to each abnormal feature is calculated by the following formula:
[0142]
[0143] Among them, represents the information gain of abnormal feature a in training sample D, represents the overall entropy of training sample D, represents the feature entropy of abnormal feature a under the i-th feature value, represents the number of samples of abnormal feature a under the i-th feature value, and represents the number of samples of training sample D.
[0144] Optionally, in the analysis module 33, the branch node and the child node are connected through a logic gate; the logic gate includes at least one of an AND gate, an OR gate, an XOR gate, a priority AND gate, a forbidden gate and a voting gate.
[0145] In some embodiments of the present application, the analysis module 33 is further used to determine the information of the leaf nodes reached by each of the multiple decision trees as the target abnormality analysis result.
[0146] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0147] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0148] Figure 8 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 8 As shown, the electronic device 4 of this embodiment includes: at least one processor 40 ( Figure 8 Only one is shown in the figure) a processor, a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40. When the processor 40 executes the computer program 42, the steps in the above-mentioned embodiment of a method for detecting and analyzing abnormal network behavior for the nuclear power industry are implemented.
[0149] The electronic device 4 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 8 It is only an example of the electronic device 4 and does not constitute a limitation on the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0150] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0151] In some embodiments, the memory 41 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. In other embodiments, the memory 41 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 41 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of a computer program, etc. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0152] An embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the steps in the embodiment of the above-mentioned method for detecting and analyzing abnormal network behavior for the nuclear power industry can be implemented.
[0153] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned embodiment of a network abnormal behavior detection and analysis method for the nuclear power industry when executing the computer program product.
[0154] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0155] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0156] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0157] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0158] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0159] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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 application, and should all be included in the protection scope of the present application.
Claims
1. A network abnormal behavior detection and analysis method for the nuclear power industry, characterized in that: include: Obtain nuclear power network data; extracting target anomaly features from the nuclear power network data; The target abnormality feature is input into the early warning tree model to obtain the target abnormality analysis result output by the early warning tree model; wherein the early warning tree model includes a plurality of decision trees, each of which includes a plurality of nodes, the nodes include branch nodes and leaf nodes, each of which is connected to at least two sub-nodes through a sub-path, and the at least two sub-nodes are the branch nodes or the leaf nodes, and the leaf nodes of the first decision tree in the plurality of decision trees and the branch nodes of the second decision tree associated therewith are connected through a sub-path; the early warning tree model is used to divide the target abnormality feature along the sub-path until the leaf node is reached, and the target abnormality analysis result is obtained according to the information of the leaf node reached, wherein the plurality of decision trees include: an abnormality type analysis decision tree, which is used to determine the target abnormality type according to the target abnormality feature; an abnormality cause analysis decision tree connected to the abnormality type analysis decision tree, which is used to determine the target abnormality cause according to the target abnormality feature and the target abnormality type; an abnormality handling strategy analysis decision tree connected to the abnormality type analysis decision tree and the abnormality cause analysis decision tree, which is used to determine the target abnormality handling strategy according to the target abnormality feature, the target abnormality type and the target abnormality cause; The training process of the decision tree includes: obtaining training samples containing multiple abnormal features; calculating the information gain corresponding to each abnormal feature; in the training samples, creating at least two branch nodes for the first abnormal feature with the largest information gain, and dividing the training samples into a first subset corresponding to each branch node according to the first abnormal feature; when there are multiple abnormal features in the first subset, creating at least two branch nodes for the second abnormal feature with the largest information gain other than the first abnormal feature, and using them as child nodes of the branch node created last time, and dividing the first subset into a second subset corresponding to each branch node according to the second abnormal feature, until only one abnormal feature exists in the subset obtained by division; when only one abnormal feature exists in the first subset, creating at least two leaf nodes for the abnormal feature, and using them as child nodes of the branch node created last time; The information gain corresponding to each abnormal feature is calculated by the following formula: represents the information gain of abnormal feature a in training sample D, represents the overall entropy of the training sample D, It represents the characteristic entropy of abnormal feature a under the i-th characteristic value, represents the number of samples of abnormal feature a under the i-th feature value, Represents the number of training samples D.
2. The method for detecting and analyzing abnormal network behavior in the nuclear power industry according to claim 1 is characterized in that: The step of obtaining the target abnormality type according to the target abnormality feature analysis comprises: Searching for a target branch node from the branch nodes of the abnormal type analysis decision tree; each of the branch nodes corresponds to an abnormal feature, and the abnormal feature corresponding to the target branch node matches the target abnormal feature; According to the feature value of the target abnormal feature, traverse each level of the abnormal type analysis decision tree, and determine the target child node from at least two child nodes of the target branch node at the current level; When the target child node is the target branch node, continue to determine a new target child node from at least two child nodes of the target child node until the new target child node is the leaf node; When the target child node is the leaf node, the target abnormality type is determined according to information of the target child node.
3. The method for detecting and analyzing abnormal network behavior in the nuclear power industry according to claim 1 is characterized in that: Each of the branch nodes is connected to at least two sub-nodes via a sub-path, including: The branch node is connected to the child node through a logic gate; the logic gate includes at least one of an AND gate, an OR gate, an XOR gate, a priority AND gate, a forbidden gate and a voting gate.
4. The method for detecting and analyzing abnormal network behavior in the nuclear power industry according to claim 1 is characterized in that: The step of obtaining the target abnormality analysis result according to the information of the leaf node reached includes: The information of the leaf nodes reached by each of the multiple decision trees is determined as the target abnormality analysis result.
5. A network abnormal behavior detection and analysis device for the nuclear power industry, characterized in that: include: An acquisition module, used to acquire nuclear power network data; An extraction module, used to extract target abnormal features from the nuclear power network data; An analysis module is used to input the target abnormality feature into the early warning tree model to obtain the target abnormality analysis result output by the early warning tree model; wherein the early warning tree model includes a plurality of decision trees with an associated relationship, each of the decision trees includes a plurality of nodes, the nodes include branch nodes and leaf nodes, each of the branch nodes is connected to at least two child nodes through a subpath, and the at least two child nodes are the branch nodes or the leaf nodes, and the leaf node of the first decision tree in the plurality of decision trees is connected to the branch node of the second decision tree with an associated relationship therewith through a subpath; the early warning tree model is used to analyze the target abnormality feature along the subpath Divide until a leaf node is reached, and obtain the target abnormality analysis result according to the information of the reached leaf node, wherein the multiple decision trees include: an abnormality type analysis decision tree, which is used to determine the target abnormality type according to the target abnormality feature; an abnormality cause analysis decision tree connected to the abnormality type analysis decision tree, which is used to determine the target abnormality cause according to the target abnormality feature and the target abnormality type; an abnormality handling strategy analysis decision tree connected to the abnormality type analysis decision tree and the abnormality cause analysis decision tree, which is used to determine the target abnormality handling strategy according to the target abnormality feature, the target abnormality type and the target abnormality cause; The training process of the decision tree includes: obtaining training samples containing multiple abnormal features; calculating the information gain corresponding to each abnormal feature; in the training samples, creating at least two branch nodes for the first abnormal feature with the largest information gain, and dividing the training samples into a first subset corresponding to each branch node according to the first abnormal feature; when there are multiple abnormal features in the first subset, creating at least two branch nodes for the second abnormal feature with the largest information gain other than the first abnormal feature, and using them as child nodes of the branch node created last time, and dividing the first subset into a second subset corresponding to each branch node according to the second abnormal feature, until only one abnormal feature exists in the subset obtained by division; when only one abnormal feature exists in the first subset, creating at least two leaf nodes for the abnormal feature, and using them as child nodes of the branch node created last time; The information gain corresponding to each abnormal feature is calculated by the following formula: represents the information gain of abnormal feature a in training sample D, represents the overall entropy of the training sample D, It represents the characteristic entropy of abnormal feature a under the i-th characteristic value, represents the number of samples of abnormal feature a under the i-th feature value, Represents the number of training samples D.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the network abnormal behavior detection and analysis method for the nuclear power industry as described in any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the network abnormal behavior detection and analysis method for the nuclear power industry as described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Terminal equipment abnormal network access behavior monitoring system and method
CN111935063A
Data processing method and device, computer equipment and storage medium
CN116582417A
Generation apparatus and method of detection rules for attack behavior based on information of network session
KR100628329B1
