Power grid risk transmission analysis, determination, prevention and control methods, systems, equipment and media

By constructing a power grid risk knowledge graph and cellular automata model, and combining knowledge graph and cellular automata technology, the limitations of risk transfer analysis in urban power grids are solved, a deeper and broader risk transfer path analysis is achieved, and the power grid is enhanced. System resilience and security.

CN118333410BActive Publication Date: 2024-09-13STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410765123.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-13
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

Existing risk transfer analysis of urban power grids cannot effectively describe the cross-spatial transmission path of power grid risks. It has high limitations and lacks analysis methods with higher depth and breadth.

Method used

The power grid risk knowledge graph and cellular automata model are constructed using risk type identification and correlation based on power grid data to simulate static and dynamic risk transfer paths. The knowledge graph and cellular automaton technology are combined to conduct risk transfer analysis and identify key nodes and parameters.

Benefits of technology

It achieves a clearer and more efficient analysis of the power grid risk transmission path, improves the dimension and depth of analysis, identifies potential risk points, enhances the security management and decision support of urban power grids, and improves the resilience and reliability of the power grid system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118333410B
    Figure CN118333410B
Patent Text Reader

Abstract

The present application relates to the field of smart grid technology, and specifically, to a grid risk transfer analysis method, a grid risk key node determination method, a grid risk prevention and control method, a system, an electronic device, and a storage medium. The grid risk transfer analysis method includes: determining the risk type in the target grid system and the correlation between the risk types based on the acquired grid data; constructing a grid risk knowledge graph for characterizing the static risk transfer path in the target grid system based on the risk type and the correlation between the risk types; constructing a grid cellular automaton model for characterizing the dynamic risk transfer path in the target grid system based on the correlation between the risk type and the risk types and pre-configured mapping rules; and performing risk transfer analysis on the target grid system based on the grid risk knowledge graph and the grid cellular automaton model. A risk transfer analysis method with greater depth and breadth is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart grid technology, and specifically, to a grid risk transfer analysis method, a grid risk key node determination method, a grid risk prevention and control method, system, electronic device and storage medium. Background Art

[0002] As one of the indispensable infrastructures of modern cities, urban power grids provide necessary power support for urban industries, residents' lives and social services. However, with the acceleration of the construction of new power systems in my country, urban power grids have shown characteristics such as a high proportion of renewable energy, a high proportion of power electronic equipment access, and a high degree of integration of information and physical systems. The operation and maintenance of urban power grids are facing increasing risks and challenges. These risks will not only affect the power grid itself, but also affect other related industries and fields through the power market, energy supply chain and other channels. Therefore, preventing urban power grid risks and controlling risk transmission have become an important way to enhance the resilience of urban power grids.

[0003] At present, the risk transfer analysis of urban power grids mainly conducts risk transfer analysis from two aspects: quantitative models and system operation mechanisms. It is unable to effectively characterize the cross-spatial transmission path of power grid risks and has high limitations.

[0004] Therefore, there is an urgent need for a risk transfer analysis method with greater depth and breadth. Summary of the invention

[0005] The embodiments of the present application provide a power grid risk transmission analysis method, a power grid risk key node determination method, a power grid risk prevention and control method, system, electronic device and storage medium.

[0006] A first aspect of an embodiment of the present application provides a power grid risk transfer analysis method, including:

[0007] Determine the risk types in the target power grid system and the correlation between the risk types based on the acquired power grid data;

[0008] Constructing a power grid risk knowledge graph for characterizing a static risk transfer path in the target power grid system based on the risk type and the association relationship between each of the risk types;

[0009] Based on the risk type and the association relationship between each risk type and a pre-configured mapping rule, construct a power grid cellular automaton model for characterizing a dynamic risk transfer path in the target power grid system;

[0010] A risk transfer analysis is performed on the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model.

[0011] In an optional embodiment of the present application, determining the risk type in the target power grid system and the association relationship between the risk types based on the acquired power grid data includes:

[0012] Determining a fault entity in the target power grid system and a fault type of each of the fault entities through power grid operation data in the power grid data;

[0013] Based on the fault type, risk iteration is performed on each of the fault entities in the target power grid system, and the association relationship between the risk types is determined according to the iteration result.

[0014] In an optional embodiment of the present application, the grid risk knowledge graph for characterizing the static risk transmission path of the target grid system based on the risk type and the association relationship between each risk type includes:

[0015] Performing knowledge extraction and knowledge fusion on the power grid data based on the risk type and the association relationship between each risk type;

[0016] The power grid risk knowledge graph for the target power grid system is constructed based on the structured data after knowledge fusion.

[0017] In an optional embodiment of the present application, the risk transfer analysis of the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model includes:

[0018] For each information cell in the power grid cellular automaton model, the risk state of the information cell at the next moment is determined according to the current risk state of the information cell and the current risk state of neighboring information cells; wherein the information cell refers to the cell corresponding to the information equipment in the target power grid system in the power grid cellular automaton model;

[0019] For each power cell in the power grid cellular automaton model, the risk state of the power cell at the next moment is determined according to the associated cells associated with the power cell; wherein the power cell refers to the cell corresponding to the power equipment in the target power grid system in the power grid cellular automaton model; the associated cell is at least one of the power cell and the information cell in the power grid cellular automaton model.

[0020] In an optional embodiment of the present application, for each information cell in the power grid cellular automaton model, determining the risk state of the information cell at the next moment according to the current risk state of the information cell and the current risk state of neighboring information cells includes:

[0021] The probability of the information cell being attacked at the next moment is determined according to the following formula:

[0022]

[0023] in, w i ( t +1) indicates the information cell i exist t +1 chance of being attacked. Indicates the neighboring information cell j exist t The probability of being infected by risk at any time, s i ( t ) represents the information cell i exist t The risk status at any time.

[0024] In an optional embodiment of the present application, for each information cell in the power grid cellular automaton model, determining the risk state of the information cell at the next moment according to the current risk state of the information cell and the current risk state of neighboring information cells includes:

[0025] The probability of the information cell being successfully attacked at the next moment is determined according to the following formula:

[0026]

[0027] in, P i ( t +1) indicates the information cell i exist t +1 chance of being successfully attacked. w i ( t +1) indicates the information cell i exist t The probability of being attacked at time +1, λ i Information cells i of infected experience points.

[0028] In an optional embodiment of the present application, if the current risk state of the information cell is a fault state, then for each information cell in the power grid cellular automaton model, the risk state of the information cell at the next moment is determined according to the current risk state of the information cell and the current risk state of the neighboring information cells, and further includes:

[0029] The risk state of the information cell at the next moment is determined according to the self-healing rate of the information cell, the probability of being successfully attacked at the current moment and the current risk state.

[0030] In an optional embodiment of the present application, if the current risk state of the information cell is a fault state, the risk state of the information cell at the next moment is determined according to the following formula:

[0031]

[0032] in, s i ( t ) represents the information cell i exist t The risk state at the moment, the upper horizontal line represents the negation operation, and g represents the judgment function of the information cell state transition, where:

[0033]

[0034] in, s i ( t ) indicates information cells i exist t The risk status at the moment. The upper horizontal line indicates the opposite operation. P i ( t +1) indicates the information cell i exist t +1 chance of being successfully attacked. r is a random number between [0,1], Information Cell i The self-healing rate.

[0035] In an optional embodiment of the present application, for each power cell in the power grid cellular automaton model, determining the risk state of the power cell at the next moment according to the associated cells associated with the power cell includes:

[0036] If the transmission power between the power cell and the associated cell is greater than a preset limit transmission power, or the associated cell is a faulty cell, determining the risk state of the power cell and the associated cell as a faulty state;

[0037] If the transmission power between the power cell and the associated cell is not greater than the preset limit transmission power and the associated cell is a healthy cell, the risk status of the power cell and the associated cell is determined to be a healthy status.

[0038] In an optional embodiment of the present application, the risk transfer analysis of the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model includes:

[0039] Randomly attacking the information system in the target power grid system until a faulty node is formed;

[0040] Determine node fault information of the faulty node at the current moment according to a pre-constructed power grid topology structure in the target power grid system and the power grid risk knowledge graph;

[0041] According to the node fault information, the power system in the target power grid system and each node in the information system are updated to obtain updated node information;

[0042] The risk impact of the information cell on the power cell is determined according to the updated node information.

[0043] In an optional embodiment of the present application, determining the risk impact of the information cell on the power cell according to the updated node information includes:

[0044] According to the node fault information and the updated node information, when the target power grid system is attacked by the information cell, the information node that causes the failure of a preset proportion of nodes of the target power grid system within a preset time period is determined as a risk critical node; and / or,

[0045] The risk key parameters of the risk key nodes are adjusted, and the risk impact of the information cells on the power cells is analyzed according to the law of changes in the system parameters of the target power grid system; wherein the risk key nodes refer to information nodes that, when attacked by the information cells, cause a preset proportion of nodes of the target power grid system to fail within a preset time period.

[0046] A second aspect of an embodiment of the present application provides a method for determining a key risk node of a power grid, comprising:

[0047] Performing risk transfer analysis on the target power grid system according to the power grid risk transfer analysis method as described in any one of the above items;

[0048] According to the analysis result, the information nodes that cause a preset proportion of nodes of the target power grid system to fail within a preset time period when the target power grid system is attacked by the information cells are determined as risk critical nodes.

[0049] A third aspect of the embodiments of the present application provides a power grid risk prevention and control method, including:

[0050] Determine the critical risk nodes in the target power grid system according to the method for determining critical risk nodes of the power grid as described above; wherein the critical risk nodes refer to information nodes that, when attacked by the information cells, cause a preset proportion of nodes in the target power grid system to fail within a preset time period;

[0051] Risk prevention and control is performed on the key risk nodes based on a pre-configured risk prevention and control model.

[0052] A fourth aspect of the embodiments of the present application provides a power grid risk transfer analysis system, including:

[0053] A first determination module is used to determine the risk type in the target power grid system and the association relationship between the risk types based on the acquired power grid data;

[0054] A first construction module is used to construct a power grid risk knowledge graph for characterizing a static risk transfer path in the target power grid system based on the risk type and the association relationship between each risk type;

[0055] A second construction module is used to construct a power grid cellular automaton model for characterizing a dynamic risk transfer path in the target power grid system based on the association relationship between the risk type and each risk type and a pre-configured mapping rule;

[0056] The first analysis module is used to perform risk transfer analysis on the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model.

[0057] A fifth aspect of the embodiment of the present application provides a system for determining key risk nodes of a power grid, including:

[0058] A second analysis module, configured to perform risk transfer analysis on a target power grid system according to the power grid risk transfer analysis method as described in any one of the above items;

[0059] The first determination module is used to determine, as risk critical nodes, information nodes that cause a preset proportion of nodes of the target power grid system to fail within a preset time period when the target power grid system is attacked by the information cells.

[0060] A sixth aspect of the embodiments of the present application provides a power grid risk prevention and control system, including:

[0061] A second determination module is used to determine the critical risk nodes in the target power grid system where the information system transmits risk to the power system according to the above-mentioned power grid risk critical node determination method; wherein the critical risk node refers to an information node that causes a preset proportion of nodes in the target power grid system to fail within a preset time period when attacked by the information cell;

[0062] The prevention and control module is used to perform risk prevention and control on the key risk nodes based on a pre-configured risk prevention and control model.

[0063] The power grid risk transfer analysis method provided in the embodiment of the present application constructs a power grid risk knowledge graph for characterizing the static risk transfer path in the target power grid system based on the risk type and the association relationship between each risk type; constructs a power grid cellular automaton model for characterizing the dynamic risk transfer path in the target power grid system based on the risk type, the association relationship between each risk type and the pre-configured mapping rules. The power grid risk knowledge graph can be used to extract and integrate static risk transfers in the target power grid system, such as multi-source heterogeneous data, risk types, and association relationships between risk types. The power grid cellular automaton model can be used to simulate dynamic risk transfer processes such as cross-space risk evolution in the target power grid system, thereby achieving accurate modeling of the dynamic process of discrete information systems and analyzing the cross-space risk transfer path and evolution mode, such as identifying key nodes of risk transfer, determining key parameters for controlling risk transfer, and other mechanism analysis.

[0064] On the one hand, the power grid knowledge graph constructed by the embodiment of the present application can effectively extract and integrate potential data including multi-source heterogeneous risk data in the target power grid system, and can effectively identify the association between different risk types of the power grid through the association relationship between risk entities in the power grid knowledge graph, and provide a data basis for further risk analysis and prevention and control; in addition, the constructed power grid knowledge graph can more intuitively display the risk transmission path, identify potential risk points, and provide strong data support for the safety management and decision-making of resilient urban power grids, further improving the dimension and efficiency of power grid risk transmission analysis;

[0065] Secondly, the embodiment of the present application dynamically simulates the status and transformation mechanism of power cells and information cells in the target power grid through the constructed power grid cellular automaton model, which can reflect the dynamic risk transfer path of the power grid CPS (cyber-physical fusion system) risk transfer process. It can not only simulate the operating status of power cells and the transmission characteristics of information cells, but also describe the risk propagation path and impact range under different situations, further improving the depth of power grid risk transfer analysis.

[0066] On the third aspect, the embodiments of the present application, by combining knowledge graphs with cellular automata technology, can fully integrate risk transfer information, achieve effective characterization and analysis of the dynamic evolution process of security risks in the target power grid system, identify key nodes and key parameters, etc., and facilitate the implementation of targeted prevention and control measures for urban power grids to improve the resilience of the target power grid system and ensure the reliability and safety of the power supply of the target power grid system.

[0067] In summary, the embodiments of the present application provide a power grid risk transfer analysis method that is more convenient to use, has a clearer risk transfer path, has a higher efficiency in risk transfer path analysis, and has a wider dimension and higher depth. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0069] Figure 1 This is a flow chart of the power grid risk transfer analysis in the embodiment of the present application;

[0070] Figure 2 To study the regional power grid topology for the embodiments of this application;

[0071] Figure 3 This is a schematic diagram of the cross-space risk transmission path of the resilient urban power grid information-physical fusion system in the embodiment of the present application;

[0072] Figure 4 This is a schematic diagram of the evolution of a resilient urban power grid according to an embodiment of the present application;

[0073] Figure 5 This is a line graph of node failures caused by network attacks in an embodiment of the present application;

[0074] Figure 6 This is the knowledge graph of the risk transfer process of network attack on power grid in the embodiment of the present application;

[0075] Figure 7 This is the order of power and information node failures during the risk transfer process in the network attack of the embodiment of the present application;

[0076] Figure 8 This is a line graph showing the change of power and information nodes with step length during a network attack in an embodiment of the present application;

[0077] Fig. 9 It is the temporal characteristics of cross-space risk transmission in the embodiment of the present application;

[0078] Fig.10 The effect of different self-healing rates of cells on the scale of power failure in the embodiment of this application;

[0079] Fig.11 This is the impact of different risk cross-space propagation probabilities on the scale of power failures in the embodiments of the present application. DETAILED DESCRIPTION

[0080] In the process of realizing the present application, the inventors found that there is an urgent need for a risk transfer analysis method with greater depth and breadth.

[0081] In response to the above problems, the embodiments of the present application provide a power grid risk transmission analysis method, a power grid risk key node determination method, a power grid risk prevention and control method, system, electronic device and storage medium.

[0082] The solutions in the embodiments of the present application can be implemented using various computer languages, for example, the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0083] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0084] The following is a detailed description of the power grid risk transfer analysis method provided in the embodiment of the present application. Figure 1 The power grid risk transfer analysis method includes the following steps 101 to 104:

[0085] Step 101: determining risk types in a target power grid system and associations between the risk types based on the acquired power grid data;

[0086] The target power grid system in the embodiment of the present application may be a resilient urban power grid system, that is, an urban power grid system with protection and self-healing functions. Correspondingly, the power grid data in the embodiment of the present application refers to all data generated in the target power grid system, which is multi-source heterogeneous data, and may include but is not limited to data within the power grid system, as well as power grid data in other regions or systems, such as data from third-party operating companies, etc. Figure 2 The grid topology structure of an exemplary target grid system includes: residential areas, schools, public service areas, industrial parks, stadiums, commercial areas, energy routers and energy interactive machines, etc. It should be explained that the above examples do not constitute specific limitations on the target grid system, the grid topology structure of the target grid system, and the content and form of grid data in the embodiments of the present application. The risk types include but are not limited to actual risks and potential risks in the target grid system, wherein the actual risks can be any operating parameters and equipment parameters that cause the equipment operation state to become unstable and turbulent or even shut down. The embodiments of the present application do not make any limitations and can be flexibly adjusted according to actual conditions. The association relationship refers to the functional relationship between various risks. For example, the generation of risk 1 can lead to the generation of risk 4 and risk 5, but is relatively independent of others such as risk 2 and risk 3, and will not cause the occurrence of risk 2 and risk 3.

[0087] Step 102: constructing a power grid risk knowledge graph for characterizing a static risk transfer path in the target power grid system based on the risk type and the association relationship between each risk type;

[0088] Some power grid system risks, such as resilient urban power grid risks, have cross-space propagation. Therefore, the embodiment of the present application extracts risk entities and sorts out risk transfer relationships through the construction of a power grid risk knowledge graph. The knowledge graph is a structured semantic knowledge base used to quickly describe concepts in the physical world and their interrelationships. The knowledge graph can be effectively processed, processed, and integrated into simple and clear <entity, relationship, entity> triples, and finally aggregating a large amount of knowledge to achieve rapid response and reasoning of knowledge. The embodiment of the present application extracts knowledge from unstructured or semi-structured power grid data, then merges knowledge of structured data, and performs feature screening on unstructured or semi-structured data, thereby realizing knowledge fusion of multi-source heterogeneous data. Finally, through knowledge processing, denoising processing such as eliminating erroneous entities in the risk analysis of the target power grid system is performed to form a real and effective <entity, relationship, entity> triple to represent the association relationship between entities in the process of power grid risk transmission, and complete the construction of the power grid risk knowledge graph. Of course, the construction form and content of the power grid risk knowledge graph can be flexibly adjusted according to actual conditions, and are not specifically limited here.

[0089] Step 103: constructing a power grid cellular automaton model for characterizing a dynamic risk transfer path in the target power grid system based on the association relationship between the risk type and each risk type and a pre-configured mapping rule;

[0090] The cellular automaton model is a model that can describe and standard discrete dynamic systems that exhibit complex behaviors based on local rules, and can update its internal state according to external inputs and its own previous state. The complex process of cell interaction in the cellular automaton model is highly consistent with the grid risk transmission process, so the embodiment of the present application chooses to use the cellular automaton model to characterize the dynamic transmission of grid risks. The cellular automaton model includes cells and their states, cell spaces, cell neighbors, and cell evolution rules. The mapping rules in the embodiment of the present application include all mapping contents between the target power grid system and the cellular automaton model, such as the mapping contents between each device in the target power grid system and each cell in the cellular automaton model, cell states, cell spaces, and cell evolution. Of course, the mapping relationship between the grid cellular automaton model and the target power grid system can be flexibly adjusted according to actual conditions, and the embodiment of the present application does not make specific limitations.

[0091] Step 104: Perform risk transfer analysis on the target power grid based on the power grid risk knowledge graph and the power grid cellular automaton model.

[0092] The power grid risk transfer analysis method provided in the embodiment of the present application constructs a power grid risk knowledge graph for characterizing the static risk transfer path in the target power grid system based on the risk type and the association relationship between each risk type; constructs a power grid cellular automaton model for characterizing the dynamic risk transfer path in the target power grid system based on the risk type, the association relationship between each risk type and the pre-configured mapping rules. The power grid risk knowledge graph can be used to extract and integrate static risk transfers in the target power grid system, such as multi-source heterogeneous data, risk types, and association relationships between risk types. The power grid cellular automaton model can be used to simulate dynamic risk transfer processes such as cross-space risk evolution in the target power grid system, thereby achieving accurate modeling of the dynamic process of discrete information systems and analyzing the cross-space risk transfer path and evolution mode, such as identifying key nodes of risk transfer, determining key parameters for controlling risk transfer, and other mechanism analysis.

[0093] On the one hand, the power grid knowledge graph constructed by the embodiment of the present application can effectively extract and integrate potential data including multi-source heterogeneous risk data in the target power grid system, and can effectively identify the association between different risk types of the power grid through the association relationship between risk entities in the power grid knowledge graph, and provide a data basis for further risk analysis and prevention and control; in addition, the constructed power grid knowledge graph can more intuitively display the risk transmission path, identify potential risk points, and provide strong data support for the safety management and decision-making of resilient urban power grids, further improving the dimension and efficiency of power grid risk transmission analysis;

[0094] Secondly, the embodiment of the present application dynamically simulates the status and transformation mechanism of power cells and information cells in the target power grid through the constructed power grid cellular automaton model, which can reflect the dynamic risk transfer path of the power grid CPS (cyber-physical fusion system) risk transfer process. It can not only simulate the operating status of power cells and the transmission characteristics of information cells, but also describe the risk propagation path and impact range under different situations, further improving the depth of power grid risk transfer analysis.

[0095] On the third aspect, the embodiments of the present application, by combining knowledge graphs with cellular automata technology, can fully integrate risk transfer information, achieve effective characterization and analysis of the dynamic evolution process of security risks in the target power grid system, identify key nodes and key parameters, etc., and facilitate the implementation of targeted prevention and control measures for urban power grids to improve the resilience of the target power grid system and ensure the reliability and safety of the power supply of the target power grid system.

[0096] In summary, the embodiments of the present application provide a power grid risk transfer analysis method that is more convenient to use, has a clearer risk transfer path, has a higher efficiency in risk transfer path analysis, and has a wider dimension and higher depth.

[0097] In an optional embodiment of the present application, the above step 101, determining the risk type in the target power grid system based on the acquired power grid data, and the association relationship between the risk types, includes the following steps 201-202:

[0098] Step 201: determining the fault entities in the target power grid system and the fault type of each of the fault entities through the power grid operation data in the power grid data;

[0099] An entity refers to a power grid device in a target power grid system, such as each primary device or secondary device, etc.; correspondingly, the faulty entity is a power grid device whose operating data is outside the preset normal operating data range; that is, the power grid device whose operating data is abnormal can be obtained through automatic data screening, and the faulty entity can be obtained; similarly, the fault type can be determined based on the category of the operating data and the difference from the preset normal operating data range, etc., which will not be repeated here.

[0100] Step 202: Perform risk iteration on each of the fault entities in the target power grid system based on the fault type, and determine the association relationship between the risk types according to the iteration result.

[0101] The association relationship between entities is an indispensable part of constructing a resilient urban power grid risk knowledge graph. The risk iteration in the embodiment of the present application refers to introducing the fault of the faulty entity into the target power grid system to determine the impact of the fault on other nodes or entities; the risk iteration in the embodiment of the present application can be achieved through model simulation or through actual test investment in a small area. The embodiment of the present application does not make specific limitations and can be flexibly adjusted according to actual conditions. Correspondingly, the iteration result is the risk state of other nodes or entities after the fault of the faulty entity is introduced and the faulty equipment in the target power grid system can be automatically identified through the power grid operation data. The association relationship between risk entities is mainly achieved through feature extraction of a large number of entity data sets and iterative generation of new entity sets. For example, due to fault 1 introduced by the faulty entity, other nodes or entities have corresponding faults 3 and 6, that is, a correlation relationship is generated between fault 1 and fault 3 and fault 6.

[0102] In an optional embodiment of the present application, the above step 102, constructing a power grid risk knowledge graph for characterizing a static risk transfer path in the target power grid system based on the risk type and the association relationship between each risk type, includes the following steps 301-302:

[0103] Step 301: extracting and fusing knowledge from the power grid data based on the risk type and the association relationship between the risk types;

[0104] Step 302: construct the power grid risk knowledge graph for the target power grid system based on the structured data after knowledge fusion.

[0105] The process of knowledge extraction and knowledge fusion can be performed based on the knowledge extraction method and knowledge fusion method of the knowledge graph, which will not be repeated here. After the entities and their relationships (i.e., the risk types and the association relationships between the risk types in the embodiment of the present application) are constructed, the power grid data in the target power grid system is converted into <entity, relationship, entity> triple data according to <risk type, association relationship, risk type> and the association relationship between the risk types, and stored in the Neo4j (a graph database software) graph database in the form of a relationship connection diagram, which can complete the preliminary construction of the knowledge graph for risk analysis of resilient urban power grids.

[0106] Through the construction of the power grid risk knowledge graph, it is possible to describe the cross-space transmission characteristics of power grid risks from the perspective of data mining and data analysis, and provide model and data support for the static risk analysis of the target power grid system.

[0107] In an optional embodiment of the present application, erroneous entities in the target power grid system can also be eliminated through preprocessing methods such as knowledge processing to form a real and valid <entity, relationship, entity> triple that does not contain erroneous entities to represent the relationship between entities in the risk transfer process in the target power grid system; wherein, the erroneous entity refers to an entity device whose risk status is a healthy state or a non-fault state. In other words, each entity in the power grid knowledge graph is an entity whose risk status is a fault state; by eliminating erroneous entities, the volume of the simplified power grid knowledge graph can be increased, the precision of the power grid knowledge graph can be increased, and the analysis efficiency of the power grid risk transfer path can be improved.

[0108] The embodiment of the present application can clearly, conveniently and accurately identify relevant power node failures through the triple relationship of the power grid knowledge graph and the power grid topology structure constructed. At the same time, the information layer and power layer node status can be updated according to the node status, node space, node neighbors and node conversion rules in the power grid knowledge graph, making the power grid risk transfer analysis more comprehensive and reliable.

[0109] In an optional embodiment of the present application, the above step 104, the risk transfer analysis of the target power grid based on the power grid risk knowledge graph and the power grid cellular automaton model, includes the following steps 501-502:

[0110] Step 501: for each information cell in the power grid cellular automaton model, determine the risk state of the information cell at the next moment according to the current risk state of the information cell and the current risk states of neighboring information cells;

[0111] Among them, the information cell refers to the cell corresponding to the information equipment in the target power grid system in the power grid cellular automaton model; the adjacent information cell refers to the information cell that is adjacent to the current information cell in position or association in the information cell space. The risk state can be a fault state or a healthy state; the next moment refers to the unknown state moment after the preset time length of the current moment, and the preset time length can be flexibly adjusted according to the actual situation.

[0112] Step 502: for each power cell in the power grid cellular automaton model, determine the risk state of the power cell at the next moment according to the associated cells associated with the power cell;

[0113] The power cell refers to the cell corresponding to the power equipment in the target power grid system in the power grid cellular automaton model; the associated cell is at least one of the power cell and the information cell in the power grid cellular machine, that is, the associated cell can be a power cell, or an information cell, or contain both information cells and power cells; the target power grid system includes a power layer and an information layer, and the corresponding power grid automaton model also includes Figure 2 The information cell space and the power cell space shown in the figure, the information cell space contains information cells corresponding to each information device, and the power cell space contains power cells corresponding to each power device.

[0114] See also Figure 3 and Figure 4 In the embodiment of the present application, a cellular automaton model is constructed based on each information device and each power device in the target power grid system. The mapping relationship of the target power grid system in the power grid cellular automaton model can be as follows:

[0115] (1) Cells and their states

[0116] like Figure 3 and Figure 4 In the present invention, the grid devices in the target grid system can be mapped into power cells and information cells, where the power cells are primary power devices and the information cells include secondary power devices in the information system. The cell states of the two types of cells can be switched between normal state and fault state.

[0117] (2) Cell space

[0118] The cell space of power cells can be represented by a two-dimensional space composed of M power cells, each of which represents a power node of the power primary system. The cell space of information cells can be represented by a two-dimensional space composed of K information cells, each of which represents an information node of the information system.

[0119] (3) Cell Neighbors

[0120] The neighbor relationship between cells can be represented by matrix Z. Represents cells i and cells j There is no correlation between Represents cells i and j In order to more accurately describe the grid risk transfer process in the target grid system, the cell neighbor matrix Z can be divided into blocks and expressed as:

[0121] (1)

[0122] In formula (1): m represents the number of power cells, n Represents the number of information cells.

[0123] represents the risk transfer matrix between information cells. Assuming that there are m information cells in the target power grid system information space, Indicates risk from information cells i Transmitted to the information cell j The probability of The calculation formula is:

[0124] (2)

[0125] In formula (2), and Respectively represent cells j and cells k defensive capabilities, Represents cells i The set of neighbor cells.

[0126] Represents the risk transfer matrix of information cells to power cells, which is used to characterize the cross-spatial risk transfer of information cells to power cells. , its value indicates the risk transfer capability of information cells to power cells.

[0127] Represents the risk transfer matrix of power cells to information cells. Generally, power system failures will not lead to information system risks, and attacks on information systems (mainly network attacks) are generally aimed at attacking power systems through attacks on information systems. Therefore, the embodiments of the present application mainly discuss the impact of information system failures on power systems, so it can be a zero matrix.

[0128] represents the risk transfer matrix between power cells, is the power relationship between power cells, when When the power cell outputs power, ,on the contrary ;when When , if the power cell i flows to the power cell j, then ,on the contrary .

[0129] (4) State transition rules

[0130] Information Cells i exist t +1 status at the moment Not only depends on its t The state of a cell at a certain moment also depends on the state of its neighboring information cells at time t.

[0131] Each node is regarded as a cell. The cell state switches between normal state and fault state. Both power and information cell spaces are two-dimensional spaces. The state of information cells depends not only on its t The state at a given moment also depends on the state of its neighboring cells. t The state of the power cell at each moment, the state transition will be affected by the fault propagation in the information space and the power space.

[0132] The schematic diagram of power cells, information cells, inter-cell transformation functions and cell space in the grid information-physical fusion system of the target power grid system is shown in the figure. Figure 3 and Figure 4 When the information security attack breaks through the defense threshold of the information cell, the normal information cell is transformed into a faulty information cell, and the risk is transmitted between other information cells through the transformation function, and there is a certain probability that the fault is transmitted to the power cells of the power layer through cross-space propagation, causing the power layer cells to fail and leading to a chain failure of the power cells.

[0133] The power grid cellular automaton model is highly consistent with the dynamic risk transfer pattern in the target power grid system. By mapping each device node and device mode in the target power grid system to each module in the cellular automaton model one by one, a complete, reliable, and more powerful power grid cellular automaton model can be obtained. Risk transfer analysis based on this power grid cellular automaton model is more reliable.

[0134] In addition, the embodiment of the present application divides the cell neighbor matrix Z into a risk transfer matrix A representing information cells, a risk transfer matrix B representing information cells to power cells, a risk transfer matrix C representing power cells to information cells, and a risk transfer matrix D representing risk transfer between power cells. This more finely divides the risk transfer path and can more clearly determine the cross-space transfer path between information equipment and power equipment.

[0135] In an optional embodiment of the present application, the above step 502, for each information cell in the power grid cellular automaton model, determines the risk state of the information cell at the next moment according to the current risk state of the information cell and the current risk state of neighboring information cells, includes:

[0136] In the embodiment of the present application, each information cell has its own security defense mechanism before being attacked, and the probability of the information cell being attacked at the next moment can be determined according to the following formula:

[0137] (3)

[0138] In formula (3), w i ( t +1) indicates information cells i exist t +1 chance of being attacked. Indicates that the neighboring information cell j is t The probability of being infected by risk at any time, s i ( t ) indicates information cells i exist t The risk status at any time.

[0139] In an optional embodiment of the present application, the above step 501, for each information cell in the power grid cellular automaton model, determining the risk state of the information cell at the next moment according to the current risk state of the information cell and the current risk state of neighboring information cells, includes:

[0140] The probability of the information cell being successfully attacked at the next moment is determined according to the following formula:

[0141] (4)

[0142] In formula (4), P i ( t +1) indicates information cell i exist t +1 chance of being successfully attacked. w i ( t +1) indicates information cells i exist t +1 chance of being attacked. λ i Information cells i of infected experience points.

[0143] The above empirical formula can more accurately determine the probability of an information cell being attacked at the next moment and the probability of being successfully attacked. These two probabilities can be used to more reliably predict the risk status of the information cell, thereby improving the comprehensiveness and reliability of the risk transfer path analysis of the embodiment of the present application.

[0144] In an optional embodiment of the present application, if the current risk state of the information cell is a fault state, the above step 501, for each information cell in the power grid cellular automaton model, determines the risk state of the information cell at the next moment according to the current risk state of the information cell and the current risk state of neighboring information cells, further includes:

[0145] The risk state of the information cell at the next moment is determined according to the self-healing rate of the information cell, the probability of being successfully attacked at the current moment and the current risk state.

[0146] The self-healing rate is used to characterize the ability of an information cell to convert from a fault state to a healthy state when it is attacked. There is a certain probability that an information cell will recover to a healthy state after a fault. If the current risk state of an information cell is a fault state after the current information cell is attacked, the risk state of the information cell at the next moment can be determined according to the following formula:

[0147] (5)

[0148] In formula (5), s i ( t ) indicates information cells i exist t The risk status at the moment. The upper horizontal line indicates the opposite operation. g Represents the judgment function of the information cell state transition, where:

[0149] (6)

[0150] In formula (6), si ( t ) indicates information cells i exist t The risk status at the moment. The upper horizontal line indicates the opposite operation. Pi ( t +1) indicates information cell i exist t +1 chance of being successfully attacked. r is a random number between [0,1], Information Cell i The self-healing rate.

[0151] When g>0, the node i exist t +1 moment status and t The moment is opposite, otherwise it remains in the original state. Information Cell i The self-healing rate, r is a random number between [0,1]. g It consists of two parts. The first part is the information cell. i The second part is an indicator for judging whether the information cell i changes from a fault state to a healthy state.

[0152] The above empirical formula can be used to determine the state in which an information cell is converted from a faulty state to a healthy state when attacked, that is, the self-healing ability of the information cell can be determined. By introducing the judgment of the self-healing ability, a more reliable prediction of the risk state of the information cell can be made, thereby improving the comprehensiveness and reliability of the risk transfer path analysis of the embodiment of the present application.

[0153] In an optional embodiment of the present application, the above step 502, determining the risk state of each power cell in the power grid cellular automaton model at the next moment according to the associated cell associated with the power cell, includes:

[0154] If the transmission power between the power cell and the associated cell is greater than a preset limit transmission power, or the associated cell is a faulty cell, determining the risk state of the power cell and the associated cell as a faulty state;

[0155] If the transmission power between the power cell and the associated cell is not greater than the preset limit transmission power and the associated cell is a healthy cell, the risk status of the power cell and the associated cell is determined to be a healthy status.

[0156] The state transition of power cells will be affected by the propagation of faults in the information space and power space. i In conjunction with power cells j If the information cell i When the power cell changes from a healthy state to a fault state, j It will also The probability of failure at the next moment; similarly, if the information cell i Recovering from a faulty state to a healthy state, the power cell j It will also return to a healthy state at the next moment. In addition to the impact from the information cell, the failure of other power cells in the power space will also have an impact on power cell j. i and j The maximum transmission power between , when the transmission power between two cells When i and j All become fault states, so the state transition rule of the power cell is as follows formula (7):

[0157] (7)

[0158] The impact of risk transmission in the urban power grid ultimately needs to be reflected through the failure of power cells. Therefore, the power node failure rate is defined in this embodiment as represents the scale of power grid fault, where express t The number of power cell failures at the moment, Indicates the total number of power cells.

[0159] The embodiment of the present application analyzes the impact of information cell risk transmission on power cell failure scale indicators to identify key vulnerable nodes of system risk transmission, further analyzes the impact of key indicators on risk transmission in cross-space risk transmission, and improves the resilience of the target power grid system by implementing key prevention and control on key nodes and effective control of key parameters, thereby greatly improving the risk resistance of the target power grid system. The impact of information cell risk transmission on the power system, especially the impact on the power cell failure scale indicator, is deeply analyzed.

[0160] The embodiments of the present application can effectively identify the key vulnerable nodes of power system risk transmission by analyzing the impact of information cells on power cell failure scale indicators during the risk transmission process, and effectively identify the key parameters affecting risk transmission through model parameter adjustment. The resilience of the target power grid system can be improved by protecting key vulnerable nodes and optimizing key parameters, thereby reducing the system's cross-space risk transmission losses and improving urban power security.

[0161] In an optional embodiment of the present application, the above step 104, performing risk transfer analysis on the target power grid based on the power grid risk knowledge graph and the power grid cellular automaton model, includes the following steps 601 to 604:

[0162] Step 601: Randomly attack the information system in the target power grid system until a fault node is formed;

[0163] The faulty node may be a node of an information system or a node of a power system, which is not specifically limited in the embodiments of the present application.

[0164] Step 602: determining node fault information of the faulty node at the current moment according to the pre-built grid topology structure in the target grid system and the grid risk knowledge graph;

[0165] The power grid topology structure refers to a topology structure constructed based on the area and entities covered by the target power grid system; the node fault information may include but is not limited to: node operating parameters, node equipment parameters, node location, etc., which are not listed here exhaustively and can be flexibly adjusted according to actual conditions.

[0166] Step 603: updating the power system in the target power grid system and each node in the information system according to the node fault information to obtain updated node information;

[0167] That is, the fault is iterated in the target power grid system (including power system and information system) through the fault node, that is, other nodes affected by the fault node are determined. The risk type of the nodes affected by the fault node in the updated target power grid system is switched to a fault state, and the risk type of other nodes not affected by the fault node remains healthy. The updated node information is the node operation parameters, node equipment parameters, node location and other information of each pad after the system is updated. It is not exhaustive here and can be flexibly adjusted according to actual conditions.

[0168] Step 604: Determine the risk impact of the information cell on the power cell according to the updated node information.

[0169] The updated node information can be compared with the pre-configured healthy status node information range. If the updated node information exceeds the pre-configured healthy status node information range, the node is determined to be in a faulty state; conversely, if the updated node information does not exceed the pre-configured healthy status node information range, the node is determined to be in a healthy state.

[0170] The embodiment of the present application randomly attacks the nodes of the information system, and continuously adjusts and optimizes the model parameters of the power system and information system in the target power grid system through the faulty nodes after the attack, so as to more accurately capture the dynamic behavior of risk transfer in the urban power grid. The visualization characteristics of the power grid cellular automaton model also help to intuitively display the risk transfer process, which is convenient for analyzing and understanding the cross-space risk transfer of resilient urban power grids.

[0171] In an optional embodiment of the present application, the above step 604, determining the risk impact of the information cell on the power cell according to the updated node information, includes the following steps:

[0172] According to the node fault information and the updated node information, when the target power grid system is attacked by the information cell, the information node that causes the failure of a preset proportion of nodes of the target power grid system within a preset time period is determined as a risk critical node; and / or,

[0173] The risk key parameters of the risk key nodes are adjusted, and the risk impact of the information cells on the power cells is analyzed according to the law of changes in the system parameters of the target power grid system; wherein the risk key nodes refer to information nodes that, when attacked by the information cells, cause a preset proportion of nodes of the target power grid system to fail within a preset time period.

[0174] The embodiments of the present application can improve the resilience of the target power grid system by determining the key risk nodes through protecting the key vulnerable nodes and / or tuning the key parameters, reduce the system's cross-space risk transmission losses, and improve the power security of the target power grid system.

[0175] In an optional embodiment of the present application, the above step 104, performing risk transfer analysis on the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model, includes performing risk situation awareness analysis on the target power grid system, specifically including:

[0176] Acquire historical operation data of status indicators of each power node in the target power grid system; wherein the status indicators refer to indicators in a pre-constructed risk status indicator system, and the risk status indicator system includes at least: a physical layer, a network layer, a coupling layer, and an environmental layer;

[0177] For each power node, clustering and identifying the historical operation data is performed to obtain a clustering result data set containing a typical operation state of each power node; wherein the typical operation state refers to a state in which the operation parameters of each power node are within a preset normal operation parameter range;

[0178] Taking the node real-time indicator data of each node as input, determining the node prediction state of each power node based on the node state prediction model obtained by pre-training, and obtaining a prediction result data set;

[0179] The prediction result data set and the clustering result data set are classified and judged based on a classification algorithm model to determine the risk situation of each power node.

[0180] In an optional embodiment of the present application, for each power node, clustering and identifying the historical operation data to obtain a clustering result data set containing a typical operation state of each power node includes:

[0181] The historical operation data is sampled using a density deviation sampling method with variable grid division to obtain a sampled data set;

[0182] generating a cluster decision graph for each power node based on the sampled data set;

[0183] The domain distance threshold parameter of the clustering decision diagram is determined, and each historical operation data in the sampled data set is clustered and identified according to the minimum domain point number parameter to obtain the clustering result data set containing the typical operation status of each power node.

[0184] In an optional embodiment of the present application, the density deviation sampling method using variable grid division is used to sample the historical operation data to obtain a sample data set, including:

[0185] For each situation indicator, dividing each of the historical operation data in the situation indicator into a plurality of intervals;

[0186] Calculating the density similarity of the historical operation data between each interval;

[0187] Merging the intervals whose density similarity is greater than a preset threshold into one interval grid;

[0188] For each interval grid, sampling is performed according to the density deviation sampling method to obtain the sampled data set.

[0189] In an optional embodiment of the present application, the density similarity is calculated according to the following formula:

[0190]

[0191] Among them, ε represents the density similarity of the two intervals, For the i Dimensional indicators j Historical operation data of a period.

[0192] In an optional embodiment of the present application, the probability of each interval grid being sampled isf for:

[0193]

[0194] in, Indicates m The grid density of the interval grid, is the total number of grids, e is the sampling index.

[0195] In an optional embodiment of the present application, generating a cluster decision graph for each power node based on the sampled data set includes:

[0196] For the sample points in the sample data set of each power node, the reachable distance of each sample point is calculated;

[0197] Sorting each sample point according to the reachable distance to obtain an ordered result queue;

[0198] A reachable distance graph of each sample point is drawn according to the arrangement order of each sample point in the result queue to obtain the clustering decision graph for each power node.

[0199] In an optional embodiment of the present application, the node state prediction model is a Transformer model. Correspondingly, the node real-time indicator data of each node is used as input, and the node prediction state of each power node is determined based on the pre-trained node state prediction model to obtain a prediction result data set, including:

[0200] In the Transformer model encoder, the multi-head self-attention layer converts each of the real-time indicator data sample points in the input sequence into queries, keys and values, and calculates the attention distribution between the real-time indicator data sample points in each power node to obtain fusion information representing each sample point.

[0201] The fused information is forward propagated based on the fully connected layer in the encoder to obtain the encoder output.

[0202] In an optional embodiment of the present application, the calculation formula of the multi-head self-attention layer is as follows:

[0203]

[0204] in, Indicates the vector dimension of the key. Q, K, and V represent different vectors of real-time indicator data.

[0205] In an optional embodiment of the present application, the calculation formula of the encoder output is:

[0206]

[0207] Among them, Z h Indicates h The output of the multi-head attention encoder, Q , K , V are vectors, d k for K The dimensions of the vector.

[0208] In an optional embodiment of the present application, the decoder in the Transformer model also includes a masked multi-head self-attention layer, and the input data of the masked multi-head self-attention layer is the real-time indicator data of the node before the current processing sample point.

[0209] In an optional embodiment of the present application, the Transformer model adopts a piecewise loss function during training.

[0210] In an optional embodiment of the present application, the segment loss function is as follows:

[0211]

[0212]

[0213] in: is the predicted loss value, For the m In the sample i The true value of an indicator, is the predicted value, is the sample size under test, is the segmentation threshold, is the error coefficient under different segments.

[0214] In an optional embodiment of the present application, the change rate of the node real-time indicator data is calculated according to the following formula:

[0215]

[0216] in, Indicates the rate of change of the real-time indicator data of the node, which is used to characterize the power node in t The stability of indicators at all times, a l is the real-time radiation intensity per minute within the sampling interval, is the mean value of the real-time radiation intensity within the sampling interval.

[0217] In an optional embodiment of the present application, the classification and judgment of the prediction result data set and the clustering result data set based on the classification algorithm model to determine the risk situation of each power node includes:

[0218] If the prediction result data set is in the clustering result data set, then it is determined that the risk situation of the node is safe;

[0219] If the prediction result data set is not in the clustering result data set, it is determined that the risk situation of the node is risky.

[0220] In an optional embodiment of the present application, the above step 104, based on the power grid risk knowledge graph and the power grid cellular automaton model, performs risk transfer analysis on the target power grid system, including determining the key relationship path of risk source action, specifically including:

[0221] According to the influence coefficients between the risk sources in the grid information-physical fusion system in the target grid system, the risk sources are divided into levels to obtain a risk source hierarchical structure of the grid information-physical fusion system; wherein the risk source hierarchical structure is used to characterize the interaction relationship between the risk sources at each level;

[0222] Determine the risk source action path within each level of the risk source hierarchical structure according to the occurrence frequency of each risk source in historical risk events;

[0223] The key relationship path of the key risk source in the power grid information-physical fusion system is determined according to the risk source hierarchical structure and the risk source action path.

[0224] In an optional embodiment of the present application, the risk sources are hierarchically divided according to the influence coefficients between the risk sources in the power grid information-physical fusion system to obtain a risk source hierarchical structure of the power grid information-physical fusion system, including:

[0225] Determine the risk sources in the power grid cyber-physical fusion system to obtain a risk source set;

[0226] Determine the influence coefficient between the risk sources according to the pre-configured influence factors between the risk sources;

[0227] Determining a reachable matrix of each risk source according to a pre-configured threshold and the impact coefficient;

[0228] The risk sources in the reachable matrix are hierarchically divided according to preset conditions to obtain the risk source hierarchical structure of the power grid cyber-physical fusion system.

[0229] In an optional embodiment of the present application, determining the influence coefficient between the risk sources according to the pre-configured influence factors between the risk sources includes:

[0230] Determine the direct impact coefficient between the risk sources according to the pre-configured impact factors between the risk sources;

[0231] For each risk source, determine the comprehensive impact coefficient between each risk source and the highest risk source in the risk source set according to the direct impact coefficient; wherein the highest risk source refers to the risk source with the highest risk in the risk source set;

[0232] The adjacent influence coefficient between each risk source is determined according to different pre-configured thresholds and the comprehensive influence coefficient of each risk source; wherein the adjacent influence coefficient is used to characterize the mutual influence level between two adjacent risk sources.

[0233] In an optional embodiment of the present application, determining the reachable matrix of each risk source according to the preconfigured threshold and the influence coefficient includes:

[0234] Determine the sum of the elements in the row and column where the risk source is located in each of the adjacency matrices as the node degree of the risk source;

[0235] Determining a target threshold from the different preset thresholds based on the risk source node degree;

[0236] The reachable matrix of each risk source is determined according to the target threshold and each of the adjacency matrices.

[0237] In an optional embodiment of the present application, the risk sources in the reachable matrix are hierarchically divided according to preset conditions to obtain the risk source hierarchical structure of the power grid cyber-physical fusion system, including:

[0238] Based on the reachable matrix, determining the reachable set, antecedent set, and common set of risk sources in each preset risk level according to the pre-configured threshold and the impact coefficient;

[0239] Determine the intersection of the reachable set and the antecedent set;

[0240] The risk sources having the same intersection and the same reachable set are classified into the same level of a preset risk source hierarchical substructure to obtain the risk source hierarchical substructure.

[0241] In an optional embodiment of the present application, determining the risk source action path within each level in the risk source hierarchical structure according to the occurrence frequency of each risk source in the historical risk events includes:

[0242] Determine the historical frequency of each risk source in historical risk events;

[0243] Determine the coupling strength between the risk sources based on the historical occurrence frequency;

[0244] According to the coupling strength of each risk source, the risk source action path within each level in the risk source hierarchical structure is determined.

[0245] In an optional embodiment of the present application, before determining the critical relationship path of the key risk source in the power grid cyber-physical fusion system according to the risk source hierarchical structure and the risk source action path, the method further includes:

[0246] Determine the influence degree and the affected degree of each risk source in the power grid information-physical fusion system according to the comprehensive influence coefficient of each risk source;

[0247] Determine the comprehensive centrality of each risk source in the power grid information-physical fusion system according to the influence degree and the affected degree;

[0248] The risk sources whose comprehensive centrality is greater than a preset ratio are identified as key risk sources.

[0249] An embodiment of the present application provides a method for determining key risk nodes of a power grid, including the following steps 701-702:

[0250] Step 701: Perform risk transfer analysis on a target power grid system according to any of the above power grid risk transfer analysis methods;

[0251] Step 702: According to the analysis result, the information nodes in the target power grid that cause a preset proportion of nodes in the target power grid system to fail within a preset time period when the system is attacked by the information cells are determined as risk critical nodes.

[0252] The embodiment of the present application proposes a method for determining key nodes of power grid risk, utilizes knowledge graphs to extract and integrate multi-source heterogeneous data of urban power grids, and constructs a knowledge graph of power grid risk transfer. The static risk transfer paths of the target power grid system are sorted out and correlation analysis is performed, and a cellular automaton model is used to characterize the dynamic risk transfer process across space of the urban power information system. By analyzing the cross-space transmission paths and evolution methods of risks, key nodes of power grid risk transfer are identified, and key parameters for controlling risk transfer are determined, thereby improving the reliability and resilience of the target power grid system, as well as the stability and security of the target power grid system.

[0253] In an optional embodiment of the present application, during the risk transfer analysis process, the grid power can be updated according to the power node fault situation. If it exceeds the threshold, the corresponding node is cut off. If it does not exceed the threshold, it returns to the above steps to continue determining the risk key points. After the grid power update is completed, the grid topology can be updated to output the number of faulty nodes in the power layer and information layer at that moment. The impact analysis of information cell risk transfer on the power cell failure scale indicator can analyze the impact of different information cell risks on the power cell failure rate, as well as the impact analysis of key indicators on risk propagation, thereby improving the reliability of determining the key nodes of the grid risk.

[0254] An embodiment of the present application provides a power grid risk prevention and control method, including the following steps 801-802:

[0255] Step 801: determining the critical risk nodes in the target power grid system according to the method for determining critical risk nodes of the power grid as described above; wherein the critical risk nodes refer to information nodes that, when attacked by the information cells, cause a preset proportion of nodes in the target power grid system to fail within a preset time period;

[0256] Step 802: Perform risk prevention and control on the key risk nodes based on a pre-configured risk prevention and control model.

[0257] Based on this, the embodiment of the present application determines the key risk nodes in the target power grid where the information system transmits risks to the power system through the above-mentioned power grid risk key node determination method, and performs risk prevention and control on the key risk nodes, which can greatly improve the resilience of the target power grid system, reduce the system's cross-space risk transmission losses, and improve the power security of the target power grid system.

[0258] The following is an example of the power grid risk transfer analysis method provided by this application in combination with all the above embodiments:

[0259] The embodiment of the present application adopts a real power grid moderate evolution method to evolve the power grid structure of a certain area of ​​a certain city power grid according to the characteristics of a resilient city power grid. On this basis, operating parameters are set for simulation. The regional city power grid structure is as follows: Figure 2 shown.

[0260] There are 8 microgrids and 3 regional autonomous units in the study area, which are connected through energy routers and energy switches. Each power terminal node has a corresponding information collection node, and each autonomous unit has an energy processing center. The embodiment of the present application focuses on the propagation of urban power grid risks between the power side and the information side, so the corresponding relationship between the number of power nodes and information nodes is simplified, and one power node is set to correspond to one information node. The composition of each microgrid power node is simplified to a distributed power generation device, a distributed energy storage and an intelligent load. Each microgrid unit realizes power dispatching and distribution network access through an energy router. Therefore, the power grid architecture of the study area is composed of 36 power terminal nodes and 36 information collection nodes. The topological structure of the power grid in the study area is as follows: Figure 2 The embodiment of the present application studies the cross-space risk transfer of urban power grids by taking the power curve as the risk constraint.

[0261] Set the total simulation step length T=1000, and deploy 1 attack resource for each information node, that is, the total attack resource invested in the network attack is 36, and all attack intensities are medium. Set the self-healing rate of the information cell node , the probability of causing power cell failure after information cell failure ,After the information cell successfully heals itself, the power cell will also return to normal at the next moment.,When the power of each power node, microgrid and autonomous unit exceeds the threshold, the corresponding node, microgrid and autonomous unit are removed, the urban grid topology is updated, and the number of faulty nodes and the fault rate at time t are outputted, until the simulation time reaches the set step length T.

[0262] According to the above parameters, the system was simulated 10 times within the simulation step, at t=84, t=134, t=195, t=289, t=346, t=431, t=509, t=625, t=656 and t=736. The first 9 network attacks were within the system threshold and only caused partial system decoupling. However, at the 10th attack, t=736, the risk transmission exceeded the system threshold and the regional urban power grid completely collapsed. The line graph of power and information node failures is shown in the figure below. Figure 5 shown.

[0263] According to the requirements of the simulation of resilient urban power grid, relevant fault scenarios are constructed. On the basis of data cleaning, the graph database Neo4j technology is used to query the risk entities and states found in the knowledge graph. The entities and attributes associated with them are returned to complete the construction of the resilient urban power grid risk knowledge base. For the 10th network attack in the simulation process and the knowledge graph construction rules, the following can be constructed: Figure 6 The risk transfer knowledge graph shown in Figure 2. In this network attack, the information node First, the node is attacked, and the risk is further transmitted after the node fails, resulting in information nodes and power node 14 fails, information node Information Node and Failure further causes power nodes 5 and 13 to fail, and information nodes The fault is further transmitted to the information node , resulting in the failure of power node 2. Since power node 2 is a level 2 energy router, the power nodes in microgrids 1, 2, and 5 fail. The risk is caused by information nodes Pass to information node , resulting in the failure of power node 1. Since power node 1 is a level 3 energy router, microgrid nodes 7 and 8 all fail. Figure 6 It can be seen that after a high-level information node is attacked, it will be associated with more network nodes, the scale of risk transmission will expand rapidly, and the scale of power node failures associated with it will also expand further. By constructing a knowledge graph of risk transmission in a resilient urban power grid, a static analysis of the risk propagation path of the power grid can be achieved, laying the foundation for the dynamic analysis of power grid risk transmission using the cellular automaton model.

[0264] Based on the structured knowledge graph of power grid risk knowledge graph and cellular automaton discretization state analysis technology, a dynamic simulation of cross-space risk transmission of resilient urban power grid is carried out. Figure 7 shown.

[0265] Depend on Figure 7 It can be seen that the 10th network attack was from information node 4 in microgrid At the beginning, from t=730 to t=760, a total of 30 steps led to the complete collapse of the system:

[0266] At t=730, all power and information nodes are working normally, and a network attack on all information nodes begins;

[0267] At t=736, after 6 steps of attack, information node 4 in microgrid The failure did not cause other information nodes and power nodes to fail;

[0268] At t=742, after 6 steps of propagation, the information node in microgrid 4 Failure, information node The fault also propagates across space, causing the power node 14 to stop working;

[0269] At t=747, all information nodes of microgrid 4 are at information node and All failures occur under the common infection, and power node 15 stops working;

[0270] At t=751, the information layer fault penetrated into the upper-level information node, the information node of energy router 2 responsible for coordinating the operation of microgrids 1, 2, 4, and 5 was infected, and power node 13 stopped working;

[0271] At t=754, due to the failure of the information node of energy router 2, all the information nodes of microgrids 1, 2, 4 and 5 failed, and power node 5 stopped working. At this point, all the power nodes of microgrid 4 stopped working;

[0272] At t=757, the information layer failure spreads to the top-level energy router 1, causing the information node of energy router 1 to Failure, the power nodes of microgrids 1, 2, 4 and 5 all stopped working;

[0273] At t=759, the top-level energy router responsible for all microgrids in the region Failure causes all information nodes in the regional power grid to fail, and power node 1 stops working;

[0274] At t=760, all regional city power grid information and power nodes stopped working and the entire system collapsed.

[0275] The infection and transmission of network attacks in information space have a certain probability. In the simulation process, Figure 8 This is only a partial case. The embodiment of the present application performs the above simulation to reflect the risk transfer process between the urban power grid information space and the power space. In actual operation, a large number of defense resources will be deployed at key information nodes, making attacks more difficult.

[0276] Depend on Figure 8 It can be seen that between t=730 and t=754, the node failure rate caused by the network attack was not large, only causing failures of corresponding nodes within some microgrids, and no large-scale chain failures. However, at t=754 and t=757, the attack spread to the energy routing nodes, and the failure of key nodes directly caused the power nodes to be unable to operate without instructions, causing a large number of nodes controlled and coordinated by the energy routing nodes to exit work.

[0277] Next, in order to identify the key nodes of risk transmission in the cyber-physical fusion system of resilient urban power grid, the impact of information cell risk transmission on the power cell failure scale index is analyzed, such as Fig. 9 As shown. Among them, the node It is the information node corresponding to the level 3 energy router. It is the information node corresponding to the level 2 energy router. is the information node corresponding to the level 1 energy router, and the power cell fault scale index adopts the statistical mean of 1000 simulations. Fig. 9It can be seen that the information cell risk affects the scale of power system failure to a certain extent, but the impact of information cells at different levels is different. The higher the level of information cells, the higher the power cell failure rate caused by risk transmission. The information nodes corresponding to the three-level energy router have the shortest time to cause all power cells to fail after being infected by the risk. It can be seen that the information nodes of the three-level router are more important and require more comprehensive security defense measures. In addition, at the same level, the nodes and nodes The time after the infection risk causes all power units to fail is short, indicating that the more connected units are, the higher the power unit failure rate caused by the simultaneous spread of risks. Therefore, more defense resources should be deployed on such nodes to ensure the safe and stable operation of the urban power grid.

[0278] Next, we analyze the impact of the cross-space risk transfer probability on risk propagation. Set the infection rate 𝛽=0.1 and the cross-space risk transfer probability are 0.01, 0.03, 0.05 and 0.08 respectively. The simulation results are as follows Fig.10 shown. Fig.10 In the example, the horizontal axis represents time. The example assumes that the time step is 1000. The vertical axis represents t The density of grid nodes that are not at risk at any time, nodes that have experienced risk, and nodes that have changed from risky state to normal state, as the recovery rate gradually increases, the change trends of the density of each node in the above three states are as follows:

[0279] First, by comparing Fig.10 In (a), when =0.01, the normal node density of the power grid drops to 0 at t=200. Fig.10 In (b), when =0.03, the normal node density of the power grid stabilizes at around 0.05 after t=200. Fig.10 In (c), when =0.05, the normal node density of the power grid stabilizes at around 0.2 after t=200. Fig.10 In (d), when =0.08, the normal node density of the power grid stabilizes at around 0.65 after t = 400. Therefore, the normal node density of the power grid increases with the increase of the recovery rate, and the node density decreases slowly.

[0280] Secondly, from Fig.10 It can be found that when =0.01, the grid risk node density reaches a peak value of about 0.65 at around t=100. =0.03, the grid risk node density reaches a peak value of about 0.35 at around t=120. =0.05, the grid risk node density reaches a peak value of about 0.15 at around t=150. =0.08, the grid risk node density reaches a peak value of about 0.03 at around t=230. As can be seen from the figure, the peak value of the grid risk node density gradually decreases with the increase of the recovery rate, and the time to reach the peak value is gradually delayed.

[0281] Then, by Fig.10 It can also be observed that when =0.01, the grid restoration node density reaches its peak at around t=700, and the peak value is 1, that is, all nodes in the grid become restoration nodes. =0.03, the grid restoration node density reaches its peak at around t=400, with a peak value of around 0.95. =0.05, the grid restoration node density reaches its peak at around t=300, with a peak value of around 0.8. =0.08, the grid restoration node density reaches a peak value of about 0.35 at around t=500. As can be seen from the figure, with the increase of the grid recovery rate, the peak value of the grid restoration node density gradually decreases, which may be related to the improvement of the risk resistance ability of normal nodes in the grid. The improvement of the risk resistance ability of normal nodes reduces the probability of normal nodes becoming risk nodes after being attacked or risk transmission, which leads to a decrease in the peak value of the restoration node density.

[0282] Finally, the impact of node self-healing rate on risk propagation is analyzed. Setting the probability of cross-space risk transfer =0.01, set the infection rate are 0.1, 0.2, 0.3 and 0.4 respectively. The simulation results are as follows Fig.11 As shown. Fig.11 It can be seen that when the infection rate 𝛽 gradually increases from 0.1 to 0.4, the normal node density decreases faster and the time for the number of normal nodes to become 0 gradually shortens. This is because a high infection rate will make normal nodes turn into risk nodes faster, so the density of normal nodes will drop rapidly. As the infection rate gradually increases, the peak value of risk nodes gradually increases, and the time to reach the peak value gradually shortens, but the time for risk nodes to decrease to zero does not change significantly. This is because the increase in infection rate will cause normal nodes to turn into risk nodes more quickly, so the density of risk nodes will increase to the peak value faster, but because the recovery rate has not changed, the recovery speed of the power grid for risk nodes remains unchanged, so the time for the power grid risk nodes to decrease to zero does not change much. The rising speed of the recovery node and the time to reach the peak value are not closely related to the change in the infection rate, because the recovery speed mainly depends on the recovery rate rather than the infection rate.

[0283] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0284] An embodiment of the present application provides a power grid risk transfer analysis system, including:

[0285] A first determination module is used to determine the risk type in the target power grid system and the association relationship between the risk types based on the acquired power grid data;

[0286] A first construction module is used to construct a power grid risk knowledge graph for characterizing a static risk transfer path in the target power grid system based on the risk type and the association relationship between each risk type;

[0287] A second construction module is used to construct a power grid cellular automaton model for characterizing a dynamic risk transfer path in the target power grid system based on the association relationship between the risk type and each risk type and a pre-configured mapping rule;

[0288] The first analysis module is used to perform risk transfer analysis on the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model.

[0289] In an optional embodiment of the present application, the first determination module is specifically used to determine the fault entities in the target power grid system and the fault type of each of the fault entities through the power grid operation data in the power grid data; perform risk iteration on each of the fault entities in the target power grid system based on the fault type, and determine the association relationship between each of the risk types according to the iteration result.

[0290] In an optional embodiment of the present application, the first construction module is specifically used to extract knowledge and fuse knowledge from the power grid data based on the risk type and the association relationship between each risk type; and construct the power grid risk knowledge graph for the target power grid system based on the structured data after knowledge fusion.

[0291] In an optional embodiment of the present application, the first analysis module is specifically used to determine, for each information cell in the grid cellular automaton model, the risk state of the information cell at the next moment according to the current risk state of the information cell and the current risk state of neighboring information cells; wherein the information cell refers to the cell corresponding to the information equipment in the target grid system in the grid cellular automaton model; for each power cell in the grid cellular automaton model, determine the risk state of the power cell at the next moment according to the associated cell associated with the power cell; wherein the power cell refers to the cell corresponding to the power equipment in the target grid system in the grid cellular automaton model; the associated cell is at least one of the power cell and the information cell in the grid cellular automaton model.

[0292] In an optional embodiment of the present application, the probability of the information cell being attacked at the next moment is determined according to the following formula:

[0293]

[0294] in, w i ( t +1) indicates information cells i exist t +1 chance of being attacked. Indicates neighboring information cells j exist t The probability of being infected at any time, s i ( t ) indicates information cells i exist t The risk status at any time.

[0295] In an optional embodiment of the present application, the probability of the information cell being successfully attacked at the next moment is determined according to the following formula:

[0296]

[0297] in, P i ( t +1) indicates information cell i exist t +1 chance of being successfully attacked. w i ( t +1) indicates information cells i exist t The probability of being attacked at time +1, λ i Information cells i of infection experience.

[0298] In an optional embodiment of the present application, the second construction module is further used to determine the risk state of the information cell at the next moment according to the self-healing rate of the information cell, the probability of being successfully attacked at the current moment and the current risk state.

[0299] In an optional embodiment of the present application, if the current risk state of the information cell is a fault state, the risk state of the information cell at the next moment is determined according to the following formula:

[0300]

[0301] in, s i ( t ) indicates information cells i exist t The risk state at the moment, the upper horizontal line represents the negation operation, and g is the judgment function of the information cell state transition, where:

[0302]

[0303] in, s i ( t ) indicates information cells i exist t The risk status at the moment. The upper horizontal line indicates the opposite operation. P i ( t +1) indicates information cell i exist t +1 chance of being successfully attacked. r is a random number between [0,1], Information Cell i The self-healing rate.

[0304] In an optional embodiment of the present application, the second construction module is further specifically used to determine the risk status of the power cell and the associated cell as a faulty state if the transmission power between the power cell and the associated cell is greater than a preset limit transmission power, or the associated cell is a faulty cell; if the transmission power between the power cell and the associated cell is not greater than the preset limit transmission power and the associated cell is a healthy cell, determine the risk status of the power cell and the associated cell as a healthy state.

[0305] In an optional embodiment of the present application, the second construction is specifically used to randomly attack the information system in the target power grid system until a faulty node is formed; determine the node fault information of the faulty node at the current moment based on the pre-constructed power grid topology structure and the power grid risk knowledge graph in the target power grid system; update the power system in the target power grid system and each node in the information system according to the node fault information to obtain updated node information; and determine the risk impact of the information cell on the power cell according to the updated node information.

[0306] In an optional embodiment of the present application, the second construction is specifically used to, based on the node fault information and the updated node information, determine as a risk critical node an information node that causes a preset proportion of nodes of the target power grid system to fail within a preset time period when the target power grid system is attacked by the information cell; and / or, adjust the risk critical parameters of the risk critical node, and analyze the risk impact of the information cell on the power cell according to the change law of the system parameters of the target power grid system; wherein the risk critical node refers to an information node that causes a preset proportion of nodes of the target power grid system to fail within a preset time period when the target power grid system is attacked by the information cell.

[0307] An embodiment of the present application provides a system for determining key risk nodes of a power grid, including:

[0308] A second analysis module, configured to perform risk transfer analysis on a target power grid according to the power grid risk transfer analysis method as described in any one of the above items;

[0309] The first determination module is used to determine, as risk critical nodes, information nodes that cause a preset proportion of nodes of the target power grid system to fail within a preset time period when the target power grid system is attacked by the information cells.

[0310] An embodiment of the present application provides a power grid risk prevention and control system, including:

[0311] A second determination module is used to determine the critical risk nodes in the target power grid where the information system transmits risk to the power system according to the above-mentioned method for determining critical risk nodes of the power grid; wherein the critical risk nodes refer to information nodes that, when attacked by the information cells, cause a preset proportion of nodes in the target power grid system to fail within a preset time period;

[0312] The prevention and control module is used to perform risk prevention and control on the key risk nodes based on a pre-configured risk prevention and control model.

[0313] For the specific limitations of the above-mentioned systems, please refer to the limitations of the corresponding methods above, which will not be repeated here. Each module in the above-mentioned system can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0314] In one embodiment, a computer device is provided, which includes a processor, a memory, a network interface and a database connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented. It includes: including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any step in the above method is implemented.

[0315] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above method can be implemented.

[0316] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0317] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0318] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0319] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0320] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0321] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A power grid risk transfer analysis method, characterized in that: include: Determine the risk types in the target power grid system and the correlation between the risk types based on the acquired power grid data; Constructing a power grid risk knowledge graph for characterizing a static risk transfer path in the target power grid system based on the risk type and the association relationship between each of the risk types; Based on the risk type and the association relationship between each risk type and a pre-configured mapping rule, construct a power grid cellular automaton model for characterizing a dynamic risk transfer path in the target power grid system; The risk transfer analysis of the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model includes risk situation awareness analysis of the target power grid system, including: For each power node, clustering and identifying the historical operation data to obtain a clustering result data set containing the typical operation status of each power node, including: sampling the historical operation data using a density deviation sampling method with variable grid division to obtain a sampled data set; for the sample points in the sampled data set of each power node, calculating the reachable distance of each sample point; sorting each sample point according to the reachable distance to obtain an ordered result queue; drawing a reachable distance graph of each sample point according to the arrangement order of each sample point in the result queue to obtain a clustering decision graph for each power node; determining a domain distance threshold parameter of the clustering decision graph, and clustering and identifying each historical operation data in the sampled data set according to a minimum domain point number parameter to obtain the clustering result data set containing the typical operation status of each power node; wherein the typical operation status refers to a state in which the operation parameters of each power node are within a preset normal operation parameter range; The node real-time indicator data of each node is used as input, and the node prediction state of each power node is determined based on the node state prediction model obtained by pre-training, so as to obtain a prediction result data set; wherein the node state prediction model is a Transformer model, and the Transformer model adopts a piecewise loss function during training; If the prediction result data set is in the clustering result data set, the risk situation of the current node is determined to be a healthy state; if the prediction result data set is not in the clustering result data set, the risk situation of the current node is determined to be a risky state.

2. The power grid risk transfer analysis method according to claim 1, characterized in that: The determining of the risk types in the target power grid system and the association relationship between the risk types based on the acquired power grid data includes: Determining a fault entity in the target power grid system and a fault type of each of the fault entities through power grid operation data in the power grid data; Based on the fault type, risk iteration is performed on each of the fault entities in the target power grid system, and the association relationship between the risk types is determined according to the iteration result.

3. The power grid risk transfer analysis method according to claim 1, characterized in that: The constructing of a power grid risk knowledge graph for characterizing a static risk transmission path of the target power grid system based on the risk type and the association relationship between each risk type includes: Performing knowledge extraction and knowledge fusion on the power grid data based on the risk type and the association relationship between each risk type; The power grid risk knowledge graph for the target power grid system is constructed based on the structured data after knowledge fusion.

4. The power grid risk transfer analysis method according to claim 1, characterized in that: The risk transfer analysis of the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model includes: For each information cell in the power grid cellular automaton model, the risk state of the information cell at the next moment is determined according to the current risk state of the information cell and the current risk state of neighboring information cells; wherein the information cell refers to the cell corresponding to the information equipment in the target power grid system in the power grid cellular automaton model; For each power cell in the power grid cellular automaton model, the risk state of the power cell at the next moment is determined according to the associated cells associated with the power cell; wherein the power cell refers to the cell corresponding to the power equipment in the target power grid system in the power grid cellular automaton model; the associated cell is at least one of the power cell and the information cell in the power grid cellular automaton model.

5. The power grid risk transfer analysis method according to claim 4, characterized in that: The step of determining the risk state of each information cell in the power grid cellular automaton model at the next moment according to the current risk state of the information cell and the current risk states of neighboring information cells includes: The probability of the information cell being attacked at the next moment is determined according to the following formula: ; in, w i ( t +1) indicates the information cell i exist t +1 chance of being attacked. Indicates the neighboring information cell j exist t The probability of being infected by risk at any time, s i ( t ) represents the information cell i exist t The risk status at any time.

6. The power grid risk transfer analysis method according to claim 5, characterized in that: The step of determining the risk state of each information cell in the power grid cellular automaton model at the next moment according to the current risk state of the information cell and the current risk states of neighboring information cells includes: The probability of the information cell being successfully attacked at the next moment is determined according to the following formula: ; in, P i ( t +1) indicates the information cell i exist t +1 chance of being successfully attacked. w i ( t +1) indicates the information cell i exist t The probability of being attacked at time +1, λ i Information cells i of infected experience points.

7. The power grid risk transfer analysis method according to claim 5 or 6, characterized in that: If the current risk state of the information cell is a fault state, then for each information cell in the power grid cellular automaton model, the risk state of the information cell at the next moment is determined according to the current risk state of the information cell and the current risk states of neighboring information cells, and further includes: The risk state of the information cell at the next moment is determined according to the self-healing rate of the information cell, the probability of being successfully attacked at the current moment and the current risk state.

8. The power grid risk transfer analysis method according to claim 7, characterized in that: If the current risk state of the information cell is a fault state, the risk state of the information cell at the next moment is determined according to the following formula: ; in, s i ( t ) represents the information cell i exist t The risk state at the moment, the upper horizontal line represents the negation operation, and g represents the judgment function of the information cell state transition, where: ; in, s i ( t ) indicates information cells i exist t The risk status at the moment. The upper horizontal line indicates the opposite operation. P i ( t +1) indicates the information cell i exist t +1 chance of being successfully attacked. r is a random number between [0,1], Information Cell i The self-healing rate.

9. The power grid risk transfer analysis method according to claim 4, characterized in that: The step of determining, for each power cell in the power grid cellular automaton model, a risk state of the power cell at the next moment according to an associated cell associated with the power cell, comprises: If the transmission power between the power cell and the associated cell is greater than a preset limit transmission power, or the associated cell is a faulty cell, determining the risk state of the power cell and the associated cell as a faulty state; If the transmission power between the power cell and the associated cell is not greater than the preset limit transmission power and the associated cell is a healthy cell, the risk status of the power cell and the associated cell is determined to be a healthy status.

10. The power grid risk transfer analysis method according to claim 1, characterized in that: The risk transfer analysis of the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model includes: Randomly attacking the information system in the target power grid system until a faulty node is formed; Determine node fault information of the faulty node at the current moment according to a pre-constructed power grid topology structure in the target power grid system and the power grid risk knowledge graph; According to the node fault information, the power system in the target power grid system and each node in the information system are updated to obtain updated node information; The risk impact of information cells on power cells in the power grid cellular automaton model is determined according to the updated node information.

11. The power grid risk transfer analysis method according to claim 10, characterized in that: The determining the risk impact of the information cell on the power cell according to the updated node information includes: According to the node fault information and the updated node information, when the target power grid system is attacked by the information cell, the information node that causes the failure of a preset proportion of nodes of the target power grid system within a preset time period is determined as a risk critical node; and / or, The risk key parameters of the risk key nodes are adjusted, and the risk impact of the information cells on the power cells is analyzed according to the law of changes in the system parameters of the target power grid system; wherein the risk key nodes refer to information nodes that, when attacked by the information cells, cause a preset proportion of nodes of the target power grid system to fail within a preset time period.

12. A method for determining key risk nodes of a power grid, characterized in that: include: Performing risk transfer analysis on a target power grid system according to the power grid risk transfer analysis method according to any one of claims 1 to 11; According to the analysis results, the information nodes that cause a preset proportion of nodes of the target power grid system to fail within a preset time period when the target power grid system is attacked by information cells are determined as risk critical nodes.

13. A method for preventing and controlling power grid risks, characterized in that: include: Determine the critical risk nodes in the target power grid system according to the method for determining critical risk nodes of the power grid according to claim 12; wherein the critical risk nodes refer to information nodes that, when attacked by information cells, cause a preset proportion of nodes in the target power grid system to fail within a preset time period; Risk prevention and control is performed on the key risk nodes based on a pre-configured risk prevention and control model.

14. A power grid risk transfer analysis system, characterized in that: include: A first determination module is used to determine the risk type in the target power grid system and the association relationship between the risk types based on the acquired power grid data; A first construction module is used to construct a power grid risk knowledge graph for characterizing a static risk transfer path in the target power grid system based on the risk type and the association relationship between each risk type; A second construction module is used to construct a power grid cellular automaton model for characterizing a dynamic risk transfer path in the target power grid system based on the association relationship between the risk type and each risk type and a pre-configured mapping rule; The first analysis module is used to perform risk transfer analysis on the target power grid system based on the power grid risk knowledge graph and the power grid cellular automaton model, including risk situation awareness analysis on the target power grid system, including: for each power node, clustering and identifying the historical operation data to obtain a clustering result data set containing the typical operation status of each power node, including: sampling the historical operation data using a density deviation sampling method with variable grid division to obtain a sampled data set; for the sample points in the sampled data set of each power node, calculating the reachable distance of each sample point; sorting each sample point according to the reachable distance to obtain an ordered result queue; drawing a reachable distance graph of each sample point according to the arrangement order of each sample point in the result queue to obtain a clustering decision graph for each power node; determining the domain distance threshold parameter of the clustering decision graph, and according to the minimum domain The point number parameters are used to cluster and identify the historical operating data in the sampling data set to obtain the clustering result data set containing the typical operating status of each power node; wherein the typical operating status refers to the state in which the operating parameters of each power node are within the preset normal operating parameter range; the node real-time indicator data of each node is used as input, and the node prediction status of each power node is determined based on the pre-trained node status prediction model to obtain a prediction result data set; wherein the node status prediction model is a Transformer model, and the Transformer model adopts a piecewise loss function during training; if the prediction result data set is in the clustering result data set, it is determined that the risk situation of the current node is a healthy state; if the prediction result data set is not in the clustering result data set, it is determined that the risk situation of the current node is a risky state.

15. A system for determining key risk nodes of a power grid, characterized in that: include: A second analysis module, configured to perform risk transfer analysis on a target power grid system according to the power grid risk transfer analysis method according to any one of claims 1 to 11; The first determination module is used to determine, as risk critical nodes, information nodes that cause a preset proportion of nodes of the target power grid system to fail within a preset time period when the target power grid system is attacked by information cells.

16. A power grid risk prevention and control system, characterized in that: include: A second determination module is used to determine the critical risk nodes in the target power grid system where the information system transmits risk to the power system according to the method for determining critical risk nodes of the power grid according to claim 12; wherein the critical risk nodes refer to information nodes that, when attacked by the information cells, cause a preset proportion of nodes in the target power grid system to fail within a preset time period; The prevention and control module is used to perform risk prevention and control on the key risk nodes based on a pre-configured risk prevention and control model.

17. A computer device comprising: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 13 when executing the computer program.

18. A 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 method according to any one of claims 1 to 13 are implemented.