Power grid power transmission and transformation equipment information visualization method based on knowledge graph fusion
Through knowledge graph fusion technology, the problem of power grid equipment data islanding is solved, information integration and sharing is realized, a visual interface is provided for power grid dispatching, monitoring and operation and maintenance, and the accuracy of decision-making is improved.
Patent Information
- Application Number
- CN202410735301.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-17
AI Technical Summary
The existing power grid dispatching, monitoring and operation and maintenance systems have data island problems, which results in the inability to effectively integrate and share power grid equipment data and information from different professional departments, making it difficult to achieve information connectivity and sharing.
Using a method based on knowledge graph fusion, a new knowledge graph is formed by collecting knowledge graphs from various majors, configuring key elements, aligning entities and relationships, and using web pages and relationship graph controls for visual display to provide convenient knowledge support.
It realizes the alignment and integration of different professional equipment information, provides a visual interface for power grid dispatching, monitoring, and operation and maintenance personnel, helping to quickly understand equipment operating status and historical information, thereby making more accurate judgments and decisions.
Smart Images

Figure CN118656012A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of knowledge graph fusion, and in particular to a method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion. Background Art
[0002] As the scale of the power grid continues to expand, more new equipment is added to the monitoring scope of the power grid, and the complexity of the work of various power grid disciplines such as dispatching, monitoring and operation and maintenance has also increased. In actual work, it is often necessary to integrate various types of information for research and judgment to make the most appropriate disposal strategy. However, the existing power grid dispatching, monitoring and operation and maintenance systems still have data island problems. Different professional departments have their own data and information about the power plant, line, and transformer equipment in the power grid. Some have also formed independent knowledge graphs such as electrical topology, fault plans, equipment commissioning information, and maintenance statistics. However, these graphs are relatively isolated, and there are certain differences in the descriptions of the same equipment in different graphs, making it difficult to achieve information penetration and sharing. Therefore, it is urgent to develop a method and system for information visualization of power transmission and transformation equipment based on knowledge graph fusion to effectively integrate and efficiently utilize the data and information of power transmission and transformation equipment, and support the daily work of power grid dispatching, monitoring and operation and maintenance personnel. Summary of the invention
[0003] Purpose of the invention: The purpose of the present invention is to provide a method for visualizing information on power grid transmission and transformation equipment based on knowledge graph fusion, which integrates and aligns information on entities such as plants, lines, and equipment in knowledge graphs of different professions, realizes the interconnection of information resources such as electrical topology, fault plans, equipment commissioning information, and maintenance statistical information, and uses knowledge graph visualization to provide convenient knowledge support for power grid dispatching, monitoring, and operation and maintenance personnel.
[0004] Technical solution: The method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion described in the present invention is based on a power knowledge graph sharing and collaboration platform and includes the following steps: (1) Collect the established professional knowledge maps of various disciplines such as power grid dispatching, monitoring, and operation and maintenance; (2) Configure the key elements of the collected knowledge graph for fusion and alignment; (3) Align and fuse multiple knowledge graphs or parts of knowledge graphs to form a new knowledge graph; (4) Display the knowledge graph using web pages and relationship graph controls through different display dimensions; (5) Use human-computer interaction to feedback analysis results and visualize the results.
[0005] Furthermore, the step (1) includes electrical topology, fault plan, equipment commissioning information, and maintenance statistics knowledge graphs; specifically, the ontology information of each professional knowledge graph is collected, including entities and relationships; wherein the entity information includes: entity type, attributes defined for each type of entity, and data types of attributes; the relationship information includes: relationship types between entities, attributes contained in each type of relationship, and data types of relationship attributes.
[0006] Furthermore, the step (2) is specifically as follows: when configuring key elements, at least one core entity type is configured, and the entity type needs to be configured with at least one important attribute; the core entity types include plant stations, transformers, busbars, switches, circuit breakers, grounding circuit breakers, and AC lines; the important attributes include selecting a name, equipment number, and voltage; wherein the configured core entity types and core relationship types are part of the knowledge graph ontology to be integrated, and entity types and relationship types not included in the knowledge graph cannot be selected.
[0007] Furthermore, the step (3) includes the following steps: (31) Check whether the knowledge graph to be fused contains the configured core entity types and relationship types. If not, stop fusion; if yes, go to step (32); (32) Filter out the instance data of core entities and core relationships from all knowledge graphs to be integrated, denoted as , where each knowledge graph to be fused is represented as , where V is the entity instance set of G, E is the relationship instance set of G; the jth instance of the i-th entity is denoted as V ij , the lth instance of the kth relation is recorded as E kl ; (33) If the number of knowledge graphs to be fused exceeds 2, they need to be fused in pairs in sequence, that is, the first and second knowledge graphs are fused to form a new graph, which is then fused with the third graph, and so on; (34) For the single-fusion knowledge graphs G1 and G2, align entities first and then align relationships. When aligning entities, align them one by one according to entity type. When aligning the i-th entity, compare the i-th entity instances in G1 and G2 to determine whether they are aligned entities. If they are aligned entities, establish a virtual "alignment" relationship between the aligned entities. (35) After all entities have been traversed, examine each pair of entities with an "aligned" relationship; create a new entity that integrates the attributes of the original two entities and copies their relationship; then delete the original entities and their relationships.
[0008] Furthermore, in step (3), the method for determining the alignment of two entity instances is: all important attributes of the two entity instances are equivalent. That is, for the entity instance V in G1 ij With the entity instance U in G2 ik , where V ij With attributes a1, a2, U ik There are attributes a1 and a3; suppose for the i-th entity, a1 is an important attribute, then if V ij a1 and U ik If the attribute a1 of is equivalent, then the two entities are judged to be aligned.
[0009] The method for determining attribute equivalence is: Determine the data type of the attribute. If it is a numeric type attribute, the numeric values are equal, otherwise they are not equivalent. If the attribute is a string attribute, first replace the connection symbols in the attribute string uniformly, replace " / ", "-", and "." with space characters; then change the letters that appear in the string to uppercase letters; then use the sequence labeling model to divide the string into two types: ordinary text and device number. If the device number part is exactly the same and the ordinary text semantics are similar, it is judged to be equivalent, otherwise it is not equivalent.
[0010] The method for judging the semantic similarity of text is to use a pre-trained language model, such as Bert, to encode the ordinary text part into a d-dimensional vector and calculate V ij a1 and U ik The cosine similarity value of the vector of the common text in the attribute a1 of . When the cosine similarity is greater than p, the text is considered to be semantically similar. Generally, d=64 and p=0.8 can be taken.
[0011] Furthermore, the step (4) includes the following steps: (41) Use web pages and relationship graph components to display entities and relationships in the knowledge graph. In the relationship graph component, use nodes to draw entities in the knowledge graph, and use edges to draw relationships in the knowledge graph. Use different colors to render different types of entities. (42) Use tags to switch between displaying / not displaying entities or relationships of this type; (43) Use ring, radial, and force-directed layouts to meet different visualization needs.
[0012] Furthermore, the step (5) includes the following steps: (51) receiving the user's input command text, performing entity naming and annotation, and obtaining the entities and relationships to be queried; (52) The system queries entities and relationships in several application knowledge graphs, and organizes the entities and relationships to be queried and the one-hop neighbor entities of the entities into subgraphs and returns them; (53) Repeat steps (2)-(4) for visual display.
[0013] The information visualization system of power grid transmission and transformation equipment based on knowledge graph fusion described in the present invention is based on a power knowledge graph sharing and collaboration platform, and includes: Collection module: used to collect established professional knowledge maps of various specialties such as power grid dispatching, monitoring, and operation and maintenance; Fusion and alignment module: key elements used to configure the collected knowledge graphs for fusion and alignment; New knowledge graph module: used to align and fuse multiple knowledge graphs or parts of knowledge graphs to form a new knowledge graph; Display dimension module: used to display knowledge graphs using web pages and relationship diagram controls through different display dimensions; Human-computer interaction module: used to analyze results and visualize results using human-computer interaction feedback.
[0014] A device described in the present invention includes a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, a method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion as described in any one of the items is implemented.
[0015] A storage medium described in the present invention stores a computer program, and the computer program is designed to implement any one of the information visualization of power grid transmission and transformation equipment based on knowledge graph fusion when running.
[0016] Beneficial effects: Compared with the existing technology, the present invention has the following significant advantages: by integrating the power grid equipment information of different professional departments of the power grid control agency, fusing different knowledge graph data according to user configuration, realizing the alignment of entities such as plants, lines, and equipment, and providing a visual interface for dispatching, monitoring, and operation and maintenance personnel, helping staff to quickly understand the equipment's operating status, commissioning information, maintenance history, etc., so as to make more accurate judgments and decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a schematic diagram of the present invention; Figure 2 This is a schematic diagram of the knowledge graph fusion of the present invention. DETAILED DESCRIPTION
[0018] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.
[0019] like Figure 1-2 As shown, an embodiment of the present invention provides a method for visualizing information of power transmission and transformation equipment of a power grid based on knowledge graph fusion, based on a power knowledge graph sharing and collaboration platform, including the following steps: (1) Collect the established professional knowledge graphs of each profession in power grid dispatching, monitoring, and operation and maintenance; including electrical topology, fault plan, equipment commissioning information, and maintenance statistics knowledge graphs; specifically as follows: Collect the ontology information of each professional knowledge graph, including entities and relationships; among which, the entity information includes: entity type, attributes defined for each type of entity, and data type of attributes; relationship information includes: relationship type between entities, attributes contained in each type of relationship, and data type of relationship attributes.
[0020] (2) Configure the key elements for fusion and alignment of the collected knowledge graphs; the details are as follows: when configuring key elements, configure at least one core entity type, and the entity type must be configured with at least one important attribute; core entity types include plants and transformers; important attributes include selection name, equipment number, and voltage; among them, the configured core entity type and core relationship type are part of the knowledge graph ontology to be fused, and entity types and relationship types not included in the knowledge graph cannot be selected.
[0021] (3) Aligning and fusing multiple knowledge graphs or parts of knowledge graphs to form a new knowledge graph; including the following steps: (31) Check whether the knowledge graph to be fused contains the configured core entity types and relationship types. If not, stop fusion; if yes, go to step (32); (32) Filter out the instance data of core entities and core relationships from all knowledge graphs to be integrated, denoted as , where each knowledge graph to be fused is represented as , where V is the entity instance set of G, E is the relationship instance set of G; the jth instance of the i-th entity is denoted as V ij , the lth instance of the kth relation is recorded as E kl ; (33) If the number of knowledge graphs to be fused exceeds 2, they need to be fused in pairs in sequence, that is, the first and second knowledge graphs are fused to form a new graph, which is then fused with the third graph, and so on; (34) For the single-fusion knowledge graphs G1 and G2, align entities first and then align relations. When aligning entities, align them one by one according to entity type. When aligning the i-th entity, compare the i-th entity instances in G1 and G2 to determine whether they are aligned entities. If they are aligned entities, establish a virtual "alignment" relationship between the aligned entities. The method for determining the alignment of two entity instances is: all important attributes of the two entity instances are equivalent. That is, for the entity instance V in G1 ij With the entity instance U in G2 ik , where V ij With attributes a1, a2, U ikThere are attributes a1 and a3; suppose for the i-th entity, a1 is an important attribute, then if V ij a1 and U ik If the attribute a1 of two entities is the same, then the two entities are considered equivalent.
[0022] The method for determining attribute equivalence is: 1) Determine the data type of the attribute. If it is a numeric type attribute, the numeric values are equal and considered equivalent, otherwise they are not equivalent; 2) If the attribute is a string attribute, first replace the connection symbols in the attribute string uniformly, replace " / ", "-", and "." with space characters; then change the letters that appear in the string to uppercase letters; then use the sequence labeling model to divide the string into two types: ordinary text and device number. If the device number part is exactly the same and the ordinary text semantics are similar, it is judged to be equivalent, otherwise it is not equivalent.
[0023] The method for judging the semantic similarity of text is to use a pre-trained language model, such as Bert, to encode the ordinary text part into a d-dimensional vector and calculate V ij a1 and U ik The cosine similarity value of the vector of the common text in the attribute a1 of . When the cosine similarity is greater than p, the text is considered to be semantically similar. Generally, d=64 and p=0.8 can be taken.
[0024] (35) After all entities have been traversed, examine each pair of entities with an "aligned" relationship; create a new entity that integrates the attributes of the original two entities and copies their relationship; then delete the original entities and their relationships.
[0025] (4) Display the knowledge graph using web pages and relationship graph controls through different display dimensions; including the following steps: (41) Use web pages and relationship graph components to display entities and relationships in the knowledge graph. In the relationship graph component, use nodes to draw entities in the knowledge graph, and use edges to draw relationships in the knowledge graph. Use different colors to render different types of entities. (42) Use tags to switch between displaying / not displaying entities or relationships of this type; (43) Use ring, radial, and force-directed layouts to meet different visualization needs.
[0026] (5) Use human-computer interaction to feedback the analysis results and visualize the results. This includes the following steps: (51) receiving the user's input command text, performing entity naming and annotation, and obtaining the entities and relationships to be queried; (52) The system queries entities and relationships in several application knowledge graphs, and organizes the entities and relationships to be queried and the one-hop neighbor entities of the entities into subgraphs and returns them; (53) Repeat steps (2)-(4) for visual display.
[0027] The embodiment of the present invention further provides a power grid transmission and transformation equipment information visualization system based on knowledge graph fusion, based on a power knowledge graph sharing and collaboration platform, including: Collection module: used to collect established professional knowledge maps of various specialties such as power grid dispatching, monitoring, and operation and maintenance; Fusion and alignment module: key elements used to configure the collected knowledge graphs for fusion and alignment; New knowledge graph module: used to align and fuse multiple knowledge graphs or parts of knowledge graphs to form a new knowledge graph; Display dimension module: used to display knowledge graphs using web pages and relationship diagram controls through different display dimensions; Human-computer interaction module: used to analyze results and visualize results using human-computer interaction feedback.
[0028] An embodiment of the present invention also provides a device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion as described in any one of the items is implemented.
[0029] An embodiment of the present invention also provides a storage medium storing a computer program, wherein the computer program is designed to implement any one of the methods for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion when running.
Claims
1. A method for visualizing information of power transmission and transformation equipment of power grid based on knowledge graph fusion, characterized in that: Based on the power knowledge graph sharing and collaboration platform, the following steps are included: (1) Collect the established professional knowledge maps of various disciplines such as power grid dispatching, monitoring, and operation and maintenance; (2) Configure the key elements of the collected knowledge graph for fusion and alignment; (3) Align and fuse multiple knowledge graphs or parts of knowledge graphs to form a new knowledge graph; (4) Display the knowledge graph using web pages and relationship graph controls through different display dimensions; (5) Use human-computer interaction to feedback analysis results and visualize the results.
2. According to claim 1, a method for visualizing information of power transmission and transformation equipment based on knowledge graph fusion, characterized in that: The step (1) includes electrical topology, fault plan, equipment commissioning information, and maintenance statistics knowledge graphs; specifically, the ontology information of each professional knowledge graph is collected, including entities and relationships; wherein the entity information includes: entity type, attributes defined for each type of entity, and data types of attributes; the relationship information includes: relationship types between entities, attributes contained in each type of relationship, and data types of relationship attributes.
3. According to the method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion according to claim 1, it is characterized in that: The step (2) is specifically as follows: when configuring key elements, at least one core entity type is configured, and the entity type needs to be configured with at least one important attribute; the core entity types include substations, transformers, busbars, switches, circuit breakers, grounding circuit breakers, AC lines, connection nodes, and T-junctions; the important attributes include selecting a name, a device number, and a voltage; wherein the configured core entity types and core relationship types are part of the knowledge graph ontology to be integrated, and entity types and relationship types not included in the knowledge graph cannot be selected.
4. According to claim 1, a method for visualizing information of power transmission and transformation equipment based on knowledge graph fusion, characterized in that: The step (3) comprises the following steps: (31) Check whether the knowledge graph to be fused contains the configured core entity types and relationship types. If not, stop fusion; if yes, go to step (32); (32) Filter out the instance data of core entities and core relationships from all knowledge graphs to be integrated, denoted as , where each knowledge graph to be fused is represented as , where V is the entity instance set of G, E is the relationship instance set of G; the jth instance of the i-th entity is denoted as V ij , the lth instance of the kth relation is recorded as E kl ; (33) If the number of knowledge graphs to be fused exceeds 2, they need to be fused in pairs in sequence, that is, the first and second knowledge graphs are fused to form a new graph, which is then fused with the third graph, and so on; (34) For the single-fusion knowledge graphs G1 and G2, entities are aligned first and then relationships. When aligning entities, entity types are aligned one by one. When aligning entities of the i-th category, the i-th entity instances in G1 and G2 are compared pairwise to determine whether they are aligned entities. If they are aligned entities, a virtual "alignment" relationship is established between the aligned entities. (35) After all entities have been traversed, examine each pair of entities with an "aligned" relationship; create a new entity that integrates the attributes of the original two entities and copies their relationship; then delete the original entities and their relationship.
5. The method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion according to claim 4 is characterized in that: In step (3), the method for determining the alignment of two entity instances is: all important attributes of the two entity instances are equivalent. That is, for the entity instance V in G1 ij With the entity instance U in G2 ik , where V ij With attributes a1, a2, U ik There are attributes a1 and a3; suppose for the i-th entity, a1 is an important attribute, then if V ij a1 and U ik If the attribute a1 of is equivalent, then the two entities are judged to be aligned.
6. A method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion according to claim 1, characterized in that: The step (4) comprises the following steps: (41) Use web pages and relationship graph components to display entities and relationships in the knowledge graph. In the relationship graph component, use nodes to draw entities in the knowledge graph, and use edges to draw relationships in the knowledge graph. Use different colors to render different types of entities. (42) Use tags to switch between displaying / not displaying entities or relationships of this type; (43) Use ring, radial, and force-directed layouts to meet different visualization needs.
7. The method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion according to claim 1 is characterized in that: The step (5) comprises the following steps: (51) receiving the user's input command text, performing entity naming and annotation, and obtaining the entities and relationships to be queried; (52) The system queries entities and relationships in several application knowledge graphs, and organizes the entities and relationships to be queried and the one-hop neighbor entities of the entities into subgraphs and returns them; (53) Repeat steps (2)-(4) for visual display.
8. A power grid transmission and transformation equipment information visualization system based on knowledge graph fusion, characterized in that: Based on the power knowledge graph sharing and collaboration platform, it includes: Collection module: used to collect established professional knowledge maps of various specialties such as power grid dispatching, monitoring, and operation and maintenance; Fusion and alignment module: key elements used to configure the collected knowledge graphs for fusion and alignment; New knowledge graph module: used to align and fuse multiple knowledge graphs or parts of knowledge graphs to form a new knowledge graph; Display dimension module: used to display knowledge graphs using web pages and relationship diagram controls through different display dimensions; Human-computer interaction module: used to analyze results and visualize results using human-computer interaction feedback.
9. A device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements a method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion as described in any one of claims 1 to 7.
10. A storage medium storing a computer program, characterized in that: The computer program is designed to implement, when running, a method for visualizing information of power grid transmission and transformation equipment based on knowledge graph fusion according to any one of claims 1 to 7.
Citation Information
Cited By
Multi-agent-based electric vehicle charging operation data fusion method and system
CN121525817A
