A data security filtering method and system for power grid security simulation

By constructing local topology subgraphs and performing cross-system identifier mapping in power grid security simulations, the problem of excessively expanding the data retrieval scope is solved, and the security filtering of the minimum necessary data is achieved, thereby improving the efficiency and security of power grid security simulations.

CN123068480APending Publication Date: 2026-11-10STATE GRID ZHEJIANG ELECTRIC POWER CO LTD HANGZHOU POWER SUPPLY CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611184978.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-06
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing technologies lack task constraints and cross-system collaboration mechanisms in power grid security simulations, leading to an excessively expanded data retrieval scope and redundant irrelevant fields. This reduces data acquisition efficiency and increases the risk of sensitive information leakage, affecting the security and accuracy of the simulation tasks.

Method used

By extracting key elements from the power grid security simulation task description to form a standardized task constraint set, constructing a local topology subgraph, and using this subgraph to establish cross-system identifier mapping relationships, topology filtering and security cross-filtering are performed to obtain the minimum necessary target input data.

Benefits of technology

It enables precise location of topological entities without decrypting the original data, reduces the scale of cross-system data transmission, improves the real-time performance and security of data collaborative calls, and ensures the accuracy of the simulation results and privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123068480A_ABST
    Figure CN123068480A_ABST
Patent Text Reader

Abstract

This invention discloses a data security filtering method and system for power grid security simulation, relating to the field of power grid security simulation. The method includes: driven by the simulation task, extracting key elements containing the simulation scenario type from the task description to form a standardized task constraint set; determining the topology data source and matching the corresponding topology trimming template based on the constraint set; locating topology entities based on the template and constructing a local topology subgraph; establishing cross-system identifier mapping relationships using the subgraph to obtain a candidate mapping object set; and using the subgraph as an anchor point, sequentially performing topology filtering and security cross-filtering on the candidate set to obtain the target input data. This invention achieves both minimal security filtering of underlying sensitive data and improves the security and interpretability of multi-system data collaborative calls.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power grid security simulation technology, and in particular to a data security filtering method and system for power grid security simulation. Background Technology

[0002] In scenarios such as power grid security simulation and power flow calculation, it is necessary to integrate multiple types of data such as topology, measurement, and parameters. However, these data are scattered and stored in multiple heterogeneous systems such as power grid resource platform, real-time measurement center and data platform. Furthermore, the identification of the same device is not uniform in different systems (such as PMSID, PSRID, etc.), and the calling methods are different (interface JSON, platform table, RDS, etc.).

[0003] The existing data acquisition method relies on manual querying and aggregation in multiple systems, which has the following problems: lack of task constraints and cross-system collaboration mechanisms, resulting in an excessively expanded search scope and redundant export of irrelevant fields, causing the data supply to far exceed the actual demand; this not only reduces the efficiency of data acquisition, but also increases the risk of leakage of sensitive information, ultimately affecting the security and accuracy of the simulation task.

[0004] Therefore, how to effectively filter data and achieve a minimum secure supply of data from multiple systems has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] This invention provides a data security filtering method and system for power grid security simulation, which solves the problem of how to extract the minimum necessary data without decrypting the original data, thereby improving the accuracy of the simulation results.

[0006] To address the aforementioned technical problems, embodiments of the present invention provide a data security filtering method for power grid security simulation, comprising: Key elements are extracted from the received power grid security simulation task description to form a standardized set of task constraints; the key elements include the simulation scenario type. Based on the standardized task constraint set, determine the topology data source from the data sources stored in different systems and match the corresponding topology pruning template; Based on the topology trimming template, locate the power grid topology entities related to the power grid security simulation task description to construct a local topology subgraph; The local topology subgraph is used to establish cross-system identifier mapping relationships between systems to obtain a set of candidate mapping objects; Using the local topological subgraph as anchor points, the candidate mapping object set is sequentially subjected to topological filtering and safe cross-filtering to obtain the target input data.

[0007] Furthermore, the step of determining the topology data source from data sources scattered across different systems and matching the corresponding topology pruning template based on the standardized task constraint set includes: Based on the standardized task constraint set, corresponding retrieval constraints are constructed for topology systems, measurement systems, and parameter systems. Select the topology data source from the data source, and use the retrieval constraints corresponding to the topology system as the boundary to introduce the key elements as the topology clipping template to match the topology data source.

[0008] Furthermore, the step of locating the power grid topology entities related to the power grid security simulation task description based on the topology pruning template to construct a local topology subgraph includes: Configure a set of corresponding clipping strategies for each scenario in the simulation scenario type according to the topology clipping template; Based on the set of pruning strategies, determine the node retention range and the edge expansion range; Under the joint constraints of the node retention range and the edge expansion range, the relationships of feeders, buses, ring networks, tie lines, switches and connecting edges related to the power grid security simulation task description are extracted to construct a set of local topology candidate objects; The local topology candidate objects are used to generate the local topology subgraph oriented towards the inference target.

[0009] Furthermore, the step of establishing cross-system identifier mapping relationships between systems using the local topology subgraph to obtain a candidate mapping object set includes: Extract the identification information of power grid equipment entities contained in the local topology subgraph; Call the interface service of the topology system to cascade query the measurement point identifier corresponding to the identifier information; The primary key in the corresponding data table of the parameter class system is obtained by matching the identification information, and an inverted index is constructed with the identification information as the core key and containing the measurement point identification and the primary key; Based on the mapping inverted index, a set of candidate measurement objects and a set of candidate parameter objects are generated respectively.

[0010] Furthermore, the step of using the local topological subgraph as an anchor point to sequentially perform topological filtering and safe cross-filtering on the candidate mapping object set includes: The candidate mapping object set is initially filtered for information that is irrelevant to the local topological subgraph to obtain the minimum necessary dataset. Using the local topology subgraph and the cross-system identifier mapping relationship as consistent anchors, secure cross-filtering is performed on the local topology subgraph and the minimum necessary dataset.

[0011] Furthermore, the preliminary filtering of information irrelevant to the local topological subgraph from the candidate mapping object set to obtain the minimum necessary dataset includes: Using the local topological subgraph as the object domain constraint mask, the candidate measurement object set is sequentially subjected to three layers of filtering in the measurement system to form the minimum necessary measurement dataset; Establish a field whitelist that matches the simulation scenario type, and perform field projection on the candidate parameter object set using the field whitelist in the parameter class system to form a minimum necessary parameter dataset.

[0012] Furthermore, the step of performing secure cross-filtering on the local topology subgraph and the minimum necessary dataset, using the local topology subgraph and the cross-system identifier mapping relationship as consistent anchor points, includes: A topology constraint mask is generated based on the node identifiers, edge identifiers, and device connection relationships in the local topology subgraph. The records that do not fall into the local topological subgraph are filtered out from the minimum necessary dataset using the topological constraint mask to obtain the filtered data; Based on the cross-system identifier mapping relationship, an intersection check is performed on the filtered data.

[0013] Another embodiment of the present invention provides a data security filtering system for power grid security simulation, comprising: The simulation element extraction module is used to extract key elements from the received power grid security simulation task description to form a standardized task constraint set; the key elements include the simulation scenario type. The trimming module matching module is used to determine the topology data source from data sources stored in different systems and match the corresponding topology trimming template according to the standardized task constraint set. The topology subgraph construction module is used to locate the power grid topology entities related to the power grid security simulation task description based on the topology pruning template, so as to construct a local topology subgraph; The association mapping module is used to establish cross-system identifier mapping relationships between systems using the local topology subgraph, so as to obtain a set of candidate mapping objects; The data filtering module is used to perform topological filtering and safe cross-filtering on the candidate mapping object set sequentially, using the local topological subgraph as the anchor point, to obtain the target input data.

[0014] Another embodiment of the present invention provides a computer device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the data security filtering method for power grid security simulation as described above.

[0015] Another embodiment of the present invention provides a computer-readable storage medium storing a computer program, wherein when the device containing the computer-readable storage medium executes the computer program, it implements the data security filtering method for power grid security simulation as described above.

[0016] Compared with the prior art, the beneficial effects of the embodiments of the present invention are at least one of the following: This invention first extracts key elements from the power grid security simulation task description to form a standardized task constraint set, which restricts subsequent operations to the task boundary to avoid blind retrieval. Then, based on this, it determines the topology data source and matches a trimming template to accurately locate topology entities and construct a local topology subgraph, avoiding large-scale data retrieval across systems. Using this subgraph, it establishes cross-system identifier mapping relationships to obtain a candidate mapping object set, solving the association difficulties caused by inconsistent device identifiers across multiple systems. Finally, using this subgraph as an anchor point, it performs double filtering on the candidate mapping object set, reducing the scope of original data exposure and obtaining the minimum necessary and secure target input data. This effectively reduces the scale of cross-system data transmission and improves the real-time performance and security of multi-system data collaborative invocation. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of a data security filtering method for power grid security simulation in one embodiment of the present invention; Figure 2 This is a schematic diagram of a multi-system data security collaborative filtering process in one embodiment of the present invention; Figure 3 This is a comparison chart of time consumption and energy efficiency of local inference and multi-system joint investigation in one embodiment of the present invention; Figure 4 This is a schematic diagram of a data security filtering system structure for power grid security simulation in one embodiment of the present invention. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0019] In the description of this application, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first," "second," "third," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0020] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal communication between two components. The terms "vertical," "horizontal," "left," "right," "upper," "lower," and similar expressions used herein are for illustrative purposes only and do not indicate or imply that the device or component referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as limiting the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0021] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing specific embodiments only and is not intended to limit the invention. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0022] One embodiment of the present invention provides a data security filtering method for power grid security simulation. For details, please refer to [link / reference]. Figure 1 , Figure 1 The diagram shown is a schematic flowchart of a data security filtering method for power grid security simulation in one embodiment of the present invention, including the following steps: S1. Extract key elements from the received power grid security simulation task description to form a standardized task constraint set.

[0023] In some embodiments of the present invention, the power grid security simulation task may be a power flow simulation task, an operation mode analysis task, a maintenance impact assessment task, or a security risk assessment task, etc.

[0024] This step aims to extract key elements from the descriptions of these power grid security simulation tasks. These elements include one or more of the following: target feeder identifier, feeder name, target equipment keywords, target area, voltage level, target time window, simulation scenario type, and access constraints.

[0025] After receiving the simulation task description, the system performs standardized parsing on its key elements to form a standardized set of task constraints, as shown below: In the formula, Indicates the target feeder identifier. Indicates the feeder name. Indicates device keywords, Indicates the target area. Indicates voltage level, Indicates the target time window. Indicates the type of scenario to be simulated. This indicates access control restrictions.

[0026] S2. Based on the standardized task constraint set, determine the topology data source from the data sources stored in different systems and match the corresponding topology pruning template.

[0027] In some embodiments of the present invention, taking an actual power grid production environment as an example, the power grid data includes at least the following three categories: The topology data, including medium-voltage feeders, buses, ring networks, tie lines, switches, distribution transformers, and connection edges, is maintained by the topology system—the power grid resource business platform. This data is organized in a graph structure and can reflect the connection relationships between feeders, ring networks, tie lines, and equipment. Measurement data, such as measurement object identifier, measurement point identifier, measurement value, measurement timestamp, measurement point type, and data quality mark, are maintained by the measurement system—enterprise-level real-time measurement center. These data are organized in a three-layer structure of real-time measurement object, measurement point, and measurement value, representing the operating status of the same equipment at different times. In addition, there are parameter-type data, including line model parameters, transformer model parameters, current carrying capacity parameters, equipment ledger parameters, historical measurement data, and analysis layer results. These data are usually distributed in different levels and environments of the parameter-type system—Alibaba Cloud Data Platform. Data development, flow and synchronization are completed through mechanisms such as DataWorks, ODPS, RDS, and DI. The data is organized in a relational table structure to record static or semi-static parameters such as lines, transformers, current carrying capacity and equipment ledgers.

[0028] Because the three types of data sources mentioned above are distributed across different platforms, levels, and environments. Taking a data platform environment as an example, static parameters and historical measurements typically coexist in the source layer, shared layer, and analysis layer simultaneously; the same type of data may also be differentiated between development and production environments, and different regional views may exist. Some data is returned via JSON API, while other data exists through platform tables, ODPS tables, RDS intermediate tables, or DI synchronization results.

[0029] Based on this, corresponding subsystem retrieval constraints are generated for the different system data sources mentioned above according to the standardized task constraint set. These include topology system retrieval constraints, measurement system retrieval constraints, and parameter system retrieval constraints. Measurement system retrieval constraints are used to locate measurement objects and time windows related to local objects, while parameter system retrieval constraints are used to locate line parameters, transformer parameters, and operation constraint fields related to local objects.

[0030] This embodiment constructs the aforementioned retrieval constraints, converging the previously fragmented query actions driven by human experience into a unified task-driven retrieval entry point. In this embodiment, the retrieval constraints can be plaintext constraints or further encapsulated as retrieval tokens. Using retrieval tokens allows the corresponding system to perform only local candidate object recall without directly exposing the original feeder name, equipment keywords, and query intent. Simultaneously, each system performs candidate object recall relevant to the current simulation task locally.

[0031] In the data source corresponding to the topology data, based on the target feeder identifier, feeder name, target equipment keywords, target area, voltage level, and simulation scenario type extracted from the simulation task, a corresponding topology trimming template is matched. This template includes at least one or more of the following: node retention rules, edge retention rules, retention radius, tie line expansion depth, switch penetration rules, and ring network retention rules. During this process, the previously constructed topology system retrieval constraints are called as boundary restrictions. By locating the topology objects related to the target feeder and target equipment, the starting anchor point and retrieval range of the trimming operation are determined, and the corresponding topology trimming template is selected according to the simulation scenario type.

[0032] S3. Based on the topology trimming template, locate the power grid topology entities related to the power grid security simulation task description in order to construct a local topology subgraph.

[0033] After matching is completed, a local topology subgraph is constructed based on the pruning strategy determined by the topology pruning template. Specifically, a set of corresponding pruning strategies is configured for each scenario in the simulation scenario type according to the topology pruning template; among them, impedance continuous paths are retained in the power flow simulation scenario, candidate paths for power transfer are retained in the maintenance impact assessment scenario, and branches on the high-sensitivity load side are retained in the safety risk assessment scenario.

[0034] Based on the set of pruning strategies, the node retention range and edge expansion range of the local topology subgraph are automatically determined. Under the joint constraints of these ranges, feeders, buses, ring networks, tie lines, switches, and connecting edge relationships related to the power grid security simulation task description are extracted, constructing a set of local topology candidate objects. In this embodiment, the entire network topology is assumed to be... The local set of objects related to the current task is then defined as: in, Represents a node Does it meet the task constraints? Represents a node Whether it is related to the target feeder and the target area.

[0035] Subsequently, extract The physical edge connections between internal nodes generate a local topological subgraph representing the boundary of the computational network in this simulation. .

[0036] Understandably, this local topology subgraph is not a simple truncated version of the entire network topology. Instead, it is a calculation-related subgraph obtained by combining feeder affiliation, ring network relationships, tie line relationships, switch status, and regional constraints, and filtering using a topology trimming template corresponding to the simulation scenario type. It is worth noting that the system does not include irrelevant isolated nodes, unnecessary branches, or external topology parts unrelated to this task in the aforementioned local topology subgraph.

[0037] This embodiment reduces the scope of objects required for simulation from "the entire network of devices" to "the set of task-related local objects oriented towards the corresponding simulation target" by constructing a local topology subgraph. The local topology subgraph is further used as an object domain constraint mask for subsequent measurement filtering and parameter projection, thereby establishing object boundaries for subsequent measurement screening and parameter projection.

[0038] S4. Use local topological subgraphs to establish cross-system identifier mapping relationships between systems to obtain a set of candidate mapping objects.

[0039] This step aims to map device objects in the local topology subgraph to measurement objects and measurement point objects in the real-time measurement center based on cross-system identifier mapping relationships, after obtaining the local topology subgraph. This mapping relationship includes at least one or more of PMSID, PSRID, measPointId, dist_sta_id, inst_id, asset_no, and psrid.

[0040] Specifically, the first step is to extract the identification information of power grid equipment entities contained in the local topology subgraph: globally unique production identifiers. PMSID Or equipment ledger label PSRID ; Then, the topology system, i.e., the interface service in the power grid resource business platform, is invoked to cascade queries for each... PMSID or PSRID Corresponding measuring point markings measPointId ; use PMSID or PSRID Match and retrieve the primary key of the corresponding data table in the parameter-based system (i.e., Alibaba Cloud Data Platform): primary key inst_id or asset number asset_no; In local memory, a mapping inverted index is constructed with PMSID / PSRID as the core key and containing measurement point identifiers and primary keys to achieve consistent mapping and alignment of topology objects, measurement objects, and parameter objects at the entity level.

[0041] Finally, based on the mapping inverted index reflecting the cross-system identifier mapping relationship, a set of candidate measurement objects and a set of candidate parameter objects related to the local topology subgraph are generated respectively.

[0042] S5. Using the local topological subgraph as anchor points, perform topological filtering and safe cross-filtering on the candidate mapping object set in sequence to obtain the target input data.

[0043] After generating candidate mapping objects, under the constraints of the local topology subgraph, the corresponding candidate mapping object sets are filtered in two stages: preliminary topology filtering and security cross-filtering, respectively, in the enterprise-level real-time measurement center and Alibaba Cloud data platform.

[0044] In the initial filtering process of the first stage, the aim is to remove information that is irrelevant to the local topological subgraph from the candidate mapping object set, forming the minimum necessary dataset.

[0045] Specifically, in an enterprise-level real-time measurement center, candidate recall is initiated only for measurement objects related to the local topology object set, i.e., the candidate measurement object set. Using the local topology subgraph as the object domain constraint mask, a three-layer filtering is performed on the candidate measurement object set in sequence: first, object affiliation filtering, then target time window filtering, measurement point type filtering, and data quality filtering. Measurement records that do not belong to the nodes or connecting edge mapping objects of the local topology subgraph are eliminated, and only the minimum necessary measurement dataset corresponding to the local topology subgraph and meeting the target time window requirements is retained. Specifically, it is expressed as: in, This indicates the device identifier corresponding to the object being measured. Indicates the measurement point identification. Indicates the location of a distribution station or power station. Indicates the measurement timestamp. Indicates the quality indicators being measured. This indicates the preset quality threshold.

[0046] In one implementation of this embodiment, for example, the measurement object identifier and measurement point identifier corresponding to the feeder, bus, ring network, tie line, switch, transformer and connecting edge entity in the local topology subgraph are extracted according to the mapping inverted index and used as a candidate measurement object set. Then, the time-series data extraction interface of the enterprise-level real-time measurement center is called to pull the historical time-series status sections of the power grid active power, reactive power, node voltage and branch current corresponding to the candidate measurement object set within the limited time window; and the data quality flags of each time-series status data are read to filter out distorted records whose quality flags are lower than the preset threshold due to abnormal acquisition or communication packet loss, and measurement records that do not belong to the mapping range of local topology subgraph nodes or connecting edges are removed, thereby generating the minimum necessary measurement dataset that is only for local topology entities and meets the time and quality constraints.

[0047] In this embodiment, through the above operations, the measurement system no longer pulls all measurement points around the entire station or feeder, but performs constrained minimization of the measurement point set mapped by the local topology, and ensures that the measurement results are consistent with the node-edge relationships in the local topology subgraph.

[0048] Accordingly, for parameter data, the system retrieves a set of candidate parameter objects corresponding to the line objects, transformer objects, switch objects, and node objects in the local topology subgraph from the Alibaba Cloud data platform. This set of candidate parameter objects includes at least line model parameters, transformer model parameters, current carrying capacity parameters, equipment ledger parameters, and operational constraint parameters.

[0049] Then, the system performs field projection on the candidate parameter object set based on the field whitelist matching the simulation scenario type, retaining only the parameter fields necessary for this simulation. For example, for power flow simulation scenarios, the system can focus on retaining fields such as line resistance, reactance, rated capacity, transformer capacity, impedance parameters, and current carrying capacity constraints; for maintenance analysis scenarios, it can also retain operating constraint fields related to switch status, interconnection relationships, and load transfer capacity. Other irrelevant fields and equipment entities unrelated to the local topology subgraph are not included in the data packet construction. This results in the minimum necessary parameter dataset. Specifically, it is expressed as follows: in, This represents the whitelist of parameter fields corresponding to the current simulation scenario. Represents the complete set of line parameters. Represents the complete set of transformer parameters. Represents the complete set of current carrying capacity parameters. This indicates that connection matching is performed based on device association or object identifier. This indicates that only the target whitelist fields are projected and retained.

[0050] In one implementation of this embodiment, for example, the system extracts the primary keys corresponding to the lines, transformers, and capacitors in the local topology subgraph, and uses them as query conditions to filter and extract the complete set of line parameters, the complete set of transformer parameters, and the complete set of current carrying capacity parameters of the corresponding entity rows from the relational parameter database of Alibaba Cloud Data Platform; Then, based on this, the static field column whitelist is called to perform relational projection operation on the filtered parameter data entity rows, retaining only the resistance, reactance, susceptance, transformer short-circuit impedance, rated maximum current carrying capacity and safe operation limit parameters required for power flow calculation or overload assessment, and removing equipment entities that are not related to the local topology subgraph as well as static production ledger attributes and non-technical description fields that are not related to safety simulation calculation, to obtain the minimum necessary parameter dataset.

[0051] Through the above operations, this embodiment transforms the output of the parameter system from parameter table export to the supply of necessary fields that are scenario-oriented and subject to local topology constraints, further compressing the scope of cross-system data exposure.

[0052] At this point, the first stage of filtering is complete. The second stage of secure cross-filtering will then be executed. Please refer to the detailed process. Figure 3 As shown. In this embodiment, the secure cross-filtering performed includes at least one or more of the following: searchable encrypted retrieval, anonymous query return, and privacy intersection without decryption. Data items that lack topological support, are inconsistent in time, or exceed the field whitelist are removed, and only data items that simultaneously satisfy object consistency, topological connectivity consistency, time consistency, and field necessity are retained.

[0053] Specifically, when performing local retrieval and recall, the topology system, real-time measurement system, and parameter system first determine whether to introduce security traffic obfuscation; if so, they generate a set of corresponding real hit candidates using a pseudo-random generator. Decoy datasets with identical data structures and no topological connectivity in electrical semantics Set the obfuscation ratio parameter By obfuscating the mapping function The decoy data is mixed with real hit data in a randomized order, and stealth return results are generated by using equal-length message padding and constant flow rate control. This is sent to the calling side to prevent external third parties from inferring the actual intentions of the power grid simulation through network traffic fingerprints and retrieval frequency. Specifically, it is expressed as follows: in, This represents the true hit candidate set of a certain system. This represents the decoy dataset corresponding to the system. Indicates the confusion ratio parameter. This function combines the actual hit results and the decoy records according to a preset strategy.

[0054] Each system receives its corresponding stealth return result. , , Subsequently, a privacy-preserving intersection (PSI) service based on homomorphic encryption or cryptographically unintentional transmission (OT) is invoked. Without disclosing the original plaintext and decoy plaintext of their respective data, the candidate entity identifiers output by the three subsystems and their associated time window labels and field whitelist labels are aligned pairwise using Boolean hashing. The intersection is aligned with the device primary key identifiers that simultaneously satisfy topological connectivity, complete measurement point mapping, existence of computational parameters, time window hit, and field whitelist hit, thus calculating a common candidate set that simultaneously satisfies the data consistency association across multiple systems. : in, , and These represent the candidate results returned by the topology system, measurement system, and parameter system after anonymization, respectively. This indicates a privacy-preserving intersection operation without decryption.

[0055] Subsequently, the system generates a topology constraint mask based on the node identifiers, edge identifiers, and device connection relationships in the local topology subgraph; and uses the topology constraint mask to filter out records that do not fall into the local topology subgraph from the minimum necessary dataset, thus obtaining the filtered data.

[0056] Next, based on the cross-system identifier mapping relationship, an intersection check is performed on the filtered data. Specifically, the system calls the package assembly function. , public candidate set As a filter mask, an active stripping action is performed on the original obfuscated results pulled from the three heterogeneous systems; the physical device primary key corresponding to each data item in the data stream is determined, and if the physical device primary key is not in the common candidate set... If the data item falls within the key value range, or if the corresponding data item does not satisfy the node edge connection relationship in the local topology subgraph, the time window constraint in the minimum necessary measurement dataset, or the field whitelist constraint in the minimum necessary parameter dataset, then it is directly identified as pseudo-random decoy data used for obfuscation and its physical memory is cleared and discarded; if the physical device primary key exists within the range... In the middle, it is confirmed as a real computational entity, and local topological subgraphs are captured in a cascade manner. The connection relationships between the nodes and their associated edges, and the minimum necessary measurement dataset. Time segment sequence cross-sections and minimum necessary parameter datasets in The calculation parameters and mapping inverted index in the data .

[0057] Finally, a highly compact binary serialization protocol is used to serialize and encapsulate the above data into a fully self-contained, minimally necessary inference input data packet with a unified header physical index and supporting self-parsing. : in, Represents a local topological subgraph. Represents the minimum necessary measurement dataset. Represents the dataset with the minimum required parameters. This indicates the result of cross-system identifier mapping. This indicates a unified encapsulation function.

[0058] Understandably, the minimum necessary simulation input data packets are used only for this simulation task and are output to the subsequent power grid security simulation module for power flow calculation, operation mode analysis, maintenance impact assessment, or safety risk assessment. Through this step, heterogeneous results from the topology system, measurement system, and parameter system are unified and converged into a data packet format that can be directly consumed by the same simulation task.

[0059] This invention provides an example of effect verification, such as... Figure 3 As shown, this example compares a traditional multi-system online joint query scheme with a local closed-loop inference scheme using the minimum necessary inference input data packet of this invention. Figure 3 As can be seen, the horizontal axis represents the number of distribution network nodes, and the vertical axis represents the total time spent on distribution network simulation calculation, in milliseconds. As the number of distribution network nodes increases from 2 to 12, the total time spent by the traditional multi-system online joint inspection scheme increases from 45ms to 1280ms, while the total time spent by the scheme of this invention increases from 8ms to 62ms, with a significantly smaller overall increase.

[0060] In summary, this invention, driven by a power grid security simulation task, first generates a local topology subgraph through topology pruning as a unified spatial constraint anchor point. Then, using this subgraph as the core constraint, it performs minimum necessary extraction and cross-system mapping alignment on heterogeneous data scattered across the topology, measurement, and parameter systems. While maintaining the privacy and security of power grid operation data from multiple systems such as topology, measurement, and parameters, it completes the distribution network security simulation calculation. It achieves cross-system consistency verification and decoy removal without decrypting the original data, ensuring that the underlying sensitive data in the source system is always extracted and used within the local topology constraints and field necessity constraints.

[0061] One embodiment of the present invention provides a data security filtering system for power grid security simulation. For details, please refer to [link / reference]. Figure 4 , Figure 4 The diagram shown illustrates the structure of a data security filtering system for power grid security simulation in one embodiment of the present invention, comprising: The simulation element extraction module M1 is used to extract key elements from the received power grid security simulation task description to form a standardized task constraint set; the key elements include the simulation scenario type. The trimming module matching module M2 is used to determine the topology class data source from the data sources stored in different systems and match the corresponding topology trimming template according to the standardized task constraint set. The topology subgraph construction module M3 is used to locate the power grid topology entities related to the power grid security simulation task description based on the topology pruning template, so as to construct a local topology subgraph. The association mapping module M4 is used to establish cross-system identifier mapping relationships between systems using the local topology subgraph to obtain a set of candidate mapping objects; The data filtering module M5 is used to perform topological filtering and safe cross-filtering on the candidate mapping object set in sequence, using the local topological subgraph as the anchor point, to obtain the target input data.

[0062] In one embodiment of this application, a computer device is provided, which includes a memory and a processor. The memory stores machine-executable instructions that can be executed by the processor. When the processor executes a computer program, it implements the above steps. The computer device provided in this embodiment has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.

[0063] In one embodiment of this application, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, it performs the above steps; the implementation principle and technical effects of the computer-readable storage medium provided in this embodiment are similar to those of the above method embodiments, and will not be repeated here.

[0064] The technical features and effects of the data security filtering system for power grid security simulation proposed in this embodiment of the invention are the same as those of the data security filtering method for power grid security simulation proposed in this embodiment of the invention, and will not be repeated here.

[0065] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. A data security filtering method for power grid security simulation, characterized in that, include: Key elements are extracted from the received power grid security simulation task description to form a standardized set of task constraints; The key elements include the type of simulation scenario; Based on the standardized task constraint set, determine the topology data source from the data sources stored in different systems and match the corresponding topology pruning template; Based on the topology trimming template, locate the power grid topology entities related to the power grid security simulation task description to construct a local topology subgraph; The local topology subgraph is used to establish cross-system identifier mapping relationships between systems to obtain a set of candidate mapping objects; Using the local topological subgraph as anchor points, the candidate mapping object set is sequentially subjected to topological filtering and safe cross-filtering to obtain the target input data.

2. The data security filtering method for power grid security simulation as described in claim 1, characterized in that, The step of determining the topology data source from data sources scattered across different systems and matching the corresponding topology pruning template based on the standardized task constraint set includes: Based on the standardized task constraint set, corresponding retrieval constraints are constructed for topology systems, measurement systems, and parameter systems. Select the topology data source from the data source, and use the retrieval constraints corresponding to the topology system as the boundary to introduce the key elements as the topology clipping template to match the topology data source.

3. The data security filtering method for power grid security simulation as described in claim 1, characterized in that, The step of locating power grid topology entities related to the power grid security simulation task description based on the topology pruning template to construct a local topology subgraph includes: Configure a set of corresponding clipping strategies for each scenario in the simulation scenario type according to the topology clipping template; Based on the set of pruning strategies, determine the node retention range and the edge expansion range; Under the joint constraints of the node retention range and the edge expansion range, the relationships of feeders, buses, ring networks, tie lines, switches and connecting edges related to the power grid security simulation task description are extracted to construct a set of local topology candidate objects; The local topology candidate objects are used to generate the local topology subgraph oriented towards the inference target.

4. The data security filtering method for power grid security simulation as described in claim 2, characterized in that, The step of establishing cross-system identifier mapping relationships between systems using the local topology subgraph to obtain a candidate mapping object set includes: Extract the identification information of power grid equipment entities contained in the local topology subgraph; Call the interface service of the topology system to cascade query the measurement point identifier corresponding to the identifier information; The primary key in the corresponding data table of the parameter class system is obtained by matching the identification information, and an inverted index is constructed with the identification information as the core key and containing the measurement point identification and the primary key; Based on the mapping inverted index, a set of candidate measurement objects and a set of candidate parameter objects are generated respectively.

5. The data security filtering method for power grid security simulation as described in claim 4, characterized in that, The step of using the local topological subgraph as anchor points to sequentially perform topological filtering and safe cross-filtering on the candidate mapping object set includes: The candidate mapping object set is initially filtered for information that is irrelevant to the local topological subgraph to obtain the minimum necessary dataset. Using the local topology subgraph and the cross-system identifier mapping relationship as consistent anchors, secure cross-filtering is performed on the local topology subgraph and the minimum necessary dataset.

6. The data security filtering method for power grid security simulation as described in claim 5, characterized in that, The step of initially filtering information irrelevant to the local topological subgraph from the candidate mapping object set to obtain the minimum necessary dataset includes: Using the local topological subgraph as the object domain constraint mask, the candidate measurement object set is sequentially subjected to three layers of filtering in the measurement system to form the minimum necessary measurement dataset; Establish a field whitelist that matches the simulation scenario type, and perform field projection on the candidate parameter object set using the field whitelist in the parameter class system to form a minimum necessary parameter dataset.

7. The data security filtering method for power grid security simulation as described in claim 5, characterized in that, The step of performing secure cross-filtering on the local topology subgraph and the minimum necessary dataset, using the local topology subgraph and the cross-system identifier mapping relationship as consistent anchors, includes: A topology constraint mask is generated based on the node identifiers, edge identifiers, and device connection relationships in the local topology subgraph. The records that do not fall into the local topological subgraph are filtered out from the minimum necessary dataset using the topological constraint mask to obtain the filtered data; Based on the cross-system identifier mapping relationship, an intersection check is performed on the filtered data.

8. A data security filtering system for power grid security simulation, characterized in that, include: The simulation element extraction module is used to extract key elements from the received power grid security simulation task description to form a standardized task constraint set; The key elements include the type of simulation scenario; The trimming module matching module is used to determine the topology data source from data sources stored in different systems and match the corresponding topology trimming template according to the standardized task constraint set. The topology subgraph construction module is used to locate the power grid topology entities related to the power grid security simulation task description based on the topology pruning template, so as to construct a local topology subgraph; The association mapping module is used to establish cross-system identifier mapping relationships between systems using the local topology subgraph, so as to obtain a set of candidate mapping objects; The data filtering module is used to perform topological filtering and safe cross-filtering on the candidate mapping object set sequentially, using the local topological subgraph as the anchor point, to obtain the target input data.

9. A computer device, characterized in that, The system includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the data security filtering method for power grid security simulation as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein when the device containing the computer-readable storage medium executes the computer program, it implements the data security filtering method for power grid security simulation as described in any one of claims 1 to 7.