Block chain and federated learning combined power grid emergency processing method and system
By combining blockchain and federated learning technology, a fault identification model is built, which solves the problem of low grid fault identification efficiency, and realizes dynamic identification and efficiency improvement of grid faults.
Patent Information
- Application Number
- CN202411071458.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The grid fault identification efficiency is low, it relies on front-line experience, lacks unified standards and experience sharing mechanisms, and it is difficult to deal with non-standard faults.
Combining blockchain and federated learning, interactively obtain the operating data of the power metering node, pre-built standard fault identification models and data structures, conduct local training and data pre-processing, generate global fault identification models, and dynamic fault identification through federated learning architecture.
It improves the efficiency of grid fault identification, realizes dynamic fault identification and experience sharing, and improves the standardization and efficiency of fault handling.
Smart Images

Figure CN119004237A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a power grid emergency processing method and system combining blockchain and federated learning. Background Art
[0002] In the power industry, the safe and stable operation of power metering equipment is the key to ensuring the efficient operation of the power grid. The metering center uses a strict verification and sampling process to ensure that all parameters of the newly replaced power metering equipment meet the requirements when leaving the factory. However, in actual applications, due to the combined influence of different environmental factors, various non-standard faults may occur in power metering equipment, and these faults are often difficult to detect through pre-application verification. At present, the troubleshooting and handling of power metering equipment faults mainly rely on the experience of front-line operators. There are several obvious problems with this approach: First, it is inefficient because it takes a lot of time to troubleshoot and repair; second, it is difficult to form a unified fault handling standard and experience sharing mechanism, and it is difficult to communicate the experience between various front-line teams, counties, provinces and cities; third, for non-standard fault handling, due to the lack of corresponding experience and knowledge, it may make troubleshooting and repair work more difficult. Summary of the invention
[0003] This application provides a power grid emergency processing method and system combining blockchain and federated learning, which solves the technical problem of low efficiency in power grid fault identification in the prior art.
[0004] In view of the above problems, this application provides a power grid emergency response method and system that combines blockchain and federated learning.
[0005] In a first aspect of the present application, a power grid emergency processing method combining blockchain and federated learning is provided, the method comprising:
[0006] Interactively obtain K power grid operation data of K power metering nodes in the target area; pre-construct a standard fault identification model, and synchronize the standard fault identification model to the K power metering nodes; pre-construct a standardized data structure, and pre-process the K power grid operation data through the standardized data structure to obtain K standard operation data; perform local training of the standard fault identification model using the K standard operation data at the K power metering nodes to obtain K node fault identification models; extract and obtain K node model parameter sets based on the K node fault identification models; pre-construct a federated learning architecture; analyze the K node model parameter sets through the federated learning architecture to generate a global fault identification model; during the operation of the K power metering nodes, dynamically identify faults of power metering equipment through the global fault identification model.
[0007] The second aspect of the present application provides a power grid emergency processing system combining blockchain and federated learning, the system comprising:
[0008] A data acquisition module, the data acquisition module is used to interactively obtain K power grid operation data of K power metering nodes in the target area; a model construction module, the model construction module is used to pre-construct a standard fault identification model and synchronize the standard fault identification model to the K power metering nodes; a data processing module, the data processing module is used to pre-construct a standardized data structure, and pre-process the K power grid operation data through the standardized data structure to obtain K standard operation data; a training module, the training module is used to perform local training of the standard fault identification model using the K standard operation data at the K power metering nodes to obtain K node fault identification models; a parameter extraction module, the parameter extraction module is used to extract and obtain K node model parameter sets based on the K node fault identification models; an architecture construction module, the architecture construction module is used to pre-construct a federated learning architecture; an analysis module, the analysis module is used to analyze the K node model parameter sets via the federated learning architecture to generate a global fault identification model; an identification module, the identification module is used to perform dynamic fault identification of power metering equipment through the global fault identification model during the operation of the K power metering nodes.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] First, interactively obtain K power grid operation data of K power metering nodes in the target area. At the same time, pre-construct a standard fault identification model, and synchronize the standard fault identification model to the K power metering nodes. Next, pre-construct a standardized data structure, and pre-process the K power grid operation data through the standardized data structure to obtain K standard operation data. Then, local training of the standard fault identification model is performed on the K power metering nodes using K standard operation data to obtain K node fault identification models; and K node model parameter sets are extracted based on the K node fault identification models. Further, a federated learning architecture is pre-constructed; the K node model parameter sets are analyzed through the federated learning architecture to generate a global fault identification model. Finally, during the operation of the K power metering nodes, the global fault identification model is used to dynamically identify the faults of the power metering equipment. The technical problem of low efficiency of power grid fault identification in the prior art is solved. By combining blockchain and federated learning technology, a fault identification model is constructed to dynamically identify faults, thereby achieving the technical effect of improving the efficiency of power grid fault identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0012] Figure 1 A schematic diagram of a flow chart of a power grid emergency response method combining blockchain and federated learning provided in an embodiment of the present application;
[0013] Figure 2 A schematic diagram of the structure of a power grid emergency response system combining blockchain and federated learning provided in an embodiment of the present application.
[0014] Explanation of the accompanying drawings: data acquisition module 11, model building module 12, data processing module 13, training module 14, parameter extraction module 15, architecture building module 16, analysis module 17, recognition module 18. DETAILED DESCRIPTION
[0015] This application solves the technical problem of low efficiency in power grid fault identification in the prior art by providing a power grid emergency processing method and system that combines blockchain and federated learning.
[0016] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0017] It should be noted that the terms "including" and "having" are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or are inherent to these processes, methods, products or devices.
[0018] Embodiment 1, as Figure 1 As shown, the present application provides a power grid emergency processing method combining blockchain and federated learning, wherein the method includes:
[0019] Interactively obtain K power grid operation data of K power metering nodes in the target area.
[0020] The inter-grid is used to obtain K grid operation data from K power metering nodes in the target area.
[0021] Furthermore, the interactive acquisition of K power grid operation data of K power metering nodes in the target area includes:
[0022] Interactively obtain the power grid topology of the target area; locate key nodes based on the power grid topology to obtain the K power metering nodes; configure power metering devices and data acquisition devices for the K power metering nodes to obtain K groups of power metering devices and K data acquisition devices; preset a data accumulation window, and use the data accumulation window as a constraint to periodically interact with the K data acquisition devices to extract data to obtain the K power grid operation data.
[0023] By interacting with the power grid, the power grid topology of the target area can be obtained. The power grid topology includes the connection relationship, capacity, location and other information of each component (such as generators, transformers, lines, loads, etc.) in the power grid; based on the power grid topology, key nodes are located, and K power metering nodes are selected from these key nodes as the target of data collection; the selected K power metering nodes are configured with equipment, including installing power metering equipment (such as electric energy meters, voltage and current sensors, etc.) for measuring power grid operation parameters, and data acquisition equipment (such as data acquisition units, communication modules, etc.) for collecting and processing these data. After the configuration is completed, K groups of power metering equipment and K data acquisition equipment are obtained, which correspond to K power metering nodes respectively; according to the analysis requirements and the processing capacity of the data collection system, a data accumulation window is preset, which defines the time range and frequency of each data extraction. For example, it can be set to extract data once every hour, every day or every week; with the data accumulation window as a constraint, the data collection system interacts periodically with the K data acquisition devices, and at the end of each data accumulation window, the power grid operation data within the window is extracted from each data acquisition device, including time series data of parameters such as voltage, current, power, and electric energy.
[0024] Furthermore, the key nodes are located based on the power grid topology structure to obtain the K power metering nodes, and the method includes:
[0025] Interactively obtain multiple power loads and multiple historical fault frequencies of multiple power grid nodes in the power grid topology structure; count the number of node connections based on the power grid topology structure to obtain multiple connectivity degrees of the multiple power grid nodes; perform fault simulation on the multiple power grid nodes based on the power grid topology structure to obtain multiple node failure degrees; introduce a criticality function to evaluate the multiple power loads, multiple historical fault frequencies, multiple connectivity degrees and multiple node failure degrees to obtain multiple node criticalities; preset a criticality threshold, and use the criticality threshold to traverse the multiple node criticalities to locate the K power metering nodes.
[0026] By interacting with the power grid, detailed information of multiple power grid nodes in the power grid topology is obtained, including power load, historical fault frequency, etc.; based on the power grid topology, the number of connections of each power grid node is counted, that is, the number of other nodes directly connected to each node is calculated to obtain the connectivity of multiple power grid nodes, which reflects the importance and influence of the node in the power grid; using power grid simulation software or algorithms, fault simulation is performed on multiple power grid nodes in the power grid topology, the operating status and performance changes of the power grid when different nodes fail are simulated, and the impact of the failure of each node on the overall stability of the power grid is evaluated, thereby obtaining the failure degree of multiple nodes. The higher the failure degree, the greater the impact of the node failure on the power grid; a criticality function is introduced, which comprehensively considers multiple factors such as power load, historical fault frequency, connectivity and node failure degree. By assigning different weights to these factors and combining them into a comprehensive indicator (i.e., node criticality), the importance of each power grid node is evaluated, and the criticality values of multiple power grid nodes are calculated, which reflect the comprehensive importance of the nodes in the power grid; according to the actual situation and needs of the power grid, a criticality threshold is preset, which is used to distinguish important nodes from non-important nodes, and the criticality values of all nodes are traversed. Nodes with a criticality greater than or equal to the threshold are regarded as important nodes, and from these important nodes, K nodes are selected as power metering nodes according to actual needs (such as the convenience of data acquisition, the installability of equipment, etc.).
[0027] Specifically, the criticality function is as follows:
[0028] Among them, L is the power load, F is the historical fault frequency, C is the connectivity, N is the node failure degree, and I is the node criticality.
[0029] The criticality function is an expression that combines the power load L, the historical fault frequency F, the connectivity C, and the node failure degree N, and is used to calculate the criticality I of each node in the power grid. Among them, the power load L reflects the power demand carried by the node; the historical fault frequency F refers to the number of times the node has failed in the past; the connectivity C represents the connection status of the node in the power grid, that is, the number of direct connections between the node and other nodes; the node failure degree N represents the degree of impact on the overall performance of the power grid when the node fails. The larger the N value, the more serious the impact of the node failure on the power grid.
[0030] A standard fault identification model is pre-built, and the standard fault identification model is synchronized to the K power metering nodes.
[0031] By collecting historical fault data and training machine learning models, a standard fault identification model is constructed. The standard fault identification model can accurately distinguish between normal and fault states, and identify the fault type and location as specifically as possible; the standard fault identification model is synchronized to K power metering nodes to achieve real-time monitoring of the power grid operation status and rapid fault identification.
[0032] Furthermore, the method further comprises:
[0033] Aggregating the K groups of power metering devices to obtain M types of power metering devices; constructing M power fault identification branches based on the M types of power metering devices; and connecting the M power fault identification branches in parallel to obtain the standard fault identification model.
[0034] Preferably, the power metering devices in the power grid are divided into M types, each of which contains the same or similar types of devices (for example, one is a smart meter, the other is a temperature sensor, etc.), and each device is responsible for collecting its corresponding power parameters and environmental parameters; for each type of power metering device, based on the data collected by it, a machine learning model is used to build a special fault identification branch for analyzing a specific type of data and identifying potential fault modes; all M power fault identification branches are connected in parallel to form a standard fault identification model.
[0035] A standardized data structure is pre-constructed, and the K power grid operation data are pre-processed by using the standardized data structure to obtain K standard operation data.
[0036] Pre-build a standardized data structure, including defining a series of standard fields (such as timestamp, voltage, current, power, device ID, etc.), as well as the data type and format of each field; pre-process K power grid operation data according to the standardized data structure, that is, map the data to the fields of the standardized data structure, and perform necessary format conversion and unit unification. After pre-processing, K standard operation data are obtained.
[0037] The K power metering nodes are provided with the K standard operation data to perform local training of the standard fault identification model to obtain K node fault identification models.
[0038] K standard operating data are used on K power metering nodes to perform local training of the standard fault identification model. That is to say, the standard operating data on each node is used as the training set to perform local training on the standard fault identification model distributed to the node. During the training process, the model will gradually adjust its parameters according to the data on the node to better identify possible faults on the node. After local training, each power metering node will obtain a fault identification model optimized for its specific environment and conditions.
[0039] K node model parameter sets are obtained based on the K node fault identification model extraction.
[0040] Model parameters are extracted from each node fault identification model to form K node model parameter sets.
[0041] Pre-built federated learning framework.
[0042] Pre-build a federated learning architecture for securely and efficiently aggregating model parameters from different nodes.
[0043] Furthermore, the federated learning architecture is pre-built, including:
[0044] Pre-build a federated learning module and synchronize the standard fault identification model to the federated learning module; call the power data private chain and build a two-way communication link between the power data private chain and the federated learning module; pre-build a data processing module and build a two-way communication link between the data processing module and the federated learning module, build a unidirectional communication link between the data processing module and the power data private chain, and complete the construction of the federated learning architecture.
[0045] Preferably, a federated learning framework suitable for the characteristics and privacy requirements of power data is selected, such as TensorFlowFederated (TFF), PySyft, etc., and a federated learning server is deployed in a central location (such as a data center or cloud environment). The server will be responsible for coordinating the model training and updating between the nodes, uploading the pre-trained standard fault identification model to the federated learning server, and preparing to distribute it to each power metering node; select a suitable blockchain platform according to the needs, such as Ethereum, HyperledgerFabric, etc., to build a private chain for power data, deploy private chain nodes at key locations of the power network to ensure the trusted storage and transmission of data, and establish a two-way communication link between the federated learning module and the private chain for power data, so that the federated learning module can obtain necessary data summaries or metadata from the private chain, and can also store the trained model or model update securely on the private chain; establish a two-way communication link between the data processing module and the federated learning module, so that the data processing module sends the processed data to the federated learning module for model training, and can also receive the model update or evaluation results returned by the federated learning module; establish a unidirectional communication link between the data processing module and the private chain for power data. Through the above steps, a federated learning architecture can be built that can not only protect the privacy of power data but also realize model collaborative training and optimization, so as to improve the safety and efficiency of power grid operation.
[0046] The K node model parameter sets are analyzed via the federated learning architecture to generate a global fault identification model.
[0047] The federated learning architecture is used to analyze the model parameter sets of K nodes, and a global fault identification model is generated using parameter aggregation algorithms (such as weighted average, safety aggregation protocol, etc.). This global model integrates the knowledge and experience from all nodes.
[0048] Furthermore, the method further comprises: analyzing the K node model parameter sets via the federated learning architecture to generate a global fault identification model;
[0049] The K node model parameter sets are synchronized to the power data private chain; the data processing module receives and processes the K node model parameter sets uploaded by the power data private chain to obtain K trusted model parameter sets; the federated learning module receives and processes the K trusted model parameter sets sent by the data processing module, and adjusts the model parameters of the standard fault identification model based on the processing results to obtain a global fault identification model; the K power metering nodes receive the global fault identification model issued by the federated learning module through the power data private chain; during the operation of the K power metering nodes, the global fault identification model is used to dynamically identify faults of the power metering equipment.
[0050] After completing local training, each power metering node encrypts its model parameter set and uploads it to the power data private chain. The distributed ledger characteristics of the private chain ensure the security and immutability of the data. During the upload process, smart contracts can be used to manage the storage and access rights of the data to ensure that only authorized users can access the data. The data processing module monitors the data changes on the power data private chain. Once a new node model parameter set is uploaded, it automatically downloads and verifies it. The verification process may include checking the integrity and consistency of the data and whether it complies with the predetermined data format and standard. After verification, the data processing module performs necessary cleaning, conversion or standardization on the model parameter set to obtain K trusted model parameter sets. The federated learning module receives K trusted model parameter sets from the data processing module and prepares to adjust and update the global model; uses a federated learning algorithm (such as a federated average algorithm) to aggregate the received model parameter sets to extract the common features of each node model; based on the aggregated parameters, the standard fault recognition model is adjusted to optimize its performance. After multiple iterations, a global fault recognition model with better performance is obtained. The federated learning module encrypts the trained global fault identification model and uploads it to the private power data chain. The power metering node automatically downloads and updates its local model to the latest global fault identification model by monitoring the data changes on the private chain. Each power metering node collects the operating data of the power metering equipment in real time during its daily operation; it uses the updated global fault identification model to process and analyze the collected data to dynamically identify and predict the fault conditions of the power metering equipment. Once a potential fault is detected, the node will immediately issue an alarm or trigger the corresponding emergency response mechanism to ensure the safe and stable operation of the power grid.
[0051] During the operation of the K power metering nodes, dynamic fault identification of the power metering equipment is performed through the global fault identification model.
[0052] In the actual operation process of K power metering nodes, the generated global fault identification model is used to dynamically identify faults of power metering equipment, so as to detect the operating status of the equipment in real time and accurately, and timely discover and warn potential faults.
[0053] In summary, the embodiments of the present application have at least the following technical effects:
[0054] First, interactively obtain K power grid operation data of K power metering nodes in the target area. At the same time, pre-construct a standard fault identification model, and synchronize the standard fault identification model to the K power metering nodes. Next, pre-construct a standardized data structure, and pre-process the K power grid operation data through the standardized data structure to obtain K standard operation data. Then, local training of the standard fault identification model is performed on the K power metering nodes using K standard operation data to obtain K node fault identification models; and K node model parameter sets are extracted based on the K node fault identification models. Further, a federated learning architecture is pre-constructed; the K node model parameter sets are analyzed through the federated learning architecture to generate a global fault identification model. Finally, during the operation of the K power metering nodes, the global fault identification model is used to dynamically identify the faults of the power metering equipment. The technical problem of low efficiency of power grid fault identification in the prior art is solved. By combining blockchain and federated learning technology, a fault identification model is constructed to dynamically identify faults, thereby achieving the technical effect of improving the efficiency of power grid fault identification.
[0055] Embodiment 2 is based on the same inventive concept as the power grid emergency processing method combining blockchain and federated learning in the previous embodiment. Figure 2 As shown, the present application provides a power grid emergency processing system combining blockchain and federated learning, wherein the system includes:
[0056] A data acquisition module 11, the data acquisition module 11 is used to interactively obtain K power grid operation data of K power metering nodes in the target area; a model construction module 12, the model construction module 12 is used to pre-construct a standard fault identification model and synchronize the standard fault identification model to the K power metering nodes; a data processing module 13, the data processing module 13 is used to pre-construct a standardized data structure, and pre-process the K power grid operation data through the standardized data structure to obtain K standard operation data; a training module 14, the training module 14 is used to perform the K standard operation data at the K power metering nodes The method comprises the following steps: performing local training of the standard fault identification model to obtain K node fault identification models; a parameter extraction module 15, wherein the parameter extraction module 15 is used to extract K node model parameter sets based on the K node fault identification models; an architecture building module 16, wherein the architecture building module 16 is used to pre-build a federated learning architecture; an analysis module 17, wherein the analysis module 17 is used to analyze the K node model parameter sets via the federated learning architecture to generate a global fault identification model; and an identification module 18, wherein the identification module 18 is used to perform dynamic fault identification of the power metering equipment through the global fault identification model during the operation of the K power metering nodes.
[0057] Furthermore, the data acquisition module 11 is used to execute the following method:
[0058] Interactively obtain the power grid topology of the target area; locate key nodes based on the power grid topology to obtain the K power metering nodes; configure power metering devices and data acquisition devices for the K power metering nodes to obtain K groups of power metering devices and K data acquisition devices; preset a data accumulation window, and use the data accumulation window as a constraint to periodically interact with the K data acquisition devices to extract data to obtain the K power grid operation data.
[0059] Furthermore, the data acquisition module 11 is used to execute the following method:
[0060] Interactively obtain multiple power loads and multiple historical fault frequencies of multiple power grid nodes in the power grid topology structure; count the number of node connections based on the power grid topology structure to obtain multiple connectivity degrees of the multiple power grid nodes; perform fault simulation on the multiple power grid nodes based on the power grid topology structure to obtain multiple node failure degrees; introduce a criticality function to evaluate the multiple power loads, multiple historical fault frequencies, multiple connectivity degrees and multiple node failure degrees to obtain multiple node criticalities; preset a criticality threshold, and use the criticality threshold to traverse the multiple node criticalities to locate the K power metering nodes.
[0061] Furthermore, the data acquisition module 11 is used to execute the following method:
[0062] The criticality function is as follows:
[0063] Among them, L is the power load, F is the historical fault frequency, C is the connectivity, N is the node failure degree, and I is the node criticality.
[0064] Furthermore, the architecture building module 16 is used to execute the following method:
[0065] Pre-build a federated learning module and synchronize the standard fault identification model to the federated learning module; call the power data private chain and build a two-way communication link between the power data private chain and the federated learning module; pre-build a data processing module and build a two-way communication link between the data processing module and the federated learning module, build a unidirectional communication link between the data processing module and the power data private chain, and complete the construction of the federated learning architecture.
[0066] Furthermore, the analysis module 17 is used to perform the following method:
[0067] The K node model parameter sets are synchronized to the power data private chain; the data processing module receives and processes the K node model parameter sets uploaded by the power data private chain to obtain K trusted model parameter sets; the federated learning module receives and processes the K trusted model parameter sets sent by the data processing module, and adjusts the model parameters of the standard fault identification model based on the processing results to obtain a global fault identification model; the K power metering nodes receive the global fault identification model issued by the federated learning module through the power data private chain; during the operation of the K power metering nodes, the global fault identification model is used to dynamically identify faults of the power metering equipment.
[0068] Furthermore, the model building module 12 is used to execute the following method:
[0069] Aggregating the K groups of power metering devices to obtain M types of power metering devices; constructing M power fault identification branches based on the M types of power metering devices; and connecting the M power fault identification branches in parallel to obtain the standard fault identification model.
[0070] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0071] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
[0072] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. A power grid emergency response method combining blockchain and federated learning, characterized in that: The method comprises: Interactively obtain K power grid operation data of K power metering nodes in the target area; Pre-building a standard fault identification model, and synchronizing the standard fault identification model to the K power metering nodes; Pre-constructing a standardized data structure, and pre-processing the K power grid operation data through the standardized data structure to obtain K standard operation data; Performing local training of the standard fault identification model at the K power metering nodes using the K standard operation data to obtain K node fault identification models; Extract and obtain K node model parameter sets based on the K node fault identification models; Pre-built federated learning architecture; Analyzing the K node model parameter sets via the federated learning architecture to generate a global fault identification model; During the operation of the K power metering nodes, dynamic fault identification of the power metering equipment is performed through the global fault identification model.
2. The power grid emergency handling method combining blockchain and federated learning as claimed in claim 1, characterized in that: Interactively obtaining K power grid operation data of K power metering nodes in the target area, the method further comprising: Interactively obtain the power grid topology of the target area; Position key nodes based on the power grid topology to obtain the K power metering nodes; Performing power metering equipment and data acquisition equipment configuration on the K power metering nodes to obtain K groups of power metering equipment and K data acquisition equipment; A data accumulation window is preset, and with the data accumulation window as a constraint, the K data acquisition devices are periodically interacted to extract data to obtain the K power grid operation data.
3. The power grid emergency handling method combining blockchain and federated learning as claimed in claim 2, characterized in that: Based on the power grid topology, key nodes are located to obtain the K power metering nodes. The method further includes: Interactively obtaining multiple power loads and multiple historical fault frequencies of multiple power grid nodes in the power grid topology structure; Counting the number of node connections based on the power grid topology structure to obtain multiple connection degrees of the multiple power grid nodes; Performing fault simulation on the plurality of grid nodes based on the grid topology structure to obtain a plurality of node failure degrees; Introducing a criticality function to evaluate the multiple power loads, multiple historical fault frequencies, multiple connectivity degrees, and multiple node failure degrees to obtain multiple node criticalities; A criticality threshold is preset, and the criticality threshold is used to traverse the criticalities of the multiple nodes to locate the K power metering nodes.
4. The power grid emergency handling method combining blockchain and federated learning as claimed in claim 3, characterized in that: The criticality function is as follows: Among them, L is the power load, F is the historical fault frequency, C is the connectivity, N is the node failure degree, and I is the node criticality.
5. The power grid emergency handling method combining blockchain and federated learning as claimed in claim 1, characterized in that: Pre-building a federated learning architecture, the method further comprising: Pre-building a federated learning module, and synchronizing the standard fault identification model to the federated learning module; Calling the electric power data private chain and building a two-way communication link between the electric power data private chain and the federated learning module; A data processing module is pre-built, and a bidirectional communication link between the data processing module and the federated learning module is constructed, and a unidirectional communication link between the data processing module and the power data private chain is constructed to complete the construction of the federated learning architecture.
6. The power grid emergency handling method combining blockchain and federated learning as claimed in claim 5, characterized in that: Analyzing the K node model parameter sets via the federated learning architecture to generate a global fault identification model, the method further comprising: Synchronizing the K node model parameter sets to the power data private chain; The data processing module receives and processes the K node model parameter sets uploaded by the power data private chain to obtain K trusted model parameter sets; The federated learning module receives and processes the K trusted model parameter sets sent by the data processing module, and adjusts the model parameters of the standard fault identification model based on the processing results to obtain a global fault identification model; The K power metering nodes receive the global fault identification model issued by the federated learning module through the power data private link; During the operation of the K power metering nodes, dynamic fault identification of the power metering equipment is performed through the global fault identification model.
7. The power grid emergency handling method combining blockchain and federated learning as claimed in claim 2, characterized in that: The method further comprises: Aggregating the K groups of power metering devices to obtain M types of power metering devices; Based on the M types of power metering equipment, M power fault identification branches are obtained; The M power fault identification branches are connected in parallel to obtain the standard fault identification model.
8. The power grid emergency response system combining blockchain and federated learning is characterized by: The system for implementing the power grid emergency handling method combining blockchain and federated learning as described in any one of claims 1 to 7 comprises: A data acquisition module, wherein the data acquisition module is used to interactively obtain K power grid operation data of K power metering nodes in the target area; A model building module, the model building module is used to pre-build a standard fault identification model and synchronize the standard fault identification model to the K power metering nodes; A data processing module, the data processing module is used to pre-build a standardized data structure, and pre-process the K power grid operation data through the standardized data structure to obtain K standard operation data; A training module, the training module is used to perform local training of the standard fault identification model at the K power metering nodes using the K standard operation data to obtain K node fault identification models; A parameter extraction module, the parameter extraction module is used to extract and obtain K node model parameter sets based on the K node fault identification models; An architecture building module, wherein the architecture building module is used to pre-build a federated learning architecture; An analysis module, the analysis module being used to analyze the K node model parameter sets via the federated learning architecture to generate a global fault identification model; An identification module is used to dynamically identify faults of power metering equipment through the global fault identification model during the operation of the K power metering nodes.
Citation Information
Patent Citations
Method used for mining vulnerable node and circuit in power network
CN105893740A
Grid structure vulnerability node identification method
CN107093152A
Federal learning-based power grid net load prediction method and device in micro-grid scene
CN117748471A
Blockchain-based federated learning device, method and system
WO2023245640A1
