Power equipment quality tracing method based on graph database, knowledge graph and equipment full life cycle

Through the power equipment quality traceability method based on graph database and knowledge graph, community discovery algorithms and inference technology are used to quickly identify and trace the quality problems of power equipment, solving the problem of low efficiency of traditional technologies and achieving efficient and intelligent traceability.

CN119323382APending Publication Date: 2025-01-17CHINA SOUTHERN POWER GRID MATERIALS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411706406.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

Traditional technology is inefficient when tracing the quality of power equipment, relies on the experience of technicians and takes a long time, resulting in low efficiency.

Method used

Using a method based on graph database and knowledge graph, a power equipment quality traceability model is constructed, a community discovery algorithm is used to identify quality problems, a traceability information is determined in the knowledge base through reasoning, and an in-site wiring diagram is constructed to display relevant information.

Benefits of technology

It has achieved rapid and accurate mining of power equipment quality events, intelligently traced power equipment problems, and improved traceability efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119323382A_ABST
    Figure CN119323382A_ABST
Patent Text Reader

Abstract

The invention relates to a power equipment quality tracing method based on a graph database, a knowledge graph and an equipment full life cycle. The method comprises the following steps: constructing a power equipment quality tracing model; the power equipment quality tracing model is configured with a power equipment knowledge graph and a power equipment graph database; performing quality problem identification on the power equipment quality tracing model by adopting a community discovery algorithm matched with the power equipment knowledge graph, and determining a current power equipment quality event; taking the current power equipment quality event as a reasoning starting point, taking a preset reasoning ending target as reasoning guidance, reasoning root information causing the occurrence of the current power equipment quality event in the power equipment knowledge base, and obtaining a power equipment quality event traceability result; and constructing an in-station wiring diagram comprising the power equipment quality event traceability result. By adopting the method, the tracing efficiency of the quality problem of the power equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for tracing the quality of power equipment based on a graph database, a knowledge graph and the entire life cycle of the equipment. Background Art

[0002] As an important part of modern social infrastructure, the stability and safety of the power grid are directly related to the country's economic development, social stability and people's lives. The quality of equipment in the power grid directly affects the operating efficiency, safety and reliability of the power grid.

[0003] Traditional technology often relies on the experience of technicians to assess the causes of quality problems in power equipment when tracing the causes of quality problems. This method requires the rich experience of technicians and takes a lot of time, making tracing quality problems of power equipment inefficient.

[0004] Therefore, there is a problem of low efficiency in tracing the quality of power equipment in traditional technologies. Summary of the invention

[0005] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for tracing quality of power equipment based on a graph database, knowledge graph and the entire life cycle of the equipment, which can improve the efficiency of tracing quality problems of power equipment in response to the above-mentioned technical problems.

[0006] In the first aspect, the present application provides a method for tracing the quality of power equipment based on a graph database, a knowledge graph and the entire life cycle of the equipment, the method comprising:

[0007] Constructing a power equipment quality tracing model; the power equipment quality tracing model is configured with a power equipment knowledge graph and a power equipment graph database;

[0008] Using a community discovery algorithm that matches the power equipment knowledge graph, the power equipment quality traceability model is used to identify quality problems and determine current power equipment quality events;

[0009] Taking the current power equipment quality event as the reasoning starting point and the preset reasoning end target as the reasoning guide, reasoning the root information that caused the current power equipment quality event to occur in the power equipment knowledge base, and obtaining the power equipment quality event tracing result;

[0010] Based on the CIM-E model data and power grid topology data stored in the power equipment diagram database of the power equipment quality traceability model, a site wiring diagram including the power equipment quality event tracing results is constructed; the site wiring diagram is used to display at least one of the specific quality information, connection status information or operating parameter information of the power entity associated with the current power equipment quality event.

[0011] In one embodiment, the reasoning of the root information that causes the current power equipment quality event to occur in the power equipment knowledge base to obtain the power equipment quality event tracing result includes:

[0012] Obtain a pre-built reasoning model; the reasoning model is built based on a quality event reasoning knowledge base; the quality event reasoning knowledge base uses a graph structure to represent a plurality of preset candidate power equipment quality events, cause reasoning rules of the candidate power equipment quality events, and rule priorities of the cause reasoning rules;

[0013] Acquire the initial facts of the current power equipment quality event, input the initial facts of the current power equipment quality event into the pre-built reasoning model, and obtain the power equipment quality event tracing result.

[0014] In one embodiment, inputting the initial facts of the current power equipment quality event into the pre-built reasoning model to obtain the power equipment quality event tracing result includes:

[0015] Acquire the initial fact of the current power equipment quality event as the current fact;

[0016] Inputting the current fact into the pre-built reasoning model, and outputting the fact of the previous step in response to the current fact through the pre-built reasoning model;

[0017] Acquire the fact of the previous step as the current fact, return to the step of inputting the current fact into the pre-built reasoning model, until the pre-built reasoning model cannot deduce new facts, and obtain a fact reasoning path;

[0018] According to the factual reasoning path, the tracing result of the power equipment quality event is determined.

[0019] In one embodiment, the community discovery algorithm matching the power equipment knowledge graph is used to identify quality problems of the power equipment quality traceability model and determine power equipment quality events, including:

[0020] Using a community discovery algorithm that matches the electric power equipment knowledge graph, community discovery is performed on the electric power equipment knowledge graph to obtain a plurality of electric power entity communities; each of the electric power entity communities includes at least two connected electric power entities;

[0021] The target power entity is identified by using the community characteristics of each power entity in the power entity community, and the current power equipment quality event is obtained; the difference between the community characteristics of the target power entity and the community characteristics of each power entity in the power entity community is greater than a preset difference.

[0022] In one embodiment, before the step of identifying a target power entity by using the community characteristics of each power entity in the power entity community, the method includes:

[0023] For a current power entity in any of the power entity communities, determining the connectivity information of the current power entity in the power entity community; the current power entity is any one of the power entities in the power entity community, and the connectivity information includes the number of connections between the current power entity and other power entities, and the number of connections between the current power entity outside the power entity community; the other power entities are power entities in the power entity community other than the current power entity;

[0024] According to the connectivity information of each current electric entity in the electric entity community, the community characteristics of each electric entity in the electric entity community are determined.

[0025] In one embodiment, the basic components of the power equipment knowledge graph include concept dimension, attribute dimension and relationship dimension; wherein,

[0026] The conceptual dimension includes at least one of the main equipment entity, component entity, technical specification entity and source information entity associated with the power equipment; the attribute dimension includes at least one of the electrical parameter attribute, technical characteristic attribute, location information attribute and time information attribute; the relationship dimension includes at least one of the physical connection relationship, dependency relationship, influence relationship and compliance relationship.

[0027] In the second aspect, the present application also provides a power equipment quality tracing device based on a graph database, a knowledge graph and the entire life cycle of the equipment, the device comprising:

[0028] A model building module is used to build a power equipment quality tracing model; the power equipment quality tracing model is configured with a power equipment knowledge graph and a power equipment graph database;

[0029] An identification module, configured to use a community discovery algorithm that matches the power equipment knowledge graph to identify quality problems in the power equipment quality traceability model and determine current power equipment quality events;

[0030] A tracing module is used to use the current power equipment quality event as the reasoning starting point and a preset reasoning end target as the reasoning guide to infer the root information that causes the current power equipment quality event in the power equipment knowledge base, and obtain the power equipment quality event tracing result;

[0031] A display module is used to construct an in-site wiring diagram including the tracing results of the power equipment quality event based on the CIM-E model data and power grid topology data stored in the power equipment diagram database of the power equipment quality tracing model; the in-site wiring diagram is used to display at least one of the specific quality information, connection status information or operating parameter information of the power entity associated with the current power equipment quality event.

[0032] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0033] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0034] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.

[0035] The above-mentioned power equipment quality tracing method, device, computer equipment, computer-readable storage medium and computer program product based on graph database, knowledge graph and equipment life cycle, constructs a power equipment quality tracing model, which is configured with a power equipment knowledge graph and a power equipment graph database; and adopts a community discovery algorithm matching the power equipment knowledge graph to identify quality problems in the power equipment quality tracing model and determine the current power equipment quality event; then, the current power equipment quality event is used as the reasoning starting point, and the preset reasoning end target is used as the reasoning guide to infer the root information that caused the current power equipment quality event in the power equipment knowledge base, and obtain the power equipment quality event tracing result; and through the CIM stored in the power equipment graph database according to the power equipment quality tracing model -E model data and power grid topology data are used to construct a wiring diagram within the site including the traceability results of power equipment quality events; the wiring diagram within the site is used to display at least one of the specific quality information, connection status information or operating parameter information of the power entity associated with the current power equipment quality event; in this way, the power equipment knowledge graph and power equipment graph database configured based on the power equipment quality tracing model can be effectively used to quickly mine power equipment quality events and provide reasonable and accurate quality assessments; and through forward chain multi-step reasoning with the current power equipment quality event as the reasoning starting point and the preset reasoning end goal as the reasoning guide, the cause of triggering the current power equipment quality event can be effectively and quickly derived, effectively realizing the intelligent tracing of power equipment quality problems and improving the efficiency of tracing power equipment quality problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0037] FIG1 is an application environment diagram of a method for tracing quality of electric power equipment in one embodiment;

[0038] FIG2 is a schematic diagram of a flow chart of a method for tracing quality of electric power equipment in one embodiment;

[0039] FIG3 is a schematic diagram of a flow chart of a method for tracing quality of electric power equipment in another embodiment;

[0040] FIG4 is a structural block diagram of a power equipment quality tracing device in one embodiment;

[0041] FIG. 5 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0043] The power equipment quality tracing method based on the graph database, knowledge graph and equipment life cycle provided in the embodiment of the present application can be applied in the application environment shown in FIG1. ​​The terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 obtains the power equipment knowledge graph and the power equipment graph database from the server 104, and constructs a power equipment quality traceability model based on the power equipment knowledge graph and the power equipment graph database, so that the power equipment quality traceability model is configured with the power equipment knowledge graph and the power equipment graph database; the terminal 102 uses a community discovery algorithm that matches the power equipment knowledge graph to identify quality problems in the power equipment quality traceability model and determine the current power equipment quality event; the terminal 102 uses the current power equipment quality event as the reasoning starting point and the preset reasoning end target as the reasoning guide to reason the root information that causes the current power equipment quality event in the power equipment knowledge base, and obtains the power equipment quality event traceability result; the terminal 102 constructs a site wiring diagram including the power equipment quality event traceability result based on the CIM-E model data and the power grid topology data stored in the power equipment graph database of the power equipment quality traceability model; the site wiring diagram is used to display at least one of the specific quality information, connection status information or operation parameter information of the power entity associated with the current power equipment quality event. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The server 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0044] In an exemplary embodiment, as shown in FIG2 , a method for tracing the quality of power equipment based on a graph database, a knowledge graph and the entire life cycle of the equipment is provided, and the method is applied to the terminal in FIG1 as an example for explanation, including the following steps S202 to S206. Among them:

[0045] Step S202, constructing a power equipment quality traceability model; the power equipment quality traceability model is configured with a power equipment knowledge graph and a power equipment graph database.

[0046] Among them, the basic constituent elements of the power equipment knowledge graph include concept dimension, attribute dimension and relationship dimension; among them, the concept dimension includes at least one of the main equipment entity, component entity, technical specification entity and source information entity associated with the power equipment; the attribute dimension includes at least one of the electrical parameter attribute, technical characteristic attribute, location information attribute and time information attribute; the relationship dimension includes at least one of the physical connection relationship, dependency relationship, influence relationship and compliance relationship.

[0047] In a specific implementation, the terminal can obtain the power equipment knowledge graph and the power equipment graph database from the server or local storage, and build a power equipment quality traceability model based on the power equipment knowledge graph and the power equipment graph database.

[0048] Step S204: Use a community discovery algorithm that matches the power equipment knowledge graph to identify quality problems in the power equipment quality traceability model and determine the current power equipment quality event.

[0049] The current power equipment quality event may refer to a power equipment quality event currently occurring in the power system.

[0050] In the specific implementation, the terminal can use a community discovery algorithm that matches the power equipment knowledge graph to identify quality problems in the power equipment quality traceability model and determine the current power equipment quality events.

[0051] Optionally, a community discovery algorithm that matches the power equipment knowledge graph is used to identify quality problems in the power equipment quality traceability model and determine power equipment quality events, including: using a community discovery algorithm that matches the power equipment knowledge graph to perform community discovery on the power equipment knowledge graph to obtain multiple power entity communities; using the community characteristics of each power entity in the power entity community to identify the target power entity and obtain the current power equipment quality event.

[0052] The difference between the community characteristics of the target power entity and the community characteristics of each power entity in the power entity community is greater than a preset difference.

[0053] Each power entity community includes at least two connected power entities.

[0054] In a specific implementation, when the terminal uses a community discovery algorithm that matches the knowledge graph of electric power equipment to identify quality problems in the quality traceability model of electric power equipment and determine the quality events of electric power equipment, the terminal can use a community discovery algorithm that matches the knowledge graph of electric power equipment, such as a community discovery algorithm based on graph partitioning, to perform community discovery on the knowledge graph of electric power equipment and obtain multiple electric power entity communities. Specifically, the terminal can use the Laplace matrix of the graph to perform feature decomposition and clustering on the electric power entity nodes in the knowledge graph of electric power equipment to obtain multiple electric power entity communities; each electric power entity community can include at least two connected electric power entity nodes.

[0055] Then, the terminal can extract the community characteristics of each power entity in the power entity community, and identify the target power entity in the power entity community whose community characteristics differ greatly from the community characteristics of each power entity in the power entity community by comparing the similarities and differences of the community characteristics of each power entity in the power entity community, and output the current power equipment quality event based on the characteristics or status of the target power entity.

[0056] Optionally, before the step of identifying the target power entity by utilizing the community characteristics of each power entity in the power entity community, the method includes: determining, for a current power entity in any power entity community, connectivity information of the current power entity in the power entity community; and determining, based on the connectivity information of each current power entity in the power entity community, community characteristics of each power entity in the power entity community.

[0057] The current power entity is any power entity in the power entity community.

[0058] The connectivity information includes the number of connections between the current power entity and other power entities, and the number of connections between the current power entity outside the power entity community.

[0059] Among them, other power entities are power entities in the power entity community except the current power entity.

[0060] In a specific implementation, before the terminal uses the community characteristics of each power entity in the power entity community to identify the target power entity, the terminal can extract the community characteristics of each power entity in the power entity community; specifically, for the current power entity in any power entity community, the terminal can use the number of connections between the current power entity and other power entities, and the number of connections of the current power entity outside the power entity community; then, the terminal can determine the number of connections between the current power entity and other power entities, and the number of connections of the current power entity outside the power entity community as the community characteristics of the current power entity.

[0061] Step S206, taking the current power equipment quality event as the reasoning starting point and the preset reasoning end target as the reasoning guide, inferring the root information that caused the current power equipment quality event in the power equipment knowledge base, and obtaining the power equipment quality event tracing result.

[0062] Among them, the power equipment quality event tracing result can refer to the cause of the current power equipment quality event.

[0063] In the specific implementation, after the terminal identifies the current power equipment quality event, the terminal can use the current power equipment quality event as the reasoning starting point and the preset reasoning end target as the reasoning guide to infer the root cause information in the power equipment knowledge base that caused the current power equipment quality event to occur, and obtain the power equipment quality event tracing result.

[0064] Optionally, the root cause information that caused the current power equipment quality event to occur is inferred in the power equipment knowledge base to obtain the power equipment quality event tracing result, including: obtaining a pre-built reasoning model; the reasoning model is built based on the quality event reasoning knowledge base; obtaining the initial facts of the current power equipment quality event, inputting the initial facts of the current power equipment quality event into the pre-built reasoning model, and obtaining the power equipment quality event tracing result.

[0065] Among them, the initial facts of the current power equipment quality event are input into the pre-built reasoning model to obtain the power equipment quality event tracing results, including: obtaining the initial facts of the current power equipment quality event as the current facts; inputting the current facts into the pre-built reasoning model, responding to the current facts through the pre-built reasoning model, and outputting the facts of the previous step; obtaining the facts of the previous step as the current facts, returning to the step of inputting the current facts into the pre-built reasoning model, until the pre-built reasoning model cannot derive new facts, and obtaining the fact reasoning path; according to the fact reasoning path, determining the power equipment quality event tracing results.

[0066] Among them, the quality event reasoning knowledge base uses a graph structure to represent multiple preset candidate power equipment quality events, cause reasoning rules for candidate power equipment quality events, and rule priorities of cause reasoning rules.

[0067] In a specific implementation, when the terminal is inferring the root cause information that caused the current power equipment quality event in the power equipment knowledge base and obtaining the power equipment quality event tracing results, the terminal can obtain a pre-built reasoning model; wherein, the reasoning model is constructed based on the quality event reasoning knowledge base.

[0068] Specifically, the terminal can obtain the initial fact of the current power equipment quality event, and use the initial fact of the current power equipment quality event as the current fact; input the current fact into the pre-built reasoning model; after the pre-built reasoning model obtains the current fact, the pre-built reasoning model can respond to the current fact and determine the cause reasoning rule with the highest rule priority among multiple cause reasoning rules associated with the current power equipment quality event; then, the cause reasoning rule with the highest rule priority is used to map the current fact to the fact of the previous step;

[0069] The pre-built reasoning model can then take the facts of the previous step as the current facts, and return to the step of inputting the current facts into the pre-built reasoning model until the pre-built reasoning model cannot deduce new facts, thereby obtaining the fact reasoning path; the terminal can determine the tracing results of the power equipment quality event based on the fact reasoning path.

[0070] Step S208, constructing a site wiring diagram including power equipment quality event tracing results based on the CIM-E model data and power grid topology data stored in the power equipment diagram database of the power equipment quality tracing model.

[0071] Among them, the CIM-E model is a model used for power system management and information exchange.

[0072] Among them, the wiring diagram within the station is used to display at least one of the specific quality information, connection status information or operating parameter information of the power entity associated with the current power equipment quality event.

[0073] In the specific implementation, after obtaining the tracing result of the power equipment quality event, the terminal can determine the CIM-E model data and power grid topology data associated with the station identifier from the CIM-E model data and power grid topology data stored in the power equipment graph database based on the station identifier of the problem station indicated by the power equipment quality event tracing result.

[0074] Then, the terminal constructs a wiring diagram inside the station based on the CIM-E model data and the grid topology data associated with the station identification. The wiring diagram inside the station displays the traceability results of the power equipment quality event, as well as at least one of the specific quality information, connection status information, or operating parameter information of the power entity associated with the current power equipment quality event.

[0075] In the above-mentioned power equipment quality tracing method based on graph database, knowledge graph and equipment life cycle, a power equipment quality tracing model is constructed, and the power equipment quality tracing model is configured with a power equipment knowledge graph and a power equipment graph database; and a community discovery algorithm matching the power equipment knowledge graph is used to identify quality problems in the power equipment quality tracing model and determine the current power equipment quality event; then, the current power equipment quality event is used as the reasoning starting point, and the preset reasoning end target is used as the reasoning guide to infer the root cause information of the current power equipment quality event in the power equipment knowledge base, and obtain the power equipment quality event tracing result; and the CIM-E model data stored in the power equipment graph database according to the power equipment quality tracing model and the power grid topology structure are compared. Data is used to construct an in-station wiring diagram including the traceability results of power equipment quality events; the in-station wiring diagram is used to display at least one of the specific quality information, connection status information or operating parameter information of the power entity associated with the current power equipment quality event; in this way, the power equipment knowledge graph and power equipment graph database configured based on the power equipment quality tracing model can be effectively used to quickly mine power equipment quality events and provide reasonable and accurate quality assessments; and through forward chain multi-step reasoning with the current power equipment quality event as the reasoning starting point and the preset reasoning end goal as the reasoning guide, the cause of triggering the current power equipment quality event can be effectively and quickly derived, effectively realizing the intelligent tracing of power equipment quality problems and improving the efficiency of tracing power equipment quality problems.

[0076] In another embodiment, as shown in FIG3 , a method for tracing the quality of power equipment based on a graph database, a knowledge graph and the entire life cycle of the equipment is provided, and the method is applied to the terminal in FIG1 as an example for explanation, and includes the following steps:

[0077] Step S302, constructing a power equipment quality traceability model; the power equipment quality traceability model is configured with a power equipment knowledge graph and a power equipment graph database.

[0078] Step S304: Use a community discovery algorithm that matches the power equipment knowledge graph to perform community discovery on the power equipment knowledge graph to obtain multiple power entity communities.

[0079] Step S306, for a current power entity in any power entity community, determining the connectivity information of the current power entity in the power entity community; the current power entity is any power entity in the power entity community.

[0080] Step S308: determining the community characteristics of each power entity in the power entity community according to the connectivity information of each current power entity in the power entity community.

[0081] Step S310, using the community characteristics of each power entity in the power entity community, identifying the target power entity, and obtaining the current power equipment quality event; the difference between the community characteristics of the target power entity and the community characteristics of each power entity in the power entity community is greater than the preset difference.

[0082] Step S312, obtaining a pre-built reasoning model; the reasoning model is built based on a quality event reasoning knowledge base.

[0083] Step S314, obtaining the initial fact of the current power equipment quality event, and obtaining the initial fact of the current power equipment quality event as the current fact.

[0084] Step S316, input the current fact into the pre-built reasoning model, and the pre-built reasoning model responds to the current fact and outputs the fact of the previous step.

[0085] Step S318, obtain the fact of the previous step as the current fact, return to step S302, until the pre-built reasoning model cannot deduce new facts, and obtain the fact reasoning path.

[0086] Step S320, determining the power equipment quality event tracing result based on the factual reasoning path.

[0087] Step S322, constructing a site wiring diagram including the power equipment quality event tracing results based on the CIM-E model data and the power grid topology data stored in the power equipment diagram database of the power equipment quality tracing model.

[0088] It should be noted that the specific limitations of the above steps can be found in the above-mentioned specific limitations of a method for tracing the quality of power equipment based on a graph database, a knowledge graph and the entire life cycle of the equipment, which will not be repeated here.

[0089] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0090] Based on the same inventive concept, the embodiment of the present application also provides a device for tracing the quality of electric equipment based on a graph database, a knowledge graph and the entire life cycle of equipment for realizing the above-mentioned method for tracing the quality of electric equipment based on a graph database, a knowledge graph and the entire life cycle of equipment. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the device for tracing the quality of electric equipment based on a graph database, a knowledge graph and the entire life cycle of equipment provided below can be referred to the limitations of the method for tracing the quality of electric equipment based on a graph database, a knowledge graph and the entire life cycle of equipment above, and will not be repeated here.

[0091] In an exemplary embodiment, as shown in FIG4 , a power equipment quality tracing device based on a graph database, a knowledge graph and the entire life cycle of the equipment is provided, including:

[0092] The model building module 410 is used to build a power equipment quality tracing model; the power equipment quality tracing model is configured with a power equipment knowledge graph and a power equipment graph database;

[0093] An identification module 420 is used to identify quality problems of the power equipment quality traceability model by using a community discovery algorithm that matches the power equipment knowledge graph, and determine the current power equipment quality event;

[0094] The tracing module 430 is used to use the current power equipment quality event as the reasoning starting point and the preset reasoning end target as the reasoning guide to infer the root information that causes the current power equipment quality event in the power equipment knowledge base, and obtain the power equipment quality event tracing result;

[0095] The display module 440 is used to construct an in-site wiring diagram including the tracing results of the power equipment quality event based on the CIM-E model data and the power grid topology data stored in the power equipment diagram database of the power equipment quality tracing model; the in-site wiring diagram is used to display at least one of the specific quality information, connection status information or operating parameter information of the power entity associated with the current power equipment quality event.

[0096] In one of the embodiments, the tracing module 430 is specifically used to obtain a pre-built reasoning model; the reasoning model is built based on a quality event reasoning knowledge base; the quality event reasoning knowledge base uses a graph structure to represent a plurality of preset candidate power equipment quality events, cause reasoning rules of the candidate power equipment quality events, and rule priorities of the cause reasoning rules; the initial facts of the current power equipment quality event are obtained, and the initial facts of the current power equipment quality event are input into the pre-built reasoning model to obtain the tracing results of the power equipment quality event.

[0097] In one embodiment, the tracing module 430 is specifically used to obtain the initial fact of the current power equipment quality event as the current fact; input the current fact into the pre-built reasoning model, respond to the current fact through the pre-built reasoning model, and output the fact of the previous step; obtain the fact of the previous step as the current fact, return to the step of inputting the current fact into the pre-built reasoning model until the pre-built reasoning model cannot derive new facts, and obtain the fact reasoning path; determine the tracing result of the power equipment quality event according to the fact reasoning path.

[0098] In one of the embodiments, the identification module 420 is specifically used to adopt a community discovery algorithm that matches the power equipment knowledge graph to perform community discovery on the power equipment knowledge graph to obtain multiple power entity communities; each of the power entity communities includes at least two connected power entities; the community characteristics of each power entity in the power entity community are used to identify the target power entity and obtain the current power equipment quality event; the difference between the community characteristics of the target power entity and the community characteristics of each power entity in the power entity community is greater than a preset difference.

[0099] In one of the embodiments, the identification module 420 is specifically used to determine the connectivity information of the current power entity in any of the power entity communities; the current power entity is any one of the power entities in the power entity community, and the connectivity information includes the number of connections between the current power entity and other power entities, and the number of connections between the current power entity outside the power entity community; the other power entities are power entities in the power entity community other than the current power entity; based on the connectivity information of each of the current power entities in the power entity community, the community characteristics of each power entity in the power entity community are determined.

[0100] In one of the embodiments, the basic constituent elements of the power equipment knowledge graph include concept dimension, attribute dimension and relationship dimension; wherein the concept dimension includes at least one of the main equipment entity, component entity, technical specification entity and source information entity associated with the power equipment; the attribute dimension includes at least one of the electrical parameter attribute, technical characteristic attribute, location information attribute and time information attribute; the relationship dimension includes at least one of the physical connection relationship, dependency relationship, influence relationship and compliance relationship.

[0101] Each module in the above-mentioned power equipment quality tracing device based on graph database, knowledge graph and equipment life cycle can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0102] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for tracing the quality of power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment is implemented. The display unit of the computer device is used to form a visually visible picture, and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball, or touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse, etc.

[0103] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0104] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned method for tracing the quality of electric power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment. Here, the steps of the method for tracing the quality of electric power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment can be the steps of the method for tracing the quality of electric power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment in each of the above-mentioned embodiments.

[0105] In one embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the processor executes the steps of the above-mentioned method for tracing the quality of power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment. Here, the steps of the method for tracing the quality of power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment can be the steps of the method for tracing the quality of power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment in each of the above-mentioned embodiments.

[0106] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the processor executes the steps of the above-mentioned method for tracing the quality of electric power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment. Here, the steps of the method for tracing the quality of electric power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment can be the steps of the method for tracing the quality of electric power equipment based on a graph database, a knowledge graph, and the entire life cycle of the equipment in each of the above-mentioned embodiments.

[0107] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0108] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magneto resistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0109] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0110] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for tracing the quality of power equipment based on a graph database, a knowledge graph and the entire life cycle of the equipment, characterized in that: The method comprises: Constructing a power equipment quality tracing model; the power equipment quality tracing model is configured with a power equipment knowledge graph and a power equipment graph database; Using a community discovery algorithm that matches the power equipment knowledge graph, the power equipment quality traceability model is used to identify quality problems and determine current power equipment quality events; Taking the current power equipment quality event as the reasoning starting point and the preset reasoning end target as the reasoning guide, reasoning the root information that caused the current power equipment quality event to occur in the power equipment knowledge base, and obtaining the power equipment quality event tracing result; Based on the CIM-E model data and power grid topology data stored in the power equipment diagram database of the power equipment quality traceability model, a site wiring diagram including the power equipment quality event tracing results is constructed; the site wiring diagram is used to display at least one of the specific quality information, connection status information or operating parameter information of the power entity associated with the current power equipment quality event.

2. The method according to claim 1, characterized in that The reasoning of the root cause information of the current power equipment quality event in the power equipment knowledge base to obtain the power equipment quality event tracing result includes: Obtain a pre-built reasoning model; the reasoning model is built based on a quality event reasoning knowledge base; the quality event reasoning knowledge base uses a graph structure to represent a plurality of preset candidate power equipment quality events, cause reasoning rules of the candidate power equipment quality events, and rule priorities of the cause reasoning rules; Acquire the initial facts of the current power equipment quality event, input the initial facts of the current power equipment quality event into the pre-built reasoning model, and obtain the power equipment quality event tracing result.

3. The method according to claim 2, characterized in that The inputting the initial facts of the current power equipment quality event into the pre-built reasoning model to obtain the power equipment quality event tracing result includes: Acquire the initial fact of the current power equipment quality event as the current fact; Inputting the current fact into the pre-built reasoning model, and outputting the fact of the previous step in response to the current fact through the pre-built reasoning model; Acquire the fact of the previous step as the current fact, return to the step of inputting the current fact into the pre-built reasoning model, until the pre-built reasoning model cannot deduce new facts, and obtain a fact reasoning path; According to the factual reasoning path, the tracing result of the power equipment quality event is determined.

4. The method according to claim 1, characterized in that: The method of using a community discovery algorithm that matches the power equipment knowledge graph to identify quality problems in the power equipment quality traceability model and determine power equipment quality events includes: Using a community discovery algorithm that matches the electric power equipment knowledge graph, community discovery is performed on the electric power equipment knowledge graph to obtain a plurality of electric power entity communities; each of the electric power entity communities includes at least two connected electric power entities; The target power entity is identified by using the community characteristics of each power entity in the power entity community, and the current power equipment quality event is obtained; the difference between the community characteristics of the target power entity and the community characteristics of each power entity in the power entity community is greater than a preset difference.

5. The method according to claim 4, characterized in that Before the step of identifying a target power entity by using the community characteristics of each power entity in the power entity community, the method includes: For a current power entity in any of the power entity communities, determining the connectivity information of the current power entity in the power entity community; the current power entity is any one of the power entities in the power entity community, and the connectivity information includes the number of connections between the current power entity and other power entities, and the number of connections between the current power entity outside the power entity community; the other power entities are power entities in the power entity community other than the current power entity; According to the connectivity information of each current electric entity in the electric entity community, the community characteristics of each electric entity in the electric entity community are determined.

6. The method according to claim 1, characterized in that The basic components of the power equipment knowledge graph include concept dimension, attribute dimension and relationship dimension; among them, The conceptual dimension includes at least one of the main equipment entity, component entity, technical specification entity and source information entity associated with the power equipment; the attribute dimension includes at least one of the electrical parameter attribute, technical characteristic attribute, location information attribute and time information attribute; the relationship dimension includes at least one of the physical connection relationship, dependency relationship, influence relationship and compliance relationship.

7. A power equipment quality tracing device based on a graph database, a knowledge graph and the entire life cycle of the equipment, characterized in that: The device comprises: A model building module is used to build a power equipment quality tracing model; the power equipment quality tracing model is configured with a power equipment knowledge graph and a power equipment graph database; An identification module, configured to use a community discovery algorithm that matches the power equipment knowledge graph to identify quality problems in the power equipment quality traceability model and determine current power equipment quality events; A tracing module is used to use the current power equipment quality event as the reasoning starting point and a preset reasoning end target as the reasoning guide to infer the root information that causes the current power equipment quality event in the power equipment knowledge base, and obtain the power equipment quality event tracing result; A display module is used to construct an in-site wiring diagram including the tracing results of the power equipment quality event based on the CIM-E model data and power grid topology data stored in the power equipment diagram database of the power equipment quality tracing model; the in-site wiring diagram is used to display at least one of the specific quality information, connection status information or operating parameter information of the power entity associated with the current power equipment quality event.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

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

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.