Search

CN-121980601-A - Verification method and device for transformer substation configuration description file, electronic equipment and storage medium

CN121980601ACN 121980601 ACN121980601 ACN 121980601ACN-121980601-A

Abstract

The application relates to the technical field of electric power information safety, in particular to a verification method, a device, electronic equipment and a computer readable storage medium of a transformer substation configuration description file, which comprise the steps of receiving the transformer substation configuration description file to be verified, which is uploaded by a user; analyzing the configuration description file of the transformer substation, extracting configuration information, extracting features of the analyzed configuration information to obtain structural feature data, carrying out entity identification and relation extraction on the structural feature data to obtain entities related to virtual terminal loops and relation data between the entities, constructing a knowledge graph based on the entities and the relation data between the entities, automatically verifying the integrity and the configuration consistency of the virtual terminal loops of the configuration description file of the transformer substation by combining with a preset verification rule to obtain a verification result, and outputting the verification result in a visual form. Therefore, the management efficiency of the configuration file and the correctness of the verification configuration file can be effectively improved, the safety of the power system is enhanced, and the risk of manual operation is reduced.

Inventors

  • YU WEIGUO
  • WEI ZHENFENG
  • Chai Baozheng
  • GUO HUI
  • FENG JUN
  • HE XIAOYU
  • JIANG HAN
  • XIE SHICHUN
  • LI JIN
  • JIANG NENGREN
  • CAO ZHAOYANG
  • YUAN XIAOPING
  • YANG JIA
  • MENG WEI
  • ZHANG XIN

Assignees

  • 长园深瑞继保自动化有限公司

Dates

Publication Date
20260505
Application Date
20251219

Claims (10)

  1. 1. A method for verifying a substation configuration description file, comprising: receiving a transformer substation configuration description file to be verified, which is uploaded by a user, and triggering a verification process; Analyzing the transformer substation configuration description file and extracting configuration information; Extracting the characteristics of the analyzed configuration information to obtain structural characteristic data; performing entity identification and relation extraction on the structural feature data to obtain entities related to virtual terminal loops and relation data among the entities; Based on the entity and the relation data between the entities, constructing a knowledge graph, and automatically verifying the integrity and the configuration consistency of the virtual terminal loop of the transformer substation configuration description file by combining with a preset verification rule to obtain a verification result; and outputting the verification result in a visual form.
  2. 2. The method of claim 1, wherein parsing the substation configuration description file to extract configuration information comprises: And analyzing the substation configuration description file in a document object model DOM4J analysis mode, wherein the extracted configuration information comprises intelligent electronic equipment information, logic node information and input information.
  3. 3. The method according to claim 1, wherein the feature extracting the parsed configuration information to obtain structured feature data includes: Starting a Power-Roberts model through an open source Power information security technology ApacheOpenNLP tool class; feature extraction is carried out on the configuration information after analysis based on the Power-Roberts model to obtain structured feature data, The structured feature data comprises a source intelligent electronic device IED name, a logic device LD name, a logic node LN name, a data object name, a substation event GOOSE control block facing a general object, a reference name of a sampling value SV control block and configuration parameters.
  4. 4. The method of claim 1, wherein performing entity identification and relationship extraction on the structured feature data to obtain entity and relationship data between entities related to a virtual sub-loop comprises: Adopting a named entity recognition NER model to perform entity recognition on the structural feature data so as to define elements in the transformer substation configuration description file as entities; Adopting a relation extraction RE model to extract the relation of the structural characteristic data to obtain the relation among entities in the virtual terminal loop, The relationship among the entities comprises sending a general object-oriented substation event signal, receiving a general object-oriented substation event signal, a attribution relationship and a containing relationship.
  5. 5. The method of claim 1, wherein the preset validation rules include at least two of: If the GOOSE sending signal with the tripping type exists, the corresponding relation edge of the received GOOSE signal needs to exist in the knowledge graph and point to a legal target IED; The application identifier and the configuration version attribute of the GOOSE control block at the two ends of the virtual terminal connection are consistent.
  6. 6. The method of claim 1, wherein outputting the validation result in a visual form comprises: drawing a total station secondary circuit diagram by taking intelligent electronic equipment as a node and virtual terminal connection as an edge; And highlighting the nodes and edges with abnormal verification by adopting a preset highlighting color, and providing a hover prompt of the abnormal detail information.
  7. 7. The method of claim 1, wherein the receiving the substation configuration description file to be verified uploaded by the user comprises: And receiving a substation configuration description file uploaded by a user through a front-end page of a login intelligent substation configuration file management and control system, wherein the substation configuration description file comprises a single substation configuration description file or a substation configuration description file compression package.
  8. 8. A device for verifying a substation configuration description file, comprising: The receiving module is used for receiving the configuration description file of the transformer substation to be verified, which is uploaded by the user, and triggering the verification process; the analysis module is used for analyzing the transformer substation configuration description file and extracting configuration information; The first extraction module is used for extracting the characteristics of the analyzed configuration information to obtain structural characteristic data; the second extraction module is used for carrying out entity identification and relation extraction on the structural feature data to obtain entities related to the virtual terminal loop and relation data among the entities; The construction module is used for constructing a knowledge graph based on the entity and the relation data among the entities, and automatically verifying the integrity and the configuration consistency of the virtual terminal loop of the transformer substation configuration description file by combining with a preset verification rule to obtain a verification result; And the output module is used for outputting the verification result in a visual form.
  9. 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 7 when the computer program is executed.
  10. 10. A computer readable storage medium for storing a computer program, the computer program being loaded by a processor to perform the steps of the method of any one of claims 1 to 7.

Description

Verification method and device for transformer substation configuration description file, electronic equipment and storage medium Technical Field The present application relates to the field of power information security technologies, and in particular, to a method and an apparatus for verifying a substation configuration description file, an electronic device, and a computer readable storage medium. Background In the whole flow of design, debugging and operation and maintenance of an intelligent substation, virtual terminal loop integrity verification of a Substation Configuration Description (SCD) file is a key link for guaranteeing safe operation of a power grid. The current mainstream verification method mainly relies on manual examination or fixed inspection rules defined based on XMLschema, and has obvious defects, and the problem is that the existing verification method cannot consider verification efficiency, result accuracy and semantic understanding capability of power business, and is difficult to meet engineering standardization and flow management requirements. The SCD file is in an XML format, has the characteristics of huge content and complex structure, can reach millions of lines, is very low in efficiency, becomes a bottleneck of engineering implementation, is easy to generate fatigue misjudgment due to high-strength repeated work, is particularly difficult to find out hidden errors of complex logic loops crossing devices and intervals, is a major hidden danger for safe burying of a power grid, can only realize basic verification of grammar layers based on an XMLschema inspection rule, lacks understanding capability of service logic and semantic relation of a power system behind configuration information, cannot accurately judge rationality of virtual loop connection, and is difficult to ensure quality uniformity of acceptance links due to uneven verification quality, and effective support cannot be provided for safe and reliable operation of the intelligent substation. Disclosure of Invention The application provides a verification method and device for a transformer substation configuration description file, electronic equipment and a computer readable storage medium, which can effectively improve the management efficiency of the configuration file and the correctness of the verification configuration file, enhance the safety of an electric power system and realize the safe and reliable operation of an intelligent transformer substation. In order to achieve the above purpose, the application adopts the following technical scheme: in a first aspect, a method for verifying a substation configuration description file is provided, including: receiving a transformer substation configuration description file to be verified, which is uploaded by a user, and triggering a verification process; Analyzing the transformer substation configuration description file and extracting configuration information; Extracting the characteristics of the analyzed configuration information to obtain structural characteristic data; performing entity identification and relation extraction on the structural feature data to obtain entities related to virtual terminal loops and relation data among the entities; Based on the entity and the relation data between the entities, constructing a knowledge graph, and automatically verifying the integrity and the configuration consistency of the virtual terminal loop of the transformer substation configuration description file by combining with a preset verification rule to obtain a verification result; and outputting the verification result in a visual form. In a second aspect, a verification device for a substation configuration description file is provided, including: The receiving module is used for receiving the configuration description file of the transformer substation to be verified, which is uploaded by the user, and triggering the verification process; the analysis module is used for analyzing the transformer substation configuration description file and extracting configuration information; The first extraction module is used for extracting the characteristics of the analyzed configuration information to obtain structural characteristic data; the second extraction module is used for carrying out entity identification and relation extraction on the structural feature data to obtain entities related to the virtual terminal loop and relation data among the entities; The construction module is used for constructing a knowledge graph based on the entity and the relation data among the entities, and automatically verifying the integrity and the configuration consistency of the virtual terminal loop of the transformer substation configuration description file by combining with a preset verification rule to obtain a verification result; And the output module is used for outputting the verification result in a visual form. In a third aspect, an embodiment of the present app