A virtual loop automatic generation method and device, electronic equipment and storage medium

CN122595522APending Publication Date: 2026-08-18BEIJING SIFANG JIBAO ENG TECH +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202610750500.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-28
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

具体表现为输入依赖结构化数据或人工标注、缺乏对图纸图像内容的智能感知能力、虚回路生成逻辑与一次系统实际拓扑脱节,从而无法实现真正意义上的“图纸即模型、模型即配置”,导致效率较低

Benefits of technology

[0050]As can be seen from the above technical solution, this application discloses an automatic virtual circuit generation method, apparatus, electronic device, and storage medium. This method and apparatus are applied to electronic devices to generate virtual circuits for smart substations. Specifically, it involves: performing element detection based on the main wiring diagram of the smart substation to obtain primary equipment elements and element information; constructing a primary system topology diagram based on the element information and identifying the equipment information of each primary device; matching the corresponding secondary devices from a secondary device configuration knowledge base based on the device information, and loading an ICD model file and device communication parameters for each secondary device; calling a virtual circuit generation rule engine to obtain a full-station virtual circuit table; and generating a substation configuration description file (SCD file) or a communication configuration description file (CCD file) for the smart substation based on the full-station virtual circuit table, the ICD model file, and the device communication parameters. This solution does not rely on structured data or manual annotation; it generates virtual circuits through intelligent perception of the content of drawing images, thereby achieving a true "drawing as model, model as configuration" and improving the efficiency of virtual circuit generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122595522A_ABST
    Figure CN122595522A_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, electronic device, and storage medium for automatically generating virtual circuits. The method and apparatus are applied to electronic devices to generate virtual circuits for smart substations. Specifically, it involves: performing element detection based on the main wiring diagram of the smart substation to obtain primary equipment elements and element information; constructing a primary system topology diagram based on the element information and identifying the equipment information of each primary device; matching corresponding secondary devices from a secondary device configuration knowledge base based on the device information, and loading ICD model files and device communication parameters for each secondary device; calling a virtual circuit generation rule engine to obtain a full-site virtual circuit table; and generating a substation configuration description file for the smart substation or a communication configuration description file for all secondary devices covered by the substation main wiring diagram based on the full-site virtual circuit table, ICD model file, and device communication parameters. This solution does not rely on structured data or manual annotation; it generates virtual circuits through intelligent perception of the content of drawing images, thereby achieving a true "drawing as model, model as configuration" approach and improving the efficiency of virtual circuit generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of artificial intelligence technology and relay protection technology, and more specifically, to a method, apparatus, electronic device and storage medium for automatically generating virtual circuits. Background Technology

[0002] Currently, the automatic virtual loop generation technology for smart substations mainly revolves around the IEC 61850 standard system. Its core objective is to achieve automatic configuration of process-level GOOSE (General Object-Oriented Substation Events) and SV (Sample Value) signals between intelligent electronic devices (IEDs). Existing mainstream technical solutions can be summarized into the following categories:

[0003] 1. A method based on matching standardized virtual terminal lists with signal descriptions:

[0004] Represented by Chinese patents CN201310466325.4 "An Automatic Configuration Method for Virtual Circuits in Intelligent Substations" and CN201310466254.8 "An Automatic Association Method for Virtual Terminals Based on Signal Description," this type of solution proposes: standardizing the naming of all input / output virtual terminals of all IEDs in the entire substation, adopting a two-field structure of "interval description + signal description" (e.g., "110kV line 1 interval_circuit breaker trip output"). During the SCD integration stage, virtual terminal connections are automatically established by comparing the description fields of the sending and receiving ends through string matching or regular expression comparison. However, it has the limitation of relying on manual pre-completion of virtual terminal naming standardization, and cannot automatically obtain key semantic information such as "interval description" from the original main wiring diagram, still requiring a large amount of manual intervention.

[0005] 2. A primary-secondary equipment association modeling method based on main wiring drive:

[0006] The method described in CN201811399822.6, "A Modeling Method for Secondary Systems of Intelligent Substations Based on Main Wiring Diagrams," is representative. This approach attempts to use the primary system's main wiring diagram as the modeling source: by parsing the equipment symbols and connection relationships in the main wiring diagram, a primary system topology model is constructed; secondary equipment objects are automatically generated and IED names are assigned according to preset rules (such as "each outgoing line corresponds to a set of protection and control"); and preliminary model assembly is completed by combining an ICD template library. However, its main wiring diagrams must be input in structured XML or a special format, and it does not support general CAD drawings; equipment attributes (such as voltage level and phase) still need to be manually annotated or imported externally, failing to solve the semantic extraction problem of unstructured drawings.

[0007] 3. Reuse method based on historical project templates and keyword matching:

[0008] As shown in CN201610846065.7 "A Method for Generating and Applying Virtual Circuit Configuration Templates in Intelligent Substations" and CN202411528346.9 "An Automatic Generation Method of SCD Files Based on Virtual Circuit Templates," the following methods are used: Completed virtual circuit configurations of typical projects are saved as "templates." In new projects, the most similar templates are retrieved by matching keywords such as voltage level, main wiring method, and bay type. A new SCD file is generated by migrating virtual terminal connection relationships based on the template. However, the template matching relies on manually defined keyword tags. If the new project differs structurally from historical cases (e.g., a new bus tie bay is added), the matching fails or an incorrect connection is generated. Furthermore, the template itself still needs to be created manually, failing to achieve automation "from scratch."

[0009] 4. A semi-automatic configuration method based on attribute tag extraction and rule engine:

[0010] Some recent solutions (such as CN202411271130.9) have introduced a more granular attribute management mechanism: requiring designers to manually fill in attribute labels such as "belonging bay" and "function type" for each IED in the SCD configuration tool; the system performs logical verification or auxiliary wiring based on a preset rule base (such as "the main transformer differential protection should receive SVs on the high, medium, and low voltage sides"). However, the attribute labels still need to be manually entered and are not automatically linked with the main wiring diagram; essentially, it is still a "human-driven system" rather than a "drawing-driven system".

[0011] While the aforementioned mainstream technical solutions have promoted the automation of virtual circuit configuration in different dimensions, they all share a common bottleneck: they fail to establish a seamless "perception-understanding-decision" chain from unstructured main wiring diagrams to structured virtual circuit configuration. Specifically, this manifests as reliance on structured data or manual annotations for input, a lack of intelligent perception of the content of drawings, and a disconnect between the virtual circuit generation logic and the actual topology of the primary system. Consequently, they cannot achieve a true "drawings as models, models as configuration" approach, resulting in low efficiency. Therefore, there is an urgent need for a technical solution that can directly derive compliant virtual circuits from CAD or PDF main wiring diagrams to improve the efficiency of virtual circuit generation. Summary of the Invention

[0012] In view of this, this application provides a method, apparatus, electronic device and storage medium for automatically generating virtual circuits in smart substations based on a method for artificial intelligence recognition of main wiring diagram elements, so as to improve the efficiency of virtual circuit generation.

[0013] To achieve the above objectives, the following solution is proposed:

[0014] An automatic virtual loop generation method, applied to electronic equipment, is used to generate virtual loops in a smart substation. The automatic virtual loop generation method includes the following steps:

[0015] Based on the main wiring diagram of the intelligent substation, element detection is performed to obtain multiple primary equipment elements and element information for each primary equipment element;

[0016] A primary system topology diagram is constructed based on the connection relationships between the multiple primary device elements described by the element information, and the device information of each primary device in the primary system topology diagram is identified.

[0017] Based on the equipment information of all the primary devices, the corresponding secondary devices are matched from the secondary device configuration knowledge base, and ICD model files and device communication parameters are loaded for each secondary device.

[0018] The virtual loop generation rule engine is invoked to process the primary system topology diagram and the secondary devices to obtain the whole-site virtual loop table;

[0019] The substation configuration description file (SCD file) or communication configuration description file (CCD file) of the intelligent substation is generated based on the full station virtual loop table, the ICD model file, and the device communication parameters.

[0020] Optionally, the step of performing element detection based on the main wiring diagram of the intelligent substation to obtain multiple primary equipment elements and element information for each primary equipment element includes the following steps:

[0021] In response to user input requests, the system receives the main wiring diagram, which is in PDF or CAD format.

[0022] Convert the main wiring diagram into a high-resolution bitmap;

[0023] The high-resolution bitmap is identified based on a pre-trained target detection neural network to obtain the plurality of primary equipment primitives and the primitive information.

[0024] Optionally, the step of constructing a primary system topology diagram based on the connection relationships between the plurality of primary device elements described by the element information, and identifying the device information of each primary device in the primary system topology diagram, includes the following steps:

[0025] Construct the primary system topology diagram based on the aforementioned connection relationships;

[0026] The annotation text marked on the primary equipment is identified based on image recognition technology;

[0027] The labeled text is semantically parsed using a pre-trained language model for the power industry to obtain the equipment information.

[0028] Optionally, the step of matching the corresponding secondary device from the secondary device configuration knowledge base based on the device information of all the primary devices, and loading the ICD model file and device communication parameters for each secondary device, includes the following steps:

[0029] Based on the device information of the primary device, a matching operation is performed on the secondary configuration knowledge base to obtain multiple secondary devices corresponding to the primary device;

[0030] Assign a standard name to each of the secondary devices, and load an ICD model file for each of the secondary devices;

[0031] Obtain the virtual terminal definition, control block, and communication parameters of the secondary device.

[0032] Optionally, the step of calling the virtual loop generation rule engine to process the primary system topology map and the secondary devices to obtain a global virtual loop table includes the following steps:

[0033] The virtual loop generation procedure engine is invoked to process the primary system topology diagram and the device type of the secondary equipment, and to automatically establish the virtual terminal connection relationship between the transmitting end and the receiving end.

[0034] The full-station virtual loop table is generated based on the virtual terminal connection relationship.

[0035] Optionally, the virtual circuit generation rule engine is configured with a multi-dimensional matching strategy, wherein the multi-dimensional matching strategy includes some or all of the following: the combination rules of main wiring method and interval type, the functional correspondence between primary equipment and secondary equipment, the similarity matching strategy of standardized virtual terminal description template and historical engineering virtual circuit template library.

[0036] Optionally, the step of generating the substation configuration description file (SCD file) or communication configuration description file (CCD file) of the smart substation based on the total virtual loop table, the ICD model file, and the device communication parameters includes the following steps:

[0037] The substation configuration description file (SCD file) or communication configuration description file (CCD file) is generated based on the total virtual loop table, the ICD model file, and the equipment communication parameters.

[0038] The virtual loop verification rule base is called to perform logical consistency and integrity verification on the substation configuration description file (SCD file) or communication configuration description file (CCD file). If the verification fails, the process returns to the previous step to regenerate the substation configuration file.

[0039] If the verification passes, the substation configuration description file (SCD file) or communication configuration description file (CCD file) will be output, along with a visual virtual loop connection diagram.

[0040] An automatic virtual loop generation device, applied to electronic equipment, is used to generate virtual loops in a smart substation. The automatic virtual loop generation device includes:

[0041] The graphic element recognition module is configured to perform graphic element detection based on the main wiring diagram of the intelligent substation, and obtain multiple primary equipment graphic elements and graphic element information of each primary equipment graphic element;

[0042] The parsing and construction module is configured to construct a primary system topology diagram based on the connection relationships between the multiple primary device elements described by the element information, and to identify the device information of each primary device in the primary system topology diagram;

[0043] The mapping and binding module is configured to match the corresponding secondary device from the secondary device configuration knowledge base based on the device information of all the primary devices, and load the ICD model file and device communication parameters for each secondary device;

[0044] The virtual loop rule engine module is configured to call the virtual loop generation rule engine to process the primary system topology diagram and the secondary devices to obtain a full-site virtual loop table;

[0045] The generation and verification module is configured to generate a substation configuration description file (SCD file) or a communication configuration description file (CCD file) for the smart substation based on the whole station virtual loop table, the ICD model file, and the device communication parameters.

[0046] An electronic device includes at least one processor and a memory connected to the processor, wherein:

[0047] The memory is used to store computer programs or instructions;

[0048] The processor is used to execute the computer program or instructions to enable the electronic device to implement the virtual circuit automatic generation method as described above.

[0049] A computer-readable storage medium is applied to an electronic device, the storage medium carrying one or more computer programs that can be executed by the electronic device, thereby enabling the electronic device to implement the virtual circuit automatic generation method as described above.

[0050] As can be seen from the above technical solution, this application discloses an automatic virtual circuit generation method, apparatus, electronic device, and storage medium. This method and apparatus are applied to electronic devices to generate virtual circuits for smart substations. Specifically, it involves: performing element detection based on the main wiring diagram of the smart substation to obtain primary equipment elements and element information; constructing a primary system topology diagram based on the element information and identifying the equipment information of each primary device; matching the corresponding secondary devices from a secondary device configuration knowledge base based on the device information, and loading an ICD model file and device communication parameters for each secondary device; calling a virtual circuit generation rule engine to obtain a full-station virtual circuit table; and generating a substation configuration description file (SCD file) or a communication configuration description file (CCD file) for the smart substation based on the full-station virtual circuit table, the ICD model file, and the device communication parameters. This solution does not rely on structured data or manual annotation; it generates virtual circuits through intelligent perception of the content of drawing images, thereby achieving a true "drawing as model, model as configuration" and improving the efficiency of virtual circuit generation. Attached Figure Description

[0051] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0052] Figure 1 This is a flowchart of a virtual circuit generation method according to an embodiment of this application;

[0053] Figure 2 This is a block diagram of a virtual circuit generation device according to an embodiment of this application;

[0054] Figure 3 This is a block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0056] Figure 1 This is a flowchart of an automatic virtual circuit generation method according to an embodiment of this application.

[0057] like Figure 1As shown, the virtual loop automatic generation method disclosed in this embodiment is applied to electronic equipment to automatically generate virtual loops in smart substations based on the artificial intelligence recognition method of main wiring diagram elements. This electronic equipment can be understood as a computer, server, or cloud platform with data computing and information processing capabilities. The virtual loop automatic generation method includes the following steps:

[0058] S1. Based on the main wiring diagram of the intelligent substation, perform element detection to obtain multiple primary equipment elements and element information for each primary equipment element.

[0059] Based on the main wiring diagram received from the user's input request, the system obtains the primary equipment elements and their information through element detection. Additionally, if the main wiring diagram includes secondary equipment, the secondary equipment elements and their information can also be obtained. The main wiring diagram can be in formats including, but not limited to, DWG, PDF, and PNG. The specific execution process is as follows:

[0060] First, import the main wiring diagram of the smart substation based on the user's input request;

[0061] Then, the main wiring diagram is converted into a high-resolution bitmap.

[0062] Finally, using a trained target detection neural network, including but not limited to target detection algorithms such as YOLOv8 or DETR, all primary equipment elements are identified, including but not limited to circuit breakers, disconnect switches, current / voltage transformers, transformers, and busbars.

[0063] This application uses the substation main wiring diagram in a common format (such as DWG, PDF, PNG, etc.) as the only initial input to the system, eliminating the need to rely on manually entered equipment attribute tables, bay lists, or pre-structured primary models, thus truly realizing "drawing-driven design".

[0064] S2. Construct a primary system topology diagram based on the connection relationships between multiple primary device elements described by the element information, and identify the device information of each primary device in the primary system topology diagram.

[0065] After obtaining the aforementioned element information, such as the category, location coordinates, and unique ID of each device element, a topology graph can be constructed based on the spatial connection relationships described therein. The specific process is as follows:

[0066] First, a primary system topology diagram is constructed based on the spatial connection relationships of primary equipment elements (such as wire connections, node overlap, etc.).

[0067] Then, based on text recognition technology, such as OCR technology, the text marked next to each primary equipment element (such as "110kV I bus" and "#1 main transformer high voltage side") is recognized to obtain the marked text.

[0068] Finally, a pre-trained power domain language model (such as BERT-Power) is used to perform semantic parsing on the labeled text, extracting the voltage level, interval, equipment type and phase attributes of each primary equipment primitive, and associating them with the corresponding primitive ID.

[0069] Through the above technical content, not only can isolated graphic elements be identified, but also a complete primary system topology network can be automatically constructed by analyzing the wire connection relationship, node overlap and electrical logic rules between graphic elements, and accurately restore key information such as bus structure, incoming and outgoing line relationship and main transformer winding connection.

[0070] S3. Based on the device information of all primary devices, match the corresponding secondary devices from the secondary device configuration knowledge base, and load the ICD model file and device communication parameters for each secondary device.

[0071] Based on the equipment type of the primary equipment extracted by the above methods, this application automatically matches the corresponding secondary equipment from the pre-set secondary equipment configuration knowledge base, such as 110kV line protection, main transformer differential protection, etc.

[0072] Based on this, a standard name is assigned to each secondary device, and its standardized ICD model file is loaded from the device model library to obtain its virtual terminal definition, control block, and device communication parameters. This achieves intelligent mapping where "one determines two".

[0073] S4. Call the virtual loop generation rule engine to process the primary system topology diagram and secondary devices to obtain the whole station virtual loop table.

[0074] Based on the aforementioned primary system topology and secondary equipment, a pre-trained virtual loop generation rule engine is invoked for processing to automatically establish virtual terminal connection relationships between the sending end (such as the merging unit) and the receiving end (such as the protection device).

[0075] Subsequently, a full-station virtual loop table is generated based on all virtual terminal connection relationships.

[0076] The virtual circuit generation rule engine of this application is configured with multi-dimensional matching strategies, including:

[0077] Rules for combining main wiring methods such as single busbar / double busbar with bay types;

[0078] Functional correspondence between primary and secondary equipment (e.g., CT → merging unit → protection SV input).

[0079] Standardized virtual terminal description template;

[0080] Historical engineering virtual loop template library similarity matching, that is, calculating topological similarity based on graph neural networks or vector embedding, thereby realizing the organic combination of rigid rule constraints and flexible experience transfer.

[0081] S5. Generate the substation configuration description file or communication configuration description file for the intelligent substation based on the full station virtual loop table, ICD model file, and equipment communication parameters.

[0082] Based on the above operations, the substation configuration description file (SCD file) or communication configuration description file (CCD file) of the intelligent substation conforming to the IEC 61850 standard is automatically generated according to the whole station virtual loop table, ICD model and equipment communication parameters.

[0083] After generating the description file, the virtual loop verification rule base is further invoked to perform logical consistency and integrity checks on the generated substation configuration description file (SCD file) or communication configuration description file (CCD file) to verify signal integrity, subscription redundancy, naming conventions, etc., forming a closed loop of "identification → generation → verification" to ensure that the output is compliant and usable. If the verification fails, i.e., logical consistency or integrity is lacking, the process returns to the previous step to generate the substation configuration description file (SCD file) or communication configuration description file (CCD file) again.

[0084] If the verification is successful, the substation configuration description file (SCD file) or communication configuration description file (CCD file) will be output as the final result, along with a visual virtual loop connection diagram, thus ultimately generating the virtual loop.

[0085] In addition, this solution supports automatically storing newly generated and manually verified virtual loop cases into the template library and updating the semantic parsing model and rule weights to achieve continuous learning and the accumulation of engineering experience, making it more accurate the more it is used.

[0086] As can be seen from the above technical solution, this embodiment provides an automatic virtual circuit generation method. This method is applied to electronic equipment to generate virtual circuits for smart substations. Specifically, it involves performing element detection based on the main wiring diagram of the smart substation to obtain primary equipment elements and element information; constructing a primary system topology diagram based on the element information and identifying the equipment information of each primary device; matching the corresponding secondary devices from the secondary device configuration knowledge base based on the device information, and loading ICD model files and device communication parameters for each secondary device; calling the virtual circuit generation rule engine to obtain a full-station virtual circuit table; and generating a substation configuration description file (SCD file) or communication configuration description file (CCD file) for the smart substation based on the full-station virtual circuit table, ICD model file, and device communication parameters. This solution does not rely on structured data or manual annotation. It generates virtual circuits through intelligent perception of the content of drawing images, thereby achieving a true "drawings as models, models as configurations" and improving the efficiency of virtual circuit generation.

[0087] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, blocks represented by two adjacent points may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0088] Although the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous.

[0089] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0090] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer. The computer includes, but is not limited to, secondary device devices requiring configuration of virtual terminals.

[0091] Figure 2 This is a block diagram of an automatic virtual circuit generation device according to an embodiment of this application.

[0092] like Figure 2 As shown, the virtual circuit automatic generation device disclosed in this embodiment is applied to electronic equipment to automatically generate virtual circuits for smart substations based on a method for artificial intelligence recognition of main wiring diagram elements. This electronic equipment can be understood as a secondary device, computer, server, or cloud platform with data computing and information processing capabilities that requires the configuration of virtual terminals. The virtual circuit automatic generation device includes an element recognition module 10, a parsing and construction module 20, a mapping and binding module 30, a virtual circuit rule engine module 40, and a generation and verification module 50.

[0093] The graphic element recognition module 10 is used to perform graphic element detection based on the main wiring diagram of the intelligent substation, and obtain multiple primary equipment graphic elements and graphic element information for each primary equipment graphic element.

[0094] Based on the main wiring diagram received from the user's input request, the system obtains the primary equipment elements and their information through element detection. Additionally, if the main wiring diagram includes secondary equipment, the secondary equipment elements and their information can also be obtained. The main wiring diagram can be in formats including, but not limited to, DWG, PDF, and PNG. The specific execution process is as follows:

[0095] First, import the main wiring diagram of the smart substation based on the user's input request;

[0096] Then, the main wiring diagram is converted into a high-resolution bitmap.

[0097] Finally, using a trained target detection neural network, including but not limited to target detection algorithms such as YOLOv8 or DETR, all primary equipment elements are identified, including but not limited to circuit breakers, disconnect switches, current / voltage transformers, transformers, and busbars, and the element information such as the category, location coordinates, and unique ID of each equipment element is output.

[0098] This application uses the substation main wiring diagram in a common format (such as DWG, PDF, PNG, etc.) as the only initial input to the system, eliminating the need to rely on manually entered equipment attribute tables, bay lists, or pre-structured primary models, thus truly realizing "drawing-driven design".

[0099] The parsing and construction module 20 is used to construct a primary system topology diagram based on the connection relationships between multiple primary device elements described by the element information, and to identify the device information of each primary device in the primary system topology diagram.

[0100] After obtaining the aforementioned element information, such as the category, location coordinates, and unique ID of each device element, a topology graph can be constructed based on the spatial connection relationships described therein. The specific process is as follows:

[0101] First, a primary system topology diagram is constructed based on the spatial connection relationships of primary equipment elements (such as wire connections, node overlap, etc.).

[0102] Then, based on text recognition technology, such as OCR technology, the text marked next to each primary equipment element (such as "110kV I bus" and "#1 main transformer high voltage side") is recognized to obtain the marked text.

[0103] Finally, a pre-trained power domain language model (such as BERT-Power) is used to perform semantic parsing on the labeled text, extracting the voltage level, interval, equipment type and phase attributes of each primary equipment primitive, and associating them with the corresponding primitive ID.

[0104] Through the above technical content, not only can isolated graphic elements be identified, but also a complete primary system topology network can be automatically constructed by analyzing the wire connection relationship, node overlap and electrical logic rules between graphic elements, and accurately restore key information such as bus structure, incoming and outgoing line relationship and main transformer winding connection.

[0105] The mapping and binding module 30 is used to match the corresponding secondary devices from the secondary device configuration knowledge base based on the device information of all primary devices, and to load the ICD model file and device communication parameters for each secondary device.

[0106] Based on the equipment type of the primary equipment extracted by the above methods, this application automatically matches the corresponding secondary equipment from the pre-set secondary equipment configuration knowledge base, such as 110kV line protection, main transformer differential protection, etc.

[0107] Based on this, a standard name is assigned to each secondary device, and its standardized ICD model file is loaded from the device model library to obtain its virtual terminal definition, control block, and device communication parameters. This achieves intelligent mapping where "one determines two".

[0108] The virtual loop rule engine module 40 is used to call the virtual loop generation rule engine to process the primary system topology diagram and secondary equipment to obtain the whole station virtual loop table.

[0109] Based on the aforementioned primary system topology and secondary equipment, a pre-trained virtual loop generation rule engine is invoked for processing to automatically establish virtual terminal connection relationships between the sending end (such as the merging unit) and the receiving end (such as the protection device).

[0110] Subsequently, a full-station virtual loop table is generated based on all virtual terminal connection relationships.

[0111] The virtual circuit generation rule engine of this application is configured with multi-dimensional matching strategies, including:

[0112] Rules for combining main wiring methods such as single busbar / double busbar with bay types;

[0113] Functional correspondence between primary and secondary equipment (e.g., CT → merging unit → protection SV input).

[0114] Standardized virtual terminal description template;

[0115] Historical engineering virtual loop template library similarity matching, that is, calculating topological similarity based on graph neural networks or vector embedding, thereby realizing the organic combination of rigid rule constraints and flexible experience transfer.

[0116] The generation and verification module 50 is used to generate a substation configuration description file (SCD file) or a communication configuration description file (CCD file) for the intelligent substation based on the whole station virtual loop table, ICD model file and equipment communication parameters.

[0117] Based on the above operations, the substation configuration description file (SCD file) or communication configuration description file (CCD file) of the intelligent substation conforming to the IEC 61850 standard is automatically generated according to the whole station virtual loop table, ICD model and equipment communication parameters.

[0118] After generating the description file, the virtual loop verification rule base is further invoked to perform logical consistency and integrity checks on the generated substation configuration description file. This verifies signal integrity, subscription redundancy, naming conventions, etc., forming a closed loop of "identification → generation → verification" to ensure that the output is compliant and usable. If the verification fails, i.e., logical consistency or integrity is lacking, the process returns to the previous step to generate the substation configuration description file (SCD file) or communication configuration description file (CCD file) again.

[0119] If the verification is successful, the substation configuration description file (SCD file) or communication configuration description file (CCD file) will be output as the final result, along with a visual virtual loop connection diagram, thus ultimately generating the virtual loop.

[0120] In addition, this solution supports automatically storing newly generated and manually verified virtual loop cases into the template library and updating the semantic parsing model and rule weights to achieve continuous learning and the accumulation of engineering experience, making it more accurate the more it is used.

[0121] As can be seen from the above technical solution, this embodiment provides an automatic virtual circuit generation device. This device is applied to electronic equipment to generate virtual circuits for smart substations. Specifically, it performs element detection based on the main wiring diagram of the smart substation to obtain primary equipment elements and element information; constructs a primary system topology diagram based on the element information and identifies the equipment information of each primary device; matches the corresponding secondary devices from the secondary device configuration knowledge base based on the device information, and loads ICD model files and device communication parameters for each secondary device; calls the virtual circuit generation rule engine to obtain a full-station virtual circuit table; and generates a substation configuration description file (SCD file) or communication configuration description file (CCD file) for the smart substation based on the full-station virtual circuit table, ICD model file, and device communication parameters. This solution does not rely on structured data or manual annotation. It generates virtual circuits through intelligent perception of the content of the drawing images, thereby achieving a true "drawings as models, models as configurations" and improving the efficiency of virtual circuit generation.

[0122] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".

[0123] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0124] Figure 3 This is a block diagram of an electronic device according to an embodiment of this application.

[0125] The following is for reference. Figure 3 This document illustrates a structural diagram suitable for implementing the electronic device in the embodiments of this disclosure. The terminal device in the embodiments of this disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers, as well as secondary equipment devices requiring the configuration of virtual terminals. This electronic device is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this disclosure.

[0126] The electronic device may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from an input device 306 into a random access memory (RAM) 303. The RAM also stores various programs and data required for the operation of the electronic device. The processing unit, ROM, and RAM are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0127] Typically, the following devices can be connected to the I / O interface: input devices including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 307 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 308 including, for example, magnetic tapes, hard disks, etc.; and communication devices 309. Communication device 309 allows the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various devices are shown in the figures, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0128] This application also provides an embodiment of a computer-readable storage medium.

[0129] This computer-readable storage medium is used in electronic devices and carries one or more computer programs. When these programs are executed by the electronic devices, they enable the devices to perform element detection based on the main wiring diagram of the smart substation, obtaining primary equipment elements and element information; construct a primary system topology diagram based on the element information, and identify the equipment information of each primary device; match the corresponding secondary devices from the secondary device configuration knowledge base based on the device information, and load ICD model files and device communication parameters for each secondary device; call the virtual loop generation rule engine to obtain a full-station virtual loop table; and generate a substation configuration description file (SCD file) or communication configuration description file (CCD file) for the smart substation based on the full-station virtual loop table, ICD model file, and device communication parameters. This solution does not rely on structured data or manual annotation, but generates virtual loops through intelligent perception of the content of the drawing images, thereby achieving true "drawings as models, models as configurations," and improving the efficiency of virtual loop generation.

[0130] It should be noted that the computer-readable medium described above in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.

[0131] In this disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0132] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0133] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0134] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0135] The technical solution provided by the present invention has been described in detail above. Specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of ​​the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for automatically generating virtual circuits, applied to electronic equipment, for generating virtual circuits in intelligent substations, characterized in that, The method for automatically generating virtual circuits includes the following steps: Based on the main wiring diagram of the intelligent substation, element detection is performed to obtain multiple primary equipment elements and element information for each primary equipment element; A primary system topology diagram is constructed based on the connection relationships between the multiple primary device elements described by the element information, and the device information of each primary device in the primary system topology diagram is identified. Based on the equipment information of all the primary devices, the corresponding secondary devices are matched from the secondary device configuration knowledge base, and ICD model files and device communication parameters are loaded for each secondary device. The virtual loop generation rule engine is invoked to process the primary system topology diagram and the secondary devices to obtain the whole-site virtual loop table; Based on the full station virtual loop table, the ICD model file, and the device communication parameters, generate the substation configuration description file for the intelligent substation or the communication configuration description file for all secondary devices covered by the substation main wiring diagram.

2. The method for automatically generating virtual circuits as described in claim 1, characterized in that, The step of performing element detection based on the main wiring diagram of the intelligent substation to obtain multiple primary equipment elements and element information for each primary equipment element includes the following steps: In response to user input requests, the system receives the main wiring diagram, which is in PDF or CAD format. Convert the main wiring diagram into a high-resolution bitmap; The high-resolution bitmap is identified based on a pre-trained target detection neural network to obtain the plurality of primary equipment primitives and the primitive information.

3. The method for automatically generating virtual circuits as described in claim 1, characterized in that, The process of constructing a primary system topology diagram based on the connection relationships between the multiple primary device elements described by the element information, and identifying the device information of each primary device in the primary system topology diagram, includes the following steps: Construct the primary system topology diagram based on the aforementioned connection relationships; The annotation text marked on the primary equipment is identified based on image recognition technology; The labeled text is semantically parsed using a pre-trained language model for the power industry to obtain the equipment information.

4. The method for automatically generating virtual circuits as described in claim 1, characterized in that, The step of matching the corresponding secondary device from the secondary device configuration knowledge base based on the device information of all the primary devices, and loading the ICD model file and device communication parameters for each secondary device, includes the following steps: Based on the device information of the primary device, a matching operation is performed on the secondary configuration knowledge base to obtain multiple secondary devices corresponding to the primary device; Assign a standard name to each of the secondary devices, and load an ICD model file for each of the secondary devices; Obtain the virtual terminal definition, control block, and communication parameters of the secondary device.

5. The method for automatically generating virtual circuits as described in claim 1, characterized in that, The process of calling the virtual loop generation rule engine to process the primary system topology map and the secondary devices to obtain the global virtual loop table includes the following steps: The virtual loop generation procedure engine is invoked to process the primary system topology diagram and the device type of the secondary equipment, and to automatically establish the virtual terminal connection relationship between the transmitting end and the receiving end. The full-station virtual loop table is generated based on the virtual terminal connection relationship.

6. The method for automatically generating virtual circuits as described in claim 5, characterized in that, The virtual circuit generation rule engine is configured with a multi-dimensional matching strategy, which includes some or all of the following: the combination rules of main wiring method and interval type, the functional correspondence between primary and secondary equipment, the similarity matching strategy of standardized virtual terminal description template and historical engineering virtual circuit template library.

7. The method for automatically generating virtual circuits as described in claim 1, characterized in that, The step of generating a substation configuration description file or a communication configuration description file for all secondary equipment covered by the substation main wiring diagram, based on the total virtual loop table, the ICD model file, and the device communication parameters, includes the following steps: Generate the substation configuration description file or the communication configuration description file of all secondary equipment covered by the substation main wiring diagram based on the full station virtual loop table, the ICD model file and the equipment communication parameters; The virtual loop verification rule base is called to perform logical consistency and integrity verification on the substation configuration description file or communication configuration description file. If the verification fails, the process returns to the previous step to regenerate the substation configuration file. If the verification passes, the substation configuration description file or communication configuration description file will be output, along with a visual virtual loop connection diagram.

8. An automatic virtual loop generation device, applied to electronic equipment, for generating virtual loops in intelligent substations, characterized in that, The virtual circuit automatic generation device includes: The graphic element recognition module is configured to perform graphic element detection based on the main wiring diagram of the intelligent substation, and obtain multiple primary equipment graphic elements and graphic element information of each primary equipment graphic element; The parsing and construction module is configured to construct a primary system topology diagram based on the connection relationships between the multiple primary device elements described by the element information, and to identify the device information of each primary device in the primary system topology diagram; The mapping and binding module is configured to match the corresponding secondary device from the secondary device configuration knowledge base based on the device information of all the primary devices, and load the ICD model file and device communication parameters for each secondary device; The virtual loop rule engine module is configured to call the virtual loop generation rule engine to process the primary system topology diagram and the secondary devices to obtain a full-site virtual loop table; The generation and verification module is configured to generate a substation configuration description file or a communication configuration description file for the smart substation based on the whole station virtual loop table, the ICD model file, and the device communication parameters.

9. An electronic device, characterized in that, The electronic device includes at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs or instructions; The processor is used to execute the computer program or instructions to enable the electronic device to implement the virtual circuit automatic generation method as described in any one of claims 1 to 7.

10. A computer-readable storage medium for use in electronic devices, characterized in that, The storage medium carries one or more computer programs that can be executed by the electronic device, thereby enabling the electronic device to implement the virtual circuit automatic generation method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Optimization method for virtual circuit design of smart substation

    CN103577628A

  • Intelligent transformer substation process layer communication designing and debugging method

    CN103577629A

  • Automatic checking method for SCD file virtual loop

    CN106445718A

  • Intelligent substation secondary system rapid modeling system and method based on a main wiring diagram

    CN109583068A

  • Intelligent substation virtual loop checking rule base construction method and system

    CN119127949A