A method, system, device, and medium for virtual terminal optimization verification based on a difference strategy.

CN122311166APending Publication Date: 2026-06-30海南电力产业发展有限责任公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
海南电力产业发展有限责任公司
Filing Date
2026-02-10
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing virtual terminal verification methods are difficult to adapt to the differences in configuration specifications across different regions and manufacturers, as well as the diversity of IED models. This results in insufficient verification accuracy, a high misjudgment rate, a lack of correction mechanisms for differences in specific scenarios, and insufficient basis for verification conclusions.

Method used

A virtual terminal optimization verification method based on difference strategy is adopted. By acquiring standard circuit template data and substation configuration description file data, the method uses parsing tools and similarity algorithms for adaptation, and combines multi-dimensional difference strategy comparison to correct the results and generate optimized verification results.

Benefits of technology

It improves the accuracy and reliability of verification, adapts to complex scenarios, reduces false positives and false negatives, enhances operation and maintenance efficiency, provides clear verification basis and result reports, is applicable to different substations and equipment models, and ensures the stable operation of smart substations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122311166A_ABST
    Figure CN122311166A_ABST
Patent Text Reader

Abstract

This invention discloses a method, system, device, and medium for virtual terminal optimization verification based on a difference strategy. The method includes: acquiring standard circuit template data and substation configuration description file data; constructing a standard circuit template based on the standard circuit template data; parsing the substation configuration description file data to obtain virtual terminal connection data of the target intelligent electronic device; comparing the virtual terminal connection data of the target intelligent electronic device with the standard circuit template to obtain a comparison result; and correcting the comparison result using a difference strategy to generate a corrected verification result as the virtual terminal verification result and output it, thereby realizing the optimization verification of virtual terminals and providing support for operation and maintenance work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system automation technology, and in particular to a method, system, device and medium for virtual terminal optimization verification based on a difference strategy. Background Technology

[0002] Currently, the automatic verification technology for virtual terminals in smart substations has made significant progress. In recent years, power grid companies have continuously promoted the development and implementation of relevant technical standards. A series of the latest technical standards have clearly outlined the technical requirements for automatic verification of virtual terminal circuits in smart substations. The promulgation of these standards provides a basis for related technologies and sets clear requirements for their implementation. During the construction and operation of smart substations, the Substation Configuration Description (SCD) file, as the core configuration file, records the virtual terminal connection relationships of all intelligent electronic devices (IEDs). The correctness of the SCD file configuration directly determines the stable operation of the substation's secondary system. Currently, virtual terminal verification often employs a standard template comparison method. This involves establishing a standard circuit template, parsing the virtual connections in the SCD file, and comparing them with the template to determine the correctness of the connection.

[0003] However, existing technologies have significant drawbacks. These include variations in configuration specifications for virtual terminal connections across different regions and manufacturers, the diverse range of IED models, and the difficulty of standard templates covering all special scenarios, leading to frequent misjudgments and omissions after comparison. Furthermore, existing verification methods rely solely on template matching results, lacking mechanisms to correct for differences in specific scenarios. They cannot accurately verify complex situations such as cross-bay circuits, busbar relationships, and the uniqueness of branch numbers. Additionally, the evidence provided for verification conclusions is insufficient, hindering maintenance personnel from troubleshooting. Therefore, a virtual terminal verification method that can adapt to multiple scenario differences and optimize verification accuracy is urgently needed to address these issues. Summary of the Invention

[0004] In view of the above-mentioned existing problems, the present invention provides a virtual terminal optimization verification method, system, device and medium based on difference strategy.

[0005] This invention provides a virtual terminal optimization verification method, system, device, and medium based on a difference strategy to solve the problems of poor standard template adaptability, insufficient verification in complex scenarios, and high misjudgment rate in existing virtual terminal verification methods.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: In a first aspect, the present invention provides a virtual terminal optimization verification method based on a difference strategy, comprising: Obtain standard circuit template data and substation configuration description file data, and construct a standard circuit template based on the standard circuit template data; The substation configuration description file data is parsed to obtain the virtual terminal connection data of the target intelligent electronic device; The virtual terminal connection data of the target intelligent electronic device is compared with the standard circuit template to obtain the comparison result; The comparison results are corrected using a difference strategy, and the corrected verification results are generated as the verification results of the virtual terminals and output, thereby realizing the optimized verification of the virtual terminals.

[0007] As a preferred embodiment of the virtual terminal optimization verification method based on the difference strategy described in this invention, the method includes: constructing a standard loop template, comprising: Different smart electronic device objects are represented by predefined combinations of encoded attributes, and the encoding is unique; Based on the standardized communication service model, define the functional virtual terminal types of intelligent electronic devices; In the standard loop template, standard virtual loops corresponding to smart electronic device objects are defined using standard virtual loop data, which covers the core features of virtual connections of smart electronic device objects.

[0008] The beneficial effects of this preferred technical solution are that it can establish a unified benchmark, adapt to differences in multiple scenarios, and improve the accuracy and universality of verification.

[0009] As a preferred embodiment of the virtual terminal optimization verification method based on a difference strategy described in this invention, the method includes: parsing the substation configuration description file data, including: The name of the target intelligent electronic device in the substation configuration description file data is parsed using a parsing tool, and the name information of the target intelligent electronic device is first matched with the encoding attribute of the corresponding standard intelligent electronic device in the standard circuit template. The parsing tool is used to parse the virtual terminal configuration of the target intelligent electronic device in the substation configuration description file data, extract the virtual connection information in the configuration of the external intelligent electronic device, and perform a second adaptation between the external intelligent electronic device and the standard intelligent electronic device. Using a similarity algorithm, the virtual terminal to be adapted is matched with the standard virtual terminal in the standard circuit template for a third adaptation.

[0010] The beneficial effect of this preferred technical solution is that it enables precise matching between the IED and the virtual terminal, laying the foundation for subsequent comparison and verification.

[0011] As a preferred embodiment of the virtual terminal optimization verification method based on a difference strategy described in this invention, the method includes: comparing the virtual terminal connection data of the target intelligent electronic device with the standard loop template, including: Based on the standard loop template and standard virtual terminals adapted to the target intelligent electronic device, the consistency between all virtual terminal connections of the target intelligent electronic device and the virtual terminal connections of the standard loop template is judged. In response to the judgment result, the comparison result is obtained.

[0012] As a preferred embodiment of the virtual terminal optimization and verification method based on a difference strategy described in this invention, the method includes: performing a third adaptation between the virtual terminal to be adapted and the standard virtual terminal in the standard circuit template, comprising: In the target smart electronic device and the standard smart electronic device that have been adapted, the description text of the virtual terminal to be adapted of the target smart electronic device and the description text of the virtual terminal of the standard smart electronic device are used to calculate the string similarity and obtain the similarity value. The similarity value is verified by calling the synonym text library to complete the adaptation of the virtual terminal to be adapted with the standard virtual terminal in the standard circuit template.

[0013] As a preferred embodiment of the virtual terminal optimization verification method based on the difference strategy described in this invention, the correction of the comparison result includes: The results are corrected based on a comparison of predefined differential strategies. The differential strategies include at least the regional differential strategy, the abnormal result correction strategy, the existing connection cancellation and missing alarm strategy, the model selection strategy, the bus association strategy, and the branch number strategy. Based on the difference strategy, the parts of the comparison results that are judged to be abnormal are re-evaluated and the results are updated to generate corrected verification results.

[0014] The advantages of this preferred technical solution are that it can eliminate misjudgments and omissions, adapt to complex scenarios, and improve the accuracy and reliability of the verification results.

[0015] As a preferred embodiment of the virtual terminal optimization verification method based on a difference strategy described in this invention, the virtual terminal verification result output includes: All verification results after the difference strategy correction are classified and archived to generate a structured verification result report; The classification categories should include at least three categories: correct links, links requiring rectification, and corrected abnormal links. For each verification conclusion in the verification results report, indicate the corresponding difference strategy and verification basis.

[0016] Secondly, the present invention provides a virtual terminal optimization verification system based on a difference strategy, comprising: The template construction module is used to obtain standard circuit template data and substation configuration description file data, and construct a standard circuit template based on the standard circuit template data. The parsing module is used to parse the substation configuration description file data to obtain the virtual terminal connection data of the target intelligent electronic device; The comparison module is used to compare the virtual terminal connection data of the target intelligent electronic device with the standard circuit template to obtain the comparison result; The correction module is used to correct the comparison results using a difference strategy, generate the corrected verification result as the virtual terminal verification result and output it, thereby realizing the optimized verification of the virtual terminal.

[0017] Thirdly, the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, characterized in that the processor executes the computer program to implement the steps of the virtual terminal optimization verification method based on a difference strategy.

[0018] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the virtual terminal optimization verification method based on a difference strategy.

[0019] Compared with existing technologies, the beneficial effects of this invention are as follows: This invention improves verification accuracy by using a multi-dimensional difference strategy to correct for misjudgments and omissions in special scenarios such as regional specifications, equipment selection, and cross-interval associations. Simultaneously, it optimizes virtual terminal adaptation accuracy using a string similarity algorithm, significantly improving the reliability of verification results. This invention enhances versatility and scalability. The difference strategy supports both fixed rule adaptation and flexible modification and expansion. It can independently adapt to other verification technologies beyond standard template comparison routes, meeting the verification needs of different substations and equipment models, thus broadening its applicability. This invention improves operation and maintenance efficiency by simultaneously annotating the verification basis and reasons in the output results, allowing maintenance personnel to quickly locate the root cause of problems, reducing invalid alarms, lowering maintenance and troubleshooting costs, and ensuring the stable operation of the secondary system of intelligent substations. Attached Figure Description

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

[0021] Figure 1 A schematic diagram of the overall process logic of a virtual terminal optimization verification method based on a difference strategy provided in an embodiment of the present invention; Figure 2A schematic diagram of a branch number expansion strategy for a virtual terminal optimization verification method based on a difference strategy provided in an embodiment of the present invention; Figure 3 A schematic diagram of a dual-denominator, dual-denominator difference configuration for a virtual terminal optimization verification method based on a difference strategy provided in an embodiment of the present invention; Figure 4 A schematic diagram of the associated bus secondary configuration error in a virtual terminal optimization verification method based on a difference strategy provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of an existing connection cancellation and missing connection alarm strategy for a virtual terminal optimization verification method based on a difference strategy provided in an embodiment of the present invention. Detailed Implementation

[0022] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.

[0023] Example 1, referring to Figures 1-5 As an embodiment of the present invention, a virtual terminal optimization verification method based on a difference strategy is provided, comprising: S100: Obtain standard circuit template data and substation configuration description file data, and construct a standard circuit template based on the standard circuit template data; S200: Parse the substation configuration description file data to obtain the virtual terminal connection data of the target intelligent electronic device; S300: Compare the virtual terminal connection data of the target intelligent electronic device with the standard circuit template to obtain the comparison result; S400: The comparison results are corrected using a difference strategy, and the corrected verification results are generated as the verification results of the virtual terminals and output, thereby realizing the optimized verification of the virtual terminals.

[0024] In an optional embodiment, the difference strategy can be a timing difference strategy, defining the commissioning stage attribute for the difference strategy entry, describing the differences in virtual terminal connections allowed in different timing stages, parsing the IED commissioning timestamp in the SCD file, matching the corresponding timing rules, and canceling the abnormal judgment for special connections that conform to the current timing stage. In another optional embodiment, the difference strategy can also be a manufacturer-specific extension strategy, which collects non-standard but compliant private virtual terminal definitions from various manufacturers, maps manufacturer-specific descriptions to standard functional semantics, parses virtual terminal descriptions under private namespaces in SCD, matches manufacturer extension libraries, and re-determines the successfully matched private extension connections according to standard functions. In this embodiment of the invention, the difference strategy includes a regional difference strategy, an abnormal result correction strategy, an existing connection cancellation and missing connection alarm strategy, a model selection strategy, a busbar association strategy, and a branch number strategy. Specifically, a multi-dimensional differentiation strategy is formulated, and the results are compared and corrected accordingly. For virtual terminal connections that conform to the description of the differentiation strategy, the original abnormal conclusions are cancelled to ensure that the verification results are consistent with the actual application scenario.

[0025] It should be noted that by correcting through a multi-dimensional difference strategy, misjudgments and omissions are eliminated, adapting to regional, model, and topology differences, significantly improving the accuracy of verification and its applicability in the field.

[0026] It should also be noted that the difference strategy correction mechanism effectively solves the misjudgment problem in special scenarios such as regional standard differences and equipment model selection, significantly improves the accuracy and adaptability of virtual terminal verification, and reduces operation and maintenance troubleshooting costs.

[0027] In this embodiment of the invention, step S100 includes the following sub-steps A1-A3; In A1: different smart electronic device objects are represented by predefined combinations of encoded attributes, and the encoding is unique; In A2: Define the functional virtual terminal types of intelligent electronic devices based on the standardized communication service model; In A3: In the standard loop template, the standard virtual loop corresponding to the smart electronic device object is defined using standard virtual loop data, which covers the core features of the virtual connection of the smart electronic device object.

[0028] In one optional embodiment, the predefined combination of encoding attributes can be interval type-device serial number-function version, classified according to a single device interval, and the serial number and function version number of the device within the interval are superimposed to realize IED positioning and function traceability. In another optional embodiment, the predefined combination of encoding attributes can also be physical location-communication address-logical node. Based on the physical installation location of the IED in the substation, combined with its MMS communication address and core logical node type, a dual mapping of device unique identifier and network addressing is constructed. In this embodiment of the invention, the predefined combination of encoding attributes includes protection type-voltage level-manufacturer model; The standard loop template includes: different IED objects represented by coded attribute combinations; corresponding IED functional virtual terminals described by standard GOOSE transmit virtual terminals, GOOSE receive virtual terminals, SV transmit virtual terminals, and SV receive virtual terminals; and standard virtual loops of the corresponding IED described by local IED, local virtual terminal, local compatible virtual terminal, peer IED, peer virtual terminal, peer compatible virtual terminal, and virtual terminal type, ensuring that the template can accurately cover the core features of IED virtual connections.

[0029] Specifically, the core parameters of all IED devices, including bus differential protection devices, line protection devices, merging units, smart terminals, and integrated smart devices, are sorted out. The IED object identifier is defined by a combination of coding attributes of "protection type-voltage level-manufacturer model" to ensure that each IED code is unique and traceable, and to implement the requirement in the technical solution to represent different IED objects by combination of coding attributes.

[0030] Based on the DL / T 860 series standards and substation operation and maintenance specifications, the standard functional descriptions of GOOSE transmit / receive and SV transmit / receive virtual terminals are sorted out respectively. A standardized virtual circuit information table is constructed, which includes seven key fields: local IED, local virtual terminal, local compatible virtual terminal, remote IED, remote virtual terminal, remote compatible virtual terminal, and virtual terminal type. This table covers the core components of the standard circuit template in the technical solution.

[0031] For example, taking the SV signal interaction circuit between the bus differential protection device (code: MCB-220kV-A) and the No. 1 bay merging unit (code: MU-220kV-1) as an example, the template clearly defines the virtual terminal on this side as "SV_IN_01" and the virtual terminal on the other side as "SV_OUT_03", while marking the compatible virtual terminal on this side as "SV_IN_01-B". The design of "compatible virtual terminal adapting to equipment model differences" in the adaptation technical solution solves problems such as terminal naming deviation and multiple terminals with the same function.

[0032] It should be noted that the coding method enables unique identification and accurate traceability of IEDs, and the virtual terminal design effectively adapts to differences in equipment models and naming deviations, significantly improving the universality of templates and the accuracy of verification.

[0033] In this embodiment of the invention, step S200 includes the following sub-steps B1-B3; In B1: The parsing tool is used to parse the name of the target intelligent electronic device in the substation configuration description file data, and the name information of the target intelligent electronic device is matched with the encoding attribute of the corresponding standard intelligent electronic device in the standard circuit template. In B2: Use the parsing tool to parse the virtual terminal configuration of the target intelligent electronic device in the substation configuration description file data, extract the virtual connection information in the configuration of the external intelligent electronic device, and perform a second adaptation between the external intelligent electronic device and the standard intelligent electronic device. In B3: Using a similarity algorithm, the virtual terminal to be adapted is matched with the standard virtual terminal in the standard circuit template for a third adaptation.

[0034] In one optional embodiment, the first adaptation can be a regular expression-based rule matching method. For the composition rules of the standard code "MCB-220kV-A", including protection type-voltage level-manufacturer model, a corresponding regular expression template is established. The regular expression is used to extract key attribute fields such as protection type, voltage level, and manufacturer model from the target IED name bus differential protection-220kV-A. The extracted Chinese or abbreviation attribute fields are converted into standard encoding format according to a preset mapping table, and the standard code is generated to complete the adaptation. In another optional embodiment, the first adaptation can also be a direct mapping method based on the combination of encoded attributes. According to the composition rules, an enumeration comparison table of IED name keywords and standard encoded attribute fields is pre-established. The target IED name "bus differential protection-220kV-A" is decomposed into keyword groups and matched with the attribute enumeration library to identify the protection type as "bus differential protection / MCB", the voltage level as "220kV", and the model as "A". According to the fixed encoding format of "protection type-voltage level-manufacturer model", the matched standard attribute fields are combined into the standard code "MCB-220kV-A" to achieve accurate adaptation between the target IED and the standard IED. In this embodiment of the invention, the first adaptation includes a fuzzy matching algorithm; Specifically, the parsing tool of this invention is a dedicated SCD file parsing tool. This tool reads the substation configuration file and completes the adaptation of the IED and virtual terminals step by step. The first adaptation includes parsing the IED name and using a fuzzy matching algorithm to adapt "IED name is bus differential protection-220kV-A" to the standard code MCB-220kV-A, thereby achieving the mapping between the target IED and the standard IED, which conforms to the rule of "adapting standard code attributes based on IED name information".

[0035] The second adaptation includes parsing the virtual terminal configuration, traversing all virtual connection records under the inputs node of the bus differential protection device, extracting information such as the external IED name "merging unit-220kV-1", the external virtual terminal description "SV output 3", and the internal virtual terminal description "SV input 1", and completing the adaptation of the external IED with the standard code MU-220kV-1.

[0036] It should be noted that by adopting a layered and progressive adaptation mechanism, precise mapping at the IED device level is achieved first, followed by intelligent matching at the virtual terminal configuration level. This effectively improves the accuracy and adaptation efficiency of SCD file parsing, laying a reliable foundation for subsequent differentiated verification.

[0037] In one optional embodiment, the similarity algorithm can be a word vector cosine similarity algorithm based on a thesaurus. The virtual terminal description to be adapted and the standard virtual terminal description are converted into word vectors, where synonyms are mapped to similar vector space positions. The cosine similarity between the two word vectors is calculated, and a similarity threshold (such as 0.8) is set. When the cosine similarity exceeds the threshold, it is determined that the match is successful, thus realizing the adaptation of "SVoutput3" and "SV_OUT_03". In another optional embodiment, the similarity algorithm can also be a Levenstein similarity algorithm based on edit distance. The virtual terminal description to be adapted and the standard virtual terminal description are preprocessed, and the Levenstein distance between the two strings is calculated, which is the minimum number of single-character editing operations required to convert one string to another. The edit distance is converted into a similarity score. When the similarity exceeds a set threshold, the adaptation is determined to be successful. For example, after synonym replacement, "SV_OUT_03" and "SVoutput3" have a small edit distance and high similarity, so the adaptation can be completed. In this embodiment of the invention, the similarity algorithm includes the string similarity algorithm defined in the startup technical solution; Specifically, the "SVoutput3" is compared with the standard terminal "SV_OUT_03". The coupled words are "SV" and "3", the number of couplings is m=2, the total number of texts is n=3, and the basic similarity is s=2 / 3. The synonym text library is called to verify that "output" and "OUT" are paired synonyms in the library. The adaptation is completed according to the rules, and the correspondence between the virtual terminal to be checked and the standard template is established.

[0038] In this embodiment of the invention, after completing steps B1-B3, step S200 also includes steps B4-B5. In B4: In the target smart electronic device and the standard smart electronic device that have been adapted, the description text of the virtual terminal to be adapted of the target smart electronic device and the description text of the virtual terminal of the standard smart electronic device are taken and the string similarity is calculated to obtain the similarity value. In B5: The similarity value is verified by calling the synonym text library to complete the adaptation of the virtual terminal to be adapted with the standard virtual terminal in the standard circuit template.

[0039] In this embodiment of the invention, among the target IED and standard IED that have been adapted, the virtual terminal description text of the target IED to be adapted and the virtual terminal description text of the standard IED are used to calculate the similarity, with the number of coupled texts of the two sets of words as the numerator. The total number of texts is the denominator. Calculate similarity ; Define synonym, antonym, and mutually exclusive text libraries. For each of these libraries, define word pairs. When word A and word B are paired in the synonym library, the similarity is 1; when word A and word B are paired in the antonym library, the similarity is... Reduce coefficient on the basis When word A and word B are paired words in mutually exclusive text libraries, the similarity is 0, ensuring the accuracy of virtual terminal matching.

[0040] It should be noted that by introducing a library of synonyms, antonyms, and mutually exclusive texts to intelligently correct the basic similarity, the problem of misjudgment caused by differences in virtual terminal naming is effectively solved, and the accuracy and reliability of virtual terminal matching in complex naming scenarios are significantly improved.

[0041] In this embodiment of the invention, step S300 includes the following sub-steps C1-C2; In C1: Based on the standard loop template and standard virtual terminals adapted to the target intelligent electronic device, the consistency between all virtual terminal connections of the target intelligent electronic device and the virtual terminal connections of the standard loop template is judged. In C2: In response to the judgment result, the comparison result is obtained.

[0042] In this embodiment of the invention, based on the standard loop template and standard virtual terminals adapted to the target IED, the consistency of all virtual terminal connections of the target IED with the virtual terminal connections described in the standard template is compared one by one. Connections that are completely consistent are determined to be correct; those that are inconsistent are determined to be incorrect; connections that exist in the standard template but are missing in the target IED are determined to be missing; connections that do not exist in the standard template but exist in the target IED are determined to be redundant, thus forming a preliminary comparison result.

[0043] Specifically, connections where the local / reverse side IED and virtual terminal information completely match the standard template are considered correct; connections where the SV receiving terminal of a certain bay protection and bus differential protection is connected as "SV_IN_02", which does not match the standard template "SV_IN_01" and has no corresponding compatible terminal, are considered incorrect; connections where the standard template clearly shows the SV interaction loop between the bus differential protection and the No. 2 bay merging unit, but there is no corresponding record in the SCD file, are considered missing; connections where the SCD file shows a GOOSE connection between the bus differential protection and the #1 bus non-associated bay intelligent terminal, but the standard template does not have this configuration, are considered redundant. Following the four conclusion criteria, a preliminary comparison list is formed.

[0044] It should be noted that the four-dimensional judgment mechanism enables a comprehensive scan of the virtual terminal circuits, accurately identifies configuration deviations, and provides a clear anomaly location benchmark for subsequent difference strategy correction.

[0045] In this embodiment of the invention, step S400 includes the following sub-steps D1-D2; In D1: The results are corrected based on a variety of predefined difference strategies. The difference strategies include at least the regional difference strategy, the abnormal result correction strategy, the existing connection cancellation and missing alarm strategy, the model selection strategy, the bus association strategy, and the branch number strategy. In D2: Based on the difference strategy, the parts of the comparison results that are judged to be abnormal are re-evaluated and the results are updated to generate the corrected verification results.

[0046] In this embodiment of the invention, based on the preliminary comparison list, combined with the regional specifications and actual equipment configuration of the substation, a multi-dimensional difference strategy correction process is initiated, and the verification results are optimized one by one according to the rules of each strategy. Specifically, the regional difference strategy includes, following the rule of "enumerating regional attributes and pre-selecting adaptation," since this substation is located in East China, the "East China Region" strategy package is selected in the verification system. The system automatically adapts to the coding standard of "interval number-equipment type code-serial number" for the bus differential protection branch number in this region. For example, the branch number corresponding to the No. 1 interval merging unit is "01-MU-01," thus correcting the branch number determination criteria. This is compared with the coding rule of "equipment type code-interval number-serial number" in North China to avoid misjudgment of branch number due to regional standard differences.

[0047] The abnormal result correction strategy includes, based on the requirement of "building an abnormal result connection library and correcting conclusions by item," initially determining the main transformer protection to bus tie intelligent terminal GOOSE connection as "erroneous," matching the entry ID YC-003 in the abnormal result connection library. This entry records the sending IED type as "main transformer protection (220kV)," the receiving IED type as "bus tie intelligent terminal," the sending virtual terminal as "GOOSE_OUT_10," the receiving virtual terminal as "GOOSE_IN_08," the original conclusion type as "erroneous," and the correction result as "correct." The conclusion is corrected to correct according to the entry rules, the basis is noted, and the erroneous alarm is canceled. Simultaneously, another connection initially determined to be "redundant" from the bus control device to the backup intelligent terminal is matched with entry ID YC-007, and the correction result is "retain redundant connection, no alarm," updating the conclusion according to the rules.

[0048] The branch number strategy includes traversing and verifying the virtual terminal branch numbers of the bus differential protection and the devices in each interval according to the rules of "unique within an interval and different across intervals". It is found that the branch number of the merging unit in Interval 1 and the bus differential protection is "05", and the branch number of the merging unit in Interval 2 and the bus differential protection is also "05", which violates the uniqueness requirement. It is determined as abnormal and a rectification prompt is generated, requiring the branch number of Interval 2 to be adjusted to "06". At the same time, the devices across intervals are verified, and it is confirmed that the branch number of the line protection in Interval 3 and the bus differential protection is "07", without duplication with other intervals, and it is determined as qualified. As Figure 2 shown, in the virtual terminal loop relationship between the backup power supply automatic switching device and external devices, the branch number strategy is also applicable. Traverse the virtual terminal branch numbers of the backup power supply protection and the devices in each interval, including the branch numbers of Power Supply 1, Power Supply 2, sectioning, etc. In Figure 2 , the branch number of the closing loop between the IL1131 intelligent terminal and the PZ1101 backup power supply automatic switching device is Power Supply 1, and the specific branch number corresponding to the power supply can be obtained through the description keyword of the virtual terminal. The branch number of the tripping loop is Power Supply 2, which does not conform to the rule of "unique within an interval and different across intervals", and it can be identified that the tripping loop is a wrong branch loop.

[0049] The bus association relationship strategy includes, as Figure 3 shown, for the double bus double breaker connection and the corresponding bus differential configuration, when defining the loop template in the previous steps, there is no attribute describing the topological adaptation relationship between the bus differential protection and the line interval devices. Design the associated bus engineering attributes for all devices. Figure 3 In Figure 4 , the associated bus of the bus differential corresponding to Bus I - Bus II is I - II bus, and the associated bus of the bus differential corresponding to Bus III - Bus IV is III - IV bus. Correspondingly, the associated bus of the protection, intelligent terminal, and merging unit in Line 1 interval is I - II bus, and the associated bus of the protection, intelligent terminal, and merging unit in Line 2 interval is III - IV bus. As Figure 4 shown, for Figure 4 the actual wiring, through the general loop template adaptation and comparison strategy, it cannot be determined as a wrong loop, and it conforms to the rule of "unique within an interval and different across intervals" of the branch number. Through the bus association relationship strategy, it can be known that the associated buses of the merging unit and intelligent terminal of Line 1 are inconsistent with the associated bus of the III - IV bus differential protection, which does not conform to Figure 3 the topological correlation shown, so it is determined as a wrong loop.

[0050] The model selection strategy involves using a manufacturer-customized model, ZT-220-XX, for the intelligent terminal in bay 3 of this substation, which differs from the standard model, ZT-220-Standard. According to the rules, a differentiated standard circuit template is configured separately for this selected model. Specifically, the "GOOSE_IN_04" terminal in the standard template is adjusted to "GOOSE_IN_06" to accommodate the terminal layout differences of the customized model. During verification, the intelligent terminal in bay 3 automatically adapts to this differentiated template, avoiding misjudgments caused by model selection.

[0051] The existing connection cancellation strategy for missing connection alarms includes: initially determining that the SV loop from the protection to the merging unit of bay 4 is "missing," and upon verification, it is found that the receiver virtual terminal "SV_IN_02" in its adapted standard loop template lacks a compatible terminal. However, this receiver virtual terminal is already configured with an SV connection to the merging unit of bay 5. According to the rules, this missing connection alarm is cancelled, and it is marked "A valid connection already exists, no need to supplement." Figure 5 As shown, in specific scenarios, the bus voltage sampling and receiving virtual terminal of the automatic transfer switch (ATS) can be drawn from either the bus merging unit or the line merging unit (the bus voltage is cascaded from the bus merging unit). The standard circuit template defines that the ATS should draw the bus voltage circuit from both external bus merging unit and line merging unit. Therefore, without this strategy, under normal circumstances, the ATS can only draw the bus voltage from either the bus merging unit or the line merging unit, which will inevitably generate a missed connection alarm for the unconnected object. With this strategy, when the ATS only draws the bus voltage from either the bus merging unit or the line merging unit, the generated missed connection alarm will be canceled, avoiding false alarms.

[0052] It should be noted that by using a multi-dimensional difference strategy for collaborative correction, the misjudgment problem in special scenarios such as regional standard differences, equipment model selection, and cross-interval topology associations has been effectively solved, significantly improving the accuracy and engineering adaptability of the verification results.

[0053] In this embodiment of the invention, after completing steps D1-D2, step S400 also includes steps D3-D5; In D3: All verification results after the difference strategy correction are classified and archived to generate a structured verification result report; In D4: the classification categories should include at least the categories of correct links, links requiring rectification, and corrected abnormal links; In D5: For each verification conclusion in the verification results report, mark the corresponding difference strategy and verification basis.

[0054] In this embodiment of the invention, the specific optimization strategy used is simultaneously marked on all verification results after the difference strategy correction, the verification basis and specific reasons for the errors of each conclusion are clearly defined, and the optimized verification results are finally output as the final conclusion of the virtual terminal verification, providing clear guidance for operation and maintenance personnel to troubleshoot problems and confirm configurations.

[0055] Specifically, the corrected verification results are generated into a structured verification result report, implementing the requirements of "labeling the strategy basis and classifying the results." The report is archived according to the categories of "correct connection," "connection requiring rectification," and "corrected abnormal connection," with each conclusion bound to the corresponding optimization strategy and basis. For example, the connection from the main transformer protection to the bus tie intelligent terminal is labeled as "Original judgment was incorrect, corrected to correct by the abnormal result correction strategy (entry ID: YC-003), basis: conforms to the manufacturer's customized differential configuration rules"; the branch number duplication problem is labeled as "violation of branch number strategy, the branch numbers of interval 1 and interval 2 are both 05, which does not meet the requirement of 'unique within the interval, different across intervals,' and requires rectification"; the missing connection alarm in interval 4 is labeled as "after correction by the existing connection cancellation missing connection alarm strategy, the alarm is cancelled, basis: the receiving virtual terminal already has a valid connection." The report supports direct export, providing maintenance personnel with clear rectification directions and verification basis.

[0056] The above is an illustrative scheme of a virtual terminal optimization verification method based on a difference strategy according to this embodiment. It should be noted that the technical solution of this virtual terminal optimization verification system based on a difference strategy belongs to the same concept as the technical solution of the virtual terminal optimization verification method based on a difference strategy described above. Details not described in detail in the technical solution of the virtual terminal optimization verification system based on a difference strategy in this embodiment can be found in the description of the technical solution of the virtual terminal optimization verification method based on a difference strategy described above.

[0057] The virtual terminal optimization verification system based on the difference strategy in this embodiment includes: The template construction module is used to obtain standard circuit template data and substation configuration description file data, and construct a standard circuit template based on the standard circuit template data. The parsing module is used to parse the substation configuration description file data to obtain the virtual terminal connection data of the target intelligent electronic device; The comparison module is used to compare the virtual terminal connection data of the target intelligent electronic device with the standard circuit template to obtain the comparison result; The correction module is used to correct the comparison results using a difference strategy, generate the corrected verification result as the virtual terminal verification result and output it, thereby realizing the optimized verification of the virtual terminal.

[0058] This embodiment also provides a computer device suitable for virtual terminal optimization verification based on a difference strategy, including: The system includes a memory and a processor. The memory stores computer-executable instructions, and the processor executes the computer-executable instructions to implement a virtual terminal optimization verification method based on a difference strategy as proposed in the above embodiments.

[0059] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements a virtual terminal optimization verification method based on a difference strategy as proposed in the above embodiments.

[0060] The storage medium proposed in this embodiment and the virtual terminal optimization verification method based on the difference strategy proposed in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0061] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computing device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0062] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A virtual terminal optimization verification method based on a difference strategy, characterized in that, include: Obtain standard circuit template data and substation configuration description file data, and construct a standard circuit template based on the standard circuit template data; The substation configuration description file data is parsed to obtain the virtual terminal connection data of the target intelligent electronic device; The virtual terminal connection data of the target intelligent electronic device is compared with the standard circuit template to obtain the comparison result; The comparison results are corrected using a difference strategy, and the corrected verification results are generated as the verification results of the virtual terminals and output, thereby realizing the optimized verification of the virtual terminals.

2. The virtual terminal optimization verification method based on a difference strategy as described in claim 1, characterized in that, Construct a standard loop template, including: Different smart electronic device objects are represented by predefined combinations of encoded attributes, and the encoding is unique; Based on the standardized communication service model, define the functional virtual terminal types of intelligent electronic devices; In the standard loop template, standard virtual loops corresponding to smart electronic device objects are defined using standard virtual loop data, which covers the core features of virtual connections of smart electronic device objects.

3. The virtual terminal optimization verification method based on a difference strategy as described in claim 2, characterized in that, The data in the substation configuration description file is parsed, including: The name of the target intelligent electronic device in the substation configuration description file data is parsed using a parsing tool, and the name information of the target intelligent electronic device is first matched with the encoding attribute of the corresponding standard intelligent electronic device in the standard circuit template. The parsing tool is used to parse the virtual terminal configuration of the target intelligent electronic device in the substation configuration description file data, extract the virtual connection information in the configuration of the external intelligent electronic device, and perform a second adaptation between the external intelligent electronic device and the standard intelligent electronic device. Using a similarity algorithm, the virtual terminal to be adapted is matched with the standard virtual terminal in the standard circuit template for a third adaptation.

4. The virtual terminal optimization verification method based on a difference strategy as described in claim 3, characterized in that, The virtual terminal connection data of the target intelligent electronic device is compared with the standard circuit template, including: Based on the standard loop template and standard virtual terminals adapted to the target intelligent electronic device, the consistency between all virtual terminal connections of the target intelligent electronic device and the virtual terminal connections of the standard loop template is judged. In response to the judgment result, the comparison result is obtained.

5. The virtual terminal optimization verification method based on a difference strategy as described in claim 3, characterized in that, The virtual terminal to be adapted is then matched with the standard virtual terminal in the standard circuit template in a third adaptation process, including: In the target smart electronic device and the standard smart electronic device that have been adapted, the description text of the virtual terminal to be adapted of the target smart electronic device and the description text of the virtual terminal of the standard smart electronic device are used to calculate the string similarity and obtain the similarity value. The similarity value is verified by calling the synonym text library to complete the adaptation of the virtual terminal to be adapted with the standard virtual terminal in the standard circuit template.

6. A virtual terminal optimization verification method based on a difference strategy as described in claim 4 or 5, characterized in that, The correction of the comparison results includes: The results are corrected based on a comparison of predefined differential strategies. The differential strategies include at least the regional differential strategy, the abnormal result correction strategy, the existing connection cancellation and missing alarm strategy, the model selection strategy, the bus association strategy, and the branch number strategy. Based on the difference strategy, the parts of the comparison results that are judged to be abnormal are re-evaluated and the results are updated to generate corrected verification results.

7. The virtual terminal optimization verification method based on a difference strategy as described in claim 6, characterized in that, The results of the virtual terminal verification are output, including: All verification results after the difference strategy correction are classified and archived to generate a structured verification result report; The classification categories should include at least three categories: correct links, links requiring rectification, and corrected abnormal links. For each verification conclusion in the verification results report, indicate the corresponding difference strategy and verification basis.

8. A virtual terminal optimization verification system based on a difference strategy, employing the virtual terminal optimization verification method based on a difference strategy as described in any one of claims 1-7, characterized in that, include: The template construction module is used to obtain standard circuit template data and substation configuration description file data, and construct a standard circuit template based on the standard circuit template data. The parsing module is used to parse the substation configuration description file data to obtain the virtual terminal connection data of the target intelligent electronic device; The comparison module is used to compare the virtual terminal connection data of the target intelligent electronic device with the standard circuit template to obtain the comparison result; The correction module is used to correct the comparison results using a difference strategy, generate the corrected verification result as the virtual terminal verification result and output it, thereby realizing the optimized verification of the virtual terminal.

9. A computer device, characterized in that, include: A memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the virtual terminal optimization verification method based on the difference strategy according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by a processor, implements the steps of a virtual terminal optimization verification method based on a difference strategy as described in any one of claims 1 to 7.