Unified model data extraction method and device, equipment and storage medium

By adopting a hierarchical and domain-based data extraction method in the field of power system automation, using XML language to build a filter template file and filter the data in the unified model, the problem of difference between each system when extracting model data is solved, and the uniqueness of the data source and efficient utilization of resources are achieved.

CN119718298APending Publication Date: 2025-03-28NR ELECTRIC CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311250147.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When using unified models in the field of power system automation, due to the different construction period and business priorities, the methods and technologies for extracting and applying the required model data from the unified model are different and not common, resulting in data sources being inunique, resource waste and duplicate construction.

Method used

Using a hierarchical and domain-based extraction method, the hierarchical and domain-based filtering template files are constructed, and the data in the unified model is filtered using standard XML language to obtain the model data required for the application.

Benefits of technology

It is realized that various systems in the field of power system automation can extract their respective model data from the unified model in a universal and efficient manner, so as to achieve unique source of power grid data, avoid repeated investment, and reduce human resource waste and error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718298A_ABST
    Figure CN119718298A_ABST
Patent Text Reader

Abstract

The invention discloses a data extraction method and device for a unified model, equipment and a storage medium, and the method comprises the steps: obtaining data in each unified module in the unified model, and filtering the obtained data according to a preset hierarchical extraction condition to obtain first target data; and filtering the first target data according to a preset sub-domain extraction condition to obtain second target data. According to the technical scheme, the application of each system in the field of power system automation can be universally and efficiently extracted from the unified model, the purposes that the source of the power grid data is unique and repeated investment is avoided are achieved, and a technical basis is provided for intelligentization and deepening of the power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of electric power industry automation, and in particular relates to a unified model data extraction method, device, equipment and storage medium. Background Art

[0002] The power industry includes multiple professional field systems such as management, infrastructure, production, operation and maintenance, relay protection, and automation. With the advancement of intelligent power grid construction, primary and secondary equipment in the power grid and substation area have been described using a unified model. When using the unified model, the dispatching, centralized control, substation, and PMS3.0 systems in the automation field are built at different times and have different business focuses. Therefore, the methods and technologies for extracting the model data required for the application from the unified model are different and incompatible, which also leads to non-unique data sources for applications, waste of resources, and duplicate construction.

[0003] Therefore, a technical method for extracting unified model data in layers and domains is needed, so that the applications of various systems in the field of power system automation can universally and efficiently extract the required model data from the unified model, so as to achieve the purpose of single source of power grid data and avoid repeated investment, and provide a technical foundation for the in-depth intelligence of the power system. This case was thus generated. Summary of the invention

[0004] The purpose of the present invention is to provide a unified model data extraction method, device, equipment and storage medium, which can solve the problem that the application of various systems in the field of power system automation can universally and efficiently extract the model data they need from the unified model, achieve the purpose of unique power grid data source and avoid repeated investment, and provide a technical basis for the in-depth intelligence of the power system.

[0005] In order to achieve the above object, the solution of the present invention is:

[0006] A data extraction method of a unified model comprises the following steps:

[0007] Step 1, obtaining data in each unified module in the unified model, and filtering the obtained data according to a preset hierarchical extraction condition to obtain first target data;

[0008] Step 2: Filter the first target data according to a preset domain extraction condition to obtain second target data.

[0009] In the above step 1, obtaining data in each unified module in the unified model includes: obtaining model data required for power system application in each unified module in the unified model;

[0010] The acquired data is filtered according to a preset hierarchical extraction condition, including: filtering out hierarchical device model data required for an application from the acquired data according to the hierarchical extraction condition to obtain first target data.

[0011] In the above step 1, the acquired data is filtered according to preset hierarchical extraction conditions, including: constructing a hierarchical filtering template file, setting hierarchical extraction conditions in the hierarchical filtering template file, and using the hierarchical filtering template file to filter the acquired data to obtain the first target data.

[0012] The above-mentioned hierarchical filtering template file is constructed using standard XML language as the syntax format of the filtering template file.

[0013] In the above step 2, the first target data is filtered according to the preset domain extraction condition, including: filtering out the unified model data required for the final power system application from the first target data according to the domain extraction condition to obtain the second target data.

[0014] In the above step 2, the first target data is filtered according to the preset domain extraction conditions, including: constructing a domain filtering template file, setting the domain extraction conditions in the domain filtering template file, and using the domain filtering template file to filter the first target data to obtain the second target data.

[0015] The above domain-based filtering template file is constructed using standard XML language as the syntax format of the filtering template file.

[0016] In the above step 1, the unified model includes a plurality of unified modules, each of which is used to correspond to and describe each primary and secondary equipment in the power grid and substation area in the power system.

[0017] A unified model data extraction device, comprising:

[0018] A data acquisition module, used to acquire data from each unified module in the unified model;

[0019] a hierarchical filtering module, configured to filter the data acquired by the data acquisition module according to a preset hierarchical condition to obtain first target data; and

[0020] The domain filtering module is used to filter the first target data according to a preset domain condition to obtain second target data.

[0021] A unified model data extraction device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the computer program, the steps of the unified model data extraction method described above are implemented.

[0022] A computer-readable storage medium stores a computer program; when the computer program is executed by a processor, the steps of the unified model data extraction method as described above are implemented.

[0023] After adopting the above scheme, the beneficial effects of the present invention are:

[0024] (1) In the field of power industry automation, various systems with different characteristics, such as dispatching, centralized control, substation, PMS3.0, etc., can use a universal unified model extraction method to obtain the model data required for the application, thereby effectively solving the model difference problem caused by system differences;

[0025] (2) When dispatching, centralized control, substation, PMS3.0 and other systems in the field of power industry automation are connected to a new substation, the filtering template file can be reused to obtain the unified model data required by the application, avoiding the need to manually select model data each time a substation is connected, effectively solving the problem of waste of human resources, and also solving the high error rate caused by excessive manual intervention in the extraction process and the problem that the extraction method cannot be reused, thereby improving the efficiency of advanced application configuration;

[0026] (3) The technical solution provided by the present invention is applicable to various systems in the field of automation in the power industry. There is no need to establish a unified model extraction application for each system, which effectively reduces investment costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic diagram of the content of the filtering template file including the layered and domain-based extraction conditions of the present invention;

[0028] Figure 2 It is a schematic diagram of the unified model extraction process of the present invention. DETAILED DESCRIPTION

[0029] The technical solutions and beneficial effects of the present invention will be described in detail below with reference to the accompanying drawings.

[0030] The present invention provides a data extraction method of a unified model, wherein the unified model comprises a plurality of unified modules, each of which is used to correspond to and describe each primary and secondary device in a power grid and a substation area in a power system; Figure 2 As shown, the data extraction method comprises the following steps:

[0031] Step 1, obtaining data in each unified module in the unified model, and filtering the obtained data according to a preset hierarchical condition to obtain first target data;

[0032] In the step 1, the model data required for the power system application in each unified module in the unified model is obtained, a hierarchical filtering template file is constructed, a hierarchical extraction condition is set in the hierarchical filtering template file, and the hierarchical device model data required for the application is filtered out from the obtained data according to the hierarchical extraction condition to obtain the first target data;

[0033] Step 2, filtering the first target data according to a preset domain condition to obtain second target data;

[0034] In the step 2, a domain filtering template file is constructed, a domain extraction condition is set in the domain filtering template file, and the unified model data required for the final power system application is filtered out from the first target data according to the domain extraction condition to obtain the second target data.

[0035] As a preferred embodiment of the present invention, the content of the filter template file constructed including the layered extraction conditions and the domain extraction conditions is as follows: Figure 1 As shown, the filtering template file can be constructed according to the following ideas:

[0036] Firstly, the standard XML language is used as the syntax format of the filter template file;

[0037] Secondly, according to the application requirements, write multiple hierarchical extraction condition expressions marked with LVL_FTR elements; write a hierarchical conditional logical combination expression marked with LVL_FTR_EXP elements;

[0038] Finally, according to application requirements, write multiple domain extraction condition expressions identified by the DMN_FTR element; write a domain condition logical combination expression identified by the DMN_FTR_EXP element.

[0039] As a preferred embodiment of the present invention, in the step 1, multiple hierarchical extraction conditional expressions marked by LVL_FTR elements are written. Specifically, the LVL_FTR element and its attributes are used as hierarchical extraction conditional expressions for extracting device models from the unified model. The element contains 7 attributes, of which the lid and ldec attributes are the name and description of the condition; the stationNam, volLeve, bbay, priEqTyp and iedTyp attributes are the conditions of the expression, which respectively represent the substation to which the device belongs, the voltage level to which the device belongs, the interval to which the device belongs, the primary device type and the secondary device type. In the filter template file, there can be multiple hierarchical extraction conditional expressions represented by LVL_FTR.

[0040] As a preferred embodiment of the present invention, in the step 1, a logical combination expression of hierarchical extraction conditions marked by the LVL_FTR_EXP element is written, specifically, the LVL_FTR_EXP element and its attributes are used to represent the logical combination method of multiple hierarchical extraction conditions. The element contains only one attribute expression, and its attribute value is a logical combination expression of multiple hierarchical extraction conditions. In the expression, "||" represents logical "or"; "&&" represents logical "and"; brackets represent priority; and each lid attribute value represents one hierarchical extraction condition.

[0041] As a preferred embodiment of the present invention, in step 2, multiple domain extraction conditional expressions marked with DMN_FTR elements are written. Specifically, the DMN_FTR element and its attributes are used as domain extraction conditional expressions for extracting unified model data from the device model. The element contains 4 attributes, of which the fid and fdec attributes are the name and description of the condition; the funcNam and subfNam attributes are the conditions of the expression, respectively indicating the functional domain to which the data belongs and the functional subdomain to which the data belongs. There can be multiple domain extraction conditional expressions represented by DMN_FTR in the filter template file.

[0042] As a preferred embodiment of the present invention, in step 2, a logical combination expression of domain extraction conditions marked by the DMN_FTR_EXP element is written, specifically, the DMN_FTR_EXP element and its attributes are used to represent the logical combination method of multiple domain extraction conditions. The element contains only one attribute expression, and its attribute value is a logical combination expression of multiple domain extraction conditions. In the expression, "||" represents logical "or"; "&&" represents logical "and"; brackets represent priority; and each fid attribute value represents one domain extraction condition.

[0043] The embodiment of the present invention further provides a unified model data extraction device, comprising:

[0044] A data acquisition module, used to acquire data from each unified module in the unified model;

[0045] a hierarchical filtering module, configured to filter the data acquired by the data acquisition module according to a preset hierarchical extraction condition to obtain first target data; and

[0046] The domain filtering module is used to filter the first target data according to a preset domain extraction condition to obtain second target data.

[0047] An embodiment of the present invention also provides another unified model data extraction device, including a processor and a memory configured to store a computer program that can be run on the processor; wherein the processor is configured to execute the method steps in the aforementioned embodiment when running the computer program.

[0048] In practical applications, the processor includes a field programmable gate array (FPGA), and the processor may be a central processing unit (CPU) or a digital signal processor (DSP). It is understandable that for different devices, the electronic device used to implement the function of the processor may be other, and the embodiment of the present invention does not specifically limit it.

[0049] The above-mentioned memory can be a volatile memory (volatile memory), such as a random access memory (RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above-mentioned types of memory, and provide instructions and data to the processor.

[0050] In an exemplary embodiment, an embodiment of the present invention further provides a computer-readable storage medium for storing a computer program.

[0051] Optionally, the computer-readable storage medium can be applied to any one of the methods in the embodiments of the present invention, and the computer program enables the computer to execute the corresponding processes implemented by the processor in each method in the embodiments of the present invention. For the sake of brevity, they are not described here.

[0052] Take the extraction of unified model data of the regional power grid from all dispatching master stations at the 220kV level in a certain area as an example: the unified model of the region contains many substations, substations contain multiple voltage levels, voltage levels contain multiple intervals, intervals contain various types of primary equipment or secondary equipment, and each device contains data belonging to different domains. The dispatching master station only needs the power grid monitoring domain data of all primary equipment with a voltage level of 220kV in all substations in the power grid. The specific process is:

[0053] a). Import the filter template file produced in step 1 of the method of the present invention into the application environment. The file has only two layer conditions (voltage level is 220kV, all primary equipment) and only one domain condition (grid monitoring domain). According to the LVL_FTR_EXP element and its attribute analysis in the file, two hierarchical filter conditions for extracting equipment are obtained, and according to the DMN_FTR_EXP element in the file, one domain filter condition for extracting equipment data is obtained.

[0054] b). Import the unified model file into the application environment and parse out the different layer attributes such as substation, voltage level, bay, equipment and domain attributes of equipment data. The order of process a and process b here is not in particular order.

[0055] c). In this application environment, the unified model parsed in b) will be filtered according to the specified voltage level and primary equipment hierarchical filtering conditions to extract the unified model that meets the requirements (various condition filtering operations are performed in no particular order). The data contained in the primary equipment in the above-mentioned extracted unified model will be extracted according to the power grid monitoring domain extraction conditions, and the data that does not meet the domain attribute requirements will be eliminated, and finally the unified model data required by the dispatching master station will be obtained.

[0056] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0057] In summary, the data extraction method, device, equipment and storage medium of a unified model of the present invention can enable different systems such as dispatching, centralized control, substation, PMS3.0 in the field of automation of the power industry to extract the model data required for their respective applications from the unified model in a universal, efficient and convenient manner, thereby achieving the purpose of intelligent workflow, standardized access interface and unique data source, saving investment costs for power system construction and reducing the error rate caused by excessive human intervention.

[0058] The above embodiments are only for illustrating the technical idea of ​​the present invention, and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the present invention.

Claims

1. A data extraction method of a unified model, characterized in that: The steps include: Step 1, obtaining data in each unified module in the unified model, and filtering the obtained data according to a preset hierarchical extraction condition to obtain first target data; Step 2: Filter the first target data according to a preset domain extraction condition to obtain second target data.

2. The data extraction method of the unified model as claimed in claim 1, characterized in that: In the step 1, obtaining data in each unified module in the unified model includes: obtaining model data required for power system application in each unified module in the unified model; The acquired data is filtered according to a preset hierarchical extraction condition, including: filtering out hierarchical device model data required for an application from the acquired data according to the hierarchical extraction condition to obtain first target data.

3. The data extraction method of the unified model as claimed in claim 1 or 2, characterized in that: In the step 1, the acquired data is filtered according to preset hierarchical extraction conditions, including: constructing a hierarchical filtering template file, setting hierarchical extraction conditions in the hierarchical filtering template file, and filtering the acquired data using the hierarchical filtering template file to obtain first target data.

4. The data extraction method of the unified model as claimed in claim 3, characterized in that: The layered filtering template file is constructed using standard XML language as the syntax format of the filtering template file.

5. The data extraction method of the unified model as claimed in claim 1, characterized in that: In the step 2, the first target data is filtered according to the preset domain extraction condition, including: filtering out the unified model data required for the final power system application from the first target data according to the domain extraction condition to obtain the second target data.

6. The unified model data extraction method according to claim 1 or 5, characterized in that: In the step 2, the first target data is filtered according to the preset domain extraction conditions, including: constructing a domain filtering template file, setting the domain extraction conditions in the domain filtering template file, and filtering the first target data using the domain filtering template file to obtain the second target data.

7. The data extraction method of the unified model as claimed in claim 6, characterized in that: The domain-specific filtering template file is constructed using standard XML language as the syntax format of the filtering template file.

8. The data extraction method of the unified model as claimed in claim 1, characterized in that: In the step 1, the unified model includes a plurality of unified modules, each of which is used to describe each primary and secondary equipment in the power grid and substation area in the power system.

9. A unified model data extraction device, characterized in that: include: A data acquisition module, used to acquire data from each unified module in the unified model; A hierarchical filtering module, used for filtering the data acquired by the data acquisition module according to a preset hierarchical extraction condition to obtain first target data; as well as, The domain filtering module is used to filter the first target data according to a preset domain extraction condition to obtain second target data.

10. A unified model data extraction device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor; characterized in that: When the processor executes the computer program, the steps of the unified model data extraction method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium storing a computer program; characterized in that: When the computer program is executed by a processor, the steps of the unified model data extraction method according to any one of claims 1 to 8 are implemented.