Virtual loop classification method and device, equipment, medium and product
By obtaining the calibration results, loop type and equipment attributes of the virtual loop, it automatically matches the preset problem entries, and classifies virtual loops in combination with the serious problem attributes, solving the problems of low efficiency and poor accuracy of virtual loop classification in the existing technology, realizing the Efficient and accurate virtual loop automation classification.
Patent Information
- Application Number
- CN202411212551.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-24
AI Technical Summary
In the prior art, the calibration results of virtual circuits are classified manually, which is inefficient and poorly accurate, and is prone to inspection omissions, resulting in low accuracy of virtual circuit verification.
By obtaining the virtual loop verification results in the substation project file, the loop type, equipment attributes and terminal types are determined, and based on this information, matching the preset problem entries, and automatically classifying the virtual loops with the serious problem attributes to form clusters.
It improves the accuracy and efficiency of virtual loop classification, enhances the readability of classification results, realizes the automated classification of virtual loops, and reduces manual errors.
Smart Images

Figure CN119180242A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of substations, and in particular to a virtual circuit classification method, device, equipment, medium and product. Background Art
[0002] In smart substations, virtual circuits are usually described by digital technology, and information exchange and operation control between devices are realized through virtual circuits. The correct configuration and detection of virtual circuits are crucial to ensure the safe and stable operation of substations. Therefore, after the virtual circuit is configured, it is necessary to check and verify the configuration of the virtual circuit to ensure its correctness and reliability.
[0003] In the prior art, the verification results of all virtual circuits are mainly classified manually, abnormal connections in the virtual circuits are determined according to the verification results, and these abnormal connections are subsequently rectified. This manual method not only cannot guarantee the efficiency and quality of classification, but also once a large number of abnormal connections appear, manual classification is likely to result in omissions, resulting in low accuracy in virtual circuit verification. Summary of the invention
[0004] The present invention provides a virtual loop classification method, device, equipment, medium and product to achieve the technical effect of improving the accuracy and classification efficiency of virtual loop classification and enhancing the readability of classification results.
[0005] According to one aspect of the present invention, a virtual circuit classification method is provided, the method comprising:
[0006] Obtain verification results of at least two virtual circuits in the substation engineering file;
[0007] For each of the virtual circuits, determining the circuit type of the virtual circuit, the device attribute of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device;
[0008] Determine a target problem item corresponding to the virtual circuit from preset problem items based on at least one of the verification result corresponding to the virtual circuit, the circuit type, the device attribute, and the terminal type;
[0009] Based on the problem severity attribute of each of the target problem items, the at least two virtual loops are classified to obtain at least one cluster.
[0010] According to another aspect of the present invention, there is provided a virtual circuit classification device, the device comprising:
[0011] A verification result acquisition module is used to obtain verification results of at least two virtual circuits in the substation engineering file;
[0012] An information determination module, for determining, for each of the virtual circuits, a circuit type of the virtual circuit, a device attribute of a target device corresponding to the virtual circuit, and a terminal type of a virtual terminal in the target device;
[0013] A problem item determination module, configured to determine a target problem item corresponding to the virtual circuit from preset problem items based on at least one of the verification result corresponding to the virtual circuit, the circuit type, the device attribute, and the terminal type;
[0014] The classification module is used to classify the at least two virtual loops based on the problem severity attribute of each target problem item to obtain at least one cluster.
[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0016] at least one processor; and a memory in communication with the at least one processor; wherein,
[0017] The memory stores a computer program executable 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 virtual circuit classification method described in any embodiment of the present invention.
[0018] 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 the virtual circuit classification method described in any embodiment of the present invention when executed.
[0019] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the virtual circuit classification method as described in any embodiment of the present invention.
[0020] The technical solution of the embodiment of the present invention obtains the verification results of at least two virtual circuits in the substation engineering file; determines the loop type of the virtual circuit, the device attributes of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device; based on the verification result, loop type, device attributes and terminal type corresponding to the virtual circuit, at least one of the verification results, loop type, device attributes and terminal types, determines the target problem item corresponding to the virtual circuit from the preset problem items; based on the problem severity attribute of each target problem item, classifies the at least two virtual circuits to obtain at least one cluster, thereby solving the problem of low classification efficiency and poor accuracy caused by manually classifying the verification results of virtual circuits in the prior art, and realizes matching with the preset problem items in combination with the verification results, loop type, device attributes and terminal type corresponding to the virtual circuit, and finds the target problem item corresponding to the virtual circuit, and then classifies the at least two virtual circuits in combination with the problem severity attribute of each target problem item, obtains clusters corresponding to different problem severity attributes, and realizes the effect of automatically classifying virtual circuits with different problem severity attributes, improves the classification accuracy and classification efficiency of virtual circuits, and enhances the readability of the classification results.
[0021] 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
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. 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.
[0023] Figure 1 is a flow chart of a virtual circuit classification method provided according to the first embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of a virtual circuit classification method provided according to Embodiment 1 of the present invention;
[0025] Figure 3 It is a schematic diagram for representing a problem schematic diagram in a preset problem item provided according to the first embodiment of the present invention;
[0026] Figure 4 is a flow chart of a virtual circuit classification method provided according to Embodiment 2 of the present invention;
[0027] Figure 5 is a structural schematic diagram of a virtual circuit classification device provided according to Embodiment 3 of the present invention;
[0028] Figure 6 It is a structural schematic diagram of an electronic device for implementing the virtual circuit classification method of an embodiment of the present invention. DETAILED DESCRIPTION
[0029] 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.
[0030] 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.
[0031] Embodiment 1
[0032] Figure 1 This is a flowchart of a virtual circuit classification method provided according to the first embodiment of the present invention. This embodiment is applicable to the case of automatically classifying virtual circuits. The method can be executed by a virtual circuit classification device. The virtual circuit classification device can be implemented in the form of hardware and / or software. The virtual circuit classification device can be configured in a computing device. Figure 1 As shown, the method includes:
[0033] S110. Obtain verification results of at least two virtual circuits in the substation engineering file.
[0034] Among them, the engineering file is used to store the connection information of the virtual circuit between each intelligent electronic device (Intelligent Electronic Device, IED) in the intelligent substation. For example, intelligent electronic devices include but are not limited to measuring devices, protection devices, measurement and control devices, merging units, intelligent terminals, storage devices, data analysis devices, diagnostic devices, etc. These IEDs are interconnected through virtual circuits to realize the transmission of information and the execution of control commands. For example, the protection device receives the current and voltage data provided by the merging unit through the virtual circuit, and after performing protection calculations, it sends a trip command to the intelligent terminal through the virtual circuit to achieve fault isolation. The virtual circuit can be used to represent the logical connection between GOOSE (Generic Object Oriented Substation Event) and SV (Sampled Value). The verification result is used to characterize the verification result of the virtual circuit connection, such as the verification result is not limited to correct, wrong, redundant, missing, irregular and other results.
[0035] Specifically, a virtual circuit verification model for describing the circuit connection rules between IEDs may be preconfigured, and all virtual circuits in the project file may be automatically verified by the virtual circuit verification model to obtain a verification result for each virtual circuit.
[0036] For example, see Figure 2 , the engineering file may be an SCD (Substation Configuration Description) file. Based on the virtual circuit verification model and the engineering file, the virtual circuit is automatically verified and the verification result is determined. The implementation method may be: adapting the IED object in the SCD file to the virtual circuit verification model, if the virtual terminal connection existing in the IED virtual circuit is consistent with the circuit connection rule in the virtual circuit verification model, then the verification result of the virtual circuit is determined to be correct; if only one of the receiving side and the sending side of the virtual terminal connection existing in the IED virtual circuit is consistent with the circuit connection rule set in the virtual circuit verification model, then the verification result of the virtual circuit is determined to be wrong; if both the receiving side and the sending side of the virtual terminal connection existing in the IED virtual circuit are inconsistent with the circuit connection rule in the virtual circuit verification model, then the verification result of the virtual circuit is determined to be redundant; if the virtual terminal connection exists in the circuit connection rule in the virtual circuit verification model, but the receiving and sending of the actual virtual terminal connection in the virtual circuit are not, then the verification result of the virtual circuit is determined to be missing. The virtual terminal may refer to a digital terminal for signal communication between devices.
[0037] S120: For each virtual circuit, determine the circuit type of the virtual circuit, the device attribute of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device.
[0038] Among them, the loop type includes but is not limited to voltage loop, current loop, cascade loop, position loop, signal input loop, failure input loop, trip loop, overlap loop, etc. Equipment attributes can be used to characterize some relevant information of the equipment. For example, equipment attributes include but are not limited to the voltage level, wiring method, interval type, equipment type, etc. of the equipment. Terminal types include but are not limited to GOOSE sending virtual terminals, GOOSE receiving virtual terminals, SV sending virtual terminals, SV receiving virtual terminals, etc. Further, according to the function of the virtual terminal, it can also be divided into terminal types such as current virtual terminals, voltage virtual terminals, position input virtual terminals, position output virtual terminals, and trip virtual terminals. Furthermore, according to the keywords of the virtual terminals, it can also be divided into terminal types containing keyword A, keyword B, keyword C, etc. It should be noted that the method of determining the target problem item corresponding to each virtual loop is the same, and the method of determining the target problem item corresponding to any of the virtual loops can be used as an example for explanation.
[0039] For a certain virtual circuit, the circuit type of the virtual circuit can be classified to obtain the circuit type of the virtual circuit. The intelligent electronic device applying the virtual circuit is used as the target device corresponding to the virtual circuit, and the device attributes of the target device and the terminal type of the virtual terminal in the target device are determined.
[0040] Specifically, the device attributes of all intelligent electronic devices in the project file can be analyzed to obtain the device attributes of each intelligent electronic device. The virtual circuits existing in various types of intelligent electronic devices are classified into loop types to obtain the loop type of each virtual circuit, and the virtual terminals in various types of intelligent electronic devices are classified into terminal types to obtain the terminal types of the virtual terminals. In this way, the possible abnormal problems of the virtual circuit can be determined based on the loop type of the virtual circuit, the device attributes of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device.
[0041] For example, see Figure 3, the protection terminal SGB-750A-DA-G and the intelligent terminal PSIU-601IL1-G are connected to each other through a virtual circuit, that is, the protection terminal and the intelligent terminal can be the target devices corresponding to the virtual circuit. The device attributes of the sender IED (protection terminal) are: voltage level-220kV, wiring mode-double bus wiring, bay type-busbar, equipment type-protection; the device attributes of the receiver IED (intelligent terminal) are: voltage level-220kV, wiring mode-double bus wiring, bay type-line, equipment type-intelligent terminal. The loop type of the virtual circuit is: position loop. The terminal type of the virtual terminal in the sender IED is: GOOSE sending virtual terminal, the function is to open the virtual terminal for position, and the keyword is the virtual terminal type of the knife switch keyword. The terminal type of the virtual terminal in the receiver IED is GOOSE receiving virtual terminal, the function is to open the virtual terminal for position, and the keyword is the virtual terminal type of the knife switch position keyword.
[0042] S130. Determine a target problem item corresponding to the virtual loop from preset problem items based on at least one of a verification result, a loop type, a device attribute, and a terminal type corresponding to the virtual loop.
[0043] The preset problem item may be a pre-set possible problem of a virtual circuit. Each preset problem item is used to describe a virtual circuit problem. For example, the preset problem item includes but is not limited to description information of the virtual circuit problem, rectification method for the problem, cause of the problem, severity of the problem, wrong circuit connection diagram and correct circuit connection diagram, etc.
[0044] In this embodiment, a similarity calculation method can be used to match the verification result, loop type, device attribute and terminal type of the virtual loop with at least two preset question items, respectively, and calculate the matching degree between the virtual loop and each preset question item, and the preset question item with the highest matching degree can be used as the target question item corresponding to the virtual loop. For example, the similarity calculation method includes but is not limited to cosine similarity, Jaccard similarity, bag of words model, Word2Vec (a word embedding model based on a neural network, which calculates the similarity between texts by converting the vocabulary in the text into Word2Vec vector representation), and a text matching model (such as using a convolutional neural network (CNN), a long short-term memory network (LSTM) or a Transformer to encode the input text, and calculating the similarity by comparing the encoded feature representations).
[0045] For example, see Figure 2, a question library containing multiple preset question items can be predefined. After determining the IED device attributes, verification results, loop type, and virtual terminal type, at least one of the verification results, loop type, device attributes, and terminal type can be used as an identification attribute for finding problems. According to matching methods such as full matching, priority matching, key information matching, and partial matching, the target question item corresponding to the virtual circuit can be found from the question library. All the target question items found are merged, and the problem items are listed in turn according to the problem description, rectification method, cause of occurrence, loop error type, schematic diagram, etc. described in each target problem item, so as to classify the virtual circuit through these target problem items.
[0046] S140 , based on the problem severity attribute of each target problem item, classify at least two virtual loops to obtain at least one cluster.
[0047] Among them, the problem severity attribute can be used to characterize the severity of the problem. For example, the problem severity attribute can be represented by the problem abnormality level. The higher the level, the more serious the impact of the problem on the substation operation and the more serious the abnormality; the lower the level, the less serious the impact of the problem on the substation operation and the weaker the abnormality.
[0048] In this embodiment, the virtual circuits may be classified according to the problem severity attribute of the target problem item of each virtual circuit, and virtual circuits with the same problem severity attribute may be classified into one category to obtain clusters corresponding to different problem severity attributes.
[0049] Exemplarily, the target problem items matched in the preset problem items are classified in turn according to severity attributes such as severe, general, and standard, and the virtual loops of multiple target problem items classified as the same category are merged into a virtual loop of one category of problems, thereby realizing automatic classification of virtual loops and their problems according to the severity of the problems.
[0050] It should be noted that different problem severity attributes correspond to different levels of concern, and the levels of handling such problems are also different. Therefore, in order to improve the efficiency and accuracy of handling problems with virtual circuits, after virtual circuits are classified according to the severity of the problems with the virtual circuits, target problem items and verification results of the virtual circuits can be associated with the virtual circuits, so that users can rectify the virtual circuits under the corresponding problem severity attributes by combining the target problem items and verification results.
[0051] In this embodiment, based on the problem severity attribute of each target problem item, at least two virtual loops are classified and processed to obtain at least one cluster, including: for each cluster, the target problem item and verification result corresponding to the current virtual loop in the cluster are associated with the current virtual loop and displayed.
[0052] The target problem entry is used to describe the problem of the virtual circuit connection error. The target problem entry at least includes the problem description information, the problem rectification method, the cause of the problem, the problem abnormality level and the problem schematic diagram; the problem description information at least includes the circuit error type, terminal type, device attribute and virtual circuit type.
[0053] Specifically, the target problem item and verification result corresponding to the current virtual circuit in the cluster can be associated with the current virtual circuit, so as to display clusters with different problem severity attributes, and enable users to focus on selecting virtual circuits in clusters with corresponding problem severity attributes for rectification. By being able to make correct rectifications by referring to information such as the target problem item and verification result associated with the virtual circuit, automatic classification of virtual circuits can be achieved, the readability of the classification results can be improved, and the accuracy and objectivity of the classification results can be guaranteed.
[0054] Optionally, the problem description information describes the sender IED, sending virtual terminal, receiving IED, receiving virtual terminal of the virtual circuit problem, and describes the basic error types of the problem, including error, redundancy, missing or other error types (other error types include multiple transmission and one reception, set error, branch error, interval error, etc.). The problem rectification method describes the rectification method of the virtual circuit problem, which may specifically include the rectification object, modification method, impact scope, rectification precautions, and verification method after the modification is completed. The cause of the problem is used to describe the possible causes of the problem, including unclear design principles, special usage, virtual terminal not instantiated, manual reasons, etc. The problem exception level is consistent with the problem severity attribute. For example, the problem exception level describes the severity of the problem, including three levels: severe, general, and standard. Different problem exception levels represent errors that need to be rectified, errors that need to be confirmed after verification, and irregular usage that does not require rectification. The problem diagram displays the virtual circuit connection error in the form of a visual view. The problem diagram includes but is not limited to the sender IED, the sender virtual terminal description, the receiver IED, the receiver virtual terminal description information, the error type, and the correct connection method that should be adapted to the virtual circuit verification model.
[0055] For example, for a certain target question item, its question diagram is as follows: Figure 3As shown. The problem description information can be: IL2262: 220kV horizontal pull Ding line second set of intelligent terminal PSIU-601IL1-G receives PM2202: 220kV busbar second set of protection SGB-750A-DA-G tripping branch error, this interval sampling, knife switch position opening and other virtual connections all use branch 11, tripping error uses branch 10, the above wrong connection will cause the bus differential protection to operate incorrectly. The rectification method can be: IL2262: 220kV horizontal pull Ding line second set of intelligent terminal PSIU-601IL1-G receives PM2202: 220kV busbar second set of protection SGB-750A-DA-G tripping virtual terminal circuit should be rectified, and the bus differential protection sending virtual terminal should be modified to the correct branch. The rectification process requires IL2262: 220kV horizontal pull Ding line second set of intelligent terminal PSIU-601IL1-G to be shut down, re-download the configuration and drive the modified circuit function. The reasons for the problem can be: The main differential interval branch error is generally caused by the integrator pulling the virtual terminal by mistake. During the commissioning and acceptance process, the transmission was not strictly carried out according to the interval, resulting in related errors. The loop error type is: The above problems are serious problems. Please verify and rectify them in time.
[0056] The above is a target problem entry about a branch coordination error between a bus differential protection and a bay device. It details the relevant information of the virtual circuit problem so that users can clearly and effectively understand the problem and handle it correctly and effectively.
[0057] The technical solution of this embodiment is to obtain the verification results of at least two virtual circuits in the substation engineering file; determine the circuit type of the virtual circuit, the device attributes of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device; based on the verification result, circuit type, device attributes and at least one of the terminal types corresponding to the virtual circuit, determine the target problem item corresponding to the virtual circuit from the preset problem items; based on the problem severity attribute of each target problem item, classify the at least two virtual circuits to obtain at least one cluster, which solves the problem of low classification efficiency and poor accuracy caused by manual classification of virtual circuit verification results in the prior art, and realizes matching with the preset problem items in combination with various information such as the verification result, circuit type, device attributes and terminal type corresponding to the virtual circuit, and finds the target problem item corresponding to the virtual circuit, and then classifies the at least two virtual circuits in combination with the problem severity attribute of each target problem item to obtain clusters corresponding to different problem severity attributes, so as to achieve the effect of automatically classifying virtual circuits with different problem severity attributes, improve the classification accuracy and classification efficiency of virtual circuits, and enhance the readability of the classification results.
[0058] Embodiment 2
[0059] Figure 4 This is a flow chart of a virtual circuit classification method provided according to the second embodiment of the present invention. On the basis of the above embodiment, S130 is further refined. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same as or corresponding to the above embodiment are not repeated here.
[0060] like Figure 4 As shown, the method specifically comprises the following steps:
[0061] S210. Obtain verification results of at least two virtual circuits in the substation engineering file.
[0062] S220: For each virtual circuit, determine the circuit type of the virtual circuit, the device attribute of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device.
[0063] S230. Determine a problem search identifier based on at least one of a verification result, a circuit type, a device attribute, and a terminal type corresponding to the virtual circuit.
[0064] In this embodiment, part or all of the verification results, circuit types, device attributes, and terminal types corresponding to the same virtual circuit may be marked and spliced to obtain a problem search mark, so that the problem search mark includes at least one identification item. For example, the identification items of the problem search mark may be the verification results, circuit types, device attributes, and terminal types, etc.
[0065] S240: For each preset question item, match the question search identifier with the preset question item to obtain a priority attribute of the preset question item.
[0066] In this embodiment, the method of determining the priority attribute corresponding to each preset problem item under the virtual circuit is the same, and the priority attribute corresponding to any preset problem item under the virtual circuit can be used as an example for introduction. Among them, the priority attribute can be used to characterize the occurrence of such problems in the virtual circuit and the priority of such problems to be processed. For example, the smaller the priority attribute, the higher the priority should be processed and the higher the level of processing.
[0067] It can be understood that: each identification item in the problem search identification can be matched with the problem identification of the preset problem item, and the priority attribute of the preset problem item can be determined according to the matching result.
[0068] For example, see Figure 2After determining the problem search identifier, the preset problem entry in the problem library can be matched based on the problem search identifier, and the problem identifier of the preset problem entry can be used as a unique identifier for a type of problem. For example, the preset problem entry may include the device attribute information of the sending and receiving IED objects of the problem error virtual circuit, the circuit type information of the problem error virtual circuit, the sending and receiving terminal type information of the problem error virtual circuit, and other error types such as one send and multiple receive, interval error, branch error, set error, etc. divided based on specific application conditions.
[0069] In this embodiment, the problem search identifier and the preset problem item are matched to obtain the priority attribute of the preset problem item, including: determining a first identification item in the problem search identifier that matches at least one problem item in the preset problem item, and a first problem item that matches the first identification item; based on the first identification item, the first problem item and the problem attribute of the first problem item, determining the priority attribute of the preset problem item.
[0070] The problem item at least includes problem description information, problem rectification method, problem cause, problem abnormality level and problem schematic diagram; the problem description information at least includes loop error type, virtual terminal type, device attribute and virtual loop type, etc. Problem attributes can be used to characterize the problem importance level of the problem item in the problem entry, for example, problem attributes include common attributes, non-common attributes, important attributes and key attributes; the problem importance levels of common attributes, non-common attributes, important attributes and key attributes increase in sequence, that is, the key attribute has the highest importance level and should be handled with priority.
[0071] Specifically, if there is a question item in the preset question item that matches the identification item in the question search identification, the identification item is used as the first identification item, and the question item that matches the identification item is used as the first question item. Further, the priority attribute of the preset question item can be determined by combining the first identification item, the first question item, and the question attribute of the first question item.
[0072] For ease of understanding, Figure 3 Taking the specific question items shown as an example, the following question identifiers corresponding to the preset question items can be defined, and the question identifier is represented by multiple question items:
[0073] Problem identification 1 can be expressed as: IED type is the sender IED voltage level 220kV, wiring mode double mother wiring, interval type busbar, equipment type protection, the receiving IED voltage level 220kV, wiring mode double mother wiring, interval type line, equipment type intelligent terminal; the loop type of the virtual loop is the position loop; the sender terminal type is the GOOSE sending virtual terminal, and the function is to open the virtual terminal at the position, and the receiver terminal type is the GOOSE receiving virtual terminal, and the function is to open the virtual terminal at the position; other error types are general errors.
[0074] Problem identification 2 can be expressed as: the IED type is the sender IED voltage level is universal, the wiring method is universal, the interval type is bus, and the equipment type is protection; the receiving IED voltage level is universal, the wiring method is universal, the interval type is line, and the equipment type is intelligent terminal; the loop type of the virtual loop is universal; the sender terminal type is the GOOSE sending virtual terminal, and the virtual terminal is opened according to the function of the position; the receiving terminal type is the GOOSE receiving virtual terminal, and the virtual terminal is opened according to the function of the position; other error types are universal errors.
[0075] Problem identification 3 can be expressed as: the IED type is the sender IED voltage level is universal, the wiring method is universal, the interval type is bus, the equipment type is protection; the receiving IED voltage level is universal, the wiring method is universal, the interval type is line, and the equipment type is intelligent terminal; the loop type of the virtual loop is universal; the sender terminal type is universal; other error types are branch errors.
[0076] In this embodiment, there are at least four implementation methods for determining the priority attribute of the preset question item based on the first identification item, the first question item and the question attribute of the first question item. The at least four methods are introduced below respectively.
[0077] One method may be: when it is determined that the first number of first identification items reaches the total number of identification items in the problem search identification, and the problem attributes of the first problem items are all non-universal attributes, the priority attribute of the preset problem item is determined to be a preset first threshold.
[0078] Specifically, if the first number of the first identification items is consistent with the total number of identification items in the problem search identification, it means that all the identification items in the problem search identification are matched. At this time, if the problem attributes of the first problem item are all non-universal attributes, the priority attribute of the preset problem item can be set to the preset first threshold. For example, the preset first threshold can be 1.
[0079] Exemplarily, based on the identification items in the problem search identifier, each identification item is traversed through the problem items of the preset problem entry in turn, and all identification items can be matched to the problem items of non-universal attributes. At this time, the matching relationship is a full match, and the priority attribute of the preset problem entry is 1.
[0080] Another method may be: when it is determined that the first quantity of the first identification items reaches the total quantity of the identification items in the problem search identification, and the problem attributes of the first problem items are all common attributes, based on the total quantity, determine the intermediate value; or, when it is determined that the first quantity of the first identification items does not reach the total quantity of the identification items in the problem search identification, and the first quantity reaches a preset quantity, based on the problem attributes and the total quantity of the first problem items, determine the intermediate value; based on the intermediate value, determine the priority attribute of the preset problem item.
[0081] Specifically, if it is determined that the first number of the first identification items reaches the total number of identification items in the problem search identification, and the problem attributes of the first problem items are all common attributes, the total number is used as the intermediate value. If the first number of the first identification items does not reach the total number of identification items in the problem search identification, but the first number reaches a preset number (the preset number can be 1), it means that some of the identification items in the problem search identification match the problem items in the preset problem entry. In this case, if the problem attributes of the matched first problem items are all non-common attributes, the difference between the first number of the first identification items and the total number can be used as the intermediate value. If the problem attributes of the matched first problem items are all common attributes, the total number can be used as the intermediate value. If the problem attributes of the matched first problem items include common attributes and non-common attributes, the difference between the number of the first problem items with non-common attributes and the total number can be used as the intermediate value. Further, the intermediate value can be used as the priority attribute of the preset problem entry.
[0082] It can be understood as follows: if some identification items are matched, the priority attribute is increased by 1 for every problem item with a non-universal attribute that is matched in the identification item.
[0083] Another way may be: when it is determined that the question attributes of the first question item include an important attribute, the priority attribute of the preset question item is determined based on the number and median value of the first question items of the important attribute.
[0084] Based on the above technical solution, if there is a question attribute of the first question item that is an important attribute, the number of first question items with the important attribute that are matched is counted. Furthermore, the difference between the number of first question items with the important attribute and the median value can be used as the priority attribute of the preset question item.
[0085] Exemplarily, the problem attributes of some problem items may be defined in advance as important attributes. If the identification item in the problem search identification matches a problem item of important attributes, then each time a problem item of important attributes is matched, the priority attribute is reduced by 1 based on the middle value.
[0086] Another way may be: when it is determined that the question attribute of the first question item includes the key attribute, the priority attribute of the preset question item is determined to be a preset first threshold.
[0087] Specifically, if there is a problem attribute of the first problem item that is a key attribute, the priority attribute of the preset problem item may be set to a preset first threshold.
[0088] Exemplarily, the problem attributes of some problem items may be defined in advance as key attributes. If the identification item in the problem search identification matches the problem item with the key attribute, the priority attribute is 1.
[0089] For ease of understanding, Figure 3 Taking the specific question items shown and the question identifiers 1, 2 and 3 given above as examples, the implementation method for determining the priority attribute of the preset question items is introduced.
[0090] Assume that the identification items in the problem search identification are limited to sending IED voltage level, sending IED wiring method, sending IED interval type, sending IED equipment type, receiving IED voltage level, receiving IED wiring method, receiving IED interval type, receiving IED equipment type, loop type, sending terminal type, sending virtual terminal function, sending virtual terminal keyword, receiving terminal type, receiving virtual terminal function, receiving virtual terminal keyword, and other error types, totaling 16 identification items.
[0091] When determining the priority attributes of the preset problem items under the problem search identification, each identification item occupies 1 priority, the default priority is 16+1=17, and other error types are set as problem items with defined key attributes.
[0092] When the identification item in the problem search identification is adapted to problem identification 1, the 16 identification items are compared in sequence. The number of identification items with non-common attributes in the problem search identification is 4 and they all match the problem items in problem identification 1. The priority attribute calculation result is 17-4=13.
[0093] When the identification item in the problem search identification is adapted to problem identification 2, the 16 identification items are compared in sequence. The number of identification items with non-common attributes in the problem search identification is 8 and they all match the problem items in problem identification 1. The priority attribute calculation result is 17-8=9.
[0094] When the identification item in the problem search identification is adapted to the problem identification 3, the identification item is directly matched to the problem item of the key attribute, and the priority attribute calculation result is 1.
[0095] It should be noted that the above assumptions are only for the convenience of explaining the implementation of the specific method and should not be understood as limiting the technical solution provided by the present invention. Similar extension methods based on this assumption should be regarded as within the scope of protection of the present invention.
[0096] S250 . Based on each priority attribute, determine a target problem item corresponding to the virtual loop from preset problem items.
[0097] In this embodiment, the priority attributes of all preset problem items can be sorted, and the preset problem item with the smallest priority attribute value can be used as the target problem item corresponding to the virtual loop. For example, from the above S240, it can be known that the problem item corresponding to the problem identifier 3 has the smallest priority attribute value, and the problem item corresponding to the problem identifier 3 can be used as the target problem item corresponding to the virtual loop, so that the problem of the virtual loop can be classified as the problem item corresponding to the problem identifier 3.
[0098] S260: Based on the problem severity attribute of each target problem item, classify at least two virtual loops to obtain at least one cluster.
[0099] The technical solution of this embodiment determines a problem search identifier based on at least one of the verification result, loop type, device attribute and terminal type corresponding to the virtual loop, and then matches the problem search identifier with a preset problem item to obtain a priority attribute of the preset problem item. Based on each priority attribute, a target problem item corresponding to the virtual loop is determined from the preset problem item, and the target problem item existing in the virtual loop is accurately matched, thereby improving the accuracy of classification of various information of the virtual loop and facilitating subsequent problem rectification in combination with the target problem item corresponding to the virtual loop, thereby improving the effectiveness of classification.
[0100] Embodiment 3
[0101] Figure 5 Schematic diagram of a virtual circuit classification device provided according to Embodiment 3 of the present invention. Figure 5 As shown, the device includes: a verification result acquisition module 310, an information determination module 320, a problem item determination module 330 and a classification module 340.
[0102] Among them, the verification result acquisition module 310 is used to obtain the verification results of at least two virtual circuits in the substation engineering file; the information determination module 320 is used to determine the loop type of the virtual circuit, the device attributes of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device for each of the virtual circuits; the problem item determination module 330 is used to determine the target problem item corresponding to the virtual circuit from the preset problem items based on the verification result corresponding to the virtual circuit, the loop type, the device attributes and at least one of the terminal types; the classification module 340 is used to classify the at least two virtual circuits based on the problem severity attribute of each of the target problem items to obtain at least one cluster.
[0103] The technical solution of this embodiment is to obtain the verification results of at least two virtual circuits in the substation engineering file; determine the circuit type of the virtual circuit, the device attributes of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device; based on the verification result, circuit type, device attributes and at least one of the terminal types corresponding to the virtual circuit, determine the target problem item corresponding to the virtual circuit from the preset problem items; based on the problem severity attribute of each target problem item, classify the at least two virtual circuits to obtain at least one cluster, which solves the problem of low classification efficiency and poor accuracy caused by manual classification of virtual circuit verification results in the prior art, and realizes matching with the preset problem items in combination with various information such as the verification result, circuit type, device attributes and terminal type corresponding to the virtual circuit, and finds the target problem item corresponding to the virtual circuit, and then classifies the at least two virtual circuits in combination with the problem severity attribute of each target problem item to obtain clusters corresponding to different problem severity attributes, so as to achieve the effect of automatically classifying virtual circuits with different problem severity attributes, improve the classification accuracy and classification efficiency of virtual circuits, and enhance the readability of the classification results.
[0104] Based on the above device, optionally, the problem item determination module 330 includes:
[0105] A problem finding identifier determining unit, configured to determine a problem finding identifier based on at least one of the verification result corresponding to the virtual circuit, the circuit type, the device attribute, and the terminal type;
[0106] A priority attribute determination unit, configured to match the question search identifier with the preset question item for each preset question item, to obtain the priority attribute of the preset question item;
[0107] A target problem item determining unit is used to determine a target problem item corresponding to the virtual circuit from the preset problem items based on each of the priority attributes.
[0108] Based on the above device, optionally, the priority attribute determination unit includes:
[0109] A first question item determining unit, configured to determine a first identification item in the question search identification that matches at least one question item in the preset question entry, and a first question item that matches the first identification item;
[0110] The priority attribute determination subunit is used to determine the priority attribute of the preset question item based on the first identification item, the first question item and the question attribute of the first question item.
[0111] Based on the above-mentioned device, optionally, a priority attribute determination subunit is used to determine that the priority attribute of the preset question item is a preset first threshold when it is determined that the first number of the first identification items reaches the total number of identification items in the problem search identification, and the problem attributes of the first problem items are all non-universal attributes.
[0112] Based on the above-mentioned device, optionally, a priority attribute determination subunit is used to determine an intermediate value based on the total number when it is determined that the first number of the first identification items reaches the total number of identification items in the problem search identification and the problem attributes of the first problem items are all common attributes; or, when it is determined that the first number of the first identification items does not reach the total number of identification items in the problem search identification and the first number reaches a preset number, determine an intermediate value based on the problem attributes of the first problem items and the total number; and determine the priority attribute of the preset problem item based on the intermediate value.
[0113] Based on the above device, optionally, a priority attribute determination subunit is used to determine the priority attribute of the preset question item based on the number of first question items with the important attribute and the intermediate value when it is determined that the question attribute of the first question item includes an important attribute.
[0114] Based on the above device, optionally, a priority attribute determination subunit is used to determine the priority attribute of the preset question item as a preset first threshold when it is determined that the question attribute of the first question item includes a key attribute.
[0115] On the basis of the above-mentioned device, optionally, the device also includes: an associated display module, which is used to associate and display the target problem entry and verification result corresponding to the current virtual circuit in the cluster with the current virtual circuit for each cluster; wherein the problem severity attributes corresponding to different clusters are different; the target problem entry includes at least problem description information, problem rectification method, cause of the problem, problem abnormality level and problem schematic diagram; the problem description information includes at least loop error type, virtual terminal type, device attributes and virtual circuit type.
[0116] The virtual circuit classification device provided in the embodiment of the present invention can execute the virtual circuit classification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0117] Embodiment 4
[0118] Figure 6 It is a structural diagram of an electronic device that implements the virtual circuit classification method of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, 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 processing, 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 only examples, and are not intended to limit the implementation of the present invention described and / or required herein.
[0119] like Figure 6 As 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.
[0120] 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.
[0121] 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 the virtual circuit classification method.
[0122] In some embodiments, the virtual circuit classification 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 virtual circuit classification method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the virtual circuit classification method by any other appropriate means (e.g., by means of firmware).
[0123] 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.
[0124] 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.
[0125] 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.
[0126] 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).
[0127] 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.
[0128] 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.
[0129] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the virtual circuit classification method provided by any embodiment of the present invention.
[0130] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0131] 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.
[0132] 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 virtual circuit classification method, characterized in that: include: Obtain verification results of at least two virtual circuits in the substation engineering file; For each of the virtual circuits, determining the circuit type of the virtual circuit, the device attribute of the target device corresponding to the virtual circuit, and the terminal type of the virtual terminal in the target device; Determine a target problem item corresponding to the virtual circuit from preset problem items based on at least one of the verification result corresponding to the virtual circuit, the circuit type, the device attribute, and the terminal type; Based on the problem severity attribute of each of the target problem items, the at least two virtual loops are classified to obtain at least one cluster.
2. The method according to claim 1, characterized in that: The determining, based on at least one of the verification result corresponding to the virtual circuit, the circuit type, the device attribute, and the terminal type, a target problem item corresponding to the virtual circuit from preset problem items comprises: Determine a problem search identifier based on at least one of the verification result corresponding to the virtual circuit, the circuit type, the device attribute, and the terminal type; For each preset question entry, matching the question search identifier with the preset question entry to obtain a priority attribute of the preset question entry; Based on each of the priority attributes, a target problem item corresponding to the virtual circuit is determined from the preset problem items.
3. The method according to claim 2, characterized in that The step of matching the problem search identifier with the preset problem entry and obtaining a priority attribute of the preset problem entry includes: Determine a first identification item in the question search identification that matches at least one question item in the preset question entry, and a first question item that matches the first identification item; Based on the first identification item, the first question item and the question attribute of the first question item, a priority attribute of the preset question item is determined.
4. The method according to claim 3, characterized in that The determining the priority attribute of the preset question item based on the first identification item, the first question item and the question attribute of the first question item includes: When it is determined that the first number of the first identification items reaches the total number of identification items in the problem search identification, and the problem attributes of the first problem items are all non-universal attributes, the priority attribute of the preset problem item is determined to be a preset first threshold.
5. The method according to claim 3, characterized in that: The determining the priority attribute of the preset question item based on the first identification item, the first question item and the question attribute of the first question item includes: When it is determined that the first number of the first identification items reaches the total number of identification items in the problem search identification, and the problem attributes of the first problem items are all common attributes, determining an intermediate value based on the total number; or When it is determined that the first number of the first identification items does not reach the total number of identification items in the problem search identification, and the first number reaches a preset number, determining an intermediate value based on the problem attribute of the first problem item and the total number; Based on the intermediate value, a priority attribute of the preset question item is determined.
6. The method according to claim 3 or 4, characterized in that: The determining the priority attribute of the preset question item based on the first identification item, the first question item and the question attribute of the first question item includes: When it is determined that the question attribute of the first question item includes an important attribute, the priority attribute of the preset question item is determined based on the number and the median value of the first question item of the important attribute.
7. The method according to claim 3, characterized in that The determining the priority attribute of the preset question item based on the first identification item, the first question item and the question attribute of the first question item includes: When it is determined that the question attribute of the first question item includes a key attribute, the priority attribute of the preset question item is determined to be a preset first threshold.
8. The method according to claim 1, characterized in that: After classifying the at least two virtual loops based on the problem severity attribute of each target problem item to obtain at least one cluster, the method includes: For each of the clusters, the target problem item and the verification result corresponding to the current virtual circuit in the cluster are associated with the current virtual circuit and displayed; Among them, the problem severity attributes corresponding to different clusters are different; the target problem entry at least includes problem description information, problem rectification method, problem cause, problem abnormality level and problem schematic diagram; the problem description information at least includes loop error type, virtual terminal type, device attributes and virtual loop type.
9. A virtual circuit classification device, characterized in that: include: A verification result acquisition module is used to obtain verification results of at least two virtual circuits in the substation engineering file; An information determination module, for determining, for each of the virtual circuits, a circuit type of the virtual circuit, a device attribute of a target device corresponding to the virtual circuit, and a terminal type of a virtual terminal in the target device; A problem item determination module, configured to determine a target problem item corresponding to the virtual circuit from preset problem items based on at least one of the verification result corresponding to the virtual circuit, the circuit type, the device attribute, and the terminal type; The classification module is used to classify the at least two virtual loops based on the problem severity attribute of each target problem item to obtain at least one cluster.
10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable 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 perform the virtual circuit classification method according to any one of claims 1 to 8.
