New equipment startup risk identification method and system

By constructing a multi-modal knowledge graph and extracting feature triples, the problem of risk identification in new power systems is solved, accurate risk prediction of the startup process of new equipment is achieved, and the stability and security of the power grid are improved.

CN118504988BActive Publication Date: 2024-10-29STATE GRID ANHUI ELECTRIC POWER CO LTD ELECTRIC POWER SCI RES INST +3
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410926120.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-29
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

In the new power system, the traditional expert rule base is difficult to effectively identify dispatch operation risks, and the startup process of new equipment relies on manual experience, which leads to the risk of misjudgment and missed judgment, and multi-modal data is not fully utilized, resulting in equipment status monitoring. And the assessment is not detailed enough, affecting the stability and security of the power grid.

Method used

Using a method based on multi-modal knowledge graphs, we construct multi-modal knowledge graphs, extract feature triples, and use pre-set risk logic rules to predict risks, integrate multi-source heterogeneous data, and accurately verify entity node status and events to improve the accuracy of risk identification.

Benefits of technology

It has significantly enhanced risk identification capabilities, achieved efficient co-construction and sharing of knowledge graphs among multi-level dispatching agencies, accurately identified risks during the startup process of new equipment, and improved the safety and stability of power dispatching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504988B_ABST
    Figure CN118504988B_ABST
Patent Text Reader

Abstract

The present invention discloses a new equipment startup risk identification method and system based on a distributed multimodal knowledge graph, the method comprising: constructing a distributed multimodal knowledge graph using a knowledge ontology and entity-based architecture; performing fine-grained alignment of cross-modal events on the distributed multimodal knowledge graph; obtaining feature triples using the distributed multimodal knowledge graph after fine-grained alignment of cross-modal events and converting them into feature vectors; constructing a risk identification model based on a deep learning algorithm and completing risk identification. The present invention can provide dispatchers with timely and accurate risk information, help reduce the probability of risk occurrence, and improve the safety and stability of power dispatching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power systems, and more specifically, to a method, system, terminal and computer-readable storage medium for identifying startup risks of new equipment based on a multimodal knowledge graph. Background Art

[0002] In the new power system, due to the complexity of business control and the variability and concealment of risks, it has become increasingly difficult to rely on traditional expert rule bases to identify dispatching and operating risks. This method not only has the risk of misjudgment and missed judgment, but also relies too much on manual experience, is inefficient, and faces many challenges in knowledge sharing and inheritance. Therefore, with the construction and development of new power grid systems, traditional risk identification methods can no longer meet actual needs. The new power system is gradually shifting towards the direction of coordinated control of large power grids and microgrids. The construction of a single dispatching knowledge graph is no longer able to fully identify dispatching and operating risks, and multi-level dispatching must be coordinated.

[0003] The startup of new equipment requires the preparation of a plan in advance, and in the existing technology, the preparation and review of the startup plan for new equipment mainly depends on the experience of the staff. Due to the differences in staff experience, there are potential hidden dangers and risks in the startup plan for new equipment based on manual preparation. During the startup process of new equipment, the actual status of the equipment is often inconsistent with the telesignaling and telemetry status. The main reasons include equipment failure and communication failure. However, the use of multimodal data such as images, audio, and video has not been fully utilized. At the critical stage of the startup of new equipment, it is difficult to verify and detect the actual operating status of the on-site equipment by relying solely on text data. In addition, it is difficult for a simple text map to record key information such as the operational norms of on-site operators, which leads to insufficient comprehensive understanding of the status of new equipment, making it difficult to obtain sufficiently detailed and accurate information and fully optimize the monitoring and evaluation of the startup process of new equipment, and it is difficult to ensure the stability and safety of the power grid system. Summary of the invention

[0004] In order to solve the deficiencies in the prior art, the present invention provides a method, system, terminal and computer-readable storage medium for identifying the startup risk of new equipment and additional equipment based on a multimodal knowledge graph. The method creates a multimodal knowledge graph based on the architecture of the knowledge graph of power grid regulation business, extracts feature triples from the knowledge graph through the logic rules of the startup risk of new equipment, and implements accurate prediction of the startup risk of new equipment.

[0005] The present invention adopts the following technical solution.

[0006] The first aspect of the present invention relates to a method for identifying the startup risk of new equipment based on a multimodal knowledge graph, the method comprising the following steps: collecting a variety of power grid operation information, extracting multimodal operation information from the multiple power grid operation information and constructing a multimodal knowledge graph; based on pre-set new equipment startup risk logic rules, extracting feature triples from the multimodal knowledge graph, and mapping the feature triples to a vector space; based on the position of the feature triples in the vector space, predicting the startup risk of the new equipment in the power grid.

[0007] Preferably, a variety of power grid operation information is collected, including: a variety of power grid operation information including real-time status images of equipment, videos of dispatchers' operation procedures during the startup of newly added equipment, and recordings of dispatchers' commands; multimodal operation information is extracted from the multiple power grid operation information, including: using Faster-RCNN to perform regional annotation on the real-time status images of the equipment, and using NBT to perform event description on the annotated areas, so as to obtain multimodal image information; performing key frame extraction on the video of the dispatchers' operation procedures to obtain an image list, using OCR to extract image text from each image in the image list, filtering out non-standard information from the image text and obtaining multimodal text information; segmenting the recordings of dispatchers' commands, and extracting MFCC features and short-time energy features from the segments, and inputting the extracted MFCC features and short-time energy features into DNN to obtain multimodal audio information.

[0008] Preferably, multimodal operation information is extracted from the multiple power grid operation information, including: the multimodal image information includes the association relationship between the secondary entity, the tertiary entity, the quaternary entity, the entity area, and the entity status; the multimodal text information includes the association relationship between the entity, the startup operation, and the video alignment result; the multimodal audio information includes the association relationship between the dispatcher identity and the audio alignment result.

[0009] Preferably, extracting multimodal operation information from the multiple power grid operation information and constructing a multimodal knowledge graph includes: using UIE to extract entity-attribute-value, entity-relationship-entity triples from the multimodal image information, multimodal text information, and multimodal audio information, and constructing the multimodal knowledge graph based on the triples; the entities include secondary entities, tertiary entities, and quaternary entities, the secondary entities include at least lines and transformers, the tertiary entities include at least switches, and the quaternary entities include at least switches belonging to switches and ground switches belonging to switches; the attributes include image attributes, video attributes, text attributes, and audio attributes, the image attributes include real-time status images of equipment, the video attributes include video of the dispatcher's operating specification process, the audio attributes include a recording of the dispatcher's command, and the text attributes include at least type, status, start time, set value list, set value, impact type, number of impacts, major events, meteorological information, maintenance plan, power supply demand of important users, family defects, individual defects, and dispatcher identity.

[0010] Preferably, based on the pre-set logic rules for the startup risks of newly added equipment, feature triples are extracted from the multimodal knowledge graph, including: the pre-set logic rules for the startup risks of newly added equipment include line power supply rules, line status rules, transformer power supply rules and transformer status rules; wherein, the line power supply rules are for confirming the type and number of impacts during the line startup process according to the type of line; the line status rules are for confirming the state of the line according to the states of the switches, circuit breakers and earth switches in the line; the transformer power supply rules are for confirming the number of impacts of the transformer access switches, side switches and middle switches during the startup process according to the voltage level of the transformer; the transformer status rules are for confirming the state of the transformer according to the states of the transformer access switches, circuit breakers, earth switches and three-side earth switches.

[0011] Preferably, based on the pre-set logic rules for the startup risks of new equipment, feature triples are extracted from the multimodal knowledge graph, including: taking lines and transformers as head entities, extracting a set of triples from the multimodal knowledge graph; collecting entity attribute types from the pre-set logic rules for the startup risks of new equipment, and filtering feature triples from the set of triples based on the entity attribute types.

[0012] Preferably, entity attribute types are collected from the pre-set new equipment startup risk logic rules, including: the entity attribute types collected from the pre-set new equipment startup risk logic rules include type, voltage level, impact type, number of impacts, total number of impacts and status; wherein, the status includes access switch status, access switch knife status, access switch ground knife status, line ground knife status, line status, transformer three-side ground knife status, transformer status.

[0013] Preferably, mapping the feature triples into the vector space includes: using a TransE model to calculate a feature vector corresponding to each of the feature triples, and mapping the feature triples into the vector space based on the feature vectors.

[0014] Preferably, UIE is used to extract entity-attribute-value and entity-relationship-entity triplets from the multimodal image information, multimodal text information and multimodal audio information, and the multimodal knowledge graph is constructed based on the triplets, including: UIE is implemented using a Transformer model, and a sparse matrix is ​​used in the Transformer model to calculate the output result of self-attention; the sparse matrix is ​​calculated according to a similarity score threshold and character-level element collections Collaboratively determine the sparse characteristics of each element in the sparse matrix; character level element set Determined based on the entities and attributes involved in the startup plan for the new device.

[0015] Preferably, the MLP network with a seq2seq+attention structure is obtained through pre-training, and the training data used in the pre-training process has risk types set in advance according to a risk identification model; the risk identification model defines the risk definition of the new equipment startup plan preparation stage and the risk definition of the new equipment startup execution stage; the risks of the new equipment startup plan preparation stage include startup principle risks, method mis-arrangement risks, protection mis-setting risks, familial setting risks and individual defect risks; the risks of the new equipment startup execution stage include scheduling mis-operation risks, primary equipment status risks and scheduling personnel information risks.

[0016] The second aspect of the present invention relates to a new equipment startup risk identification system based on a multimodal knowledge graph using the method in the first aspect of the present invention, the system comprising an extraction module, a mapping module and a prediction module; wherein the extraction module is used to collect a variety of power grid operation information, extract multimodal operation information from the multiple power grid operation information and construct a multimodal knowledge graph; the mapping module is used to extract feature triples from the multimodal knowledge graph based on pre-set new equipment startup risk logic rules, and map the feature triples to a vector space; the prediction module is used to predict the startup risk of the new power grid equipment based on the position of the feature triples in the vector space.

[0017] Preferably, the extraction module is used to collect real-time status images of equipment, videos of dispatchers' operation procedures during the startup of newly added equipment, and recordings of dispatchers' commands as various power grid operation information; Faster-RCNN is used to perform regional annotation on the real-time status images of the equipment, and NBT is used to perform event description on the annotated areas to obtain multimodal image information; key frame extraction is performed on the video of the dispatchers' operation procedures to obtain an image list, and OCR is used to extract image text from each image in the image list, non-standard information is filtered out from the image text, and multimodal text information is obtained; the recordings of dispatchers' commands are segmented, and MFCC features and short-time energy features are extracted from the segments, and the extracted MFCC features and short-time energy features are input into DNN to obtain multimodal audio information.

[0018] Preferably, in the extraction module, the multimodal image information includes the association relationship between the secondary entities, the tertiary entities, the quaternary entities, the entity areas, and the entity states; the multimodal text information includes the association relationship between the entities, the startup operations, and the video alignment results; and the multimodal audio information includes the association relationship between the dispatcher identity and the audio alignment results.

[0019] Preferably, the extraction module is used to use UIE to extract entity-attribute-value, entity-relationship-entity triples from the multimodal image information, multimodal text information, and multimodal audio information, and construct the multimodal knowledge graph based on the triples; the entities include secondary entities, tertiary entities, and quaternary entities, the secondary entities include at least lines and transformers, the tertiary entities include at least switches, and the quaternary entities include at least switch-related knife switches and switch-related ground switches; the attributes include image attributes, video attributes, text attributes, and audio attributes, the image attributes include real-time equipment status images, the video attributes include dispatcher operation specification process videos, the audio attributes include dispatcher command recordings, and the text attributes include at least type, status, start time, set value list, set value, impact type, number of impacts, major events, meteorological information, maintenance plan, important user power supply needs, family defects, individual defects, and dispatcher identity.

[0020] Preferably, in the mapping module, the pre-set logic rules for the risk of newly added equipment startup include line power supply rules, line status rules, transformer power supply rules and transformer status rules; wherein, the line power supply rules are to confirm the impact type and number of impacts during the line startup process according to the type of line; the line status rules are to confirm the state of the line according to the states of the switch, knife switch and earth knife in the line; the transformer power supply rules are to confirm the number of impacts of the transformer access switch, side switch and middle switch during the transformer startup process according to the voltage level of the transformer; the transformer status rules are to confirm the state of the transformer according to the states of the transformer access switch, knife switch, earth knife and three-side earth knife.

[0021] Preferably, a mapping module is used to extract a set of triples from the multimodal knowledge graph with lines and transformers as head entities; collect entity attribute types from the pre-set new equipment startup risk logic rules, and filter out feature triples from the set of triples based on the entity attribute types.

[0022] Preferably, in the mapping module, the entity attribute types collected in the pre-set new equipment startup risk logic rules include type, voltage level, impact type, number of impacts, total number of impacts and status; wherein, the status includes access switch status, access switch knife status, access switch ground knife status, line ground knife status, line status, transformer three-side ground knife status, transformer status.

[0023] Preferably, the mapping module is used to calculate the feature vector corresponding to each of the feature triples using the TransE model, and map the feature triples into the vector space based on the feature vectors.

[0024] Preferably, in the extraction module, UIE is implemented using a Transformer model, and a sparse matrix is ​​used in the Transformer model to calculate the output result of the self-attention; the sparse matrix is ​​calculated according to the similarity score threshold and character-level element collections Collaboratively determine the sparse characteristics of each element in the sparse matrix; character level element set The determination is based on the entity and the attribute involved in the startup scheme of the new device.

[0025] Preferably, the MLP network with a seq2seq+attention structure is obtained through pre-training, and the training data used in the pre-training process has risk types set in advance according to a risk identification model; the risk identification model defines the risk definition of the new equipment startup plan preparation stage and the risk definition of the new equipment startup execution stage; the risks of the new equipment startup plan preparation stage include startup principle risks, method mis-arrangement risks, protection mis-setting risks, familial setting risks and individual defect risks; the risks of the new equipment startup execution stage include scheduling mis-operation risks, primary equipment status risks and scheduling personnel information risks.

[0026] A third aspect of the present invention relates to a terminal, comprising a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method in the first aspect of the present invention.

[0027] A fourth aspect of the present invention relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method in the first aspect of the present invention.

[0028] The beneficial effect of the present invention is that, compared with the prior art, the present invention provides a method, system, terminal and computer-readable storage medium for identifying the startup risk of new equipment based on a multimodal knowledge graph. The method creates a multimodal knowledge graph based on the architecture of the knowledge graph of power grid regulation business, extracts feature triples from the knowledge graph through the logic rules of the startup risk of new equipment, and implements accurate prediction of the startup risk of new equipment. The method effectively integrates multi-source heterogeneous data, promotes the efficient co-construction and sharing of knowledge graphs among multi-level dispatching organizations, accurately verifies the status and events of entity nodes, and greatly improves the accuracy of risk identification during the startup of new equipment.

[0029] The beneficial effects of the present invention also include:

[0030] 1. The present invention significantly enhances the risk identification capability and accurately aligns the multimodal events of newly added equipment, solving the problem of fine-grained automatic construction and alignment of multi-source heterogeneous data (such as video, audio, image, text, etc.), effectively integrating multi-source heterogeneous data, and accurately verifying the status and events of physical nodes, thereby greatly improving the accuracy of risk identification during the startup of new equipment.

[0031] 2. The present invention is based on a distributed multimodal knowledge graph, outputs feature triples, and converts feature triples into feature vectors, constructs a risk identification model based on knowledge graph triples, and successfully realizes the risk prediction during the startup of new equipment in the field of power dispatching. It can effectively identify the startup principle risks, method mis-arrangement risks, protection mis-setting risks, family defect risks, individual defect risks, dispatching misoperation risks, primary equipment status risks and dispatching personnel information risks in the compilation stage and the execution stage of the startup process of new equipment. It can provide dispatching personnel with timely and accurate risk information, help reduce the probability of risk occurrence, and improve the safety and stability of power dispatching. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of the backbone architecture of the knowledge graph of power grid control business in the prior art of the present invention;

[0033] Figure 2 It is a schematic diagram of the transformer part of the knowledge graph of the power grid control business in the prior art of the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in the present invention are only embodiments of a part of the present invention, not all embodiments. Based on the spirit of the present invention, all other embodiments not recorded in the present invention obtained by ordinary technicians in this field according to the embodiments recorded in the present invention without making creative work should belong to the protection scope of the present invention.

[0035] A first aspect of the present invention relates to a method for identifying startup risks of new equipment based on a multimodal knowledge graph, the method comprising steps 1 to 3.

[0036] Step 1: Collect a variety of power grid operation information, extract multimodal operation information from the various power grid operation information and construct a multimodal knowledge graph.

[0037] In order to realize the identification process of the startup risk of new equipment, the method first collects the operation information of various power grid lines, and constructs a knowledge graph based on the current operation information to identify the risk situation based on the knowledge graph.

[0038] Preferably, a variety of power grid operation information is collected, including: a variety of power grid operation information including real-time status images of equipment, videos of dispatchers' operation procedures during the startup of new equipment, and recordings of dispatchers' commands.

[0039] In the present invention, the above information is collected from some or all data sources such as SCADA system, control cloud system, D5000 system, OMS system, monitoring event system, protection system and meteorological system. The method integrates the above data sources using Python scripts to realize the collection of important power grid operation information. The real-time status image of the equipment can be a real-time operation image at locations such as substations and transmission lines. By collecting these real-time status images, the method obtains multiple local areas on the image, each of which represents an operating or newly added device or device element in a power grid.

[0040] The video of the dispatcher's operation process during the startup of new equipment is a detailed operation procedure, which records in detail the specific steps of the dispatcher to perform each operation, including bus switching, pulling open the knife switch, equipment impact, etc.

[0041] The dispatcher's command recording is the dispatch command implemented by the dispatcher in the form of voice when starting the new equipment. These commands are stored in the data source system mentioned above in some way. The command recording contains time information, corresponding dispatch events and command recording.

[0042] Preferably, multimodal operation information is extracted from a variety of power grid operation information, including: using Faster-RCNN to perform regional annotation on the real-time status image of the equipment, and using NBT to perform event description on the annotated area, so as to obtain multimodal image information.

[0043] In order to construct a multimodal knowledge graph, the various power grid operation information collected above is first subjected to distributed information extraction. Due to the different formats of data content from different sources, the method adopts different information extraction methods. After extracting the multimodal operation information from the above information, the method then performs cross-modal event fine-grained alignment on the distributed multimodal knowledge graph, thereby providing a knowledge information basis for the multimodal knowledge graph.

[0044] Using NBT image event extraction technology, we can extract information from the real-time status image of the equipment and align the real-time image events. During the image alignment process, we can effectively extract the switch status, switch status, and grounding status in the image, and update the corresponding attributes of the multimodal atlas image.

[0045] Preferably, multimodal operation information is extracted from a variety of power grid operation information, including: the multimodal image information includes association relationships between secondary entities, tertiary entities, quaternary entities, entity areas, and entity states.

[0046] In one embodiment, the device image is annotated in fine granularity, including switch closed, switch opened, switch blade closed, switch blade opened, switch ground blade closed, switch ground blade opened, line ground blade closed, line ground blade opened, transformer three-side ground blade closed, transformer three-side ground blade opened. As described in this embodiment, the image annotation process obtains the association relationship between the switch and the switch state, and the association relationship between the switch element and the switch element state.

[0047] The switch mentioned here is the third-level entity mentioned above, and the switch element is the fourth-level entity mentioned above, such as the switch knife and the switch ground knife. According to actual conditions, the method can also divide the line ground knife, transformer three-side ground knife and other equipment involved in the above embodiments into entities of corresponding levels.

[0048] Since the second-level entities, third-level entities, and fourth-level entities are mentioned, the present invention briefly describes the content of the knowledge graph in the prior art.

[0049] Figure 1 It is a schematic diagram of the backbone architecture of the knowledge graph of power grid control business in the prior art of the present invention. Figure 2 Schematic diagram of the transformer part of the knowledge graph of the power grid control business in the prior art of the present invention. Figure 1 , Figure 2 As shown, the present invention first constructs a knowledge graph ontology architecture in the field of power grid control, and forms a complete control knowledge graph ontology architecture by summarizing and integrating the business in the field of power grid control, and manually combing the common knowledge of power grid control. In this process, six levels of common business knowledge are extracted from the power grid control business, namely, the first-level power grid control knowledge ontology (10), the second-level power grid control knowledge ontology (181), the third-level power grid control knowledge ontology (839), the fourth-level power grid control knowledge ontology (754), the fifth-level power grid control knowledge ontology (280), and the sixth-level power grid control knowledge ontology (85).

[0050] From the first-level grid control knowledge ontology to the sixth-level grid control knowledge ontology, each level has been further refined and expanded on the basis of the previous level ontology, forming an organic and closely connected hierarchical relationship. The construction of the first-level grid control knowledge ontology includes ten core areas, including power generation, transmission, transformation, distribution, power consumption, secondary systems, organizations, power grids, power markets, and public environment. With the progression of levels, each level of ontology refines the knowledge in related fields to form a comprehensive and in-depth knowledge system. Each ontology node is equipped with a specific type of logical rules, which are designed to provide accurate reasoning paths for risk identification of subsequent new equipment.

[0051] Based on the above ideas, the present invention takes into account that during the operation of the power grid system, the static information and topological relationships of primary and secondary equipment are key data. They are mainly stored in D5000 and the control cloud system in structured and semi-structured forms. In order to achieve effective management of this information, a comprehensive entity graph is constructed using Python scripts. This entity graph not only integrates multiple data sources such as SCADA system, control cloud system, D5000 system, OMS system, monitoring event system, protection system and meteorological system, but also realizes the access and dynamic update of real-time data, thereby ensuring the timeliness and accuracy of the multimodal knowledge graph.

[0052] In the entity graph, entity types mainly include names, lines, substations, switches, busbars, transformers, generators, voltage transformers, current transformers, grounding switches, protection, and historical faults, etc. Entity attributes are divided into four categories: text attributes, image attributes, video attributes, and audio attributes.

[0053] Among them, the public text attributes mainly include: operation and maintenance team, dispatcher, type, voltage level, commissioning date, status, family defects, and individual defects; different entity categories not only have common attributes, but also have their own unique private attributes; the image attribute is the real-time status image of the equipment, the video attribute is the video of the dispatcher's operating specification process during the startup of the new equipment, and the audio attribute is the recording of the dispatcher's command.

[0054] The above-mentioned knowledge graph comprehensively covers various fields related to the power system, but the present invention will not adopt all of its contents in the process of identifying the startup risks of new equipment. For this reason, the present invention only focuses on some of the contents, such as the transmission lines and transformers in the secondary entity, the access switches in the tertiary entity, the switch-related switches and the switch-related ground switches in the quaternary entity, and so on.

[0055] By using NBT technology, the association relationship between entities is obtained from the image information, such as a fourth-level entity belongs to a third-level entity, two third-level entities are parallel and belong to a second-level entity, and so on. In addition, after fine-grained alignment of the device image, the method obtains the association relationship between entities and entity states, that is, the association between entities and entity attributes. For example, an entity corresponds to an entity area marked in an image. According to the characteristics of the image information on the entity area, the operating status of the device can be analyzed, such as whether a certain access switch is closed or pulled open.

[0056] In one embodiment, the event templates associated with the image area display include: "Line switch <Area-1>, switch knife <Area-2>, switch ground knife <Area-3>, line ground knife <Area-4>, line status <Area-5>", and "Transformer switch <Area-1>, switch knife <Area-2>, switch ground knife <Area-3>, transformer three-side ground knife <Area-4>, transformer status <Area-5>".

[0057] In the above embodiment, the event template contains the original structure of various different knowledge, that is, the association relationship between knowledge. For example, "Line switch <area-1>" describes the association relationship between the line, the switch, and the image area corresponding to the switch, while "Switch blade <area-2>" describes the association relationship between the third-level entity, the fourth-level entity, and the image area corresponding to the fourth-level entity. Similarly, "Transformer status <area-5>" describes the association relationship between the line, the line area, and the line status.

[0058] The actual content of the status in "Line Status <Area-5>" and "Transformer Status <Area-5>" needs to be obtained through learning the newly added equipment startup risk logic rules in step 2.

[0059] NBT technology selects various physical devices in the image and fills the meaning of the regional image with visual words after obtaining the accurate region. The visual words in the present invention are the device status, such as "open" and "closed" are used to mark <region-1> to <region-4>. And <region-5> is associated with the entire image and is filled with the visual words "run", "hot standby", "cold standby" and "maintenance".

[0060] Given an image The purpose is to combine the global features of the image and the fine-grained text sequence features of the image to generate image events. The text sequence template is defined as follows:

[0061] ,

[0062] In the formula, For image events, Describes the completion moment for an image event.

[0063] Faster-RCNN can be used to obtain image categories, and then local area text sequences can be obtained. When generating an image event, it is necessary not only to associate the visual word with the image, but also to associate it with the local region text sequence. The model parameters are learned by maximizing the probability distribution of global region visual generation events. :

[0064] ,

[0065] According to the chain rule, since the image and region text sequences are fixed, the joint probability distribution can be chain-decomposed:

[0066] ,

[0067] Based on RNN network Generate event templates. During the training phase, is the text sequence in the local area of ​​the image, is the image feature vector; in the prediction stage, is the output at the previous moment , is the image feature vector. Therefore, the probability of generating image events based on the local image region features, the global image features, and the text sequence features of the local image region is:

[0068] ,

[0069] Image description template: "Line switch <area-1>, switch blade <area-2>, switch ground blade <area-3>, line ground blade <area-4>". This sequence template corresponds to 4 image areas, and each area corresponds to two states: "closed" and "open".

[0070] Since there are only four valid sequences of local image sequences, namely: "line switch <closed>, switch knife <closed>, switch knife <opened>, line knife <opened>", "line switch <closed>, switch knife <opened>, switch knife <opened>, line knife <opened>", "line switch <opened>, switch knife <opened>, switch knife <opened>, line knife <opened>", "line switch <opened>, switch knife <opened>, switch knife <opened>, line knife <opened>", "line switch <opened>, switch knife <opened>, switch knife <opened>, line knife <closed>", only when the image generates a valid sequence can the correct image events be generated, and the model parameters can be obtained by minimizing the cross entropy damage function:

[0071] ,

[0072] In the above formula, This formula is 1 when only the local area image sequence is a valid sequence.

[0073] This method proposes to generate image events by combining the global features of the image with the text sequence features of the local area. Its significant advantage is that it effectively integrates the dual features of the image and the text sequence, thereby generating image events more accurately. Compared with traditional image recognition algorithms, this method significantly improves the accuracy of image event recognition by incorporating text sequence features. Compared with existing image-text generation technologies, the present invention applies Faster-RCNN to NBT. By pre-training the Faster-RCNN model, it is able to select appropriate local area text sequence features as prefixes, greatly improving the accuracy of the initial text vector, thereby optimizing the overall performance.

[0074] Preferably, keyframes are extracted from the dispatcher's operation process video to obtain an image list, and OCR is used to extract image text from each image in the image list, and non-standard information is filtered out from the image text to obtain multimodal text information.

[0075] In the process of cross-modal fine-grained alignment of multimodal knowledge graphs, video key frame extraction technology is used to align new device startup operation specification events.

[0076] In the cross-modal fine-grained alignment process of the multimodal knowledge graph, the key frames are first located through the motion features of the video (such as inter-frame attention) and color changes, thereby converting the operation specification video into a series of representative multi-frame image data. By setting the image feature threshold and adopting the dual deduplication strategy of image hashing and feature matching, a high-quality image list is formed.

[0077] In one embodiment, the motion features and color features of each image in the continuous images in the video are first extracted, and the images with the largest changes in motion features and color features in two adjacent continuous frames are extracted as key frames, while other continuous images are screened out. In this way, multiple frames of image data are obtained. The image is hashed, and then the corresponding features in the image are extracted. If the hash value of the adjacent images is less than the image feature threshold and the number of different features is less than the image feature threshold, it is considered that the two images are repeated and double deduplication is performed. After the above steps, the method obtains a high-quality image list, in which each image can fully represent a state of the device or a state in the corresponding new device startup operation process.

[0078] After obtaining the above image list, the NBT method described above can be used to extract the device area and assign the device status label in the image. In the subsequent steps, the method extracts the text in the image, which may include the device status label obtained by the NBT method or the original guide text in the video.

[0079] During the image text extraction process, the image is grayed and binarized to highlight the text in the image. Then, through dilation and corrosion operations, the core of the text is highlighted so that the text content can be extracted more clearly. After preprocessing, the OCR text extraction technology is used to accurately extract the text in the image. By specifying the pixel area, the text of non-standard steps in the image is filtered out, and then a standard text of the new device startup operation steps is formed.

[0080] The text of the non-standard steps can be obtained by comparing the extracted text information with the standard text related to the newly added equipment startup operation. For example, after pre-learning the standard terms in the equipment startup operation process such as the operation ticket, the non-standard text can be filtered out based on models such as machine learning.

[0081] Preferably, the multimodal text information includes associations between entities, startup operations, and video alignment results.

[0082] In the obtained standard text of the newly added device startup operation steps, an event label corresponding to the time of the key frame in the video is provided for each operation step, that is, the video alignment result. Therefore, each standard operation step has a time sequence.

[0083] In the subsequent process, using UIE technology, multiple standard operation steps can be converted into one or more time-ordered triple lists, thereby aligning the new equipment startup operation standard process events. Such standard operation process events are crucial for verifying the core steps of the new equipment startup writing phase, and help ensure the accuracy and completeness of the operation process.

[0084] Preferably, the dispatcher's command recording is segmented, and MFCC features and short-time energy features are extracted from the segments, and the extracted MFCC features and short-time energy features are input into the DNN to obtain multimodal audio information.

[0085] In the cross-modal fine-grained alignment process of multimodal knowledge graphs, the identity events of dispatchers are effectively aligned based on DNN voiceprint recognition technology.

[0086] In the audio data preprocessing stage, the audio playback rate is first dynamically adjusted according to the content and characteristics of the audio data; secondly, the noise of the audio data is reduced by adjusting the sampling rate of the audio data; finally, audio data with standardized spectral characteristics is generated to further eliminate noise and intermittent sounds, effectively improving the quality of the audio data.

[0087] In the feature conversion process, the input audio signal is first pre-emphasized to balance the spectrum and emphasize the high-frequency part. Subsequently, the audio signal is divided into frames, and the length of each frame is controlled at 20-30ms to ensure a certain overlap between frames to retain the continuity of the speech. A weighted window function is introduced for MFCC. Commonly used window functions include rectangular window, triangular window, Hamming window and Hanning window. In the present invention, the weighted window provides a higher weight in the high-frequency part and a smaller weight for the intermediate frequency and low-frequency parts, thereby optimizing the feature extraction of the high-frequency part. In addition, the method calculates the short-time energy of the speech signal. For the short-time energy, a sliding average filter is also used.

[0088] The MFCC features and the short-time energy after filtering are normalized to ensure the same value range, and then the above features are spliced ​​into a joint feature vector as the input of the DNN. Through multi-layer convolution and pooling, the DNN automatically learns and extracts deep features to achieve voiceprint recognition and align the dispatcher's identity information. Therefore, the multimodal audio information includes the relationship between the dispatcher's identity and the audio alignment results.

[0089] Preferably, multimodal operation information is extracted from a variety of power grid operation information and a multimodal knowledge graph is constructed, including: using UIE to extract entity-attribute-value, entity-relationship-entity triplets from multimodal image information, multimodal text information, and multimodal audio information, and constructing a multimodal knowledge graph based on the triplets; entities include secondary entities, tertiary entities, and quaternary entities, secondary entities include at least lines and transformers, tertiary entities include at least switches, and quaternary entities include at least switches belonging to switches and ground switches belonging to switches; attributes include image attributes, video attributes, text attributes, and audio attributes, image attributes include real-time status images of equipment, video attributes include video of dispatcher operation specification procedures, audio attributes include dispatcher command recordings, and text attributes include at least type, status, start time, set value list, set value, impact type, number of impacts, major events, meteorological information, maintenance plan, power supply needs of important users, family defects, individual defects, and dispatcher identity.

[0090] As mentioned above, the knowledge graph of power grid regulation business includes various strictly defined ontologies and relationships between ontologies, attributes of ontologies and other structures. In the present invention, it is not necessary to implement a complete graph, but the method can obtain a multimodal knowledge graph based on various power grid operation information in historical time periods. The graph contains all the information required in the process of identifying the risks of newly added equipment startup. Each time the current risk identification step of newly added equipment startup is actually performed, the method will also generate a current multimodal knowledge graph, which only contains part of the content in the historical multimodal knowledge graph. Therefore, according to the positions of multiple triples in the current knowledge graph falling into the vector space, risk information such as the type of risk can be analyzed. In the present invention, the vector space is constructed based on the historical multimodal knowledge graph. The aforementioned multimodal knowledge graph is applicable to both the historical multimodal knowledge graph and the current multimodal knowledge graph construction process, and the data content of the power grid operation information used by the two is different.

[0091] Through the aforementioned information extraction methods, we obtain corresponding text information, image information, audio information, etc., and different types of information include different entity attributes. In the process of constructing the knowledge graph, UIE mainly extracts triples based on two methods: one is entity-attribute-value, and the other is entity-relationship-entity.

[0092] The types, states, start-up time, dispatcher identities, etc. mentioned here are extracted from the various power grid operation information mentioned above. The fixed value list, fixed value, impact type, impact number, major events, meteorological information, maintenance plan, power supply demand of important users, family defects, and individual defects not mentioned in the present invention can also be collected from various power system information sources in a similar way. This information also provides an important basis for the identification of equipment risks in the subsequent reasoning process of the risk identification model.

[0093] In one embodiment, in the cross-modal fine-grained alignment process of the multimodal knowledge graph, UIE technology is used to extract triples in the document and align the power transmission step events.

[0094] In the subsequent preparation of the plan for the startup of new equipment, UIE technology is used to extract entity-attribute-value triples. First, the format of the triple is defined. For example, in one embodiment, it includes four types of triples: <header entity, startup time, time>, <header entity, setting sheet, setting sheet number>, <header entity, equipment status, closed / opened>, and <header entity, number of impacts, n>. UIE technology uses SSI prompt words + input text, and deeply processes it through the Transformer architecture to finally generate SEL structured data. The UIE principle is as follows:

[0095] ,

[0096] Among them, the SSI prompt word structure is Different formats are obtained according to the types of triples defined in the previous text. As in this embodiment, Represents an entity, represents a relationship, and X represents an input text sequence.

[0097] Preferably, UIE is implemented using a Transformer model, and a sparse matrix is ​​used in the Transformer model to calculate the output result of self-attention; the sparse matrix is ​​based on the similarity score threshold and character-level element collections Collaboratively determine the sparse characteristics of each element in the sparse matrix; character-level element collection Determined based on the entities and attributes involved in the startup plan for the new device.

[0098] The basic architecture of the UIE model is Transformer, and its upper-level learning tasks cover multiple learning tasks such as entity recognition, relationship recognition, intent recognition, and sentiment analysis. In this method, combined with specific business needs, only two key tasks, entity recognition and relationship recognition, are focused on, and the UIE model is fine-tuned accordingly. In the Transformer attention calculation stage, a sparse similarity matrix is ​​introduced. The sparse matrix is ​​constructed as follows:

[0099] ,

[0100] ,

[0101] ,

[0102] ,

[0103] In the formula, , , They are the query vector, key vector and value vector in the multi-attention mechanism respectively; is the vector dimension; It is a character-level element collection that contains entities and attributes involved in the new device startup scheme, for example: ; Indicates the first elements, corresponding to the first List; is the similarity matrix Row and The element corresponding to the column, that is, the first element, The corresponding probability value of each element. The matrix The similarity score threshold in a row is equal to the number of The function M is used to process the similarity matrix. For this function, the similarity values ​​are first sorted. If the similarity score belongs to the top or character-level elements in the input text are located at If the position in the set is not in the same group, the original similarity value is retained; otherwise, the similarity value of the corresponding position is set to negative infinity. During calculation, the probability of the position corresponding to negative infinity in the similarity matrix approaches 0, and then a sparse similarity matrix is ​​obtained. C is the output result of self-attention.

[0104] In the attention mechanism stage, this method introduces sparse matrices into the UIE model to achieve targeted attention calculations between entities, between entities and relationships, and between entities and key information in the input text. This strategy not only effectively highlights the correlation between entities, relationships, and key information, but also significantly reduces the complexity of calculations, thereby improving the reasoning efficiency of the UIE model. When processing tasks such as aligning power transmission step events, the UIE model can significantly reduce computing costs, reduce memory consumption, and capture key information more accurately.

[0105] Step 2: Based on the pre-set risk logic rules for newly added equipment startup, feature triples are extracted from the multimodal knowledge graph and mapped to the vector space.

[0106] Preferably, based on the pre-set logic rules for the startup risks of new equipment, feature triples are extracted from the multimodal knowledge graph, including: the pre-set logic rules for the startup risks of new equipment include line power supply rules, line status rules, transformer power supply rules and transformer status rules.

[0107] The triple set in the entity graph is used as the input for logical rule processing, and the reasoning path of relevant risks is output by applying the logical rules contained in the ontology node. For example, in the startup plan of a new line, the triple set {<line, type, cable line>, <line, access switch status, closed>, <line, access switch knife status, open>, <line, access switch knife status, open>, <line knife, status, open>} is extracted from the subsequent knowledge graph as input, and the line risk rule path is derived from the ontology node logical rules: {<line, impact type, full voltage impact>, <line, impact number, 1>, <line, real-time status, hot standby>}, etc.

[0108] Among them, the line power transmission rule is to confirm the impact type and impact number during the line startup process according to the type of line.

[0109] In one embodiment, the line power transmission rule is:

[0110] IF (transmission line type overhead line) THEN (transmission line, impulse type, full voltage impulse) AND (transmission line, impulse number, 3 times);

[0111] IF (transmission line type: cable line) THEN (transmission line, impact type: full voltage impact) AND (transmission line, impact number: 1 time).

[0112] The line status rule is to confirm the line status based on the status of the switches, circuit breakers and grounding switches in the line.

[0113] In one embodiment, the line status rule is:

[0114] IF (the line access switch is closed) AND (the switch belonging to the line access switch is closed) AND (the ground switch belonging to the line access switch is open) AND (the line ground switch is open) THEN run;

[0115] IF (line access switch is closed) AND (line access switch knife is open) AND (line access switch ground knife is open) AND (line ground knife is open) THEN hot standby;

[0116] IF (line access switch status is open) AND (line access switch's switch status is open) AND (line access switch's ground switch status is open) AND (line ground switch status is open) THEN cold standby;

[0117] IF (the line access switch is in the open state) AND (the switch belonging to the line access switch is in the open state) AND (the ground switch belonging to the line access switch is in the closed state) AND (the line ground switch is in the closed state) THEN repair.

[0118] The transformer power supply rule is to confirm the number of impacts of the transformer access switch, side switch and middle switch during the transformer startup process according to the transformer voltage level.

[0119] In one embodiment, the transformer power transmission rule is:

[0120] IF (main transformer voltage level 500kV) THEN (total number of main transformer impacts 5) AND (number of impacts of the switch connected to the medium voltage side of the main transformer 2) AND (number of impacts of the switch connected to the high voltage side of the main transformer 2) AND (number of impacts of the switch connected to the middle voltage side of the main transformer 1);

[0121] IF (main transformer voltage level 220kV) OR (main transformer voltage level 110kV) THEN (total number of main transformer impacts 5) AND (number of main transformer high-voltage side access switch impacts 5).

[0122] The transformer status rule is to confirm the status of the transformer based on the status of the transformer access switch, circuit breaker, earthing knife, and three-side earthing knife.

[0123] In one embodiment, the transformer status rule is:

[0124] IF (the transformer access switch is closed) AND (the switch belonging to the transformer access switch is closed) AND (the ground switch belonging to the transformer access switch is open) AND (the ground switches on the three sides of the transformer are open) THEN Run;

[0125] IF (the transformer access switch is closed) AND (the switch of the transformer access switch is open) AND (the ground switch of the transformer access switch is open) AND (the ground switches on the three sides of the transformer are open) THEN Hot standby;

[0126] IF (the transformer access switch is in the open state) AND (the switch belonging to the transformer access switch is in the open state) AND (the ground switch belonging to the transformer access switch is in the open state) AND (the ground switches on the three sides of the transformer are in the open state) THEN Cold standby;

[0127] IF (the transformer access switch is open) AND (the switch belonging to the transformer access switch is open) AND (the ground switch belonging to the transformer access switch is closed) AND (the ground switches on three sides of the transformer are closed) THEN repair.

[0128] By establishing the hierarchical structure of the ontology and improving the coverage of core areas, it is helpful to manage the knowledge in the field of power grid control in a more systematic and comprehensive manner. Each ontology node covers the core knowledge of the relevant field and the startup rules of new equipment, providing rich references and guidance for the scenario and realizing the intelligent risk identification of the power grid control system. In the process of starting up new equipment, continuously optimizing and upgrading these logical rules can ensure the accuracy and effectiveness of the risk reasoning path in the ontology map, providing strong support for the safe and stable operation of the power system.

[0129] Step 2 also includes a feature construction process, which is to obtain a feature vector using a distributed multimodal knowledge graph after fine-grained alignment of cross-modal events.

[0130] Preferably, based on the pre-set logic rules for the startup risks of new equipment, feature triples are extracted from the multimodal knowledge graph, including: taking lines and transformers as head entities, extracting a set of triples from the multimodal knowledge graph; collecting entity attribute types from the pre-set logic rules for the startup risks of new equipment, and filtering feature triples from the triple set based on the entity attribute types.

[0131] In the process of starting up new equipment, risk identification is divided into two key stages: the preparation of the new equipment startup plan and the execution of the new equipment startup. Taking the line entity as an example, in these two stages,

[0132] First, a graph traversal algorithm is used to extract a set of triples with the line as the head entity from the constructed multimodal entity graph. These triples cover multiple dimensional information closely related to the line, including: new equipment startup principle, line protection, line type, voltage level, line length, conductor cross section, current carrying capacity, line resistance, line reactance, line conductance, line susceptance, major events, meteorological type, maintenance plan, important users, family defects, individual defects, access switches, line transformers, line grounding switches, line protection, telesignaling and telemetry status, access substations, image attributes (image alignment results), video attributes (standard video alignment results), and audio attributes (dispatcher recording alignment results).

[0133] If it is the startup process of a transformer, similarly, a set of triples is extracted with the transformer as the head entity.

[0134] Subsequently, the extracted triple set is input into the ontology architecture, and the feature triples are obtained through the logical rules of the ontology nodes, and then the triple feature vector list is output through the TransE model.

[0135] Preferably, mapping the feature triples into the vector space includes: calculating the feature vector corresponding to each feature triple using the TransE model, and mapping the feature triples into the vector space based on the feature vector.

[0136] The TransE model is an effective knowledge graph representation model. In one embodiment, entities and relationships are mapped to a low-dimensional vector space as needed. For a triple in the graph, the head entity vector plus the relationship vector should be close to or equal to the tail entity vector. This design can effectively learn graph representation vectors. In the present invention, entities and entity attributes are mapped to vector space according to actual conditions. For a triple in the graph, the head entity vector plus the attribute vector should be close to or equal to the attribute value vector.

[0137] In order to further improve the performance of the TransE model, the TransE model is fine-tuned. During the fine-tuning process, correct triples are randomly obtained from the knowledge graph, and entities or relationships are randomly replaced to generate incorrect triples. A penalty coefficient is added to the original loss function of TransE to further penalize the loss of incorrect triples. This improvement makes the model pay more attention to incorrect triples during training, so as to more effectively learn the correct representation between entities and relationships. The TransE objective function with an increased penalty coefficient can be expressed as:

[0138] ,

[0139] In the formula, represents the correct set of triples in the entity graph, The set of triples representing the error triples in the entity graph, Expressed as the penalty coefficient for incorrect triples, adding the penalty term not only enhances the TransE model's ability to represent correct triples, but also enhances the model's robustness.

[0140] Preferably, entity attribute types are collected from the pre-set logic rules for the startup risk of new equipment, including: the entity attribute types collected from the pre-set logic rules for the startup risk of new equipment include type, voltage level, impact type, number of impacts, total number of impacts and status; wherein, the status includes the access switch status, the knife status of the access switch, the ground knife status of the access switch, the line ground knife status, the line status, the status of the ground knives on three sides of the transformer, and the transformer status.

[0141] In one embodiment, if the attribute information in the triplet conforms to the entity attribute type mentioned above, the information is considered to belong to the correct triplet, otherwise the penalty coefficient is increased. The risk identification model mentioned later also includes some attribute information, which can also be used to collect entity attribute types.

[0142] The above pre-trained TransE model is used to represent the triple semantic feature vector, and it is proposed to superimpose the entity semantics and attribute semantic vectors in the triple. The attribute value at the end of the triple is converted into a discrete feature value through the ontology rule. The semantic feature vector and the discrete feature vector are concatenated to represent the triple feature information. These feature vectors not only capture the semantic information between entities and attributes, but also accurately reflect the state of each entity at a specific moment, that is, the attribute value. The vector conversion process is as follows:

[0143] ,

[0144] In the formula, represents the triple feature vector, represents the TransE vector model after triplet fine-tuning, Indicates vector superposition, represents the value after transformation by the ontology rules. Indicates the concatenation of feature vectors.

[0145] For example: In the writing stage, the UIE model transforms the input startup plan into a list of triples, which detail the entities of each step and the status of their corresponding relationships. For example, triples such as <bus tie switch, status, hot standby> and <2N22 switch, status, cold standby> in the list clearly describe the status of the entities. In the ontology rules, the switch status has four states: maintenance, cold standby, hot standby, and running, which are represented by discrete feature values from 0 to 3 respectively. Through ontology rule processing, the triples are transformed into a form where the tail entity is a discrete value.紧接着,利用TransE模型,可以将实体、关系、离散值映射到低位向量空间中,进而形成特征向量列表:[<T(母联开关)+T(状态),2>,[<T(母联开关)+T(状态),3>,[<T(2N22开关)+T(状态),1>,[<T(2N22开关)+T(状态),3>,…].

[0146] Step 3, predict the startup risk of newly added equipment to the power grid based on the positions of the feature triples in the vector space.

[0147] Predict the startup risk of newly added equipment to the power grid based on the positions of the feature triples in the vector space, including:

[0148] Input the feature triples into an MLP network with a seq2seq + attention structure to obtain the risk classification of the feature triples.

[0149] By orderly taking the feature vectors in the list as the input for each time step of the LSTM, the hidden vector of each triple at that moment can be obtained. These hidden vectors not only contain the inherent semantic information of the triples but also incorporate the LSTM's in-depth understanding of the sequential relationships of the triples, thus being able to more accurately reflect the dynamic changes of entities and relationships in the knowledge graph. The seq2seq includes an encoder and a decoder.

[0150] ,

[0151] where, is the encoder triple hidden vector, is the triple feature vector input to the encoder.

[0152] By introducing the attention mechanism, different triplet hidden vectors can be effectively associated and assigned different weights, thereby highlighting the connection between different triplets. The hidden vector introduced with the attention mechanism at each moment in LSTM is linearly transformed through three trainable parameter matrices to obtain:

[0153] ,

[0154] In the formula, They are respectively the query vector, key vector, and value vector in the attention mechanism.

[0155] In the MLP network with seq2seq+attention structure, the latent vector of the decoder is

[0156] ,

[0157] is the latent vector of the encoder, obtained based on the attention mechanism, is the linear transformation matrix of the key vector.

[0158] For the codec, the context vector is designed as , then The dimension is [m, 1], where m is the number of triple vectors. By combining the hidden vectors of each triple Aggregate vector with hidden state The context vector can calculate the weight parameters of the hidden vector and then obtain the final aggregate vector of the triple set ,in, .

[0159] The seq2seq with attention structure is set in the MLP neural network, and the MLP model is trained by historical experience data. In the process of model reasoning, the model can be used to predict the probability of various types of failures occurring during the startup of new equipment. The probability is calculated by the softmax method.

[0160] This method converts the triples in the knowledge graph into feature vectors, and uses LSTM and attention mechanism to deeply process these feature vectors, so as to accurately capture the dynamic changes of entities and relationships in the knowledge graph. Specifically: by orderly taking each triple feature vector in the feature vector list as the input of each time step of LSTM, the hidden state representation of each triple at that moment is obtained; the attention mechanism is introduced, and by calculating the similarity between the hidden vectors of different triples and assigning different weights, the connection between triples is accurately captured; by designing the hidden state aggregation vector, that is, the context vector, the relative importance of the hidden state is highlighted, which provides strong support for subsequent risk identification.

[0161] Preferably, the MLP network with a seq2seq+attention structure is obtained through pre-training, and the training data used in the pre-training process has risk types set in advance according to the risk identification model; the risk identification model defines the risk definition of the new equipment startup plan preparation stage and the risk definition of the new equipment startup execution stage; the risks of the new equipment startup plan preparation stage include startup principle risks, method mis-arrangement risks, protection mis-setting risks, family setting risks and individual defect risks; the risks of the new equipment startup execution stage include scheduling mis-operation risks, primary equipment status risks and scheduling personnel information risks.

[0162] In MLP, risk identification model reasoning is adopted. In the risk identification process of the new equipment writing stage and the execution stage, the method combines the actual business of the new equipment startup to summarize the risk points in the new equipment startup process. The method of summarizing risk points can be carried out in sequence or in parallel at each stage.

[0163] During the preparation stage of the startup plan for new equipment, the following risk points are identified: 1. Startup principle risk: evaluate whether the startup plan for new equipment strictly follows the established startup principles; 2. Misscheduling risk: comprehensively consider major events, meteorological information, maintenance plans, and power supply needs of important users, and evaluate whether there is a conflict with the startup of new equipment; 3. Protection missetting risk: verify whether the setting value of the dispatcher is consistent with the setting value of the protection setting sheet; 4. Family defect risk: verify whether the new equipment type has family defects; 5. Individual defect risk: verify whether the new equipment type has individual defects.

[0164] During the startup and execution phase of new equipment, the following risk points are identified: 1. Risk of dispatching errors: assess whether the dispatching personnel's operations follow the established startup principles; 2. Primary equipment status risk: verify whether the real-time status of the equipment is consistent with the telesignaling and telemetry signals; 3. Dispatching personnel information risk: verify the identity of the dispatching operator.

[0165] For the above risk identification process, according to the principle of risk identification, the method can manually select the entities, attributes, attribute values, or triples consisting of specific entity-attribute-attribute values ​​that need to be identified from the knowledge graph. And define some triples that meet the identification conditions. In this way, when the model identifies risks, it can extract the corresponding triples in the knowledge graph according to the identification principle and determine whether the content of these triples meets the definition of risks.

[0166] The second aspect of the present invention relates to a new equipment startup risk identification system based on a multimodal knowledge graph using the method in the first aspect of the present invention, the system comprising an extraction module, a mapping module and a prediction module; wherein the extraction module is used to collect a variety of power grid operation information, extract multimodal operation information from the multiple power grid operation information and construct a multimodal knowledge graph; the mapping module is used to extract feature triples from the multimodal knowledge graph based on pre-set new equipment startup risk logic rules, and map the feature triples to a vector space; the prediction module is used to predict the startup risk of new power grid equipment based on the position of the feature triples in the vector space.

[0167] Preferably, the extraction module is used to collect real-time status images of equipment, videos of dispatchers' operation procedures during the startup of newly added equipment, and recordings of dispatchers' commands as various power grid operation information; Faster-RCNN is used to perform regional annotation on the real-time status images of the equipment, and NBT is used to perform event description on the annotated areas to obtain multimodal image information; key frame extraction is performed on the video of the dispatchers' operation procedures to obtain an image list, and OCR is used to extract image text from each image in the image list, non-standard information is filtered out from the image text, and multimodal text information is obtained; the recordings of dispatchers' commands are segmented, and MFCC features and short-time energy features are extracted from the segments, and the extracted MFCC features and short-time energy features are input into DNN to obtain multimodal audio information.

[0168] Preferably, in the extraction module, the multimodal image information includes the association relationship between the secondary entities, the tertiary entities, the quaternary entities, the entity areas, and the entity states; the multimodal text information includes the association relationship between the entities, the startup operations, and the video alignment results; and the multimodal audio information includes the association relationship between the dispatcher identity and the audio alignment results.

[0169] Preferably, the extraction module is used to use UIE to extract entity-attribute-value, entity-relationship-entity triples from the multimodal image information, multimodal text information, and multimodal audio information, and construct the multimodal knowledge graph based on the triples; the entities include secondary entities, tertiary entities, and quaternary entities, the secondary entities include at least lines and transformers, the tertiary entities include at least switches, and the quaternary entities include at least switch-related knife switches and switch-related ground switches; the attributes include image attributes, video attributes, text attributes, and audio attributes, the image attributes include real-time equipment status images, the video attributes include dispatcher operation specification process videos, the audio attributes include dispatcher command recordings, and the text attributes include at least type, status, start time, set value list, set value, impact type, number of impacts, major events, meteorological information, maintenance plan, important user power supply needs, family defects, individual defects, and dispatcher identity.

[0170] Preferably, in the mapping module, the pre-set logic rules for the risk of newly added equipment startup include line power supply rules, line status rules, transformer power supply rules and transformer status rules; wherein, the line power supply rules are to confirm the impact type and number of impacts during the line startup process according to the type of line; the line status rules are to confirm the state of the line according to the states of the switch, knife switch and earth knife in the line; the transformer power supply rules are to confirm the number of impacts of the transformer access switch, side switch and middle switch during the transformer startup process according to the voltage level of the transformer; the transformer status rules are to confirm the state of the transformer according to the states of the transformer access switch, knife switch, earth knife and three-side earth knife.

[0171] Preferably, a mapping module is used to extract a set of triples from the multimodal knowledge graph with lines and transformers as head entities; collect entity attribute types from the pre-set new equipment startup risk logic rules, and filter out feature triples from the set of triples based on the entity attribute types.

[0172] Preferably, in the mapping module, the entity attribute types collected in the pre-set new equipment startup risk logic rules include type, voltage level, impact type, number of impacts, total number of impacts and status; wherein, the status includes access switch status, access switch knife status, access switch ground knife status, line ground knife status, line status, transformer three-side ground knife status, transformer status.

[0173] Preferably, the mapping module is used to calculate the feature vector corresponding to each of the feature triples using the TransE model, and map the feature triples into the vector space based on the feature vectors.

[0174] Preferably, in the extraction module, UIE is implemented using a Transformer model, and a sparse matrix is ​​used in the Transformer model to calculate the output result of the self-attention; the sparse matrix is ​​calculated according to the similarity score threshold and character-level element collections Collaboratively determine the sparse characteristics of each element in the sparse matrix; character level element set The determination is based on the entity and the attribute involved in the startup scheme of the new device.

[0175] Preferably, the MLP network with a seq2seq+attention structure is obtained through pre-training, and the training data used in the pre-training process has risk types set in advance according to a risk identification model; the risk identification model defines the risk definition of the new equipment startup plan preparation stage and the risk definition of the new equipment startup execution stage; the risks of the new equipment startup plan preparation stage include startup principle risks, method mis-arrangement risks, protection mis-setting risks, familial setting risks and individual defect risks; the risks of the new equipment startup execution stage include scheduling mis-operation risks, primary equipment status risks and scheduling personnel information risks.

[0176] A third aspect of the present invention relates to a terminal, comprising a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method according to the first aspect of the present invention.

[0177] A fourth aspect of the present invention relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method in the first aspect of the present invention.

[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for identifying startup risks of new equipment, characterized in that: The method comprises the following steps: Collecting a variety of power grid operation information, extracting multimodal operation information from the various power grid operation information and constructing a multimodal knowledge graph; The multimodal knowledge graph is constructed based on the entity-attribute-value and entity-relationship-entity triples extracted from the multimodal image information, the multimodal text information and the multimodal audio information; Taking the line and transformer as the head entity, extracting a triple set from the multimodal knowledge graph; collecting entity attribute types from the pre-set new equipment startup risk logic rules, and filtering out feature triples from the triple set based on the entity attribute types; The entity attribute types collected in the pre-set new equipment startup risk logic rules include type, voltage level, impact type, impact number, total impact number and status; wherein the status includes access switch status, access switch knife status, access switch ground knife status, line ground knife status, line status, transformer three-side ground knife status, transformer status; The construction is implemented using a Transformer model, in which a sparse matrix is ​​used to calculate the output result of self-attention, and the sparse matrix determines the sparse characteristics of each element in the sparse matrix; character-level element set Determined based on the entities and attributes involved in the startup plan for the new device; The sparse matrix is: In the formula, is the first element, The corresponding probability value of each element; is the similarity matrix The similarity score threshold in a row is equal to the number of The similarity score of Indicates the first elements, is a collection of character-level elements; Among them, the similarity matrix It is calculated using self-attention; Based on the pre-set logic rules for the startup risk of new equipment, feature triples are extracted from the multimodal knowledge graph, and the feature triples are mapped into a vector space; The pre-set logic rules for the startup risk of newly added equipment include line power transmission rules, line status rules, transformer power transmission rules and transformer status rules, which use the triple set in the entity graph as the input of the logic rule processing, and output the reasoning path of the relevant risks by applying the logic rules contained in the ontology nodes; The feature triplet has line and transformer as head entities; Based on the position of the feature triplet in the vector space, the startup risk of the newly added equipment in the power grid is predicted.

2. A method for identifying startup risks of newly added equipment according to claim 1, characterized in that: The collection of various power grid operation information includes: Collect real-time status images of equipment, operation process videos of dispatchers during the startup of new equipment, and recordings of dispatchers' commands as a variety of power grid operation information; The extracting multi-modal operation information from the multiple types of power grid operation information includes: Faster-RCNN is used to annotate the real-time status image of the device, and NBT is used to describe the events in the annotated area to obtain multimodal image information; Extract key frames from the dispatcher's operation process video to obtain an image list, extract image text from each image in the image list using OCR, filter out non-standard information from the image text and obtain multimodal text information; The dispatcher's command recording is segmented, and MFCC features and short-time energy features are extracted from the segments. The extracted MFCC features and short-time energy features are input into the DNN to obtain multimodal audio information.

3. A method for identifying startup risks of newly added equipment according to claim 2, characterized in that: The extracting multi-modal operation information from the multiple types of power grid operation information includes: The multimodal image information includes associations between secondary entities, tertiary entities, quaternary entities, entity regions, and entity states; The multimodal text information includes associations between entities, start operations, and video alignment results; The multimodal audio information includes the association between the dispatcher identity and the audio alignment result.

4. A method for identifying startup risks of newly added equipment according to claim 3, characterized in that: The extracting multimodal operation information from the multiple power grid operation information and constructing a multimodal knowledge graph includes: Extracting entity-attribute-value and entity-relationship-entity triplets from the multimodal image information, the multimodal text information, and the multimodal audio information using UIE, and constructing the multimodal knowledge graph based on the triplets; The entities include a secondary entity, a tertiary entity and a quaternary entity. The secondary entity includes at least a line and a transformer, the tertiary entity includes at least a switch, and the quaternary entity includes at least a knife switch and a ground knife belonging to the switch. The attributes include image attributes, video attributes, text attributes and audio attributes. The image attributes include real-time status images of the equipment, the video attributes include video of the dispatcher's operating standard procedures, the audio attributes include recordings of the dispatcher's commands, and the text attributes include at least type, status, start time, set value list, set value, impact type, number of impacts, major events, meteorological information, maintenance plan, power supply needs of important users, family defects, individual defects, and dispatcher identity.

5. A method for identifying startup risks of newly added equipment according to claim 4, characterized in that: The extracting of feature triples from the multimodal knowledge graph based on the pre-set risk logic rules for newly added equipment startup includes: The line power transmission rule is to determine the impact type and impact number during the line startup process according to the type of line; The line status rule is to confirm the line status according to the status of the switch, the switch and the ground switch in the line; The transformer power supply rule is to determine the number of impacts of the transformer access switch, side switch and middle switch during the transformer startup process according to the voltage level of the transformer; The transformer status rule is to confirm the status of the transformer according to the status of the transformer access switch, the switch, the earthing knife, and the three-side earthing knife.

6. A method for identifying startup risks of newly added equipment according to claim 5, characterized in that: The extracting of feature triples from the multimodal knowledge graph based on the pre-set risk logic rules for newly added equipment startup includes: Mapping the feature triples to a vector space includes: The TransE model is used to calculate the feature vector corresponding to each feature triple, and the feature triple is mapped to the vector space based on the feature vector.

7. A method for identifying startup risks of newly added equipment according to claim 6, characterized in that: The method of extracting entity-attribute-value and entity-relationship-entity triplets from the multimodal image information, the multimodal text information, and the multimodal audio information using UIE, and constructing the multimodal knowledge graph based on the triplets, includes: The UIE is implemented using a Transformer model, and a sparse matrix is ​​used in the Transformer model to calculate the output result of self-attention.

8. A method for identifying startup risks of newly added equipment according to claim 7, characterized in that: The MLP network with a seq2seq+attention structure is obtained through pre-training, and the training data used in the pre-training process is pre-set with risk types according to the risk identification model; The risk identification model defines the risk definition of the new equipment startup plan preparation phase and the risk definition of the new equipment startup execution phase; The risks in the preparation stage of the startup plan for new equipment include startup principle risk, method mis-arrangement risk, protection mis-setting risk, family setting risk and individual defect risk; The risks in the startup execution phase of the newly added equipment include the risk of scheduling misoperation, the risk of primary equipment status and the risk of scheduling personnel information.

9. A new equipment startup risk identification system, characterized by: The newly added equipment startup risk identification system includes: An extraction module, used to collect a variety of power grid operation information, extract multimodal operation information from the multiple power grid operation information and construct a multimodal knowledge graph; The multimodal knowledge graph is constructed based on the entity-attribute-value and entity-relationship-entity triples extracted from the multimodal image information, the multimodal text information and the multimodal audio information; Taking the line and transformer as the head entity, extracting a triple set from the multimodal knowledge graph; collecting entity attribute types from the pre-set new equipment startup risk logic rules, and filtering out feature triples from the triple set based on the entity attribute types; The entity attribute types collected in the pre-set new equipment startup risk logic rules include type, voltage level, impact type, impact number, total impact number and status; wherein the status includes access switch status, access switch knife status, access switch ground knife status, line ground knife status, line status, transformer three-side ground knife status, transformer status; The construction is implemented using a Transformer model, in which a sparse matrix is ​​used to calculate the output result of self-attention, and the sparse matrix determines the sparse characteristics of each element in the sparse matrix; character-level element set Determined based on the entities and attributes involved in the startup plan for the new device; The sparse matrix is: In the formula, is the first element, The corresponding probability value of each element; is the similarity matrix The similarity score threshold in a row is equal to the number of The similarity score of Indicates the first elements, is a collection of character-level elements; Among them, the similarity matrix is ​​calculated using self-attention; A mapping module, configured to extract feature triples from the multimodal knowledge graph based on a preset risk logic rule for newly added equipment startup, and map the feature triples into a vector space; A prediction module is used to predict the startup risk of the newly added equipment in the power grid based on the position of the feature triplet in the vector space.

10. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-9.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Model training method, dialogue generation method and device, equipment and medium

    CN110188182A

  • Power grid fault prediction method based on multi-modal knowledge hybrid reasoning

    CN116910633A

  • Operation safety risk identification method based on multi-modal knowledge graph

    CN117408507A