Terminal library correction method and device, equipment and storage medium

By establishing a basic terminal library and a standard loop library, the virtual loop in the intelligent substation is checked and corrected, and the problem of false terminal loop calibration results is solved, and the accuracy of terminal library correction and system stability are improved.

CN119201888APending Publication Date: 2024-12-27GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411210220.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The calibration result of the virtual terminal loop of the SCD file in the intelligent substation is incorrect, resulting in unstable relay protection function, and the existing technology cannot effectively identify the meaning of the terminal, resulting in inaccurate calibration result.

Method used

By establishing the basic terminal library and the standard loop library, verifying the virtual loop based on the standard loop library, generating verification results, and determining the terminal dictionary establishment situation based on the verification results, correcting the basic terminal library to ensure the accuracy of the terminal dictionary and consistency.

Benefits of technology

The accuracy of terminal library correction is improved, the accuracy and consistency of calibration results is ensured, the basic terminal library is optimized, and the normal operation and efficient maintenance of the system are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201888A_ABST
    Figure CN119201888A_ABST
Patent Text Reader

Abstract

The invention discloses a terminal library correction method and device, equipment and a storage medium. Comprising the following steps: establishing a basic terminal library and a standard loop library, verifying a virtual loop based on the standard loop library, and generating a verification result; determining a terminal dictionary establishment condition according to a verification result; and correcting the basic terminal library according to the establishment condition of the terminal dictionary. By establishing a basic terminal library and a standard loop library, the accuracy and consistency of verification work can be ensured. The virtual loop is verified based on the standard loop library, and the verification result is generated, so that problems, such as normal connection, multi-connection, misconnection and missing connection, existing in virtual loop connection can be comprehensively detected. And the terminal dictionary establishment condition is determined according to the verification result, so that the perfection degree and accuracy of the current terminal dictionary can be accurately evaluated, and a clear direction is provided for subsequent correction work. And the basic terminal library can be continuously optimized and perfected, so that normal operation of the whole system and efficient maintenance work are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent substations, and in particular to a terminal library correction method, device, equipment and storage medium. Background Art

[0002] The correctness of the secondary virtual circuit configuration of the smart substation will directly affect the relay protection function and the safe and stable operation of the power grid. Therefore, the correctness of the virtual terminal circuit of the SCD file needs to be checked in multiple stages such as substation construction, operation and maintenance, and inspection.

[0003] SCD files are integrated from different ICD files through system integration tools. However, in actual applications, ICD file manufacturers do not strictly follow the specifications, resulting in inconsistency of virtual terminals. Even ICD files of the same manufacturer and different models may have terminals with the same address but different actual meanings. In SCD virtual circuit verification, it is often found that the exact meaning of the terminal cannot be identified, resulting in incorrect verification results. Summary of the invention

[0004] The present invention provides a terminal library correction method, device, equipment and storage medium, which avoids the error of verification result caused by missing terminals during verification and improves the accuracy of terminal library correction.

[0005] According to one aspect of the present invention, a terminal library correction method is provided, the method comprising:

[0006] Establish a basic terminal library and a standard circuit library, verify the virtual circuit based on the standard circuit library and generate verification results, where the verification results include normal, multiple connections, wrong connections and missing connections;

[0007] Determine the establishment status of the terminal dictionary according to the verification result;

[0008] Modify the basic terminal library according to the establishment of the terminal dictionary.

[0009] Optionally, a basic terminal library and a standard circuit library are established, including: establishing a basic terminal library based on the obtained voltage level, wiring method, interval type, device type, standard terminal and terminal dictionary; establishing a standard circuit library based on the obtained specified voltage level, wiring method, interval type, device type, and receiving and sending virtual terminal connection relationships between intelligent electronic devices.

[0010] Optionally, when the verification result is normal or missed, determining the terminal dictionary establishment status according to the verification result includes: determining that the terminal dictionary establishment status is not necessary to be established.

[0011] Optionally, when the verification result is multiple connection, determining the terminal dictionary establishment status according to the verification result includes: determining the terminal dictionary establishment status as establishing a receiver terminal dictionary and a sender terminal dictionary.

[0012] Optionally, when the verification result is a wrong connection, the terminal dictionary establishment status is determined according to the verification result, including: when the sender has not established the terminal and the receiver has established the terminal, determining the terminal dictionary establishment status as establishing the sender's terminal dictionary; when the sender has established the terminal and the receiver has not established the terminal, determining the terminal dictionary establishment status as establishing the receiver's terminal dictionary; when the sender and the receiver's terminals are incorrectly established, determining the terminal dictionary establishment status as establishing the receiver and sender terminal dictionaries; when both the sender and the receiver have established the terminal, determining the terminal dictionary establishment status as not needing to be established.

[0013] Optionally, the basic terminal library is modified according to the establishment of the terminal dictionary, including: obtaining device-related information for which the terminal dictionary needs to be established according to the establishment of the terminal dictionary, wherein the device-related information includes the target manufacturer, target model, target type, target cyclic redundancy check, target voltage level, target wiring method, target interval type, target device type, target terminal reference, and target virtual terminal description; matching the device-related information through the basic terminal library to determine the target intelligent electronic device; adapting the standard virtual terminal name of the target intelligent electronic device according to the target virtual terminal description, and determining the name matching situation; when the name matching situation is a full match, mapping the target virtual terminal description to the standard virtual terminal corresponding to the standard virtual terminal name to modify the basic terminal library; when the name matching situation is not adapted, adapting the terminal dictionary description under the standard terminal according to the target virtual terminal description to determine the unique situation of the terminal dictionary description in the intelligent electronic device, and modifying the basic terminal library according to the unique situation.

[0014] Optionally, the basic terminal library is modified according to the unique situation, including: when the unique situation is unique, mapping the virtual terminal of the intelligent electronic device to the corresponding standard terminal to modify the basic terminal library; when the unique situation is not unique, determining the terminal consistency and the index data attributes described in the terminal dictionary, mapping the target virtual terminal description to the standard virtual terminal corresponding to the terminal consistency and the index data attributes to modify the basic terminal library.

[0015] According to another aspect of the present invention, a terminal library correction device is provided, the device comprising:

[0016] A verification result generation module is used to establish a basic terminal library and a standard circuit library, verify the virtual circuit based on the standard circuit library and generate a verification result, wherein the verification result includes normal, multiple connection, wrong connection and missing connection;

[0017] A terminal dictionary establishment status determination module is used to determine the terminal dictionary establishment status according to the verification result;

[0018] The terminal library correction module is used to correct the basic terminal library according to the establishment of the terminal dictionary.

[0019] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0020] at least one processor;

[0021] and a memory communicatively coupled to the at least one processor;

[0022] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a terminal library correction method described in any embodiment of the present invention.

[0023] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a terminal library correction method described in any embodiment of the present invention when executed.

[0024] The technical solution of the embodiment of the present invention can ensure the accuracy and consistency of the verification work by establishing a basic terminal library and a standard circuit library. Based on the standard circuit library, the virtual circuit is verified and the verification result is generated, which can comprehensively detect the problems existing in the virtual circuit connection, such as normal, multiple connections, wrong connections and missing connections. Determining the establishment of the terminal dictionary based on the verification results helps to accurately evaluate the perfection and accuracy of the current terminal dictionary, and provide a clear direction for subsequent correction work. The basic terminal library can be continuously optimized and improved, thereby ensuring the normal operation of the entire system and the efficient implementation of maintenance work.

[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0027] Figure 1 is a flow chart of a terminal library correction method provided according to the first embodiment of the present invention;

[0028] Figure 2is a flow chart of another terminal library correction method provided according to the second embodiment of the present invention;

[0029] Figure 3 is a structural schematic diagram of a terminal library correction device provided according to Embodiment 3 of the present invention;

[0030] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing a terminal library correction method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0033] Embodiment 1

[0034] Figure 1 A flowchart of a terminal library correction method is provided for the first embodiment of the present invention. This embodiment is applicable to the case where a smart substation corrects a terminal library. The method can be executed by a terminal library correction device. The terminal library correction device can be implemented in the form of hardware and / or software. The terminal library correction device can be configured in a computer controller. Figure 1 As shown, the method includes:

[0035] S110, establishing a basic terminal library and a standard circuit library, verifying the virtual circuit based on the standard circuit library and generating a verification result, wherein the verification result includes normal, multiple connection, wrong connection and missing connection.

[0036] Among them, the basic terminal library refers to a database containing information about terminals of various electrical equipment, which records the names, numbers, functional descriptions, connection methods, etc. of different terminals, providing basic data support for the design, installation and maintenance of electrical systems. The standard circuit library refers to a database composed of various electrical circuits that meet electrical design specifications and best practices, which contains information such as circuit names, component devices, connection relationships, signal flows, etc., and can be used as a standard reference for judging whether the actual electrical circuit is correct. A virtual circuit refers to a signal transmission path implemented by software or logical connections in an electrical system, which corresponds to the actual physical connection circuit. The verification result refers to the conclusion drawn after checking the virtual circuit. Normal means that the terminal connection in the virtual circuit is completely consistent with the standard circuit, meets the design requirements, and the system can operate normally. Multiple connections refer to the existence of redundant terminal connections in the virtual circuit, which may cause signal confusion or interfere with the normal operation of the system. Wrong connection refers to the wrong terminal connection in the virtual circuit. Connecting the wrong device or terminal will cause signal transmission errors and affect system functions. Missed connection refers to the lack of terminal connections that should be connected in the virtual circuit, which may cause incomplete system functions.

[0037] Specifically, the basic terminal library is to understand the functions, characteristics and connection methods of terminals by conducting in-depth research and analysis on different types of electrical equipment. For example, for a circuit breaker, its terminals may include power input terminals, control signal input terminals, output terminals, etc. By collecting this information and sorting it out, a basic terminal library is formed to provide basic data for subsequent verification and analysis. The standard circuit library is established based on the design specifications and best practices of the electrical system. For example, in a motor control circuit, the standard circuit should include the connection methods of power supplies, contactors, thermal relays, motors and other equipment, as well as the flow of control signals. By establishing a standard circuit library, an accurate reference standard can be provided for the verification of virtual circuits.

[0038] Furthermore, the principle of verification is to compare the actual virtual circuit with the standard circuit in the standard circuit library. If the terminal connection in the virtual circuit is exactly the same as the standard circuit, the verification result is normal. Multiple connections refer to the existence of redundant terminal connections in the virtual circuit. For example, in a standard circuit, a terminal of a device should not be connected to other devices, but in the actual virtual circuit, a connection appears, which may cause abnormal signal transmission or interference in the system. Wrong connection refers to the wrong terminal connection in the virtual circuit. For example, the terminal that should be connected to device A is connected to the terminal of device B, which will cause signal transmission errors and affect the normal operation of the system. Missed connection refers to the lack of terminal connection that should be connected in the virtual circuit. For example, in a standard circuit, signal transmission between two devices must be carried out through a specific terminal connection, but there is no such connection in the actual virtual circuit, which may cause incomplete system functions.

[0039] Optionally, a basic terminal library and a standard circuit library are established, including: establishing a basic terminal library based on the obtained voltage level, wiring method, interval type, device type, standard terminal and terminal dictionary; establishing a standard circuit library based on the obtained specified voltage level, wiring method, interval type, device type, and receiving and sending virtual terminal connection relationships between intelligent electronic devices.

[0040] Specifically, when establishing a basic terminal library, different voltage levels have different requirements for terminals. For example, high-voltage equipment usually requires stronger insulation performance and greater current carrying capacity, and the size, material and connection method of its terminals may be different from those of low-voltage equipment. Determine the voltage resistance, current carrying and other parameters of the terminal according to the voltage level so as to select the appropriate terminal type. For example, for high voltage levels, terminals with special insulation materials and structural designs may be required to ensure safe and reliable connections. Different wiring methods will affect the layout and connection methods of the terminals. For example, star wiring and delta wiring have specific requirements for the arrangement and connection sequence of the terminals. Determine the connection sequence and layout of the terminals according to the wiring method to ensure the correct connection and operation of the circuit. For example, in star wiring, the terminal connection method of the neutral point is different from that of other terminals. Different bay types (such as incoming bay, outgoing bay, busbar bay, etc.) have specific requirements for the functions and connection objects of the terminals. Determine the functions and connection objects of the terminals according to the bay type so as to achieve coordination between different bays. For example, the terminals of the incoming bay may need to be connected to the equipment on the power supply side, while the terminals of the outgoing bay need to be connected to the equipment on the load side. Different types of equipment (such as transformers, circuit breakers, mutual inductors, etc.) have different terminal structures and functions. The structure, function and connection method of the terminal are determined according to the type of equipment to meet the specific needs of the equipment. For example, the terminals of the transformer may need to consider the connection method and transformation ratio of the winding, while the terminals of the circuit breaker need to meet the requirements of the control and protection circuits. Standard terminals are terminals with standardized designs and have uniform sizes, specifications and connection methods. The terminal dictionary is the organization and specification of various terminal information, including terminal names, numbers, functional descriptions, etc. The use of standard terminals can improve the versatility and interchangeability of terminals, and facilitate the installation and maintenance of equipment. The terminal dictionary can help users quickly and accurately identify and use terminals to improve work efficiency.

[0041] Specifically, when establishing a standard circuit library, electrical circuits of different voltage levels have different characteristics and requirements. For example, circuits with high voltage levels usually require higher insulation performance and stronger current carrying capacity. Different wiring methods will affect the connection method of the circuit and the direction of current flow. Establishing a standard circuit library based on the virtual terminal connection relationship between intelligent electronic devices can ensure the normal implementation of signal transmission and control functions between different devices. For example, in the substation automation system, the protection device and the measurement and control device exchange signals through virtual terminals. Establishing a standard circuit library can standardize the connection method and function definition of these signals.

[0042] S120: Determine the establishment status of the terminal dictionary according to the verification result.

[0043] The terminal dictionary establishment status refers to the degree of perfection and accuracy of the terminal dictionary. The terminal dictionary is a tool for organizing and standardizing terminal information. Its establishment status includes whether it covers all required terminal information, whether the information is accurate, and whether the classification is reasonable.

[0044] Optionally, when the verification result is normal or missed, determining the terminal dictionary establishment status according to the verification result includes: determining that the terminal dictionary establishment status is not necessary to be established.

[0045] Specifically, when the verification result is normal, it indicates that the terminal connection in the virtual circuit is completely consistent with the standard circuit, that is, the current terminal dictionary can accurately reflect the actual terminal connection status in this case, and no new establishment or major adjustment is required.

[0046] For example, in an electric power system, the connections between various devices are carried out according to the standard design, and after verification, it is found that all terminal connections are correct. At this time, the terminal name, number, function description, connection method and other information recorded in the terminal dictionary are completely consistent with the actual situation, and no additional establishment work is required.

[0047] Specifically, when the verification result is missing connection, it indicates that the terminal connection that should be connected is missing in the virtual circuit. In this case, it may also be determined that the terminal dictionary establishment situation does not need to be established. Missing connection does not necessarily mean that there is a problem with the terminal dictionary. It may be that negligence occurred during the actual installation or operation process, resulting in some terminals not being connected. If it is found through analysis that the missing terminals have been clearly recorded in the terminal dictionary, but were omitted in the actual connection, then there is no need to re-establish the terminal dictionary.

[0048] For example, in an automated control system, the output terminal of a sensor should be connected to a specific input terminal of the controller, but it was omitted in the actual installation. After checking, it is found that the terminal dictionary has clearly recorded this connection relationship, so it only needs to be reconnected in the actual system without re-establishing the terminal dictionary.

[0049] Optionally, when the verification result is multiple connection, determining the terminal dictionary establishment status according to the verification result includes: determining the terminal dictionary establishment status as establishing a receiver terminal dictionary and a sender terminal dictionary.

[0050] Specifically, when the verification result is multiple connections, it indicates that there are redundant terminal connections in the virtual circuit. In the electrical system, each terminal has its specific function and connection object. If multiple connections occur, it may cause signal confusion, interfere with the transmission of other normal signals, and even cause system failure.

[0051] Specifically, for the receiving device, it is necessary to clarify which terminals should receive signals, as well as the sources and functions of these signals. By establishing a receiving terminal dictionary, the expected connection status of each receiving terminal can be clearly recorded. For example, in an automated control system, a controller has multiple input terminals, each of which corresponds to a specific sensor signal. Establishing a receiving terminal dictionary can clarify the signal type, range, and source device that each input terminal should receive.

[0052] Specifically, for the sender device, it is necessary to clarify which terminals are used to send signals, as well as the destination and function of these signals. By establishing a sender terminal dictionary, you can clearly understand the output of each sender terminal. For example, in a sensor network, each sensor has an output terminal for sending measured data to other devices. Establishing a sender terminal dictionary can clarify the signal type, range, and target device of each output terminal.

[0053] Optionally, when the verification result is a wrong connection, the terminal dictionary establishment status is determined according to the verification result, including: when the sender has not established the terminal and the receiver has established the terminal, determining the terminal dictionary establishment status as establishing the sender's terminal dictionary; when the sender has established the terminal and the receiver has not established the terminal, determining the terminal dictionary establishment status as establishing the receiver's terminal dictionary; when the sender and the receiver's terminals are incorrectly established, determining the terminal dictionary establishment status as establishing the receiver and sender terminal dictionaries; when both the sender and the receiver have established the terminal, determining the terminal dictionary establishment status as not needing to be established.

[0054] Specifically, when the verification result is wrong connection, it indicates that the terminal connection in the virtual circuit is wrong, and the wrong device or terminal is connected. In order to determine the establishment of the terminal dictionary, the terminal establishment status of the sender and the receiver needs to be considered.

[0055] Furthermore, when the sender has not established a terminal and the receiver has established a terminal, it indicates that the receiver already has a terminal dictionary, but the sender does not. This may be because the sender's terminal information was not fully recorded and organized during the design or installation process. Since the sender does not have a terminal dictionary, it cannot determine the correct signal output terminal, resulting in a wrong connection. When the sender has established a terminal and the receiver has not established a terminal, it indicates that the sender has a terminal dictionary and can correctly output the signal, but the receiver does not have a terminal dictionary and cannot determine the correct signal input terminal, resulting in a wrong connection. Establishing the receiver's terminal dictionary can clarify the terminal information of the receiver's device, including the terminal name, number, function description, and the type and source of the input signal. If the terminals of both the sender and the receiver are established incorrectly, then it is necessary to establish the sender and receiver terminal dictionaries at the same time. This is because in this case, the terminal information of both parties is inaccurate and the correct signal transmission path cannot be determined. Establishing the terminal dictionaries of both parties can re-sort and standardize the terminal information to ensure the correct transmission of the signal. If both the sender and the receiver have established terminal dictionaries and the verification result is a wrong connection, then it may be that an error occurred during the connection process, not a problem with the terminal dictionary. In this case, you need to check the connection of the virtual circuit, find out the specific location of the wrong connection, and correct it. Since the terminal dictionary has been established and is accurate, there is no need to establish it again.

[0056] S130. Modify the basic terminal library according to the establishment of the terminal dictionary.

[0057] Among them, the basic terminal library revision refers to adjusting and improving the terminal information in the basic terminal library according to the establishment of the terminal dictionary. It may include correcting erroneous terminal information, supplementing missing information, optimizing classification methods, etc., to improve the quality and practicality of the basic terminal library.

[0058] Specifically, if there are problems in the establishment of the terminal dictionary, the basic terminal library needs to be revised. For example, if it is found that some terminal information is inaccurate, it is necessary to correct this information; if it is found that the classification of some terminals is unreasonable, it is necessary to readjust the classification method. By continuously revising the basic terminal library, its accuracy and practicality can be improved, providing better support for the design, installation and maintenance of electrical systems.

[0059] The technical solution of the embodiment of the present invention can ensure the accuracy and consistency of the verification work by establishing a basic terminal library and a standard circuit library. Based on the standard circuit library, the virtual circuit is verified and the verification result is generated, which can comprehensively detect the problems existing in the virtual circuit connection, such as normal, multiple connections, wrong connections and missing connections. Determining the establishment of the terminal dictionary based on the verification results helps to accurately evaluate the perfection and accuracy of the current terminal dictionary, and provide a clear direction for subsequent correction work. The basic terminal library can be continuously optimized and improved, thereby ensuring the normal operation of the entire system and the efficient implementation of maintenance work.

[0060] Embodiment 2

[0061] Figure 2 This is a flowchart of a terminal library correction method provided in the second embodiment of the present invention. This embodiment adds a specific process of correcting the basic terminal library according to the establishment of the terminal dictionary on the basis of the above-mentioned first embodiment. Among them, the specific contents of steps S210-S220 are roughly the same as steps S110-S120 in the first embodiment, so they will not be repeated in this embodiment. Figure 2 As shown, the method includes:

[0062] S210, establishing a basic terminal library and a standard circuit library, verifying the virtual circuit based on the standard circuit library and generating a verification result, wherein the verification result includes normal, multiple connection, wrong connection and missing connection.

[0063] Optionally, a basic terminal library and a standard circuit library are established, including: establishing a basic terminal library based on the obtained voltage level, wiring method, interval type, device type, standard terminal and terminal dictionary; establishing a standard circuit library based on the obtained specified voltage level, wiring method, interval type, device type, and receiving and sending virtual terminal connection relationships between intelligent electronic devices.

[0064] S220: Determine the establishment status of the terminal dictionary according to the verification result.

[0065] Optionally, when the verification result is normal or missed, determining the terminal dictionary establishment status according to the verification result includes: determining that the terminal dictionary establishment status is not necessary to be established.

[0066] Optionally, when the verification result is multiple connection, determining the terminal dictionary establishment status according to the verification result includes: determining the terminal dictionary establishment status as establishing a receiver terminal dictionary and a sender terminal dictionary.

[0067] Optionally, when the verification result is a wrong connection, the terminal dictionary establishment status is determined according to the verification result, including: when the sender has not established the terminal and the receiver has established the terminal, determining the terminal dictionary establishment status as establishing the sender's terminal dictionary; when the sender has established the terminal and the receiver has not established the terminal, determining the terminal dictionary establishment status as establishing the receiver's terminal dictionary; when the sender and the receiver's terminals are incorrectly established, determining the terminal dictionary establishment status as establishing the receiver and sender terminal dictionaries; when both the sender and the receiver have established the terminal, determining the terminal dictionary establishment status as not needing to be established.

[0068] S230, obtaining device-related information for which a terminal dictionary needs to be established according to the terminal dictionary establishment status.

[0069] Among them, the device-related information includes target manufacturer, target model, target type, target cyclic redundancy check, target voltage level, target wiring method, target interval type, target device type, target terminal reference, and target virtual terminal description.

[0070] S240. Match device-related information through a basic terminal library to determine a target intelligent electronic device.

[0071] Specifically, the basic terminal library stores the terminal information of various devices. By comparing and matching the acquired device-related information with the information in the basic terminal library, the target intelligent electronic device can be determined. For example, according to the target manufacturer, model, type and other information, the corresponding device record is searched in the basic terminal library. If a completely matching record is found, the target intelligent electronic device can be determined and its terminal information can be further processed.

[0072] S250: Adapt the standard virtual terminal name of the target intelligent electronic device according to the target virtual terminal description, and determine the name matching situation.

[0073] Specifically, the standard virtual terminal name is determined according to the design specifications and best practices of the electrical system, and has a unified naming rule and meaning. By adapting the target virtual terminal description to the standard virtual terminal name, the corresponding relationship of the target virtual terminal in the standard system can be determined. For example, according to the functional description of the target virtual terminal, find the standard virtual terminal name with similar functions. The name matching situation is divided into two situations: full match and non-matching. Full match means that the target virtual terminal description is exactly the same as the standard virtual terminal name, and non-matching means that the target virtual terminal description cannot be directly matched with the standard virtual terminal name. By comparing the target virtual terminal description and the standard virtual terminal name, the name matching situation can be determined so that different corrective measures can be taken.

[0074] S260. When the name matching situation is a full match, the target virtual terminal description is mapped to the standard virtual terminal corresponding to the standard virtual terminal name to modify the basic terminal library.

[0075] Specifically, when the name matching situation is a full match, it means that the target virtual terminal has complied with the standard system, and the target virtual terminal description can be directly mapped to the standard virtual terminal corresponding to the standard virtual terminal name, that is, in the basic terminal library, the information of the target virtual terminal can be associated with the standard virtual terminal, thereby realizing the modification of the basic terminal library. For example, the connection information, function description, etc. of the target virtual terminal are updated to the position corresponding to the standard virtual terminal in the basic terminal library. By mapping the target virtual terminal to the standard virtual terminal, it can be ensured that the information in the basic terminal library is consistent with the standard system, thereby improving the accuracy and standardization of the basic terminal library.

[0076] S270. When the name matching situation is not adapted, the terminal dictionary description under the standard terminal is adapted according to the target virtual terminal description to determine the unique situation of the terminal dictionary description in the intelligent electronic device, and the basic terminal library is modified according to the unique situation.

[0077] Specifically, when the name matching situation is not adapted, it is necessary to further adapt the terminal dictionary description under the standard terminal according to the target virtual terminal description. The terminal dictionary description is a detailed explanation and description of the standard terminal, which can help determine the position and function of the target virtual terminal in the standard system. By comparing and adapting the target virtual terminal description with the terminal dictionary description, the closest description can be found, thereby determining the correction direction of the target virtual terminal in the basic terminal library.

[0078] Optionally, the basic terminal library is modified according to the unique situation, including: when the unique situation is unique, mapping the virtual terminal of the intelligent electronic device to the corresponding standard terminal to modify the basic terminal library; when the unique situation is not unique, determining the terminal consistency and the index data attributes described in the terminal dictionary, mapping the target virtual terminal description to the standard virtual terminal corresponding to the terminal consistency and the index data attributes to modify the basic terminal library.

[0079] Specifically, when it is determined that the only case in which the terminal dictionary description in the intelligent electronic device is unique, it indicates that the target virtual terminal description can clearly correspond to a specific standard terminal. By mapping the virtual terminals of the intelligent electronic device to the corresponding standard terminals, it can be ensured that the information in the basic terminal library accurately reflects the terminal connection status of the intelligent electronic device and is consistent with the standard system. For example, in an electric power system, a virtual terminal of a specific model of intelligent electronic device has a unique functional description and connection method. After analysis, it was found that this virtual terminal can only match a standard terminal in the basic terminal library. At this time, by mapping the virtual terminal to this standard terminal, the basic terminal library can be modified so that subsequent system design, maintenance and other work can be accurately performed based on the information in the basic terminal library.

[0080] Furthermore, when revising the basic terminal library, it is first necessary to determine which standard terminal the virtual terminal of the intelligent electronic device corresponds to. Then, the virtual terminal information of the intelligent electronic device (such as terminal name, number, function description, connection method, etc.) is updated to the record of the corresponding standard terminal in the basic terminal library. This ensures that the information in the basic terminal library is up to date and accurately reflects the actual situation of the intelligent electronic device. Finally, the revised basic terminal library is verified and tested to ensure its accuracy and completeness. The correctness of the basic terminal library can be verified by comparing with the actual device, performing simulation tests, etc.

[0081] Specifically, when the unique situation is not unique, it means that there are multiple target virtual terminal descriptions that are similar to the same terminal dictionary description. At this time, it is necessary to further analyze the terminal consistency and data attributes of the terminal dictionary description to determine which standard virtual terminal the target virtual terminal should be mapped to. Terminal consistency refers to the degree of similarity between different virtual terminals in terms of function, connection method, etc.; data attributes may include information on data type, data range, data update frequency, etc. By comprehensively considering these factors, the standard virtual terminal that best suits the target virtual terminal can be determined, thereby correcting the basic terminal library.

[0082] In a specific implementation, according to the virtual terminal description of the intelligent electronic device (IED), the standard virtual terminal name under the IED device is adapted. When the name description is fully matched, it will be automatically mapped to the corresponding standard terminal; if the standard terminal is not adapted, the terminal dictionary description under the standard terminal is adapted. If the adapted terminal dictionary description is unique under the IED device, the virtual terminal of the IED is automatically mapped to the corresponding standard terminal; if it is not unique, the standard terminal where the dictionary terminal is located is analyzed according to the description and reference. If there is a terminal consistent with the terminal under the standard terminal, an association with the standard terminal is established; if there is no consistency, it is judged according to the index data attribute. If the index data attributes are consistent, an association with the standard terminal is established; if the terminal dictionary description is not adapted, the matching terminal dictionary is searched according to the reference, manufacturer, model, version, and CRC of the IED. If the match is successful, the virtual terminal of the IED is automatically mapped to the corresponding standard terminal.

[0083] In a specific implementation, the method for matching IED devices is as follows: Step 4.1, match the voltage level of the terminal library according to the voltage level of the IED. If the match is successful, proceed to step 4.1.1 to match the IED device in the terminal library. If the match is not successful, proceed to step 4.2; Step 4.1.1, completely match according to the wiring mode, interval type, and device type of the IED. If the match is not successful, proceed to step 4.1.2. Step 4.1.2, gradually reduce the attributes of the IED, match similarly, set the wiring mode of the IED to unknown, match in combination with the interval type and device type of the IED, if the match is not successful, proceed to step 4.1.3. Step 4.1.3, continue to reduce the attributes of the IED, match similarly, set the wiring mode of the IED to unknown, set the interval type to public, and match in combination with the device type of the IED until the match is successful. Step 4.2, match the common voltage level of the terminal library, and repeat the methods of steps 4.1.1-3.

[0084] In a specific implementation, the manufacturer matching method is as follows: Step 6.1, establish a regular expression for each manufacturer; Step 6.2, obtain the manufacturer's regular expression according to the manufacturer of the IED; Step 6.3, the manufacturer's regular expression is matched with the manufacturer regular expression of the IED device in the terminal dictionary under the standard terminal.

[0085] In a specific implementation, the device model matching method is as follows: Step 7.1, establish an association between each device model and a compatible device model; Step 7.2, obtain a compatible device model based on the device model of the IED; Step 7.3, match the compatible device model with the device model in the terminal dictionary under the marked terminal.

[0086] The technical solution of the embodiment of the present invention can ensure the accuracy and consistency of the verification work by establishing a basic terminal library and a standard circuit library. Based on the standard circuit library, the virtual circuit is verified and the verification result is generated, which can comprehensively detect the problems existing in the virtual circuit connection, such as normal, multiple connections, wrong connections and missing connections. Determining the establishment of the terminal dictionary based on the verification results helps to accurately evaluate the perfection and accuracy of the current terminal dictionary, and provide a clear direction for subsequent correction work. The basic terminal library can be continuously optimized and improved, thereby ensuring the normal operation of the entire system and the efficient implementation of maintenance work.

[0087] Embodiment 3

[0088] Figure 3 This is a schematic diagram of the structure of a terminal library correction device provided by the third embodiment of the present invention. Figure 3 As shown, the device includes: a verification result generating module 310, which is used to establish a basic terminal library and a standard circuit library, verify the virtual circuit based on the standard circuit library and generate a verification result, wherein the verification result includes normal, multiple connection, wrong connection and missing connection;

[0089] The terminal dictionary establishment status determination module 320 is used to determine the terminal dictionary establishment status according to the verification result;

[0090] The terminal library correction module 330 is used to correct the basic terminal library according to the establishment of the terminal dictionary.

[0091] Optionally, the verification result generation module 310 is specifically used to: establish a basic terminal library based on the acquired voltage level, wiring method, interval type, device type, standard terminal and terminal dictionary; establish a standard circuit library based on the acquired specified voltage level, wiring method, interval type, device type, and the relationship between receiving and sending virtual terminal connections between intelligent electronic devices.

[0092] Optionally, the terminal dictionary establishment status determination module 320 specifically includes: a normal or missed connection status determination unit, which is used to: determine that the terminal dictionary establishment status is that establishment is unnecessary.

[0093] Optionally, the terminal dictionary establishment status determination module 320 specifically includes: a multiple connection status determination unit, which is used to: determine that the terminal dictionary establishment status is to establish a receiver and a sender terminal dictionary.

[0094] Optionally, the terminal dictionary establishment status determination module 320 specifically includes: a wrong connection situation determination unit, which is used to: when the sender has not established the terminal and the receiver has established the terminal, determine the terminal dictionary establishment status as establishing the sender's terminal dictionary; when the sender has established the terminal and the receiver has not established the terminal, determine the terminal dictionary establishment status as establishing the receiver's terminal dictionary; when the terminals of the sender and the receiver are incorrectly established, determine the terminal dictionary establishment status as establishing the receiver and sender terminal dictionaries; when the sender and the receiver have both established the terminal, determine the terminal dictionary establishment status as not needing to be established.

[0095] Optionally, the terminal library correction module 330 is specifically used to: obtain device-related information for which a terminal dictionary needs to be established based on the terminal dictionary establishment status, wherein the device-related information includes the target manufacturer, target model, target type, target cyclic redundancy check, target voltage level, target wiring method, target interval type, target device type, target terminal reference, and target virtual terminal description; match the device-related information through the basic terminal library to determine the target intelligent electronic device; adapt the standard virtual terminal name of the target intelligent electronic device according to the target virtual terminal description, and determine the name matching status; when the name matching status is a full match, map the target virtual terminal description to the standard virtual terminal corresponding to the standard virtual terminal name to correct the basic terminal library; when the name matching status is not adapted, adapt the terminal dictionary description under the standard terminal according to the target virtual terminal description to determine the unique situation of the terminal dictionary description in the intelligent electronic device, and correct the basic terminal library according to the unique situation.

[0096] Optionally, the terminal library correction module 330 specifically includes: a unique situation correction unit, used to: when the unique situation is unique, map the virtual terminal of the intelligent electronic device to the corresponding standard terminal to correct the basic terminal library; when the unique situation is not unique, determine the terminal consistency and the index data attributes described in the terminal dictionary, and map the target virtual terminal description to the standard virtual terminal corresponding to the terminal consistency and the index data attributes to correct the basic terminal library.

[0097] The technical solution of the embodiment of the present invention can ensure the accuracy and consistency of the verification work by establishing a basic terminal library and a standard circuit library. Based on the standard circuit library, the virtual circuit is verified and the verification result is generated, which can comprehensively detect the problems existing in the virtual circuit connection, such as normal, multiple connections, wrong connections and missing connections. Determining the establishment of the terminal dictionary based on the verification results helps to accurately evaluate the perfection and accuracy of the current terminal dictionary, and provide a clear direction for subsequent correction work. The basic terminal library can be continuously optimized and improved, thereby ensuring the normal operation of the entire system and the efficient implementation of maintenance work.

[0098] A terminal library correction device provided in an embodiment of the present invention can execute a terminal library correction method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0099] Embodiment 4

[0100] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0101] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0102] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0103] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a terminal library correction method.

[0104] In some embodiments, a terminal library correction method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the terminal library correction method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform a terminal library correction method in any other appropriate manner (for example, by means of firmware).

[0105] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0106] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0107] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0108] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0109] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0110] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0111] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0112] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A terminal library correction method, characterized in that: include: Establish a basic terminal library and a standard circuit library, verify the virtual circuit based on the standard circuit library and generate a verification result, wherein the verification result includes normal, multiple connection, wrong connection and missing connection; Determine the terminal dictionary establishment status according to the verification result; The basic terminal library is modified according to the establishment of the terminal dictionary.

2. The method according to claim 1, characterized in that The establishment of the basic terminal library and the standard circuit library includes: Establish a basic terminal library based on the obtained voltage level, wiring method, bay type, device type, standard terminal and terminal dictionary; A standard circuit library is established based on the acquired specified voltage level, wiring method, interval type, device type, and the connection relationship between receiving and sending virtual terminals between intelligent electronic devices.

3. The method according to claim 1, characterized in that When the verification result is normal or missing, determining the terminal dictionary establishment status according to the verification result includes: It is determined that the terminal dictionary does not need to be established.

4. The method according to claim 1, characterized in that When the verification result is multiple connection, determining the terminal dictionary establishment status according to the verification result includes: Determining the terminal dictionary establishment condition is to establish a receiver terminal dictionary and a sender terminal dictionary.

5. The method according to claim 4, characterized in that When the verification result is a wrong connection, determining the terminal dictionary establishment status according to the verification result includes: When the sender has not established a terminal and the receiver has established a terminal, determining that the terminal dictionary establishment condition is to establish a sender terminal dictionary; When the sender establishes a terminal and the receiver does not establish a terminal, determining that the terminal dictionary establishment condition is to establish a receiver terminal dictionary; When the terminal establishment of the sender and the receiver is wrong, determining the terminal dictionary establishment condition is to establish the terminal dictionary of the receiver and the sender; When both the sender and the receiver have established terminals, it is determined that the terminal dictionary establishment situation is that establishment is unnecessary.

6. The method according to claim 5, characterized in that The step of modifying the basic terminal library according to the establishment of the terminal dictionary includes: According to the establishment of the terminal dictionary, the device-related information of the party for which the terminal dictionary needs to be established is obtained, wherein the device-related information includes the target manufacturer, target model, target type, target cyclic redundancy check, target voltage level, target wiring mode, target interval type, target device type, target terminal reference, and target virtual terminal description; Matching the device related information through the basic terminal library to determine the target intelligent electronic device; Adapting the standard virtual terminal name of the target intelligent electronic device according to the target virtual terminal description, and determining the name matching situation; When the name matching situation is a full match, mapping the target virtual terminal description to a standard virtual terminal corresponding to the standard virtual terminal name, so as to modify the basic terminal library; When the name matching situation is not adapted, the terminal dictionary description under the standard terminal is adapted according to the target virtual terminal description to determine the unique situation of the terminal dictionary description in the intelligent electronic device, and the basic terminal library is modified according to the unique situation.

7. The method according to claim 6, characterized in that The step of modifying the basic terminal library according to the unique situation includes: When the unique situation is unique, mapping the virtual terminal of the intelligent electronic device to the corresponding standard terminal to modify the basic terminal library; When the unique situation is not unique, determine the terminal consistency and the index data attributes described in the terminal dictionary, map the target virtual terminal description to a standard virtual terminal corresponding to the terminal consistency and the index data attributes, so as to modify the basic terminal library.

8. A terminal library correction device, characterized in that: include: A verification result generation module is used to establish a basic terminal library and a standard circuit library, verify the virtual circuit based on the standard circuit library and generate a verification result, wherein the verification result includes normal, multiple connection, wrong connection and missing connection; A terminal dictionary establishment status determination module, used to determine the terminal dictionary establishment status according to the verification result; The terminal library correction module is used to correct the basic terminal library according to the establishment of the terminal dictionary.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 7.

10. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method according to any one of claims 1 to 7 when executed.